picked 0.0.101 → 0.0.102-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/docs/reference/dashboard/workflow-test-runs.md +40 -17
  2. package/docs/reference/management-api/schema/action.md +67 -79
  3. package/docs/reference/management-api/schema/analytics-session.md +77 -94
  4. package/docs/reference/management-api/schema/analytics.md +16 -14
  5. package/docs/reference/management-api/schema/api-key.md +43 -51
  6. package/docs/reference/management-api/schema/auth.md +271 -404
  7. package/docs/reference/management-api/schema/cms-fields.md +348 -245
  8. package/docs/reference/management-api/schema/cms-models.md +369 -378
  9. package/docs/reference/management-api/schema/common.md +69 -130
  10. package/docs/reference/management-api/schema/condition.md +63 -74
  11. package/docs/reference/management-api/schema/design-system.md +59 -51
  12. package/docs/reference/management-api/schema/experience.md +388 -364
  13. package/docs/reference/management-api/schema/external-api.md +153 -171
  14. package/docs/reference/management-api/schema/feature.md +85 -103
  15. package/docs/reference/management-api/schema/feedback.md +27 -31
  16. package/docs/reference/management-api/schema/field.md +117 -135
  17. package/docs/reference/management-api/schema/index.md +184 -184
  18. package/docs/reference/management-api/schema/integration.md +72 -78
  19. package/docs/reference/management-api/schema/label.md +81 -137
  20. package/docs/reference/management-api/schema/lead.md +80 -119
  21. package/docs/reference/management-api/schema/mcp-server.md +73 -71
  22. package/docs/reference/management-api/schema/metric.md +6 -9
  23. package/docs/reference/management-api/schema/operation.md +17 -26
  24. package/docs/reference/management-api/schema/organization.md +198 -220
  25. package/docs/reference/management-api/schema/project.md +177 -186
  26. package/docs/reference/management-api/schema/report.md +69 -65
  27. package/docs/reference/management-api/schema/saved-view.md +71 -71
  28. package/docs/reference/management-api/schema/shopify.md +331 -204
  29. package/docs/reference/management-api/schema/step.md +72 -80
  30. package/docs/reference/management-api/schema/tenant-branding.md +48 -70
  31. package/docs/reference/management-api/schema/workbench.md +54 -66
  32. package/docs/reference/management-api/schema/workflow-run.md +66 -79
  33. package/docs/reference/management-api/schema/workflow.md +310 -353
  34. package/docs/reference/management-api/schema/workspace-version.md +212 -261
  35. package/docs/reference/management-api/schema/workspace.md +275 -328
  36. package/package.json +4 -4
@@ -6,13 +6,14 @@ generated: true
6
6
 
7
7
  # Design system schema
8
8
 
9
- The operations and types that `design-system.graphql` adds to the Management API. See [Management API schema](/reference/management-api/schema) for every domain, the endpoint and authentication.
9
+ See [Management API schema](/reference/management-api/schema) for every domain, the endpoint and authentication.
10
10
 
11
11
  ## Queries
12
12
 
13
13
  ### `designSystem`
14
14
 
15
- Get a design system by ID.
15
+ Reads a design system.
16
+ Scope: `ORGANIZATION_PROJECTS_READ`.
16
17
 
17
18
  ```graphql
18
19
  designSystem(id: ID!): DesignSystem @auth
@@ -20,19 +21,28 @@ designSystem(id: ID!): DesignSystem @auth
20
21
 
21
22
  ### `designSystems`
22
23
 
23
- List design systems in a project. Filter by name with `search`
24
- (case-insensitive substring) and order with `sortKey` (default `NAME`) plus
25
- `reverse`.
24
+ Lists the design systems in a project.
25
+ Scope: `ORGANIZATION_PROJECTS_READ`.
26
26
 
27
27
  ```graphql
28
- designSystems(projectId: ID!, first: Int, after: String, search: String, sortKey: DesignSystemSortKeys = NAME, reverse: Boolean = false): DesignSystemConnection! @auth
28
+ designSystems(
29
+ projectId: ID!
30
+ first: Int
31
+ after: String
32
+ """Text that the name contains, ignoring case."""
33
+ search: String
34
+ sortKey: DesignSystemSortKeys = NAME
35
+ """Whether to reverse the order of `sortKey`."""
36
+ reverse: Boolean = false
37
+ ): DesignSystemConnection! @auth
29
38
  ```
30
39
 
31
40
  ## Mutations
32
41
 
33
42
  ### `designSystemCreate`
34
43
 
35
- Create a new design system. Requires scope: `ORGANIZATION_PROJECTS_UPDATE`.
44
+ Creates a design system from a committed Markdown asset.
45
+ Scope: `ORGANIZATION_PROJECTS_UPDATE`.
36
46
 
37
47
  ```graphql
