debian-mirror-gitlab/app/assets/javascripts/cycle_analytics/store/state.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
667 B
JavaScript
Raw Normal View History

2021-11-18 22:05:49 +05:30
import {
PAGINATION_SORT_FIELD_END_EVENT,
PAGINATION_SORT_DIRECTION_DESC,
} from '~/cycle_analytics/constants';
2021-06-08 01:23:25 +05:30
export default () => ({
2021-09-30 23:02:18 +05:30
id: null,
2021-10-27 15:23:28 +05:30
features: {},
endpoints: {},
2021-09-30 23:02:18 +05:30
createdAfter: null,
createdBefore: null,
2021-06-08 01:23:25 +05:30
stages: [],
analytics: [],
2021-09-04 01:27:46 +05:30
valueStreams: [],
selectedValueStream: {},
2021-06-08 01:23:25 +05:30
selectedStage: {},
selectedStageEvents: [],
2021-09-04 01:27:46 +05:30
selectedStageError: '',
2021-06-08 01:23:25 +05:30
medians: {},
2021-10-27 15:23:28 +05:30
stageCounts: {},
2022-08-27 11:52:29 +05:30
hasNoAccessError: false,
2021-06-08 01:23:25 +05:30
isLoading: false,
isLoadingStage: false,
isEmptyStage: false,
2021-11-18 22:05:49 +05:30
pagination: {
page: null,
hasNextPage: false,
sort: PAGINATION_SORT_FIELD_END_EVENT,
direction: PAGINATION_SORT_DIRECTION_DESC,
},
2021-06-08 01:23:25 +05:30
});