2017-07-26 04:01:12 -04:00
|
|
|
export const DISCUSSION_NOTE = 'DiscussionNote';
|
2018-02-27 19:10:43 -05:00
|
|
|
export const DIFF_NOTE = 'DiffNote';
|
2017-07-26 04:01:12 -04:00
|
|
|
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';
|
2017-07-26 07:02:01 -04:00
|
|
|
export const CLOSED = 'closed';
|
2019-04-03 11:26:03 -04:00
|
|
|
export const MERGED = 'merged';
|
2017-07-27 16:24:05 -04:00
|
|
|
export const EMOJI_THUMBSUP = 'thumbsup';
|
|
|
|
export const EMOJI_THUMBSDOWN = 'thumbsdown';
|
2018-02-27 19:10:43 -05:00
|
|
|
export const ISSUE_NOTEABLE_TYPE = 'issue';
|
2018-04-03 12:03:00 -04:00
|
|
|
export const EPIC_NOTEABLE_TYPE = 'epic';
|
2018-06-21 08:22:40 -04:00
|
|
|
export const MERGE_REQUEST_NOTEABLE_TYPE = 'MergeRequest';
|
2018-02-27 19:10:43 -05:00
|
|
|
export const UNRESOLVE_NOTE_METHOD_NAME = 'delete';
|
|
|
|
export const RESOLVE_NOTE_METHOD_NAME = 'post';
|
2018-06-05 04:11:13 -04:00
|
|
|
export const DESCRIPTION_TYPE = 'changed the description';
|
2018-11-05 07:30:14 -05:00
|
|
|
export const HISTORY_ONLY_FILTER_VALUE = 2;
|
|
|
|
export const DISCUSSION_FILTERS_DEFAULT_VALUE = 0;
|
2019-01-01 23:42:31 -05:00
|
|
|
export const DISCUSSION_TAB_LABEL = 'show';
|
2018-04-05 04:25:55 -04:00
|
|
|
|
|
|
|
export const NOTEABLE_TYPE_MAPPING = {
|
|
|
|
Issue: ISSUE_NOTEABLE_TYPE,
|
|
|
|
MergeRequest: MERGE_REQUEST_NOTEABLE_TYPE,
|
|
|
|
Epic: EPIC_NOTEABLE_TYPE,
|
|
|
|
};
|
2019-02-26 09:04:15 -05:00
|
|
|
|
|
|
|
export const DISCUSSION_FILTER_TYPES = {
|
|
|
|
ALL: 'all',
|
|
|
|
COMMENTS: 'comments',
|
|
|
|
HISTORY: 'history',
|
|
|
|
};
|