2021-02-23 15:10:47 +00:00
|
|
|
import { inactiveId, ListType } from '~/boards/constants';
|
2020-05-12 09:09:31 +00:00
|
|
|
|
2019-05-20 11:05:26 +00:00
|
|
|
export default () => ({
|
2020-08-13 09:10:09 +00:00
|
|
|
boardType: null,
|
2021-03-05 09:09:07 +00:00
|
|
|
issuableType: null,
|
2021-02-18 21:10:43 +00:00
|
|
|
fullPath: null,
|
2020-08-24 12:10:17 +00:00
|
|
|
disabled: false,
|
2019-10-28 15:05:58 +00:00
|
|
|
isShowingLabels: true,
|
2020-07-24 15:09:39 +00:00
|
|
|
activeId: inactiveId,
|
2020-08-25 06:10:18 +00:00
|
|
|
sidebarType: '',
|
2020-10-14 09:08:46 +00:00
|
|
|
boardLists: {},
|
2020-10-08 15:08:17 +00:00
|
|
|
listsFlags: {},
|
2021-02-22 09:10:46 +00:00
|
|
|
boardItemsByListId: {},
|
2020-12-01 12:09:17 +00:00
|
|
|
isSettingAssignees: false,
|
2020-10-08 15:08:17 +00:00
|
|
|
pageInfoByListId: {},
|
2021-02-22 09:10:46 +00:00
|
|
|
boardItems: {},
|
2020-08-24 09:10:14 +00:00
|
|
|
filterParams: {},
|
2020-12-16 03:09:46 +00:00
|
|
|
boardConfig: {},
|
2021-02-23 15:10:47 +00:00
|
|
|
labelsLoading: false,
|
2021-01-21 03:08:59 +00:00
|
|
|
labels: [],
|
2021-02-15 18:09:09 +00:00
|
|
|
highlightedLists: [],
|
2021-01-22 09:08:53 +00:00
|
|
|
selectedBoardItems: [],
|
2021-01-14 09:10:22 +00:00
|
|
|
groupProjects: [],
|
|
|
|
groupProjectsFlags: {
|
|
|
|
isLoading: false,
|
|
|
|
isLoadingMore: false,
|
|
|
|
pageInfo: {},
|
|
|
|
},
|
|
|
|
selectedProject: {},
|
2020-08-24 06:10:15 +00:00
|
|
|
error: undefined,
|
2021-02-23 15:10:47 +00:00
|
|
|
addColumnForm: {
|
|
|
|
visible: false,
|
|
|
|
columnType: ListType.label,
|
|
|
|
},
|
2020-08-24 06:10:15 +00:00
|
|
|
// TODO: remove after ce/ee split of board_content.vue
|
|
|
|
isShowingEpicsSwimlanes: false,
|
2019-05-20 11:05:26 +00:00
|
|
|
});
|