debian-mirror-gitlab/app/assets/javascripts/ref/stores/state.js
2020-08-09 17:41:57 +05:30

24 lines
351 B
JavaScript

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,
});