2020-03-13 15:44:24 +05:30
|
|
|
import { leftSidebarViews, viewerTypes } from '../constants';
|
|
|
|
import { DEFAULT_THEME } from '../lib/themes';
|
2018-10-15 14:42:47 +05:30
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
export default () => ({
|
|
|
|
currentProjectId: '',
|
|
|
|
currentBranchId: '',
|
|
|
|
currentMergeRequestId: '',
|
|
|
|
changedFiles: [],
|
2018-10-15 14:42:47 +05:30
|
|
|
stagedFiles: [],
|
2018-05-09 12:01:36 +05:30
|
|
|
endpoints: {},
|
|
|
|
lastCommitMsg: '',
|
|
|
|
loading: false,
|
|
|
|
openFiles: [],
|
|
|
|
trees: {},
|
|
|
|
projects: {},
|
|
|
|
panelResizing: false,
|
|
|
|
entries: {},
|
2018-10-15 14:42:47 +05:30
|
|
|
viewer: viewerTypes.edit,
|
2018-05-09 12:01:36 +05:30
|
|
|
delayViewerUpdated: false,
|
2020-03-13 15:44:24 +05:30
|
|
|
currentActivityView: leftSidebarViews.edit.name,
|
2018-10-15 14:42:47 +05:30
|
|
|
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: {},
|
|
|
|
},
|
2020-03-13 15:44:24 +05:30
|
|
|
renderWhitespaceInCode: false,
|
|
|
|
editorTheme: DEFAULT_THEME,
|
2021-06-08 01:23:25 +05:30
|
|
|
environmentsGuidanceAlertDismissed: false,
|
|
|
|
environmentsGuidanceAlertDetected: false,
|
2021-10-27 15:23:28 +05:30
|
|
|
previewMarkdownPath: '',
|
2023-01-13 00:05:48 +05:30
|
|
|
userPreferencesPath: '',
|
2018-05-09 12:01:36 +05:30
|
|
|
});
|