interface MapComment {
    body: string;
    conversation: ConversationElement[];
    endDate: null | string;
    geometry: Point | Polygon;
    id: string;
    isFollowing: boolean;
    isPoint: boolean;
    lockRank: UserRank;
    modificationData: ModificationMetadata;
    subject: string;
}

Properties

body: string

The body of the comment.

conversation: ConversationElement[]

The conversation within the comment.

endDate: null | string

The expiration date of the comment in the timezone of the comment location.

geometry: Point | Polygon

The GeoJSON representation of the comment's location.

id: string
isFollowing: boolean

Whether the comment is followed by the current user or not.

isPoint: boolean

Whether the comment's GeoJSON representation is a Point. Otherwise, it's a Polygon.

lockRank: UserRank

The lock rank of the comment.

modificationData: ModificationMetadata
subject: string

The subject of the comment.