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.
- package/docs/reference/dashboard/workflow-test-runs.md +40 -17
- package/docs/reference/management-api/schema/action.md +67 -79
- package/docs/reference/management-api/schema/analytics-session.md +77 -94
- package/docs/reference/management-api/schema/analytics.md +16 -14
- package/docs/reference/management-api/schema/api-key.md +43 -51
- package/docs/reference/management-api/schema/auth.md +271 -404
- package/docs/reference/management-api/schema/cms-fields.md +348 -245
- package/docs/reference/management-api/schema/cms-models.md +369 -378
- package/docs/reference/management-api/schema/common.md +69 -130
- package/docs/reference/management-api/schema/condition.md +63 -74
- package/docs/reference/management-api/schema/design-system.md +59 -51
- package/docs/reference/management-api/schema/experience.md +388 -364
- package/docs/reference/management-api/schema/external-api.md +153 -171
- package/docs/reference/management-api/schema/feature.md +85 -103
- package/docs/reference/management-api/schema/feedback.md +27 -31
- package/docs/reference/management-api/schema/field.md +117 -135
- package/docs/reference/management-api/schema/index.md +184 -184
- package/docs/reference/management-api/schema/integration.md +72 -78
- package/docs/reference/management-api/schema/label.md +81 -137
- package/docs/reference/management-api/schema/lead.md +80 -119
- package/docs/reference/management-api/schema/mcp-server.md +73 -71
- package/docs/reference/management-api/schema/metric.md +6 -9
- package/docs/reference/management-api/schema/operation.md +17 -26
- package/docs/reference/management-api/schema/organization.md +198 -220
- package/docs/reference/management-api/schema/project.md +177 -186
- package/docs/reference/management-api/schema/report.md +69 -65
- package/docs/reference/management-api/schema/saved-view.md +71 -71
- package/docs/reference/management-api/schema/shopify.md +331 -204
- package/docs/reference/management-api/schema/step.md +72 -80
- package/docs/reference/management-api/schema/tenant-branding.md +48 -70
- package/docs/reference/management-api/schema/workbench.md +54 -66
- package/docs/reference/management-api/schema/workflow-run.md +66 -79
- package/docs/reference/management-api/schema/workflow.md +310 -353
- package/docs/reference/management-api/schema/workspace-version.md +212 -261
- package/docs/reference/management-api/schema/workspace.md +275 -328
- package/package.json +4 -4
|
@@ -6,13 +6,14 @@ generated: true
|
|
|
6
6
|
|
|
7
7
|
# Design system schema
|
|
8
8
|
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
`reverse`.
|
|
24
|
+
Lists the design systems in a project.
|
|
25
|
+
Scope: `ORGANIZATION_PROJECTS_READ`.
|
|
26
26
|
|
|
27
27
|
```graphql
|
|
28
|
-
designSystems(
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
"""
|
|
78
|
+
"""The ID of the design system."""
|
|
69
79
|
id: ID!
|
|
70
|
-
"""
|
|
80
|
+
"""The name of the design system."""
|
|
71
81
|
name: String!
|
|
72
|
-
"""The project
|
|
82
|
+
"""The project that holds the design system."""
|
|
73
83
|
project: Project!
|
|
74
|
-
"""The
|
|
84
|
+
"""The Markdown asset that holds the design guidance."""
|
|
75
85
|
asset: Asset!
|
|
76
|
-
"""When
|
|
86
|
+
"""When the design system was created."""
|
|
77
87
|
createdAt: DateTime!
|
|
78
|
-
"""When
|
|
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
|
-
"""
|
|
96
|
+
"""A design system in a page of results."""
|
|
87
97
|
type DesignSystemEdge {
|
|
88
|
-
"""
|
|
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
|
-
"""
|
|
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
|
-
"""
|
|
114
|
+
"""Where this page sits in the list."""
|
|
109
115
|
pageInfo: PageInfo!
|
|
110
|
-
"""
|
|
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
|
-
"""
|
|
128
|
+
"""By name, A to Z."""
|
|
125
129
|
NAME
|
|
126
|
-
"""
|
|
130
|
+
"""By creation time, oldest first."""
|
|
127
131
|
CREATED_AT
|
|
128
|
-
"""
|
|
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
|
-
"""
|
|
140
|
+
"""The input of `designSystemCreate`."""
|
|
137
141
|
input DesignSystemCreateInput {
|
|
138
|
-
"""
|
|
142
|
+
"""The ID of the project to create the design system in."""
|
|
139
143
|
projectId: ID!
|
|
140
|
-
"""
|
|
144
|
+
"""The name of the design system. It must not be blank."""
|
|
141
145
|
name: String!
|
|
142
|
-
"""
|
|
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
|
-
"""
|
|
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
|
-
"""
|
|
166
|
+
"""The input of `designSystemUpdate`. Omit a field to keep its value."""
|
|
161
167
|
input DesignSystemUpdateInput {
|
|
162
|
-
"""
|
|
168
|
+
"""The ID of the design system. Required."""
|
|
163
169
|
id: ID!
|
|
164
|
-
"""
|
|
170
|
+
"""The new name."""
|
|
165
171
|
name: String
|
|
166
|
-
"""
|
|
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
|
-
"""
|
|
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
|
-
"""
|
|
192
|
+
"""The input of `designSystemDelete`."""
|
|
185
193
|
input DesignSystemDeleteInput {
|
|
186
|
-
"""
|
|
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
|
-
"""
|
|
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
|
```
|