Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JournalCommentClient

Index

Constructors

Properties

client: HttpClient

Methods

  • Creates a journal comment.

    Parameters

    Returns Promise<Response<BaseComment>>

    A response of created journal comment.

  • Deletes a journal comment by id.

    Parameters

    • commentId: number

      journal comment id.

    Returns Promise<Response<BaseComment>>

    A response of deleted journal comment.

  • Lists latest journal comments.

    Parameters

    Returns Promise<Response<BaseComment[]>>

    A response of latest journal comments.

  • Lists comment with tree view.

    Parameters

    • params: { journalId: number; page?: number; sort?: string[] }

      parameter for queries

      • journalId: number
      • Optional page?: number
      • Optional sort?: string[]

    Returns Promise<Response<Page<BaseComment>>>

    A page response of journal comments tree.

  • Lists comment with list view.

    Parameters

    • params: { journalId: number; page?: number; sort?: string[] }

      parameter for queries

      • journalId: number
      • Optional page?: number
      • Optional sort?: string[]

    Returns Promise<Response<Page<BaseComment>>>

    A page response of journal comments.

  • Updates journal comment status by id.

    Parameters

    • commentId: number

      journal comment id

    • status: CommentStatus

      comment status

    Returns Promise<Response<BaseComment>>

    A response of updated journal comment.

Generated using TypeDoc