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
|
# Feature 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
|
### `feature`
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Reads a feature flag by its ID and workspace.
|
|
16
|
+
Scope: `ORGANIZATION_WORKSPACE_READ`.
|
|
16
17
|
|
|
17
18
|
```graphql
|
|
18
19
|
feature(input: FeatureInput!): Feature @auth
|
|
@@ -20,8 +21,9 @@ feature(input: FeatureInput!): Feature @auth
|
|
|
20
21
|
|
|
21
22
|
### `features`
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
Lists the feature flags in a workspace. `search` matches a case-insensitive substring of the
|
|
25
|
+
name; `sortKey` and `reverse` set the order.
|
|
26
|
+
Scope: `ORGANIZATION_WORKSPACE_READ`.
|
|
25
27
|
|
|
26
28
|
```graphql
|
|
27
29
|
features(workspaceId: ID!, first: Int, after: String, last: Int, before: String, search: String, sortKey: FeatureSortKeys = NAME, reverse: Boolean = false): FeatureConnection! @auth
|
|
@@ -31,7 +33,8 @@ features(workspaceId: ID!, first: Int, after: String, last: Int, before: String,
|
|
|
31
33
|
|
|
32
34
|
### `featureCreate`
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
Creates a feature flag in a workspace.
|
|
37
|
+
Scope: `ORGANIZATION_WORKSPACE_UPDATE`.
|
|
35
38
|
|
|
36
39
|
```graphql
|
|
37
40
|
featureCreate(input: FeatureCreateInput!): FeatureCreatePayload! @auth
|
|
@@ -39,7 +42,8 @@ featureCreate(input: FeatureCreateInput!): FeatureCreatePayload! @auth
|
|
|
39
42
|
|
|
40
43
|
### `featureUpdate`
|
|
41
44
|
|
|
42
|
-
|
|
45
|
+
Updates a feature flag.
|
|
46
|
+
Scope: `ORGANIZATION_WORKSPACE_UPDATE`.
|
|
43
47
|
|
|
44
48
|
```graphql
|
|
45
49
|
featureUpdate(input: FeatureUpdateInput!): FeatureUpdatePayload! @auth
|
|
@@ -47,7 +51,8 @@ featureUpdate(input: FeatureUpdateInput!): FeatureUpdatePayload! @auth
|
|
|
47
51
|
|
|
48
52
|
### `featureDelete`
|
|
49
53
|
|
|
50
|
-
|
|
54
|
+
Deletes a feature flag.
|
|
55
|
+
Scope: `ORGANIZATION_WORKSPACE_UPDATE`.
|
|
51
56
|
|
|
52
57
|
```graphql
|
|
53
58
|
featureDelete(input: FeatureDeleteInput!): FeatureDeletePayload! @auth
|
|
@@ -58,7 +63,7 @@ featureDelete(input: FeatureDeleteInput!): FeatureDeletePayload! @auth
|
|
|
58
63
|
### `FeatureValueType`
|
|
59
64
|
|
|
60
65
|
```graphql
|
|
61
|
-
"""What a feature's
|
|
66
|
+
"""What a feature flag's arms serve. Fixed when the feature is created."""
|
|
62
67
|
enum FeatureValueType {
|
|
63
68
|
"""
|
|
64
69
|
Two arms. The visitor's site receives `true` or `false`, split by `weight`.
|
|
@@ -75,34 +80,25 @@ enum FeatureValueType {
|
|
|
75
80
|
|
|
76
81
|
```graphql
|
|
77
82
|
"""
|
|
78
|
-
One arm of a feature.
|
|
79
|
-
|
|
80
|
-
`key` is the stable identity: it is what the visitor's browser stores, what
|
|
81
|
-
reporting records, and what a preview override names. It is also the order
|
|
82
|
-
allocation runs in, so `name`, `value` and `weight` are all freely editable
|
|
83
|
-
without moving a visitor between arms.
|
|
84
|
-
|
|
85
|
-
Every feature has a control arm keyed `false` serving `false`. A `BOOLEAN`
|
|
86
|
-
feature has exactly one more, keyed `true`, derived from `weight` rather than
|
|
87
|
-
stored.
|
|
83
|
+
One arm of a feature flag. Every feature has a control arm keyed `false` that serves `false`; a
|
|
84
|
+
`BOOLEAN` feature has exactly one more, keyed `true` and derived from `weight`.
|
|
88
85
|
"""
|
|
89
86
|
type FeatureVariant {
|
|
90
87
|
"""
|
|
91
|
-
|
|
88
|
+
The stable identifier of the arm, unique within the feature. The visitor's browser, reports and
|
|
89
|
+
preview overrides name the arm by it, and allocation orders arms by it, so `name`, `value` and
|
|
90
|
+
`weight` change without moving a visitor between arms. `true` and `false` are reserved.
|
|
92
91
|
"""
|
|
93
92
|
key: String!
|
|
94
|
-
"""
|
|
95
|
-
Display label. Shown in the dashboard and as the arm's label in reports.
|
|
96
|
-
"""
|
|
93
|
+
"""The label of the arm in the dashboard and in reports."""
|
|
97
94
|
name: String!
|
|
98
95
|
"""
|
|
99
|
-
What the visitor's site receives
|
|
96
|
+
What the visitor's site receives: a string, or `false` for the control arm.
|
|
100
97
|
"""
|
|
101
98
|
value: JSON!
|
|
102
99
|
"""
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
Stored reduced by the greatest common divisor, so equivalent splits are equal.
|
|
100
|
+
The arm's share of traffic relative to the other arms, as a whole number: `1, 1, 1` and
|
|
101
|
+
`10, 10, 10` are the same even split. Stored reduced by the greatest common divisor.
|
|
106
102
|
"""
|
|
107
103
|
weight: Int!
|
|
108
104
|
}
|
|
@@ -112,53 +108,44 @@ type FeatureVariant {
|
|
|
112
108
|
|
|
113
109
|
```graphql
|
|
114
110
|
"""
|
|
115
|
-
|
|
116
|
-
and check `enabled` / `weight` to decide whether to expose the feature
|
|
117
|
-
to a given visitor.
|
|
118
|
-
|
|
119
|
-
`weight` is a percentage (0-100); 100 means "always serve this feature".
|
|
120
|
-
`version` increments whenever the feature is updated and is exposed to
|
|
121
|
-
SDKs as a cache-busting hint.
|
|
111
|
+
A feature flag: a control that decides which visitors see a change, for an A/B test or a staged release.
|
|
122
112
|
"""
|
|
123
113
|
type Feature {
|
|
124
|
-
"""
|
|
114
|
+
"""The ID of the feature."""
|
|
125
115
|
id: ID!
|
|
126
116
|
"""
|
|
127
|
-
|
|
117
|
+
The stable identifier of the feature, unique within its workspace, such as `homepage-banner-v2`.
|
|
128
118
|
"""
|
|
129
119
|
key: String!
|
|
130
|
-
"""
|
|
120
|
+
"""The name of the feature."""
|
|
131
121
|
name: String!
|
|
132
|
-
"""
|
|
122
|
+
"""A description of the feature. Null when none is set."""
|
|
133
123
|
description: String
|
|
134
124
|
"""
|
|
135
|
-
Whether the feature is
|
|
125
|
+
Whether the feature is on. When false, it is off for every visitor, whatever `weight` says.
|
|
136
126
|
"""
|
|
137
127
|
enabled: Boolean!
|
|
138
128
|
"""
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
weights and carried for clients that predate variants; such a client puts the
|
|
142
|
-
right share of visitors in control, and current clients allocate from `variants`.
|
|
129
|
+
The percentage of visitors outside the control arm, from 0 to 100. A `BOOLEAN` feature allocates
|
|
130
|
+
from it; a `TEXT` feature derives it from the arm weights.
|
|
143
131
|
"""
|
|
144
132
|
weight: Int!
|
|
145
|
-
"""What
|
|
133
|
+
"""What the feature's arms serve."""
|
|
146
134
|
valueType: FeatureValueType!
|
|
147
135
|
"""
|
|
148
|
-
The
|
|
149
|
-
|
|
150
|
-
stored, so every consumer sees one shape regardless of value type.
|
|
136
|
+
The arms of the feature: at least two, with the control arm keyed `false` last. A `BOOLEAN`
|
|
137
|
+
feature's pair is derived from `weight`, so every value type has the same shape.
|
|
151
138
|
"""
|
|
152
139
|
variants: [FeatureVariant!]!
|
|
153
140
|
"""
|
|
154
|
-
|
|
141
|
+
A number that forms part of the SDK cache key. It increases only when `featureUpdate` sets `incrementVersion`.
|
|
155
142
|
"""
|
|
156
143
|
version: Int!
|
|
157
|
-
"""The workspace
|
|
144
|
+
"""The workspace the feature belongs to."""
|
|
158
145
|
workspace: Workspace!
|
|
159
|
-
"""When
|
|
146
|
+
"""When the feature was created."""
|
|
160
147
|
createdAt: DateTime!
|
|
161
|
-
"""When
|
|
148
|
+
"""When the feature last changed."""
|
|
162
149
|
updatedAt: DateTime!
|
|
163
150
|
}
|
|
164
151
|
```
|
|
@@ -166,9 +153,9 @@ type Feature {
|
|
|
166
153
|
### `FeatureEdge`
|
|
167
154
|
|
|
168
155
|
```graphql
|
|
169
|
-
"""
|
|
156
|
+
"""A feature in a page of results."""
|
|
170
157
|
type FeatureEdge {
|
|
171
|
-
"""
|
|
158
|
+
"""The cursor of this edge."""
|
|
172
159
|
cursor: String!
|
|
173
160
|
"""The feature."""
|
|
174
161
|
node: Feature!
|
|
@@ -178,13 +165,13 @@ type FeatureEdge {
|
|
|
178
165
|
### `FeatureConnection`
|
|
179
166
|
|
|
180
167
|
```graphql
|
|
181
|
-
"""
|
|
168
|
+
"""A page of features."""
|
|
182
169
|
type FeatureConnection {
|
|
183
|
-
"""
|
|
170
|
+
"""The edges in this page."""
|
|
184
171
|
edges: [FeatureEdge!]!
|
|
185
|
-
"""
|
|
172
|
+
"""Where this page sits in the list."""
|
|
186
173
|
pageInfo: PageInfo!
|
|
187
|
-
"""
|
|
174
|
+
"""The number of features across all pages, ignoring `search`."""
|
|
188
175
|
totalCount: Int!
|
|
189
176
|
}
|
|
190
177
|
```
|
|
@@ -192,11 +179,11 @@ type FeatureConnection {
|
|
|
192
179
|
### `FeatureInput`
|
|
193
180
|
|
|
194
181
|
```graphql
|
|
195
|
-
"""
|
|
182
|
+
"""The input of `feature`."""
|
|
196
183
|
input FeatureInput {
|
|
197
|
-
"""
|
|
184
|
+
"""The ID of the feature."""
|
|
198
185
|
id: ID!
|
|
199
|
-
"""
|
|
186
|
+
"""The ID of the workspace the feature belongs to."""
|
|
200
187
|
workspaceId: ID!
|
|
201
188
|
}
|
|
202
189
|
```
|
|
@@ -205,21 +192,19 @@ input FeatureInput {
|
|
|
205
192
|
|
|
206
193
|
```graphql
|
|
207
194
|
"""
|
|
208
|
-
One arm, as
|
|
209
|
-
The control arm is submitted like any other, keyed `false` with value `false`, and
|
|
210
|
-
must come last.
|
|
195
|
+
One arm of a feature flag, as input. Submit the control arm keyed `false` with value `false`, last.
|
|
211
196
|
"""
|
|
212
197
|
input FeatureVariantInput {
|
|
213
|
-
"""
|
|
198
|
+
"""The stable identifier of the arm. Derived from `name` when omitted."""
|
|
214
199
|
key: String
|
|
215
|
-
"""
|
|
200
|
+
"""The label of the arm."""
|
|
216
201
|
name: String!
|
|
217
202
|
"""
|
|
218
|
-
What the visitor's site receives
|
|
203
|
+
What the visitor's site receives: a string, or `false` for the control arm.
|
|
219
204
|
"""
|
|
220
205
|
value: JSON!
|
|
221
206
|
"""
|
|
222
|
-
|
|
207
|
+
The arm's share of traffic relative to the other arms. Reduced by the greatest common divisor on save.
|
|
223
208
|
"""
|
|
224
209
|
weight: Int!
|
|
225
210
|
}
|
|
@@ -228,28 +213,30 @@ input FeatureVariantInput {
|
|
|
228
213
|
### `FeatureCreateInput`
|
|
229
214
|
|
|
230
215
|
```graphql
|
|
231
|
-
"""
|
|
216
|
+
"""The input of `featureCreate`."""
|
|
232
217
|
input FeatureCreateInput {
|
|
233
|
-
"""
|
|
218
|
+
"""The ID of the workspace to create the feature in."""
|
|
234
219
|
workspaceId: ID!
|
|
235
|
-
"""
|
|
236
|
-
Organisation ID. Carried for authorisation; must match the workspace's organisation.
|
|
237
|
-
"""
|
|
220
|
+
"""Ignored. The feature belongs to the workspace's organisation."""
|
|
238
221
|
organizationId: ID!
|
|
239
|
-
"""
|
|
222
|
+
"""The name of the feature. At least 3 characters."""
|
|
240
223
|
name: String!
|
|
241
|
-
"""
|
|
224
|
+
"""
|
|
225
|
+
The stable identifier of the feature, unique within the workspace: lowercase letters, digits and
|
|
226
|
+
hyphens. Derived from `name` when omitted. It cannot change later.
|
|
227
|
+
"""
|
|
242
228
|
key: String
|
|
243
|
-
"""
|
|
229
|
+
"""A description of the feature. At most 500 characters."""
|
|
244
230
|
description: String
|
|
245
|
-
"""Whether the feature is
|
|
231
|
+
"""Whether the feature is on. Defaults to `false`."""
|
|
246
232
|
enabled: Boolean
|
|
247
233
|
"""
|
|
248
|
-
|
|
234
|
+
The percentage of visitors outside the control arm, from 0 to 100. Defaults to `0`. Rejected for
|
|
235
|
+
a `TEXT` feature, which derives it from `variants`.
|
|
249
236
|
"""
|
|
250
237
|
weight: Int
|
|
251
238
|
"""
|
|
252
|
-
What
|
|
239
|
+
What the feature's arms serve. Defaults to `BOOLEAN`. It cannot change later.
|
|
253
240
|
"""
|
|
254
241
|
valueType: FeatureValueType
|
|
255
242
|
"""
|
|
@@ -262,7 +249,7 @@ input FeatureCreateInput {
|
|
|
262
249
|
### `FeatureCreatePayload`
|
|
263
250
|
|
|
264
251
|
```graphql
|
|
265
|
-
"""
|
|
252
|
+
"""The result of `featureCreate`."""
|
|
266
253
|
type FeatureCreatePayload {
|
|
267
254
|
"""The created feature."""
|
|
268
255
|
feature: Feature
|
|
@@ -272,31 +259,28 @@ type FeatureCreatePayload {
|
|
|
272
259
|
### `FeatureUpdateInput`
|
|
273
260
|
|
|
274
261
|
```graphql
|
|
275
|
-
"""
|
|
262
|
+
"""The input of `featureUpdate`. Omit a field to keep its value."""
|
|
276
263
|
input FeatureUpdateInput {
|
|
277
|
-
"""
|
|
264
|
+
"""The ID of the feature."""
|
|
278
265
|
id: ID!
|
|
279
|
-
"""
|
|
266
|
+
"""The ID of the workspace the feature belongs to."""
|
|
280
267
|
workspaceId: ID!
|
|
281
|
-
"""
|
|
268
|
+
"""The name of the feature. At least 3 characters."""
|
|
282
269
|
name: String
|
|
283
|
-
"""
|
|
270
|
+
"""A description of the feature. At most 500 characters."""
|
|
284
271
|
description: String
|
|
285
|
-
"""Whether the feature is
|
|
272
|
+
"""Whether the feature is on."""
|
|
286
273
|
enabled: Boolean
|
|
287
274
|
"""
|
|
288
|
-
|
|
275
|
+
The percentage of visitors outside the control arm, from 0 to 100. Rejected for a `TEXT`
|
|
276
|
+
feature, which derives it from `variants`.
|
|
289
277
|
"""
|
|
290
278
|
weight: Int
|
|
291
279
|
"""
|
|
292
|
-
|
|
293
|
-
supported, because reducing weights by their greatest common divisor is a
|
|
294
|
-
property of the whole array. Rejected for a `BOOLEAN` feature.
|
|
280
|
+
The full set of arms, control last. Replaces every arm. Rejected for a `BOOLEAN` feature.
|
|
295
281
|
"""
|
|
296
282
|
variants: [FeatureVariantInput!]
|
|
297
|
-
"""
|
|
298
|
-
Whether to increment the version number. Defaults to `true` so SDKs see the change.
|
|
299
|
-
"""
|
|
283
|
+
"""Whether to increase `version`. Defaults to `false`."""
|
|
300
284
|
incrementVersion: Boolean
|
|
301
285
|
}
|
|
302
286
|
```
|
|
@@ -304,7 +288,7 @@ input FeatureUpdateInput {
|
|
|
304
288
|
### `FeatureUpdatePayload`
|
|
305
289
|
|
|
306
290
|
```graphql
|
|
307
|
-
"""
|
|
291
|
+
"""The result of `featureUpdate`."""
|
|
308
292
|
type FeatureUpdatePayload {
|
|
309
293
|
"""The updated feature."""
|
|
310
294
|
feature: Feature
|
|
@@ -314,11 +298,11 @@ type FeatureUpdatePayload {
|
|
|
314
298
|
### `FeatureDeleteInput`
|
|
315
299
|
|
|
316
300
|
```graphql
|
|
317
|
-
"""
|
|
301
|
+
"""The input of `featureDelete`."""
|
|
318
302
|
input FeatureDeleteInput {
|
|
319
|
-
"""
|
|
303
|
+
"""The ID of the feature."""
|
|
320
304
|
id: ID!
|
|
321
|
-
"""
|
|
305
|
+
"""The ID of the workspace the feature belongs to."""
|
|
322
306
|
workspaceId: ID!
|
|
323
307
|
}
|
|
324
308
|
```
|
|
@@ -326,9 +310,9 @@ input FeatureDeleteInput {
|
|
|
326
310
|
### `FeatureDeletePayload`
|
|
327
311
|
|
|
328
312
|
```graphql
|
|
329
|
-
"""
|
|
313
|
+
"""The result of `featureDelete`."""
|
|
330
314
|
type FeatureDeletePayload {
|
|
331
|
-
"""ID of the deleted feature."""
|
|
315
|
+
"""The ID of the deleted feature."""
|
|
332
316
|
deletedFeatureId: ID
|
|
333
317
|
}
|
|
334
318
|
```
|
|
@@ -336,15 +320,13 @@ type FeatureDeletePayload {
|
|
|
336
320
|
### `FeatureSortKeys`
|
|
337
321
|
|
|
338
322
|
```graphql
|
|
339
|
-
"""
|
|
340
|
-
Sort keys for `features(...)`. Pair with `reverse: true` to flip the order (`NAME` + `reverse: false` sorts A→Z; `CREATED_AT` + `reverse: true` is newest-first).
|
|
341
|
-
"""
|
|
323
|
+
"""The orders `features` can sort by. `reverse: true` flips each."""
|
|
342
324
|
enum FeatureSortKeys {
|
|
343
|
-
"""
|
|
325
|
+
"""By name, A to Z."""
|
|
344
326
|
NAME
|
|
345
|
-
"""
|
|
327
|
+
"""By creation time, oldest first."""
|
|
346
328
|
CREATED_AT
|
|
347
|
-
"""
|
|
329
|
+
"""By last change, oldest first."""
|
|
348
330
|
UPDATED_AT
|
|
349
331
|
}
|
|
350
332
|
```
|
|
@@ -6,13 +6,13 @@ generated: true
|
|
|
6
6
|
|
|
7
7
|
# Feedback schema
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
See [Management API schema](/reference/management-api/schema) for every domain, the endpoint and authentication.
|
|
10
10
|
|
|
11
11
|
## Mutations
|
|
12
12
|
|
|
13
13
|
### `feedbackCreate`
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Sends product feedback from the signed-in user to the Picked team.
|
|
16
16
|
|
|
17
17
|
```graphql
|
|
18
18
|
feedbackCreate(input: FeedbackCreateInput!): FeedbackCreatePayload! @auth(only: USER)
|
|
@@ -23,19 +23,19 @@ feedbackCreate(input: FeedbackCreateInput!): FeedbackCreatePayload! @auth(only:
|
|
|
23
23
|
### `FeedbackTopic`
|
|
24
24
|
|
|
25
25
|
```graphql
|
|
26
|
-
"""
|
|
26
|
+
"""What a piece of feedback is about."""
|
|
27
27
|
enum FeedbackTopic {
|
|
28
|
-
"""
|
|
28
|
+
"""Something does not work as expected."""
|
|
29
29
|
BUG
|
|
30
|
-
"""
|
|
30
|
+
"""A capability the user wants."""
|
|
31
31
|
FEATURE_REQUEST
|
|
32
|
-
"""
|
|
32
|
+
"""A change to an existing capability."""
|
|
33
33
|
IMPROVEMENT
|
|
34
|
-
"""
|
|
34
|
+
"""A request for help."""
|
|
35
35
|
QUESTION
|
|
36
|
-
"""
|
|
36
|
+
"""The dashboard's sidebar navigation."""
|
|
37
37
|
NAVIGATION
|
|
38
|
-
"""
|
|
38
|
+
"""Anything else."""
|
|
39
39
|
OTHER
|
|
40
40
|
}
|
|
41
41
|
```
|
|
@@ -43,19 +43,17 @@ enum FeedbackTopic {
|
|
|
43
43
|
### `FeedbackSentiment`
|
|
44
44
|
|
|
45
45
|
```graphql
|
|
46
|
-
"""
|
|
47
|
-
Sentiment rating for user feedback. Optional; clients can omit when they don't prompt for sentiment.
|
|
48
|
-
"""
|
|
46
|
+
"""How the user feels about what their feedback describes."""
|
|
49
47
|
enum FeedbackSentiment {
|
|
50
|
-
"""
|
|
48
|
+
"""Frustrated or angry."""
|
|
51
49
|
VERY_NEGATIVE
|
|
52
|
-
"""
|
|
50
|
+
"""Dissatisfied."""
|
|
53
51
|
NEGATIVE
|
|
54
|
-
"""
|
|
52
|
+
"""Indifferent."""
|
|
55
53
|
NEUTRAL
|
|
56
|
-
"""
|
|
54
|
+
"""Satisfied."""
|
|
57
55
|
POSITIVE
|
|
58
|
-
"""
|
|
56
|
+
"""Delighted."""
|
|
59
57
|
VERY_POSITIVE
|
|
60
58
|
}
|
|
61
59
|
```
|
|
@@ -63,31 +61,29 @@ enum FeedbackSentiment {
|
|
|
63
61
|
### `FeedbackCreateInput`
|
|
64
62
|
|
|
65
63
|
```graphql
|
|
66
|
-
"""
|
|
67
|
-
Input for `feedbackCreate` — submit a feedback message from the dashboard.
|
|
68
|
-
"""
|
|
64
|
+
"""The input of `feedbackCreate`."""
|
|
69
65
|
input FeedbackCreateInput {
|
|
70
|
-
"""The feedback
|
|
66
|
+
"""The feedback text: 1 to 5,000 characters, not blank."""
|
|
71
67
|
message: String!
|
|
72
|
-
"""
|
|
68
|
+
"""What the feedback is about."""
|
|
73
69
|
topic: FeedbackTopic!
|
|
74
|
-
"""
|
|
70
|
+
"""How the user feels. Omit when the client does not ask."""
|
|
75
71
|
sentiment: FeedbackSentiment
|
|
76
72
|
"""
|
|
77
|
-
The
|
|
73
|
+
The dashboard path the user sent the feedback from, such as `/orgs/acme/projects/123`.
|
|
78
74
|
"""
|
|
79
75
|
pagePath: String
|
|
80
|
-
"""The organisation
|
|
76
|
+
"""The ID of the organisation the user was working in."""
|
|
81
77
|
organizationId: ID
|
|
82
|
-
"""The project
|
|
78
|
+
"""The ID of the project the user was working in."""
|
|
83
79
|
projectId: ID
|
|
84
80
|
"""
|
|
85
|
-
The Picked session
|
|
81
|
+
The ID of the user's Picked session, which links the feedback to its session recording.
|
|
86
82
|
"""
|
|
87
83
|
pickedSessionId: String
|
|
88
|
-
"""The user's browser user
|
|
84
|
+
"""The user's browser user agent."""
|
|
89
85
|
userAgent: String
|
|
90
|
-
"""The user's screen resolution
|
|
86
|
+
"""The user's screen resolution, such as `1920x1080`."""
|
|
91
87
|
screenResolution: String
|
|
92
88
|
}
|
|
93
89
|
```
|
|
@@ -95,9 +91,9 @@ input FeedbackCreateInput {
|
|
|
95
91
|
### `FeedbackCreatePayload`
|
|
96
92
|
|
|
97
93
|
```graphql
|
|
98
|
-
"""
|
|
94
|
+
"""The result of `feedbackCreate`."""
|
|
99
95
|
type FeedbackCreatePayload {
|
|
100
|
-
"""The
|
|
96
|
+
"""The ID of the feedback."""
|
|
101
97
|
feedbackId: ID!
|
|
102
98
|
}
|
|
103
99
|
```
|