debian-mirror-gitlab/app/assets/javascripts/design_management/constants.js

17 lines
460 B
JavaScript
Raw Normal View History

2020-05-24 23:13:21 +05:30
// WARNING: replace this with something
// more sensical as per https://gitlab.com/gitlab-org/gitlab/issues/118611
export const VALID_DESIGN_FILE_MIMETYPE = {
mimetype: 'image/*',
regex: /image\/.+/,
};
export const ACTIVE_DISCUSSION_SOURCE_TYPES = {
pin: 'pin',
discussion: 'discussion',
2020-11-24 15:15:51 +05:30
url: 'url',
2020-05-24 23:13:21 +05:30
};
2020-06-23 00:09:42 +05:30
export const DESIGN_DETAIL_LAYOUT_CLASSLIST = ['design-detail-layout', 'overflow-hidden', 'm-0'];
2022-08-13 15:12:31 +05:30
export const MAXIMUM_FILE_UPLOAD_LIMIT = 10;