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

typedefs.graphql « graphql « work_items « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 36779dfe11e814edbe0a77765b7cb235a18fbdd7 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
enum LocalWidgetType {
  ASSIGNEES
  MILESTONE
}

interface LocalWorkItemWidget {
  type: LocalWidgetType!
}

type LocalWorkItemAssignees implements LocalWorkItemWidget {
  type: LocalWidgetType!
  nodes: [UserCore]
}

type LocalWorkItemMilestone implements LocalWorkItemWidget {
  type: LocalWidgetType!
  nodes: [Milestone!]
}

extend type WorkItem {
  mockWidgets: [LocalWorkItemWidget]
}

input LocalUserInput {
  id: ID!
  name: String
  username: String
  webUrl: String
  avatarUrl: String
}

input LocalMilestoneInput {
  milestoneId: ID!
}

input LocalUpdateWorkItemInput {
  id: WorkItemID!
  assignees: [LocalUserInput!]
  milestone: LocalMilestoneInput!
}

type LocalWorkItemPayload {
  workItem: WorkItem!
  errors: [String!]
}

extend type Mutation {
  localUpdateWorkItem(input: LocalUpdateWorkItemInput!): LocalWorkItemPayload
}