23 lines
868 B
JavaScript
23 lines
868 B
JavaScript
export const DISCUSSION_NOTE = 'DiscussionNote';
|
|
export const DIFF_NOTE = 'DiffNote';
|
|
export const DISCUSSION = 'discussion';
|
|
export const NOTE = 'note';
|
|
export const SYSTEM_NOTE = 'systemNote';
|
|
export const COMMENT = 'comment';
|
|
export const OPENED = 'opened';
|
|
export const REOPENED = 'reopened';
|
|
export const CLOSED = 'closed';
|
|
export const EMOJI_THUMBSUP = 'thumbsup';
|
|
export const EMOJI_THUMBSDOWN = 'thumbsdown';
|
|
export const ISSUE_NOTEABLE_TYPE = 'issue';
|
|
export const EPIC_NOTEABLE_TYPE = 'epic';
|
|
export const MERGE_REQUEST_NOTEABLE_TYPE = 'merge_request';
|
|
export const UNRESOLVE_NOTE_METHOD_NAME = 'delete';
|
|
export const RESOLVE_NOTE_METHOD_NAME = 'post';
|
|
export const DESCRIPTION_TYPE = 'changed the description';
|
|
|
|
export const NOTEABLE_TYPE_MAPPING = {
|
|
Issue: ISSUE_NOTEABLE_TYPE,
|
|
MergeRequest: MERGE_REQUEST_NOTEABLE_TYPE,
|
|
Epic: EPIC_NOTEABLE_TYPE,
|
|
};
|