summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/feature_flags/store/modules/index/state.js
blob: 443a12d485db97948fce36fe7788841259366a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { FEATURE_FLAG_SCOPE, USER_LIST_SCOPE } from '../../../constants';

export default () => ({
  [FEATURE_FLAG_SCOPE]: [],
  [USER_LIST_SCOPE]: [],
  alerts: [],
  count: {},
  pageInfo: { [FEATURE_FLAG_SCOPE]: {}, [USER_LIST_SCOPE]: {} },
  isLoading: true,
  hasError: false,
  endpoint: null,
  rotateEndpoint: null,
  instanceId: '',
  isRotating: false,
  hasRotateError: false,
  options: {},
  projectId: '',
});