debian-mirror-gitlab/app/assets/javascripts/boards/stores/state.js
2021-04-17 20:07:23 +05:30

37 lines
820 B
JavaScript

import { inactiveId, ListType } from '~/boards/constants';
export default () => ({
boardType: null,
issuableType: null,
fullPath: null,
disabled: false,
isShowingLabels: true,
activeId: inactiveId,
sidebarType: '',
boardLists: {},
listsFlags: {},
boardItemsByListId: {},
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,
});