38
48
  designSystemCreate(input: DesignSystemCreateInput!): DesignSystemCreatePayload! @auth
@@ -40,7 +50,8 @@ designSystemCreate(input: DesignSystemCreateInput!): DesignSystemCreatePayload!
40
50
 
41
51
  ### `designSystemUpdate`
42
52
 
43
- Update a design system. Requires scope: `ORGANIZATION_PROJECTS_UPDATE`.
53
+ Updates a design system's name or guidance asset.
54
+ Scope: `ORGANIZATION_PROJECTS_UPDATE`.
44
55
 
45
56
  ```graphql
46
57
  designSystemUpdate(input: DesignSystemUpdateInput!): DesignSystemUpdatePayload! @auth
@@ -48,7 +59,8 @@ designSystemUpdate(input: DesignSystemUpdateInput!): DesignSystemUpdatePayload!
48
59
 
49
60
  ### `designSystemDelete`
50
61
 
51
- Delete a design system. Requires scope: `ORGANIZATION_PROJECTS_UPDATE`.
62
+ Deletes a design system. The asset that holds its guidance is kept.
63
+ Scope: `ORGANIZATION_PROJECTS_UPDATE`.
52
64
 
53
65
  ```graphql
54
66
  designSystemDelete(input: DesignSystemDeleteInput!): DesignSystemDeletePayload! @auth
@@ -60,22 +72,20 @@ designSystemDelete(input: DesignSystemDeleteInput!): DesignSystemDeletePayload!
60
72
 
61
73
  ```graphql
62
74
  """
63
- A project-level design guidance document. The markdown content lives in the
64
- referenced Asset; the row itself only carries the display name and the
65
- Asset link.
75
+ A set of shared design decisions for a project, written as a Markdown file held in an asset.
66
76
  """
67
77
  type DesignSystem {
68
- """Unique design system identifier."""
78
+ """The ID of the design system."""
69
79
  id: ID!
70
- """Display name of the design system."""
80
+ """The name of the design system."""
71
81
  name: String!
72
- """The project this design system belongs to."""
82
+ """The project that holds the design system."""
73
83
  project: Project!
74
- """The markdown Asset holding the design guidance content."""
84
+ """The Markdown asset that holds the design guidance."""
75
85
  asset: Asset!
76
- """When this design system was created."""
86
+ """When the design system was created."""
77
87
  createdAt: DateTime!
78
- """When this design system was last updated."""
88
+ """When the design system last changed."""
79
89
  updatedAt: DateTime!
80
90
  }
81
91
  ```
