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
|
# Report 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
|
### `report`
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Reads a project report. Null when no project report has the ID.
|
|
16
|
+
Scope: `ORGANIZATION_REPORTS_READ`.
|
|
16
17
|
|
|
17
18
|
```graphql
|
|
18
19
|
report(id: ID!): ProjectReport @auth
|
|
@@ -22,7 +23,8 @@ report(id: ID!): ProjectReport @auth
|
|
|
22
23
|
|
|
23
24
|
### `reportCreate`
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
Creates a report and adds it to a project.
|
|
27
|
+
Scope: `ORGANIZATION_REPORTS_CREATE`.
|
|
26
28
|
|
|
27
29
|
```graphql
|
|
28
30
|
reportCreate(input: ReportCreateInput!): ReportCreatePayload! @auth
|
|
@@ -30,7 +32,8 @@ reportCreate(input: ReportCreateInput!): ReportCreatePayload! @auth
|
|
|
30
32
|
|
|
31
33
|
### `reportUpdate`
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
Updates a project report and its report.
|
|
36
|
+
Scope: `ORGANIZATION_REPORTS_UPDATE`.
|
|
34
37
|
|
|
35
38
|
```graphql
|
|
36
39
|
reportUpdate(input: ReportUpdateInput!): ReportUpdatePayload! @auth
|
|
@@ -38,7 +41,8 @@ reportUpdate(input: ReportUpdateInput!): ReportUpdatePayload! @auth
|
|
|
38
41
|
|
|
39
42
|
### `reportDelete`
|
|
40
43
|
|
|
41
|
-
|
|
44
|
+
Deletes a report from its project, and the report itself when no other project uses it.
|
|
45
|
+
Scope: `ORGANIZATION_REPORTS_DELETE`.
|
|
42
46
|
|
|
43
47
|
```graphql
|
|
44
48
|
reportDelete(input: ReportDeleteInput!): ReportDeletePayload! @auth
|
|
@@ -49,15 +53,13 @@ reportDelete(input: ReportDeleteInput!): ReportDeletePayload! @auth
|
|
|
49
53
|
### `ReportSortKeys`
|
|
50
54
|
|
|
51
55
|
```graphql
|
|
52
|
-
"""
|
|
53
|
-
Sort keys accepted by `Project.reports(...)`. Pair with `reverse: true` to flip the order.
|
|
54
|
-
"""
|
|
56
|
+
"""The orders a report list can take. `reverse: true` flips the order."""
|
|
55
57
|
enum ReportSortKeys {
|
|
56
|
-
"""
|
|
58
|
+
"""By name, A to Z."""
|
|
57
59
|
NAME
|
|
58
|
-
"""
|
|
60
|
+
"""By display order, lowest first."""
|
|
59
61
|
DISPLAY_ORDER
|
|
60
|
-
"""
|
|
62
|
+
"""By creation time, oldest first."""
|
|
61
63
|
CREATED_AT
|
|
62
64
|
}
|
|
63
65
|
```
|
|
@@ -65,11 +67,11 @@ enum ReportSortKeys {
|
|
|
65
67
|
### `ReportType`
|
|
66
68
|
|
|
67
69
|
```graphql
|
|
68
|
-
"""
|
|
70
|
+
"""What a Metabase report embeds."""
|
|
69
71
|
enum ReportType {
|
|
70
|
-
"""
|
|
72
|
+
"""One question, a single chart."""
|
|
71
73
|
QUESTION
|
|
72
|
-
"""A
|
|
74
|
+
"""A dashboard of several charts."""
|
|
73
75
|
DASHBOARD
|
|
74
76
|
}
|
|
75
77
|
```
|
|
@@ -78,24 +80,22 @@ enum ReportType {
|
|
|
78
80
|
|
|
79
81
|
```graphql
|
|
80
82
|
"""
|
|
81
|
-
|
|
82
|
-
(question or dashboard) plus the display-only metadata (name,
|
|
83
|
-
description).
|
|
83
|
+
An embedded analytics dashboard or question: a Metabase report with a name and description.
|
|
84
84
|
"""
|
|
85
85
|
type Report {
|
|
86
|
-
"""
|
|
86
|
+
"""The ID of the report."""
|
|
87
87
|
id: ID!
|
|
88
|
-
"""Metabase
|
|
88
|
+
"""The ID of the Metabase question or dashboard."""
|
|
89
89
|
metabaseReportId: Int!
|
|
90
|
-
"""
|
|
90
|
+
"""The name of the report."""
|
|
91
91
|
name: String!
|
|
92
|
-
"""
|
|
92
|
+
"""The description of the report. Null when it has none."""
|
|
93
93
|
description: String
|
|
94
|
-
"""
|
|
94
|
+
"""What the Metabase report embeds."""
|
|
95
95
|
metabaseReportType: ReportType!
|
|
96
|
-
"""When
|
|
96
|
+
"""When the report was created."""
|
|
97
97
|
createdAt: DateTime!
|
|
98
|
-
"""When
|
|
98
|
+
"""When the report last changed."""
|
|
99
99
|
updatedAt: DateTime!
|
|
100
100
|
}
|
|
101
101
|
```
|
|
@@ -104,24 +104,29 @@ type Report {
|
|
|
104
104
|
|
|
105
105
|
```graphql
|
|
106
106
|
"""
|
|
107
|
-
A report
|
|
108
|
-
`lockedParameters` blob is forwarded to Metabase when generating the
|
|
109
|
-
embed URL — typically used to lock the report to the project's id.
|
|
107
|
+
A report attached to a project, with the parameters its embed is locked to.
|
|
110
108
|
"""
|
|
111
109
|
type ProjectReport {
|
|
112
|
-
"""
|
|
110
|
+
"""The ID of the project report."""
|
|
113
111
|
id: ID!
|
|
114
|
-
"""The
|
|
112
|
+
"""The report."""
|
|
115
113
|
report: Report!
|
|
116
|
-
"""
|
|
114
|
+
"""
|
|
115
|
+
The Metabase parameters the embed is locked to, such as the project's ID. Null when none are
|
|
116
|
+
set.
|
|
117
|
+
"""
|
|
117
118
|
lockedParameters: JSON
|
|
118
|
-
"""
|
|
119
|
+
"""The position of the report in the project's list. Null sorts last."""
|
|
119
120
|
displayOrder: Int
|
|
120
|
-
"""When
|
|
121
|
+
"""When the report was added to the project."""
|
|
121
122
|
createdAt: DateTime!
|
|
122
|
-
"""
|
|
123
|
+
"""
|
|
124
|
+
The ID of the user who added the report to the project. Null when unknown.
|
|
125
|
+
"""
|
|
123
126
|
createdBy: String
|
|
124
|
-
"""
|
|
127
|
+
"""
|
|
128
|
+
A signed embed URL for the report. It expires 3 hours after it is read.
|
|
129
|
+
"""
|
|
125
130
|
embedUrl: String!
|
|
126
131
|
}
|
|
127
132
|
```
|
|
@@ -129,9 +134,9 @@ type ProjectReport {
|
|
|
129
134
|
### `ProjectReportEdge`
|
|
130
135
|
|
|
131
136
|
```graphql
|
|
132
|
-
"""
|
|
137
|
+
"""A project report in a page of results."""
|
|
133
138
|
type ProjectReportEdge {
|
|
134
|
-
"""
|
|
139
|
+
"""The cursor of this edge."""
|
|
135
140
|
cursor: String!
|
|
136
141
|
"""The project report."""
|
|
137
142
|
node: ProjectReport!
|
|
@@ -141,13 +146,13 @@ type ProjectReportEdge {
|
|
|
141
146
|
### `ProjectReportConnection`
|
|
142
147
|
|
|
143
148
|
```graphql
|
|
144
|
-
"""
|
|
149
|
+
"""A page of project reports."""
|
|
145
150
|
type ProjectReportConnection {
|
|
146
|
-
"""
|
|
151
|
+
"""The edges in this page."""
|
|
147
152
|
edges: [ProjectReportEdge!]!
|
|
148
|
-
"""
|
|
153
|
+
"""Where this page sits in the list."""
|
|
149
154
|
pageInfo: PageInfo!
|
|
150
|
-
"""
|
|
155
|
+
"""The total number of reports on the project."""
|
|
151
156
|
totalCount: Int!
|
|
152
157
|
}
|
|
153
158
|
```
|
|
@@ -155,23 +160,23 @@ type ProjectReportConnection {
|
|
|
155
160
|
### `ReportCreateInput`
|
|
156
161
|
|
|
157
162
|
```graphql
|
|
158
|
-
"""
|
|
163
|
+
"""The input of `reportCreate`."""
|
|
159
164
|
input ReportCreateInput {
|
|
160
|
-
"""ID of the project to add the report to."""
|
|
165
|
+
"""The ID of the project to add the report to."""
|
|
161
166
|
projectId: ID!
|
|
162
|
-
"""
|
|
167
|
+
"""Ignored. The project's organisation applies."""
|
|
163
168
|
organizationId: ID!
|
|
164
|
-
"""
|
|
169
|
+
"""The name of the report. Must not be blank."""
|
|
165
170
|
name: String!
|
|
166
|
-
"""
|
|
171
|
+
"""The description of the report."""
|
|
167
172
|
description: String
|
|
168
|
-
"""Metabase
|
|
173
|
+
"""The ID of the Metabase question or dashboard. Must be positive."""
|
|
169
174
|
metabaseReportId: Int!
|
|
170
|
-
"""
|
|
175
|
+
"""What the Metabase report embeds."""
|
|
171
176
|
metabaseReportType: ReportType!
|
|
172
|
-
"""
|
|
177
|
+
"""The Metabase parameters to lock the embed to. Defaults to none."""
|
|
173
178
|
lockedParameters: JSON
|
|
174
|
-
"""
|
|
179
|
+
"""The position of the report in the project's list."""
|
|
175
180
|
displayOrder: Int
|
|
176
181
|
}
|
|
177
182
|
```
|
|
@@ -179,7 +184,7 @@ input ReportCreateInput {
|
|
|
179
184
|
### `ReportCreatePayload`
|
|
180
185
|
|
|
181
186
|
```graphql
|
|
182
|
-
"""
|
|
187
|
+
"""The result of `reportCreate`."""
|
|
183
188
|
type ReportCreatePayload {
|
|
184
189
|
"""The created project report."""
|
|
185
190
|
projectReport: ProjectReport
|
|
@@ -190,24 +195,23 @@ type ReportCreatePayload {
|
|
|
190
195
|
|
|
191
196
|
```graphql
|
|
192
197
|
"""
|
|
193
|
-
|
|
198
|
+
The input of `reportUpdate`. Omit a field to keep its value. Null clears `description` and
|
|
199
|
+
`displayOrder`.
|
|
194
200
|
"""
|
|
195
201
|
input ReportUpdateInput {
|
|
196
|
-
"""ID of the project report
|
|
202
|
+
"""The ID of the project report."""
|
|
197
203
|
projectReportId: ID!
|
|
198
|
-
"""
|
|
204
|
+
"""The name of the report."""
|
|
199
205
|
name: String
|
|
200
|
-
"""
|
|
206
|
+
"""The description of the report."""
|
|
201
207
|
description: String
|
|
202
|
-
"""
|
|
208
|
+
"""The ID of the Metabase question or dashboard."""
|
|
203
209
|
metabaseReportId: Int
|
|
204
|
-
"""
|
|
205
|
-
Type of the Metabase report. Required to disambiguate `metabaseReportId`.
|
|
206
|
-
"""
|
|
210
|
+
"""What the Metabase report embeds. Required."""
|
|
207
211
|
metabaseReportType: ReportType!
|
|
208
|
-
"""
|
|
212
|
+
"""The Metabase parameters to lock the embed to."""
|
|
209
213
|
lockedParameters: JSON
|
|
210
|
-
"""
|
|
214
|
+
"""The position of the report in the project's list."""
|
|
211
215
|
displayOrder: Int
|
|
212
216
|
}
|
|
213
217
|
```
|
|
@@ -215,7 +219,7 @@ input ReportUpdateInput {
|
|
|
215
219
|
### `ReportUpdatePayload`
|
|
216
220
|
|
|
217
221
|
```graphql
|
|
218
|
-
"""
|
|
222
|
+
"""The result of `reportUpdate`."""
|
|
219
223
|
type ReportUpdatePayload {
|
|
220
224
|
"""The updated project report."""
|
|
221
225
|
projectReport: ProjectReport
|
|
@@ -225,9 +229,9 @@ type ReportUpdatePayload {
|
|
|
225
229
|
### `ReportDeleteInput`
|
|
226
230
|
|
|
227
231
|
```graphql
|
|
228
|
-
"""
|
|
232
|
+
"""The input of `reportDelete`."""
|
|
229
233
|
input ReportDeleteInput {
|
|
230
|
-
"""ID of the project report
|
|
234
|
+
"""The ID of the project report."""
|
|
231
235
|
projectReportId: ID!
|
|
232
236
|
}
|
|
233
237
|
```
|
|
@@ -235,9 +239,9 @@ input ReportDeleteInput {
|
|
|
235
239
|
### `ReportDeletePayload`
|
|
236
240
|
|
|
237
241
|
```graphql
|
|
238
|
-
"""
|
|
242
|
+
"""The result of `reportDelete`."""
|
|
239
243
|
type ReportDeletePayload {
|
|
240
|
-
"""Whether the report was deleted
|
|
244
|
+
"""Whether the report was deleted."""
|
|
241
245
|
success: Boolean!
|
|
242
246
|
}
|
|
243
247
|
```
|
|
@@ -6,13 +6,14 @@ generated: true
|
|
|
6
6
|
|
|
7
7
|
# Saved view 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
|
### `savedView`
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Reads a saved view.
|
|
16
|
+
Scope: `ORGANIZATION_PROJECTS_READ`.
|
|
16
17
|
|
|
17
18
|
```graphql
|
|
18
19
|
savedView(input: SavedViewInput!): SavedView @auth
|
|
@@ -22,7 +23,8 @@ savedView(input: SavedViewInput!): SavedView @auth
|
|
|
22
23
|
|
|
23
24
|
### `savedViewCreate`
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
Creates a saved view of a list in a project.
|
|
27
|
+
Scope: `ORGANIZATION_PROJECTS_UPDATE`.
|
|
26
28
|
|
|
27
29
|
```graphql
|
|
28
30
|
savedViewCreate(input: SavedViewCreateInput!): SavedViewCreatePayload! @auth
|
|
@@ -30,7 +32,8 @@ savedViewCreate(input: SavedViewCreateInput!): SavedViewCreatePayload! @auth
|
|
|
30
32
|
|
|
31
33
|
### `savedViewUpdate`
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
Updates a saved view: its name, its controls, or whether it is the default.
|
|
36
|
+
Scope: `ORGANIZATION_PROJECTS_UPDATE`.
|
|
34
37
|
|
|
35
38
|
```graphql
|
|
36
39
|
savedViewUpdate(input: SavedViewUpdateInput!): SavedViewUpdatePayload! @auth
|
|
@@ -38,7 +41,8 @@ savedViewUpdate(input: SavedViewUpdateInput!): SavedViewUpdatePayload! @auth
|
|
|
38
41
|
|
|
39
42
|
### `savedViewDelete`
|
|
40
43
|
|
|
41
|
-
|
|
44
|
+
Deletes a saved view.
|
|
45
|
+
Scope: `ORGANIZATION_PROJECTS_UPDATE`.
|
|
42
46
|
|
|
43
47
|
```graphql
|
|
44
48
|
savedViewDelete(input: SavedViewDeleteInput!): SavedViewDeletePayload! @auth
|
|
@@ -49,19 +53,19 @@ savedViewDelete(input: SavedViewDeleteInput!): SavedViewDeletePayload! @auth
|
|
|
49
53
|
### `SavedView`
|
|
50
54
|
|
|
51
55
|
```graphql
|
|
52
|
-
"""
|
|
56
|
+
"""
|
|
57
|
+
A named set of controls for a list page in the dashboard, shared by everyone on the project.
|
|
58
|
+
"""
|
|
53
59
|
type SavedView {
|
|
54
|
-
"""
|
|
60
|
+
"""The ID of the saved view."""
|
|
55
61
|
id: ID!
|
|
56
|
-
"""ID of the project
|
|
62
|
+
"""The ID of the project the saved view belongs to."""
|
|
57
63
|
projectId: ID!
|
|
58
|
-
"""
|
|
64
|
+
"""The list the saved view applies to."""
|
|
59
65
|
resource: SavedViewResource!
|
|
60
|
-
"""
|
|
66
|
+
"""The name of the saved view."""
|
|
61
67
|
name: String!
|
|
62
|
-
"""
|
|
63
|
-
The `q` query-string value: the list's own search language, uninterpreted.
|
|
64
|
-
"""
|
|
68
|
+
"""The `q` query-string value: a search in the list's query language."""
|
|
65
69
|
query: String
|
|
66
70
|
"""
|
|
67
71
|
The `cols` query-string value: comma-separated column paths, in display order.
|
|
@@ -78,34 +82,31 @@ type SavedView {
|
|
|
78
82
|
"""
|
|
79
83
|
windowTo: String
|
|
80
84
|
"""
|
|
81
|
-
The `last` query-string value:
|
|
85
|
+
The `last` query-string value: the number of units a relative capture window spans.
|
|
82
86
|
"""
|
|
83
87
|
windowLast: String
|
|
84
|
-
"""
|
|
85
|
-
The `unit` query-string value: the unit a relative capture window counts in.
|
|
86
|
-
"""
|
|
88
|
+
"""The `unit` query-string value: the unit of a relative capture window."""
|
|
87
89
|
windowUnit: String
|
|
88
|
-
"""The `chart` query-string value:
|
|
90
|
+
"""The `chart` query-string value: the kind of chart above the list."""
|
|
89
91
|
chart: String
|
|
90
|
-
"""
|
|
91
|
-
The `interval` query-string value: the bucket width of the chart above the list.
|
|
92
|
-
"""
|
|
92
|
+
"""The `interval` query-string value: the bucket width of the chart."""
|
|
93
93
|
chartInterval: String
|
|
94
94
|
"""
|
|
95
|
-
The `chartBy` query-string value: the path
|
|
95
|
+
The `chartBy` query-string value: the path that splits the chart into series.
|
|
96
96
|
"""
|
|
97
97
|
chartBy: String
|
|
98
98
|
"""
|
|
99
|
-
The `compare` query-string value: `previous` when the chart
|
|
99
|
+
The `compare` query-string value: `previous` when the chart shows the period before its window.
|
|
100
100
|
"""
|
|
101
101
|
chartCompare: String
|
|
102
102
|
"""
|
|
103
|
-
Whether
|
|
103
|
+
Whether the list opens with this view when its URL has no controls. At most one per project and
|
|
104
|
+
list.
|
|
104
105
|
"""
|
|
105
106
|
isDefault: Boolean!
|
|
106
|
-
"""When
|
|
107
|
+
"""When the saved view was created."""
|
|
107
108
|
createdAt: DateTime!
|
|
108
|
-
"""When
|
|
109
|
+
"""When the saved view last changed."""
|
|
109
110
|
updatedAt: DateTime!
|
|
110
111
|
}
|
|
111
112
|
```
|
|
@@ -115,9 +116,9 @@ type SavedView {
|
|
|
115
116
|
```graphql
|
|
116
117
|
"""The list a saved view applies to."""
|
|
117
118
|
enum SavedViewResource {
|
|
118
|
-
"""The
|
|
119
|
+
"""The leads of the project."""
|
|
119
120
|
LEADS
|
|
120
|
-
"""The
|
|
121
|
+
"""The visits to the project."""
|
|
121
122
|
SESSIONS
|
|
122
123
|
}
|
|
123
124
|
```
|
|
@@ -125,17 +126,15 @@ enum SavedViewResource {
|
|
|
125
126
|
### `SavedViewConnection`
|
|
126
127
|
|
|
127
128
|
```graphql
|
|
128
|
-
"""
|
|
129
|
+
"""A page of saved views."""
|
|
129
130
|
type SavedViewConnection {
|
|
130
|
-
"""
|
|
131
|
+
"""The edges in this page."""
|
|
131
132
|
edges: [SavedViewEdge!]!
|
|
132
|
-
"""
|
|
133
|
-
Flat list of saved views, equivalent to `edges[].node`. Convenience accessor.
|
|
134
|
-
"""
|
|
133
|
+
"""The saved views in this page."""
|
|
135
134
|
nodes: [SavedView!]!
|
|
136
|
-
"""
|
|
135
|
+
"""Where this page sits in the list."""
|
|
137
136
|
pageInfo: PageInfo!
|
|
138
|
-
"""
|
|
137
|
+
"""The total number of saved views."""
|
|
139
138
|
totalCount: Int!
|
|
140
139
|
}
|
|
141
140
|
```
|
|
@@ -143,9 +142,9 @@ type SavedViewConnection {
|
|
|
143
142
|
### `SavedViewEdge`
|
|
144
143
|
|
|
145
144
|
```graphql
|
|
146
|
-
"""
|
|
145
|
+
"""A saved view in a page of results."""
|
|
147
146
|
type SavedViewEdge {
|
|
148
|
-
"""
|
|
147
|
+
"""The cursor of this edge."""
|
|
149
148
|
cursor: String!
|
|
150
149
|
"""The saved view."""
|
|
151
150
|
node: SavedView!
|
|
@@ -155,9 +154,9 @@ type SavedViewEdge {
|
|
|
155
154
|
### `SavedViewInput`
|
|
156
155
|
|
|
157
156
|
```graphql
|
|
158
|
-
"""
|
|
157
|
+
"""The input of `savedView`."""
|
|
159
158
|
input SavedViewInput {
|
|
160
|
-
"""ID of the saved view
|
|
159
|
+
"""The ID of the saved view."""
|
|
161
160
|
id: ID!
|
|
162
161
|
}
|
|
163
162
|
```
|
|
@@ -165,13 +164,13 @@ input SavedViewInput {
|
|
|
165
164
|
### `SavedViewCreateInput`
|
|
166
165
|
|
|
167
166
|
```graphql
|
|
168
|
-
"""
|
|
167
|
+
"""The input of `savedViewCreate`."""
|
|
169
168
|
input SavedViewCreateInput {
|
|
170
|
-
"""ID of the project
|
|
169
|
+
"""The ID of the project."""
|
|
171
170
|
projectId: ID!
|
|
172
|
-
"""
|
|
171
|
+
"""The list the saved view applies to."""
|
|
173
172
|
resource: SavedViewResource!
|
|
174
|
-
"""
|
|
173
|
+
"""The name: 1 to 120 characters after trimming."""
|
|
175
174
|
name: String!
|
|
176
175
|
"""The `q` query-string value."""
|
|
177
176
|
query: String
|
|
@@ -196,7 +195,7 @@ input SavedViewCreateInput {
|
|
|
196
195
|
"""The `compare` query-string value."""
|
|
197
196
|
chartCompare: String
|
|
198
197
|
"""
|
|
199
|
-
|
|
198
|
+
Whether to make this the default view, taking the default from the view that held it.
|
|
200
199
|
"""
|
|
201
200
|
isDefault: Boolean
|
|
202
201
|
}
|
|
@@ -206,37 +205,38 @@ input SavedViewCreateInput {
|
|
|
206
205
|
|
|
207
206
|
```graphql
|
|
208
207
|
"""
|
|
209
|
-
|
|
210
|
-
view does not disturb the URL it restores.
|
|
208
|
+
The input of `savedViewUpdate`. Omit a field to keep its value. Null clears a query-string value.
|
|
211
209
|
"""
|
|
212
210
|
input SavedViewUpdateInput {
|
|
213
|
-
"""ID of the saved view
|
|
211
|
+
"""The ID of the saved view."""
|
|
214
212
|
id: ID!
|
|
215
|
-
"""
|
|
213
|
+
"""The name: 1 to 120 characters after trimming."""
|
|
216
214
|
name: String
|
|
217
|
-
"""
|
|
215
|
+
"""The `q` query-string value."""
|
|
218
216
|
query: String
|
|
219
|
-
"""
|
|
217
|
+
"""The `cols` query-string value."""
|
|
220
218
|
columnPaths: String
|
|
221
|
-
"""
|
|
219
|
+
"""The `sort` query-string value."""
|
|
222
220
|
sort: String
|
|
223
|
-
"""
|
|
221
|
+
"""The `from` query-string value."""
|
|
224
222
|
windowFrom: String
|
|
225
|
-
"""
|
|
223
|
+
"""The `to` query-string value."""
|
|
226
224
|
windowTo: String
|
|
227
|
-
"""
|
|
225
|
+
"""The `last` query-string value."""
|
|
228
226
|
windowLast: String
|
|
229
|
-
"""
|
|
227
|
+
"""The `unit` query-string value."""
|
|
230
228
|
windowUnit: String
|
|
231
|
-
"""
|
|
229
|
+
"""The `chart` query-string value."""
|
|
232
230
|
chart: String
|
|
233
|
-
"""
|
|
231
|
+
"""The `interval` query-string value."""
|
|
234
232
|
chartInterval: String
|
|
235
|
-
"""
|
|
233
|
+
"""The `chartBy` query-string value."""
|
|
236
234
|
chartBy: String
|
|
237
|
-
"""
|
|
235
|
+
"""The `compare` query-string value."""
|
|
238
236
|
chartCompare: String
|
|
239
|
-
"""
|
|
237
|
+
"""
|
|
238
|
+
Whether this is the default view. True takes the default from the view that held it.
|
|
239
|
+
"""
|
|
240
240
|
isDefault: Boolean
|
|
241
241
|
}
|
|
242
242
|
```
|
|
@@ -244,9 +244,9 @@ input SavedViewUpdateInput {
|
|
|
244
244
|
### `SavedViewDeleteInput`
|
|
245
245
|
|
|
246
246
|
```graphql
|
|
247
|
-
"""
|
|
247
|
+
"""The input of `savedViewDelete`."""
|
|
248
248
|
input SavedViewDeleteInput {
|
|
249
|
-
"""ID of the saved view
|
|
249
|
+
"""The ID of the saved view."""
|
|
250
250
|
id: ID!
|
|
251
251
|
}
|
|
252
252
|
```
|
|
@@ -254,11 +254,11 @@ input SavedViewDeleteInput {
|
|
|
254
254
|
### `SavedViewCreatePayload`
|
|
255
255
|
|
|
256
256
|
```graphql
|
|
257
|
-
"""
|
|
257
|
+
"""The result of `savedViewCreate`."""
|
|
258
258
|
type SavedViewCreatePayload {
|
|
259
|
-
"""The saved view
|
|
259
|
+
"""The saved view."""
|
|
260
260
|
savedView: SavedView
|
|
261
|
-
"""
|
|
261
|
+
"""The errors. Always empty: an invalid input fails with a GraphQL error."""
|
|
262
262
|
userErrors: [UserError!]!
|
|
263
263
|
}
|
|
264
264
|
```
|
|
@@ -266,11 +266,11 @@ type SavedViewCreatePayload {
|
|
|
266
266
|
### `SavedViewUpdatePayload`
|
|
267
267
|
|
|
268
268
|
```graphql
|
|
269
|
-
"""
|
|
269
|
+
"""The result of `savedViewUpdate`."""
|
|
270
270
|
type SavedViewUpdatePayload {
|
|
271
|
-
"""The
|
|
271
|
+
"""The saved view."""
|
|
272
272
|
savedView: SavedView
|
|
273
|
-
"""
|
|
273
|
+
"""The errors. Always empty: an invalid input fails with a GraphQL error."""
|
|
274
274
|
userErrors: [UserError!]!
|
|
275
275
|
}
|
|
276
276
|
```
|
|
@@ -278,11 +278,11 @@ type SavedViewUpdatePayload {
|
|
|
278
278
|
### `SavedViewDeletePayload`
|
|
279
279
|
|
|
280
280
|
```graphql
|
|
281
|
-
"""
|
|
281
|
+
"""The result of `savedViewDelete`."""
|
|
282
282
|
type SavedViewDeletePayload {
|
|
283
|
-
"""ID of the deleted saved view."""
|
|
283
|
+
"""The ID of the deleted saved view."""
|
|
284
284
|
deletedSavedViewId: ID
|
|
285
|
-
"""
|
|
285
|
+
"""The errors. Always empty."""
|
|
286
286
|
userErrors: [UserError!]!
|
|
287
287
|
}
|
|
288
288
|
```
|