summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/repo/stores/state.js
blob: 0068834831e49205f72d81419df743551d4cb684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export default () => ({
  canCommit: false,
  currentBranch: '',
  currentBlobView: 'repo-preview',
  currentRef: '',
  discardPopupOpen: false,
  editMode: false,
  endpoints: {},
  isRoot: false,
  isInitialRoot: false,
  lastCommitPath: '',
  loading: false,
  onTopOfBranch: false,
  openFiles: [],
  path: '',
  project: {
    id: 0,
    name: '',
    url: '',
  },
  parentTreeUrl: '',
  previousUrl: '',
  tree: [],
});