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

typedefs.graphql « graphql « editor « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 49beae033f1bc92cfd644eda847a28a43cc7c6d0 (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
type Item {
  id: ID!
  label: String!
  icon: String
  selected: Boolean
  group: Int!
  category: String
  selectedLabel: String
}

type Items {
  nodes: [Item]!
}

input ItemInput {
  id: ID!
  label: String!
  icon: String
  selected: Boolean
  group: Int!
  category: String
  selectedLabel: String
}

extend type Query {
  items: Items
}

extend type Mutation {
  updateToolbarItem(id: ID!, propsToUpdate: ItemInput!): LocalErrors
  removeToolbarItems(ids: [ID!]): LocalErrors
  addToolbarItems(items: [ItemInput]): LocalErrors
}