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