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