debian-mirror-gitlab/app/assets/javascripts/boards/stores/state.js

44 lines
948 B
JavaScript
Raw Normal View History

2021-04-17 20:07:23 +05:30
import { inactiveId, ListType } from '~/boards/constants';
2020-05-24 23:13:21 +05:30
2019-09-04 21:01:54 +05:30
export default () => ({
2022-05-07 20:08:51 +05:30
board: {},
2020-10-24 23:57:45 +05:30
boardType: null,
2021-04-17 20:07:23 +05:30
issuableType: null,
fullPath: null,
2020-11-24 15:15:51 +05:30
disabled: false,
2019-12-26 22:10:19 +05:30
isShowingLabels: true,
2020-10-24 23:57:45 +05:30
activeId: inactiveId,
2020-11-24 15:15:51 +05:30
sidebarType: '',
2021-01-03 14:25:43 +05:30
boardLists: {},
listsFlags: {},
2021-04-17 20:07:23 +05:30
boardItemsByListId: {},
2021-09-04 01:27:46 +05:30
backupItemsList: [],
2021-02-22 17:27:13 +05:30
isSettingAssignees: false,
2021-01-03 14:25:43 +05:30
pageInfoByListId: {},
2021-04-17 20:07:23 +05:30
boardItems: {},
2020-11-24 15:15:51 +05:30
filterParams: {},
2021-02-22 17:27:13 +05:30
boardConfig: {},
2021-04-17 20:07:23 +05:30
labelsLoading: false,
2021-03-11 19:13:27 +05:30
labels: [],
2021-10-27 15:23:28 +05:30
milestones: [],
milestonesLoading: false,
2021-03-11 19:13:27 +05:30
highlightedLists: [],
selectedBoardItems: [],
2021-03-08 18:12:59 +05:30
groupProjects: [],
groupProjectsFlags: {
isLoading: false,
isLoadingMore: false,
pageInfo: {},
},
selectedProject: {},
2020-11-24 15:15:51 +05:30
error: undefined,
2021-11-11 11:23:49 +05:30
iterations: [],
iterationsLoading: false,
2021-04-17 20:07:23 +05:30
addColumnForm: {
visible: false,
columnType: ListType.label,
},
2020-11-24 15:15:51 +05:30
// TODO: remove after ce/ee split of board_content.vue
isShowingEpicsSwimlanes: false,
2019-09-04 21:01:54 +05:30
});