38 lines
925 B
JavaScript
38 lines
925 B
JavaScript
import { leftSidebarViews, viewerTypes } from '../constants';
|
|
import { DEFAULT_THEME } from '../lib/themes';
|
|
|
|
export default () => ({
|
|
currentProjectId: '',
|
|
currentBranchId: '',
|
|
currentMergeRequestId: '',
|
|
changedFiles: [],
|
|
stagedFiles: [],
|
|
endpoints: {},
|
|
lastCommitMsg: '',
|
|
loading: false,
|
|
openFiles: [],
|
|
trees: {},
|
|
projects: {},
|
|
panelResizing: false,
|
|
entries: {},
|
|
viewer: viewerTypes.edit,
|
|
delayViewerUpdated: false,
|
|
currentActivityView: leftSidebarViews.edit.name,
|
|
fileFindVisible: false,
|
|
links: {},
|
|
errorMessage: null,
|
|
entryModal: {
|
|
type: '',
|
|
path: '',
|
|
entry: {},
|
|
},
|
|
clientsidePreviewEnabled: false,
|
|
renderWhitespaceInCode: false,
|
|
editorTheme: DEFAULT_THEME,
|
|
codesandboxBundlerUrl: null,
|
|
environmentsGuidanceAlertDismissed: false,
|
|
environmentsGuidanceAlertDetected: false,
|
|
previewMarkdownPath: '',
|
|
userPreferencesPath: '',
|
|
canUseNewWebIde: false,
|
|
});
|