summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards/stores/state.js
blob: 7be5ae8b583a71b9770050b74b761fb7e7b4eed6 (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
37
38
import { inactiveId, ListType } from '~/boards/constants';

export default () => ({
  boardType: null,
  issuableType: null,
  fullPath: null,
  disabled: false,
  isShowingLabels: true,
  activeId: inactiveId,
  sidebarType: '',
  boardLists: {},
  listsFlags: {},
  boardItemsByListId: {},
  backupItemsList: [],
  isSettingAssignees: false,
  pageInfoByListId: {},
  boardItems: {},
  filterParams: {},
  boardConfig: {},
  labelsLoading: false,
  labels: [],
  highlightedLists: [],
  selectedBoardItems: [],
  groupProjects: [],
  groupProjectsFlags: {
    isLoading: false,
    isLoadingMore: false,
    pageInfo: {},
  },
  selectedProject: {},
  error: undefined,
  addColumnForm: {
    visible: false,
    columnType: ListType.label,
  },
  // TODO: remove after ce/ee split of board_content.vue
  isShowingEpicsSwimlanes: false,
});