picked 0.0.112-next.3 → 0.0.112-next.4
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.
|
@@ -61,6 +61,11 @@ type AnalyticsSessionReport {
|
|
|
61
61
|
The URL of a signed embed of the report, for an iframe. It expires 3 hours after it is read.
|
|
62
62
|
"""
|
|
63
63
|
embedUrl: String!
|
|
64
|
+
"""
|
|
65
|
+
The id of the analytics dashboard of this kind that the Embedded Analytics SDK renders, in the
|
|
66
|
+
project's data residency.
|
|
67
|
+
"""
|
|
68
|
+
analyticsDashboardId: Int!
|
|
64
69
|
}
|
|
65
70
|
```
|
|
66
71
|
|
|
@@ -96,6 +101,11 @@ type AnalyticsSessionsReport {
|
|
|
96
101
|
The URL of a signed embed of the report, for an iframe. It expires 3 hours after it is read.
|
|
97
102
|
"""
|
|
98
103
|
embedUrl: String!
|
|
104
|
+
"""
|
|
105
|
+
The id of the analytics dashboard of this kind that the Embedded Analytics SDK renders, in the
|
|
106
|
+
project's data residency.
|
|
107
|
+
"""
|
|
108
|
+
analyticsDashboardId: Int!
|
|
99
109
|
}
|
|
100
110
|
```
|
|
101
111
|
|
|
@@ -294,6 +294,11 @@ type LeadReport {
|
|
|
294
294
|
field is read.
|
|
295
295
|
"""
|
|
296
296
|
embedUrl: String!
|
|
297
|
+
"""
|
|
298
|
+
The id of the analytics dashboard of this kind that the Embedded Analytics SDK renders, in the
|
|
299
|
+
project's data residency.
|
|
300
|
+
"""
|
|
301
|
+
analyticsDashboardId: Int!
|
|
297
302
|
}
|
|
298
303
|
```
|
|
299
304
|
|
|
@@ -67,7 +67,7 @@ enum ReportSortKeys {
|
|
|
67
67
|
### `ReportType`
|
|
68
68
|
|
|
69
69
|
```graphql
|
|
70
|
-
"""What a
|
|
70
|
+
"""What a report embeds."""
|
|
71
71
|
enum ReportType {
|
|
72
72
|
"""One question, a single chart."""
|
|
73
73
|
QUESTION
|
|
@@ -85,14 +85,18 @@ An embedded analytics dashboard or question: a Metabase report with a name and d
|
|
|
85
85
|
type Report {
|
|
86
86
|
"""The ID of the report."""
|
|
87
87
|
id: ID!
|
|
88
|
-
"""The ID of the
|
|
89
|
-
|
|
88
|
+
"""The ID of the analytics question or dashboard."""
|
|
89
|
+
analyticsReportId: Int!
|
|
90
|
+
"""The ID of the analytics question or dashboard."""
|
|
91
|
+
metabaseReportId: Int! @deprecated(reason: "Use analyticsReportId.")
|
|
90
92
|
"""The name of the report."""
|
|
91
93
|
name: String!
|
|
92
94
|
"""The description of the report. Null when it has none."""
|
|
93
95
|
description: String
|
|
94
|
-
"""What the
|
|
95
|
-
|
|
96
|
+
"""What the report embeds."""
|
|
97
|
+
analyticsReportType: ReportType!
|
|
98
|
+
"""What the report embeds."""
|
|
99
|
+
metabaseReportType: ReportType! @deprecated(reason: "Use analyticsReportType.")
|
|
96
100
|
"""When the report was created."""
|
|
97
101
|
createdAt: DateTime!
|
|
98
102
|
"""When the report last changed."""
|
|
@@ -170,10 +174,16 @@ input ReportCreateInput {
|
|
|
170
174
|
name: String!
|
|
171
175
|
"""The description of the report."""
|
|
172
176
|
description: String
|
|
173
|
-
"""
|
|
174
|
-
|
|
175
|
-
"""
|
|
176
|
-
|
|
177
|
+
"""
|
|
178
|
+
The ID of the analytics question or dashboard. Must be positive. Required.
|
|
179
|
+
"""
|
|
180
|
+
analyticsReportId: Int
|
|
181
|
+
"""The ID of the analytics question or dashboard."""
|
|
182
|
+
metabaseReportId: Int @deprecated(reason: "Use analyticsReportId.")
|
|
183
|
+
"""What the report embeds. Required."""
|
|
184
|
+
analyticsReportType: ReportType
|
|
185
|
+
"""What the report embeds."""
|
|
186
|
+
metabaseReportType: ReportType @deprecated(reason: "Use analyticsReportType.")
|
|
177
187
|
"""The Metabase parameters to lock the embed to. Defaults to none."""
|
|
178
188
|
lockedParameters: JSON
|
|
179
189
|
"""The position of the report in the project's list."""
|
|
@@ -205,10 +215,14 @@ input ReportUpdateInput {
|
|
|
205
215
|
name: String
|
|
206
216
|
"""The description of the report."""
|
|
207
217
|
description: String
|
|
208
|
-
"""The ID of the
|
|
209
|
-
|
|
210
|
-
"""
|
|
211
|
-
|
|
218
|
+
"""The ID of the analytics question or dashboard."""
|
|
219
|
+
analyticsReportId: Int
|
|
220
|
+
"""The ID of the analytics question or dashboard."""
|
|
221
|
+
metabaseReportId: Int @deprecated(reason: "Use analyticsReportId.")
|
|
222
|
+
"""What the report embeds. Required."""
|
|
223
|
+
analyticsReportType: ReportType
|
|
224
|
+
"""What the report embeds."""
|
|
225
|
+
metabaseReportType: ReportType @deprecated(reason: "Use analyticsReportType.")
|
|
212
226
|
"""The Metabase parameters to lock the embed to."""
|
|
213
227
|
lockedParameters: JSON
|
|
214
228
|
"""The position of the report in the project's list."""
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "picked",
|
|
3
3
|
"description": "The Picked SDK front door: the client, the picked.config helpers, and the picked CLI in one install",
|
|
4
|
-
"version": "0.0.112-next.
|
|
4
|
+
"version": "0.0.112-next.4",
|
|
5
5
|
"bin": {
|
|
6
6
|
"picked": "dist/esm/bin.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@picked/cli": "0.0.112-next.
|
|
10
|
-
"@picked/config": "0.0.112-next.
|
|
9
|
+
"@picked/cli": "0.0.112-next.4",
|
|
10
|
+
"@picked/config": "0.0.112-next.4"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@picked/client": "workspace:*",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"main": "./dist/cjs/index.js",
|
|
65
65
|
"module": "./dist/esm/index.js",
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@picked/client": "0.0.112-next.
|
|
67
|
+
"@picked/client": "0.0.112-next.4"
|
|
68
68
|
},
|
|
69
69
|
"private": false,
|
|
70
70
|
"publishConfig": {
|