2018-05-04 08:03:35 -04:00
|
|
|
import { activityBarViews, viewerTypes } from '../constants';
|
2018-04-13 10:35:03 -04:00
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
export default () => ({
|
|
|
|
currentProjectId: '',
|
|
|
|
currentBranchId: '',
|
2018-03-23 06:45:43 -04:00
|
|
|
currentMergeRequestId: '',
|
2018-03-20 10:12:48 -04:00
|
|
|
changedFiles: [],
|
2018-03-21 06:05:08 -04:00
|
|
|
stagedFiles: [],
|
2018-03-20 10:12:48 -04:00
|
|
|
endpoints: {},
|
|
|
|
lastCommitMsg: '',
|
|
|
|
lastCommitPath: '',
|
|
|
|
loading: false,
|
|
|
|
openFiles: [],
|
|
|
|
parentTreeUrl: '',
|
|
|
|
trees: {},
|
|
|
|
projects: {},
|
|
|
|
leftPanelCollapsed: false,
|
|
|
|
rightPanelCollapsed: false,
|
|
|
|
panelResizing: false,
|
|
|
|
entries: {},
|
2018-05-04 08:03:35 -04:00
|
|
|
viewer: viewerTypes.edit,
|
2018-03-20 10:12:48 -04:00
|
|
|
delayViewerUpdated: false,
|
2018-04-26 09:06:35 -04:00
|
|
|
currentActivityView: activityBarViews.edit,
|
2018-05-03 04:30:44 -04:00
|
|
|
unusedSeal: true,
|
2018-04-12 04:43:46 -04:00
|
|
|
fileFindVisible: false,
|
2018-05-29 08:09:19 -04:00
|
|
|
links: {},
|
2018-06-15 04:27:11 -04:00
|
|
|
errorMessage: null,
|
2018-07-25 06:02:40 -04:00
|
|
|
entryModal: {
|
2018-07-10 09:56:50 -04:00
|
|
|
type: '',
|
|
|
|
path: '',
|
2018-07-25 06:02:40 -04:00
|
|
|
entry: {},
|
2018-07-10 09:56:50 -04:00
|
|
|
},
|
2018-06-13 12:06:35 -04:00
|
|
|
clientsidePreviewEnabled: false,
|
2018-03-20 10:12:48 -04:00
|
|
|
});
|