debian-mirror-gitlab/app/assets/javascripts/ref/stores/state.js

25 lines
351 B
JavaScript
Raw Normal View History

2020-07-28 23:09:34 +05:30
export default () => ({
projectId: null,
query: '',
matches: {
branches: {
list: [],
totalCount: 0,
error: null,
},
tags: {
list: [],
totalCount: 0,
error: null,
},
commits: {
list: [],
totalCount: 0,
error: null,
},
},
selectedRef: null,
requestCount: 0,
});