2021-01-29 00:20:46 +05:30
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
2020-01-01 13:55:28 +05:30
|
|
|
export const MAX_MILESTONES_TO_DISPLAY = 5;
|
2020-04-08 14:13:33 +05:30
|
|
|
|
|
|
|
export const BACK_URL_PARAM = 'back_url';
|
2020-06-23 00:09:42 +05:30
|
|
|
|
|
|
|
export const ASSET_LINK_TYPE = Object.freeze({
|
|
|
|
OTHER: 'other',
|
|
|
|
IMAGE: 'image',
|
|
|
|
PACKAGE: 'package',
|
|
|
|
RUNBOOK: 'runbook',
|
|
|
|
});
|
|
|
|
|
|
|
|
export const DEFAULT_ASSET_LINK_TYPE = ASSET_LINK_TYPE.OTHER;
|
2021-01-03 14:25:43 +05:30
|
|
|
|
|
|
|
export const PAGE_SIZE = 20;
|
2021-01-29 00:20:46 +05:30
|
|
|
|
|
|
|
export const ASCENDING_ODER = 'asc';
|
|
|
|
export const DESCENDING_ORDER = 'desc';
|
|
|
|
export const RELEASED_AT = 'released_at';
|
|
|
|
export const CREATED_AT = 'created_at';
|
|
|
|
|
|
|
|
export const SORT_OPTIONS = [
|
|
|
|
{
|
|
|
|
orderBy: RELEASED_AT,
|
|
|
|
label: __('Released date'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
orderBy: CREATED_AT,
|
|
|
|
label: __('Created date'),
|
|
|
|
},
|
|
|
|
];
|