Welcome to mirror list, hosted at ThFree Co, Russian Federation.

state.js « store « cycle_analytics « analytics « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3d9b56b043d2954dc9a8234ec125ae6a2c5e2e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import {
  PAGINATION_SORT_FIELD_END_EVENT,
  PAGINATION_SORT_DIRECTION_DESC,
} from '~/analytics/cycle_analytics/constants';

export default () => ({
  id: null,
  features: {},
  groupPath: {},
  namespace: {
    name: null,
    fullPath: null,
  },
  createdAfter: null,
  createdBefore: null,
  stages: [],
  analytics: [],
  valueStreams: [],
  selectedValueStream: {},
  selectedStage: {},
  selectedStageEvents: [],
  selectedStageError: '',
  medians: {},
  stageCounts: {},
  hasNoAccessError: false,
  isLoading: false,
  isLoadingStage: false,
  isEmptyStage: false,
  pagination: {
    page: null,
    hasNextPage: false,
    sort: PAGINATION_SORT_FIELD_END_EVENT,
    direction: PAGINATION_SORT_DIRECTION_DESC,
  },
  predefinedDateRange: null,
});