Welcome to mirror list, hosted at ThFree Co, Russian Federation.

state.js « index « modules « stores « releases « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 164a496d450fa5cbb6ed3447938ea376d0ab4478 (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
25
import { DESCENDING_ORDER, RELEASED_AT } from '../../../constants';

export default ({
  projectId,
  projectPath,
  documentationPath,
  illustrationPath,
  newReleasePath = '',
}) => ({
  projectId,
  projectPath,
  documentationPath,
  illustrationPath,
  newReleasePath,

  isLoading: false,
  hasError: false,
  releases: [],
  restPageInfo: {},
  graphQlPageInfo: {},
  sorting: {
    sort: DESCENDING_ORDER,
    orderBy: RELEASED_AT,
  },
});