Type alias ReviewCommentEvent

ReviewCommentEvent: {
    commentType?: ReviewCommentType;
    lineNumber: number;
    selection?: CodeSelection;
    targetId?: string;
    text: string;
    type: "create";
    typeState?: ReviewCommentTypeState;
} | {
    targetId: string;
    text?: string;
    type: "edit";
    typeState?: ReviewCommentTypeState;
} | {
    targetId: string;
    type: "delete";
}

Type declaration

  • Optional commentType?: ReviewCommentType
  • lineNumber: number
  • Optional selection?: CodeSelection
  • Optional targetId?: string
  • text: string
  • type: "create"
  • Optional typeState?: ReviewCommentTypeState

Type declaration

  • targetId: string
  • Optional text?: string
  • type: "edit"
  • Optional typeState?: ReviewCommentTypeState

Type declaration

  • targetId: string
  • type: "delete"

Generated using TypeDoc