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
|
# Field 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
|
### `field`
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Reads a field.
|
|
16
|
+
Scope: `ORGANIZATION_WORKSPACE_READ`.
|
|
16
17
|
|
|
17
18
|
```graphql
|
|
18
19
|
field(id: ID!, workspaceId: ID!): Field @auth
|
|
@@ -20,7 +21,9 @@ field(id: ID!, workspaceId: ID!): Field @auth
|
|
|
20
21
|
|
|
21
22
|
### `fields`
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
Lists the fields in a workspace. `search` matches a case-insensitive substring of the name;
|
|
25
|
+
`sortKey` and `reverse` set the order.
|
|
26
|
+
Scope: `ORGANIZATION_WORKSPACE_READ`.
|
|
24
27
|
|
|
25
28
|
```graphql
|
|
26
29
|
fields(
|
|
@@ -33,7 +36,7 @@ fields(
|
|
|
33
36
|
sortKey: FieldSortKeys = NAME
|
|
34
37
|
reverse: Boolean = false
|
|
35
38
|
"""
|
|
36
|
-
|
|
39
|
+
Only the fields on this step. `totalCount` then counts that step's fields.
|
|
37
40
|
"""
|
|
38
41
|
stepId: ID
|
|
39
42
|
): FieldConnection! @auth
|
|
@@ -43,7 +46,8 @@ fields(
|
|
|
43
46
|
|
|
44
47
|
### `fieldCreate`
|
|
45
48
|
|
|
46
|
-
|
|
49
|
+
Creates a field in a workspace.
|
|
50
|
+
Scope: `ORGANIZATION_WORKSPACE_UPDATE`.
|
|
47
51
|
|
|
48
52
|
```graphql
|
|
49
53
|
fieldCreate(input: FieldCreateInput!): FieldCreatePayload! @auth
|
|
@@ -51,7 +55,8 @@ fieldCreate(input: FieldCreateInput!): FieldCreatePayload! @auth
|
|
|
51
55
|
|
|
52
56
|
### `fieldUpdate`
|
|
53
57
|
|
|
54
|
-
|
|
58
|
+
Updates a field.
|
|
59
|
+
Scope: `ORGANIZATION_WORKSPACE_UPDATE`.
|
|
55
60
|
|
|
56
61
|
```graphql
|
|
57
62
|
fieldUpdate(input: FieldUpdateInput!): FieldUpdatePayload! @auth
|
|
@@ -59,7 +64,9 @@ fieldUpdate(input: FieldUpdateInput!): FieldUpdatePayload! @auth
|
|
|
59
64
|
|
|
60
65
|
### `fieldDelete`
|
|
61
66
|
|
|
62
|
-
|
|
67
|
+
Deletes a field. A field that is on a step is not deleted, and comes back as an `IN_USE` user
|
|
68
|
+
error.
|
|
69
|
+
Scope: `ORGANIZATION_WORKSPACE_UPDATE`.
|
|
63
70
|
|
|
64
71
|
```graphql
|
|
65
72
|
fieldDelete(input: FieldDeleteInput!): FieldDeletePayload! @auth
|
|
@@ -70,15 +77,15 @@ fieldDelete(input: FieldDeleteInput!): FieldDeletePayload! @auth
|
|
|
70
77
|
### `FieldType`
|
|
71
78
|
|
|
72
79
|
```graphql
|
|
73
|
-
"""
|
|
80
|
+
"""The kinds of value a field captures."""
|
|
74
81
|
enum FieldType {
|
|
75
|
-
"""
|
|
82
|
+
"""Text."""
|
|
76
83
|
TEXT
|
|
77
|
-
"""
|
|
84
|
+
"""A number."""
|
|
78
85
|
NUMBER
|
|
79
|
-
"""
|
|
86
|
+
"""True or false, as a checkbox or toggle."""
|
|
80
87
|
BOOLEAN
|
|
81
|
-
"""
|
|
88
|
+
"""A JSON value."""
|
|
82
89
|
OBJECT
|
|
83
90
|
}
|
|
84
91
|
```
|
|
@@ -87,64 +94,55 @@ enum FieldType {
|
|
|
87
94
|
|
|
88
95
|
```graphql
|
|
89
96
|
"""
|
|
90
|
-
A
|
|
91
|
-
|
|
92
|
-
value, and any select-style options.
|
|
93
|
-
|
|
94
|
-
`validation`, `defaultValue`, `condition`, and `options` are JSON blobs
|
|
95
|
-
whose shapes depend on `type` — see the field-create / field-update
|
|
96
|
-
mutations for the canonical shapes.
|
|
97
|
+
A data input inside a step, such as a name, an email address or a choice. A field belongs to the
|
|
98
|
+
workspace and can sit on more than one step.
|
|
97
99
|
"""
|
|
98
100
|
type Field {
|
|
99
|
-
"""
|
|
101
|
+
"""The ID of the field."""
|
|
100
102
|
id: ID!
|
|
101
|
-
"""
|
|
102
|
-
Stable machine-readable name (used to key the value in the captured payload).
|
|
103
|
-
"""
|
|
103
|
+
"""The machine-readable name of the field."""
|
|
104
104
|
name: String!
|
|
105
|
-
"""
|
|
105
|
+
"""The stable identifier of the field, unique within its workspace."""
|
|
106
106
|
key: String!
|
|
107
|
-
"""
|
|
107
|
+
"""The label shown next to the input."""
|
|
108
108
|
label: String!
|
|
109
109
|
"""The kind of value the field captures."""
|
|
110
110
|
type: FieldType!
|
|
111
|
-
"""
|
|
112
|
-
Whether multiple values are allowed (renders as a multi-select / repeating input).
|
|
113
|
-
"""
|
|
111
|
+
"""Whether the field accepts more than one value."""
|
|
114
112
|
multiple: Boolean!
|
|
115
|
-
"""Whether the
|
|
113
|
+
"""Whether the visitor must answer the field."""
|
|
116
114
|
required: Boolean!
|
|
117
|
-
"""
|
|
115
|
+
"""The validation rules, as JSON. Null when none are set."""
|
|
118
116
|
validation: JSON
|
|
119
117
|
"""
|
|
120
|
-
|
|
118
|
+
The choices of a field with a fixed set of choices. Null when the field has none.
|
|
121
119
|
"""
|
|
122
120
|
options: [FieldOption!]
|
|
123
121
|
"""
|
|
124
|
-
JSON
|
|
122
|
+
A JSON Logic rule that decides whether the field renders. Null when none is set.
|
|
125
123
|
"""
|
|
126
124
|
condition: JSON
|
|
127
|
-
"""
|
|
125
|
+
"""The value the field starts with. Null when none is set."""
|
|
128
126
|
defaultValue: JSON
|
|
129
|
-
"""
|
|
127
|
+
"""The text shown in the empty input. Null when none is set."""
|
|
130
128
|
placeholder: String
|
|
131
|
-
"""
|
|
129
|
+
"""A description shown with the label. Null when none is set."""
|
|
132
130
|
description: String
|
|
133
|
-
"""
|
|
131
|
+
"""A hint shown below the field. Null when none is set."""
|
|
134
132
|
helpText: String
|
|
135
|
-
"""
|
|
133
|
+
"""Whether the answer is left out of analytics."""
|
|
136
134
|
doNotTrack: Boolean!
|
|
137
|
-
"""
|
|
135
|
+
"""Whether the answer is left out of storage."""
|
|
138
136
|
doNotStore: Boolean!
|
|
139
|
-
"""The
|
|
137
|
+
"""The steps the field is on."""
|
|
140
138
|
steps: StepConnection!
|
|
141
|
-
"""The workspace
|
|
139
|
+
"""The workspace the field belongs to."""
|
|
142
140
|
workspace: Workspace!
|
|
143
|
-
"""The workspace
|
|
141
|
+
"""The ID of the workspace the field belongs to."""
|
|
144
142
|
workspaceId: ID!
|
|
145
|
-
"""When
|
|
143
|
+
"""When the field was created."""
|
|
146
144
|
createdAt: DateTime!
|
|
147
|
-
"""When
|
|
145
|
+
"""When the field last changed."""
|
|
148
146
|
updatedAt: DateTime!
|
|
149
147
|
}
|
|
150
148
|
```
|
|
@@ -152,21 +150,19 @@ type Field {
|
|
|
152
150
|
### `FieldOption`
|
|
153
151
|
|
|
154
152
|
```graphql
|
|
155
|
-
"""
|
|
156
|
-
A single selectable option within a field (only meaningful for select-style fields).
|
|
157
|
-
"""
|
|
153
|
+
"""One choice in a field that has a fixed set of choices."""
|
|
158
154
|
type FieldOption {
|
|
159
|
-
"""
|
|
155
|
+
"""The ID of the option."""
|
|
160
156
|
id: ID!
|
|
161
|
-
"""
|
|
157
|
+
"""The label shown for the option."""
|
|
162
158
|
label: String!
|
|
163
|
-
"""
|
|
159
|
+
"""A description shown with the label. Null when none is set."""
|
|
164
160
|
description: String
|
|
161
|
+
"""The value the field captures when the visitor picks the option."""
|
|
162
|
+
value: JSON!
|
|
165
163
|
"""
|
|
166
|
-
|
|
164
|
+
A JSON Logic rule that decides whether the option renders. Null when none is set.
|
|
167
165
|
"""
|
|
168
|
-
value: JSON!
|
|
169
|
-
"""JSON Logic condition controlling whether this option is rendered."""
|
|
170
166
|
condition: JSON
|
|
171
167
|
}
|
|
172
168
|
```
|
|
@@ -174,9 +170,9 @@ type FieldOption {
|
|
|
174
170
|
### `FieldEdge`
|
|
175
171
|
|
|
176
172
|
```graphql
|
|
177
|
-
"""
|
|
173
|
+
"""A field in a page of results."""
|
|
178
174
|
type FieldEdge {
|
|
179
|
-
"""
|
|
175
|
+
"""The cursor of this edge."""
|
|
180
176
|
cursor: String!
|
|
181
177
|
"""The field."""
|
|
182
178
|
node: Field!
|
|
@@ -186,19 +182,15 @@ type FieldEdge {
|
|
|
186
182
|
### `FieldConnection`
|
|
187
183
|
|
|
188
184
|
```graphql
|
|
189
|
-
"""
|
|
190
|
-
Relay-style connection of fields, with both an `edges` list and a flat `nodes` accessor.
|
|
191
|
-
"""
|
|
185
|
+
"""A page of fields."""
|
|
192
186
|
type FieldConnection {
|
|
193
|
-
"""
|
|
187
|
+
"""The edges in this page."""
|
|
194
188
|
edges: [FieldEdge!]!
|
|
195
|
-
"""
|
|
196
|
-
Flat list of fields, equivalent to `edges[].node`. Convenience accessor.
|
|
197
|
-
"""
|
|
189
|
+
"""The fields in this page."""
|
|
198
190
|
nodes: [Field!]!
|
|
199
|
-
"""
|
|
191
|
+
"""Where this page sits in the list."""
|
|
200
192
|
pageInfo: PageInfo!
|
|
201
|
-
"""
|
|
193
|
+
"""The number of fields across all pages, ignoring `search`."""
|
|
202
194
|
totalCount: Int!
|
|
203
195
|
}
|
|
204
196
|
```
|
|
@@ -206,47 +198,41 @@ type FieldConnection {
|
|
|
206
198
|
### `FieldCreateInput`
|
|
207
199
|
|
|
208
200
|
```graphql
|
|
209
|
-
"""
|
|
201
|
+
"""The input of `fieldCreate`."""
|
|
210
202
|
input FieldCreateInput {
|
|
211
|
-
"""
|
|
203
|
+
"""The ID of the workspace to create the field in."""
|
|
212
204
|
workspaceId: ID!
|
|
213
|
-
"""
|
|
205
|
+
"""The machine-readable name of the field."""
|
|
214
206
|
name: String!
|
|
215
|
-
"""
|
|
207
|
+
"""
|
|
208
|
+
The stable identifier of the field, unique within the workspace. It cannot change later.
|
|
209
|
+
"""
|
|
216
210
|
key: String!
|
|
217
|
-
"""
|
|
211
|
+
"""The label shown next to the input."""
|
|
218
212
|
label: String!
|
|
219
|
-
"""The field
|
|
213
|
+
"""The kind of value the field captures."""
|
|
220
214
|
type: FieldType!
|
|
221
|
-
"""Whether
|
|
215
|
+
"""Whether the field accepts more than one value."""
|
|
222
216
|
multiple: Boolean
|
|
223
|
-
"""Whether the
|
|
217
|
+
"""Whether the visitor must answer the field."""
|
|
224
218
|
required: Boolean
|
|
225
|
-
"""
|
|
226
|
-
Validation rules as a JSON-encoded string. Server parses before persisting.
|
|
227
|
-
"""
|
|
219
|
+
"""The validation rules, as a JSON string. Invalid JSON is rejected."""
|
|
228
220
|
validationString: String
|
|
229
|
-
"""
|
|
221
|
+
"""The value the field starts with."""
|
|
230
222
|
defaultValue: JSON
|
|
231
|
-
"""
|
|
232
|
-
Field options as a JSON array (only meaningful for select-style fields).
|
|
233
|
-
"""
|
|
223
|
+
"""The choices, as a JSON array. An option without an `id` gets one."""
|
|
234
224
|
options: JSON
|
|
235
|
-
"""JSON Logic
|
|
225
|
+
"""A JSON Logic rule that decides whether the field renders."""
|
|
236
226
|
condition: JSON
|
|
237
|
-
"""
|
|
227
|
+
"""The text shown in the empty input."""
|
|
238
228
|
placeholder: String
|
|
239
|
-
"""
|
|
229
|
+
"""A description shown with the label."""
|
|
240
230
|
description: String
|
|
241
|
-
"""
|
|
231
|
+
"""A hint shown below the field."""
|
|
242
232
|
helpText: String
|
|
243
|
-
"""
|
|
244
|
-
When true, the captured value is excluded from analytics tracking. Omitted defaults to `true`: tracking is opt-in.
|
|
245
|
-
"""
|
|
233
|
+
"""Whether the answer is left out of analytics. Defaults to `true`."""
|
|
246
234
|
doNotTrack: Boolean
|
|
247
|
-
"""
|
|
248
|
-
When true, the captured value is excluded from persistence. Omitted defaults to `true`: persistence is opt-in.
|
|
249
|
-
"""
|
|
235
|
+
"""Whether the answer is left out of storage. Defaults to `true`."""
|
|
250
236
|
doNotStore: Boolean
|
|
251
237
|
}
|
|
252
238
|
```
|
|
@@ -254,7 +240,7 @@ input FieldCreateInput {
|
|
|
254
240
|
### `FieldCreatePayload`
|
|
255
241
|
|
|
256
242
|
```graphql
|
|
257
|
-
"""
|
|
243
|
+
"""The result of `fieldCreate`."""
|
|
258
244
|
type FieldCreatePayload {
|
|
259
245
|
"""The created field."""
|
|
260
246
|
field: Field
|
|
@@ -265,42 +251,44 @@ type FieldCreatePayload {
|
|
|
265
251
|
|
|
266
252
|
```graphql
|
|
267
253
|
"""
|
|
268
|
-
|
|
254
|
+
The input of `fieldUpdate`. Omit a field to keep its value. `type` is required.
|
|
269
255
|
"""
|
|
270
256
|
input FieldUpdateInput {
|
|
271
|
-
"""
|
|
257
|
+
"""The ID of the field."""
|
|
272
258
|
id: ID!
|
|
273
|
-
"""
|
|
259
|
+
"""The ID of the workspace the field belongs to."""
|
|
274
260
|
workspaceId: ID!
|
|
275
|
-
"""
|
|
261
|
+
"""The machine-readable name of the field."""
|
|
276
262
|
name: String
|
|
277
|
-
"""
|
|
263
|
+
"""The label shown next to the input."""
|
|
278
264
|
label: String
|
|
279
265
|
"""
|
|
280
|
-
|
|
266
|
+
The kind of value the field captures. Required: send the current type to keep it.
|
|
281
267
|
"""
|
|
282
268
|
type: FieldType!
|
|
283
|
-
"""Whether
|
|
269
|
+
"""Whether the field accepts more than one value."""
|
|
284
270
|
multiple: Boolean
|
|
285
|
-
"""Whether the
|
|
271
|
+
"""Whether the visitor must answer the field."""
|
|
286
272
|
required: Boolean
|
|
287
|
-
"""
|
|
273
|
+
"""The validation rules, as a JSON string. Invalid JSON is rejected."""
|
|
288
274
|
validationString: String
|
|
289
|
-
"""
|
|
275
|
+
"""The value the field starts with."""
|
|
290
276
|
defaultValue: JSON
|
|
291
|
-
"""
|
|
277
|
+
"""
|
|
278
|
+
The choices, as a JSON array. Replaces the current choices; an option without an `id` gets one.
|
|
279
|
+
"""
|
|
292
280
|
options: JSON
|
|
293
|
-
"""JSON Logic
|
|
281
|
+
"""A JSON Logic rule that decides whether the field renders."""
|
|
294
282
|
condition: JSON
|
|
295
|
-
"""
|
|
283
|
+
"""The text shown in the empty input."""
|
|
296
284
|
placeholder: String
|
|
297
|
-
"""
|
|
285
|
+
"""A description shown with the label."""
|
|
298
286
|
description: String
|
|
299
|
-
"""
|
|
287
|
+
"""A hint shown below the field."""
|
|
300
288
|
helpText: String
|
|
301
|
-
"""
|
|
289
|
+
"""Whether the answer is left out of analytics."""
|
|
302
290
|
doNotTrack: Boolean
|
|
303
|
-
"""
|
|
291
|
+
"""Whether the answer is left out of storage."""
|
|
304
292
|
doNotStore: Boolean
|
|
305
293
|
}
|
|
306
294
|
```
|
|
@@ -308,7 +296,7 @@ input FieldUpdateInput {
|
|
|
308
296
|
### `FieldUpdatePayload`
|
|
309
297
|
|
|
310
298
|
```graphql
|
|
311
|
-
"""
|
|
299
|
+
"""The result of `fieldUpdate`."""
|
|
312
300
|
type FieldUpdatePayload {
|
|
313
301
|
"""The updated field."""
|
|
314
302
|
field: Field
|
|
@@ -318,11 +306,11 @@ type FieldUpdatePayload {
|
|
|
318
306
|
### `FieldDeleteInput`
|
|
319
307
|
|
|
320
308
|
```graphql
|
|
321
|
-
"""
|
|
309
|
+
"""The input of `fieldDelete`."""
|
|
322
310
|
input FieldDeleteInput {
|
|
323
|
-
"""
|
|
311
|
+
"""The ID of the field."""
|
|
324
312
|
id: ID!
|
|
325
|
-
"""
|
|
313
|
+
"""The ID of the workspace the field belongs to."""
|
|
326
314
|
workspaceId: ID!
|
|
327
315
|
}
|
|
328
316
|
```
|
|
@@ -330,13 +318,11 @@ input FieldDeleteInput {
|
|
|
330
318
|
### `FieldDeletePayload`
|
|
331
319
|
|
|
332
320
|
```graphql
|
|
333
|
-
"""
|
|
334
|
-
Payload returned by `fieldDelete`. Returns `userErrors` when the field is in use.
|
|
335
|
-
"""
|
|
321
|
+
"""The result of `fieldDelete`."""
|
|
336
322
|
type FieldDeletePayload {
|
|
337
|
-
"""ID of the deleted field
|
|
323
|
+
"""The ID of the deleted field. Null when `userErrors` is not empty."""
|
|
338
324
|
deletedFieldId: ID
|
|
339
|
-
"""
|
|
325
|
+
"""The reasons the field was not deleted. Empty on success."""
|
|
340
326
|
userErrors: [FieldDeleteUserError!]!
|
|
341
327
|
}
|
|
342
328
|
```
|
|
@@ -344,9 +330,9 @@ type FieldDeletePayload {
|
|
|
344
330
|
### `FieldDeleteUserErrorCode`
|
|
345
331
|
|
|
346
332
|
```graphql
|
|
347
|
-
"""
|
|
333
|
+
"""The reasons `fieldDelete` refuses a delete."""
|
|
348
334
|
enum FieldDeleteUserErrorCode {
|
|
349
|
-
"""The field is
|
|
335
|
+
"""The field is on a step."""
|
|
350
336
|
IN_USE
|
|
351
337
|
}
|
|
352
338
|
```
|
|
@@ -354,17 +340,17 @@ enum FieldDeleteUserErrorCode {
|
|
|
354
340
|
### `FieldDeleteUserError`
|
|
355
341
|
|
|
356
342
|
```graphql
|
|
357
|
-
"""
|
|
358
|
-
A user error from `fieldDelete`. Carries the steps that block the delete when `code` is `IN_USE`.
|
|
359
|
-
"""
|
|
343
|
+
"""A reason `fieldDelete` did not delete a field."""
|
|
360
344
|
type FieldDeleteUserError {
|
|
361
|
-
"""
|
|
345
|
+
"""
|
|
346
|
+
The path to the input field at fault. Null when no single field is at fault.
|
|
347
|
+
"""
|
|
362
348
|
field: [String!]
|
|
363
|
-
"""
|
|
349
|
+
"""A message to show the user."""
|
|
364
350
|
message: String!
|
|
365
|
-
"""
|
|
351
|
+
"""A machine-readable code."""
|
|
366
352
|
code: FieldDeleteUserErrorCode!
|
|
367
|
-
"""
|
|
353
|
+
"""The steps the field is on. Null unless `code` is `IN_USE`."""
|
|
368
354
|
referencingSteps: [ReferencingStep!]
|
|
369
355
|
}
|
|
370
356
|
```
|
|
@@ -372,13 +358,11 @@ type FieldDeleteUserError {
|
|
|
372
358
|
### `ReferencingStep`
|
|
373
359
|
|
|
374
360
|
```graphql
|
|
375
|
-
"""
|
|
376
|
-
A step that has this field attached, preventing its deletion. Returned in `FieldDeleteUserError` when the delete is blocked by usage.
|
|
377
|
-
"""
|
|
361
|
+
"""A step that a field is on, and so blocks the field's delete."""
|
|
378
362
|
type ReferencingStep {
|
|
379
|
-
"""The step
|
|
363
|
+
"""The ID of the step."""
|
|
380
364
|
id: ID!
|
|
381
|
-
"""The step
|
|
365
|
+
"""The name of the step."""
|
|
382
366
|
name: String!
|
|
383
367
|
}
|
|
384
368
|
```
|
|
@@ -386,15 +370,13 @@ type ReferencingStep {
|
|
|
386
370
|
### `FieldSortKeys`
|
|
387
371
|
|
|
388
372
|
```graphql
|
|
389
|
-
"""
|
|
390
|
-
Sort keys for `fields(...)`. Pair with `reverse: true` to flip the order (`NAME` + `reverse: false` sorts A→Z; `CREATED_AT` + `reverse: true` is newest-first).
|
|
391
|
-
"""
|
|
373
|
+
"""The orders `fields` can sort by. `reverse: true` flips each."""
|
|
392
374
|
enum FieldSortKeys {
|
|
393
|
-
"""
|
|
375
|
+
"""By name, A to Z."""
|
|
394
376
|
NAME
|
|
395
|
-
"""
|
|
377
|
+
"""By creation time, oldest first."""
|
|
396
378
|
CREATED_AT
|
|
397
|
-
"""
|
|
379
|
+
"""By last change, oldest first."""
|
|
398
380
|
UPDATED_AT
|
|
399
381
|
}
|
|
400
382
|
```
|