2018-10-15 14:42:47 +05:30
|
|
|
import { activityBarViews, viewerTypes } from '../constants';
|
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
export default () => ({
|
|
|
|
currentProjectId: '',
|
|
|
|
currentBranchId: '',
|
|
|
|
currentMergeRequestId: '',
|
|
|
|
changedFiles: [],
|
2018-10-15 14:42:47 +05:30
|
|
|
stagedFiles: [],
|
2019-09-30 21:07:59 +05:30
|
|
|
replacedFiles: [],
|
2018-05-09 12:01:36 +05:30
|
|
|
endpoints: {},
|
|
|
|
lastCommitMsg: '',
|
|
|
|
lastCommitPath: '',
|
|
|
|
loading: false,
|
|
|
|
openFiles: [],
|
|
|
|
parentTreeUrl: '',
|
|
|
|
trees: {},
|
|
|
|
projects: {},
|
|
|
|
leftPanelCollapsed: false,
|
|
|
|
rightPanelCollapsed: false,
|
|
|
|
panelResizing: false,
|
|
|
|
entries: {},
|
2018-10-15 14:42:47 +05:30
|
|
|
viewer: viewerTypes.edit,
|
2018-05-09 12:01:36 +05:30
|
|
|
delayViewerUpdated: false,
|
2018-10-15 14:42:47 +05:30
|
|
|
currentActivityView: activityBarViews.edit,
|
|
|
|
unusedSeal: true,
|
|
|
|
fileFindVisible: false,
|
2018-11-08 19:23:39 +05:30
|
|
|
links: {},
|
|
|
|
errorMessage: null,
|
2018-11-18 11:00:15 +05:30
|
|
|
entryModal: {
|
|
|
|
type: '',
|
|
|
|
path: '',
|
|
|
|
entry: {},
|
|
|
|
},
|
|
|
|
clientsidePreviewEnabled: false,
|
2018-05-09 12:01:36 +05:30
|
|
|
});
|