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

mock_data.js « components « terraform « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f0109047d4c23e3e60e0a574ddf7b1ba41172e2d (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
26
27
28
29
30
31
32
33
34
35
export const getStatesResponse = {
  data: {
    project: {
      id: 'project-1',
      terraformStates: {
        count: 1,
        nodes: {
          _showDetails: true,
          errorMessages: [],
          loadingLock: false,
          loadingRemove: false,
          id: 'state-1',
          name: 'state',
          lockedAt: '01-01-2022',
          updatedAt: '01-01-2022',
          lockedByUser: {
            id: 'user-1',
            avatarUrl: 'avatar',
            name: 'User 1',
            username: 'user-1',
            webUrl: 'web',
          },
          latestVersion: null,
        },
        pageInfo: {
          __typename: 'PageInfo',
          hasNextPage: true,
          hasPreviousPage: false,
          startCursor: 'prev',
          endCursor: 'next',
        },
      },
    },
  },
};