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

mock_data.js « work_items « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9741a1932588976d5f70c22422721de6b9d37e87 (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
36
export const workItemQueryResponse = {
  workItem: {
    __typename: 'LocalWorkItem',
    id: '1',
    type: 'FEATURE',
    widgets: {
      __typename: 'LocalWorkItemWidgetConnection',
      nodes: [
        {
          __typename: 'LocalTitleWidget',
          type: 'TITLE',
          contentText: 'Test',
        },
      ],
    },
  },
};

export const updateWorkItemMutationResponse = {
  __typename: 'LocalUpdateWorkItemPayload',
  workItem: {
    __typename: 'LocalWorkItem',
    id: '1',
    widgets: {
      __typename: 'LocalWorkItemWidgetConnection',
      nodes: [
        {
          __typename: 'LocalTitleWidget',
          type: 'TITLE',
          enabled: true,
          contentText: 'Updated title',
        },
      ],
    },
  },
};