Type Alias Comment

Comment: {
    ap_id: DbUrl;
    content: string;
    creator_id: PersonId;
    deleted: boolean;
    distinguished: boolean;
    id: CommentId;
    language_id: LanguageId;
    local: boolean;
    path: string;
    post_id: PostId;
    published: string;
    removed: boolean;
    updated?: string;
}

A comment.

Type declaration

  • ap_id: DbUrl

    The federated activity id / ap_id.

  • content: string
  • creator_id: PersonId
  • deleted: boolean

    Whether the comment has been deleted by its creator.

  • distinguished: boolean

    Whether the comment has been distinguished(speaking officially) by a mod.

  • id: CommentId
  • language_id: LanguageId
  • local: boolean

    Whether the comment is local.

  • path: string

    The path / tree location of a comment, separated by dots, ending with the comment's id. Ex: 0.24.27

  • post_id: PostId
  • published: string
  • removed: boolean

    Whether the comment has been removed.

  • Optionalupdated?: string