@@ -83,9 +93,9 @@ type DesignSystem {
83
93
  ### `DesignSystemEdge`
84
94
 
85
95
  ```graphql
86
- """Edge type for `DesignSystemConnection`."""
96
+ """A design system in a page of results."""
87
97
  type DesignSystemEdge {
88
- """Pagination cursor for this edge."""
98
+ """The cursor of this edge."""
89
99
  cursor: String!
90
100
  """The design system."""
91
101
  node: DesignSystem!
@@ -95,19 +105,17 @@ type DesignSystemEdge {
95
105
  ### `DesignSystemConnection`
96
106
 
97
107
  ```graphql
98
- """
99
- Relay-style connection of design systems, with both an `edges` list and a flat `nodes` accessor.
100
- """
108
+ """A page of design systems."""
101
109
  type DesignSystemConnection {
102
- """List of design system edges."""
110
+ """The edges in this page."""
103
111
  edges: [DesignSystemEdge!]!
104
- """
105
- Flat list of design systems, equivalent to `edges[].node`. Convenience accessor.
106
- """
112
+ """The design systems in this page."""
107
113
  nodes: [DesignSystem!]!
108
- """Pagination metadata."""
114
+ """Where this page sits in the list."""
109
115
  pageInfo: PageInfo!
110
- """Total number of design systems."""
116
+ """
117
+ The number of design systems in the project. `search` does not narrow it.
118
+ """
111
119
  totalCount: Int!
112
120
  }
113
121
  ```
@@ -115,17 +123,13 @@ type DesignSystemConnection {
115
123
  ### `DesignSystemSortKeys`
116
124
 
117
125
  ```graphql
118
- """
119
- Sort keys for `designSystems(...)`. Pair with `reverse: true` to flip the
120
- order (`NAME` and `reverse: false` sorts A to Z; `CREATED_AT` and
121
- `reverse: true` is newest-first).
122
- """
126
+ """The order of `designSystems`."""
123
127
  enum DesignSystemSortKeys {
124
- """Sort by `name` (alphabetical)."""
128
+ """By name, A to Z."""
125
129
  NAME
126
- """Sort by `createdAt`."""
130
+ """By creation time, oldest first."""
127
131
  CREATED_AT
128
- """Sort by `updatedAt`."""
132
+ """By last change, oldest first."""
129
133
  UPDATED_AT
130
134
  }
131
135
  ```
@@ -133,13 +137,15 @@ enum DesignSystemSortKeys {
133
137
  ### `DesignSystemCreateInput`
134
138
 
135
139
  ```graphql
136
- """Input for `designSystemCreate`."""
140
+ """The input of `designSystemCreate`."""
137
141
  input DesignSystemCreateInput {
138
- """Project ID to create the design system in."""
142
+ """The ID of the project to create the design system in."""
139
143
  projectId: ID!
140
- """Display name for the design system."""
144
+ """The name of the design system. It must not be blank."""
141
145
  name: String!
142
- """Committed Asset ID holding the markdown design guidance content."""
146
+ """
147
+ The ID of a committed Markdown asset in the same project that holds the design guidance.
148
+ """
143
149
  assetId: ID!
144
150
  }
145
151
  ```
@@ -147,7 +153,7 @@ input DesignSystemCreateInput {
147
153
  ### `DesignSystemCreatePayload`
148
154
 
149
155
  ```graphql
150
- """Payload returned by `designSystemCreate`."""
156
+ """The result of `designSystemCreate`."""
151
157
  type DesignSystemCreatePayload {
152
158
  """The created design system."""
153
159
  designSystem: DesignSystem
@@ -157,13 +163,15 @@ type DesignSystemCreatePayload {
157
163
  ### `DesignSystemUpdateInput`
158
164
 
159
165
  ```graphql
160
- """Input for `designSystemUpdate`. Omit a field to leave it unchanged."""
166
+ """The input of `designSystemUpdate`. Omit a field to keep its value."""
161
167
  input DesignSystemUpdateInput {
162
- """Design system ID."""
168
+ """The ID of the design system. Required."""
163
169
  id: ID!
164
- """New display name."""
170
+ """The new name."""
165
171
  name: String
166
- """New committed Asset ID holding the markdown design guidance content."""
172
+ """
173
+ The ID of a committed Markdown asset in the same project that replaces the guidance.
174
+ """
167
175
  assetId: ID
168
176
  }
169
177
  ```
@@ -171,7 +179,7 @@ input DesignSystemUpdateInput {
171
179
  ### `DesignSystemUpdatePayload`
172
180
 
173
181
  ```graphql
174
- """Payload returned by `designSystemUpdate`."""
182
+ """The result of `designSystemUpdate`."""
175
183
  type DesignSystemUpdatePayload {
176
184
  """The updated design system."""
177
185
  designSystem: DesignSystem
@@ -181,9 +189,9 @@ type DesignSystemUpdatePayload {
181
189
  ### `DesignSystemDeleteInput`
182
190
 
183
191
  ```graphql
184
- """Input for `designSystemDelete`."""
192
+ """The input of `designSystemDelete`."""
185
193
  input DesignSystemDeleteInput {
186
- """Design system ID."""
194
+ """The ID of the design system."""
187
195
  id: ID!
188
196
  }
189
197
  ```
@@ -191,9 +199,9 @@ input DesignSystemDeleteInput {
191
199
  ### `DesignSystemDeletePayload`
192
200
 
193
201
  ```graphql
194
- """Payload returned by `designSystemDelete`."""
202
+ """The result of `designSystemDelete`."""
195
203
  type DesignSystemDeletePayload {
196
- """ID of the deleted design system."""
204
+ """The ID of the deleted design system."""
197
205
  deletedDesignSystemId: ID
198
206
  }
199
207
  ```