@metabase/client 0.1.1 → 0.1.3
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/CHANGELOG.md +11 -0
- package/README.md +5 -3
- package/dist/auth/credential.d.ts +1 -1
- package/dist/auth/oauth-login.d.ts +1 -1
- package/dist/auth/oauth-login.js +1 -1
- package/dist/auth/oauth-session.d.ts +1 -1
- package/dist/{card-BxBzr5Uj.d.ts → card-BBLDmhtp.d.ts} +1 -1
- package/dist/{card-DN0sLkCG.d.ts → card-DkHtPMK4.d.ts} +3 -3
- package/dist/{client-DdXLlH1B.d.ts → client-eOkt3tTd.d.ts} +100 -82
- package/dist/client.d.ts +1 -1
- package/dist/{collection-DGnTvD6R.d.ts → collection-BtjnSckn.d.ts} +10 -10
- package/dist/{collection-fFahL-ub.d.ts → collection-DWjkDrln.d.ts} +4 -4
- package/dist/{credential-6aOEGqMH.d.ts → credential-B6fKSvqp.d.ts} +1 -1
- package/dist/{dashboard-CM7RmNeE.d.ts → dashboard-B4qWeR10.d.ts} +1 -1
- package/dist/{data-action-CkXVrOUH.d.ts → data-action-DqwcRA7B.d.ts} +61 -10
- package/dist/{database-B0JNZjDN.d.ts → database-Cw8ICtQi.d.ts} +3 -3
- package/dist/{database-BxqDmfcj.d.ts → database-DULVEXki.d.ts} +1 -1
- package/dist/{dataset-BUirJ1rO.d.ts → dataset-26H-dH4N.d.ts} +3 -3
- package/dist/{dataset-BBNGPVec.d.ts → dataset-Du1GRHhd.d.ts} +6 -6
- package/dist/{dependency-arB8Cr2H.d.ts → dependency-B8aPt_IM.d.ts} +33 -33
- package/dist/{dependency-CzpXmeu7.d.ts → dependency-elYkHuk5.d.ts} +25 -25
- package/dist/{document-tLd6pYWe.d.ts → document-rqUlE_OE.d.ts} +1 -1
- package/dist/domain/card.d.ts +1 -1
- package/dist/domain/collection.d.ts +1 -1
- package/dist/domain/data-action.d.ts +2 -2
- package/dist/domain/data-action.js +43 -10
- package/dist/domain/database.d.ts +1 -1
- package/dist/domain/dataset.d.ts +1 -1
- package/dist/domain/dependency.d.ts +1 -1
- package/dist/domain/document.d.ts +1 -1
- package/dist/domain/eid-translation.d.ts +1 -1
- package/dist/domain/field.d.ts +1 -1
- package/dist/domain/git-sync.d.ts +1 -1
- package/dist/domain/metric.d.ts +1 -1
- package/dist/domain/replacement.d.ts +1 -1
- package/dist/domain/revision.d.ts +1 -1
- package/dist/domain/search.d.ts +1 -1
- package/dist/domain/table.d.ts +1 -1
- package/dist/domain/timeline.d.ts +1 -1
- package/dist/domain/transform-inspector.d.ts +1 -1
- package/dist/{eid-translation-CH6NPWd-.d.ts → eid-translation-CP79Tz71.d.ts} +5 -5
- package/dist/{erd-CbV7xvAc.d.ts → erd-D2fpjDTj.d.ts} +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/{field-p9Rme2zB.d.ts → field-D-kF3G7v.d.ts} +2 -2
- package/dist/{field-D1Pfk-0S.d.ts → field-awM3Y7IP.d.ts} +2 -2
- package/dist/{git-sync-BTf1aYHr.d.ts → git-sync-8Tk8TirZ.d.ts} +1 -1
- package/dist/{git-sync-C99SVdJ9.d.ts → git-sync-nvbSaNfS.d.ts} +1 -1
- package/dist/{glossary-DFvnz-E5.d.ts → glossary-CQMSJmIx.d.ts} +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/oauth.d.ts +1 -1
- package/dist/http/oauth.js +47 -36
- package/dist/http/transport.d.ts +1 -1
- package/dist/index.d.ts +26 -26
- package/dist/index.js +3 -3
- package/dist/{json-BksZpXDC.d.ts → json-DvOVLFVY.d.ts} +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/{measure-lPz8qnwz.d.ts → measure-D4ArCbsa.d.ts} +1 -1
- package/dist/{metric-DcYloqOQ.d.ts → metric-BtEVH_Yp.d.ts} +1 -1
- package/dist/{notification-Cp5GJErS.d.ts → notification-BsuPAfMW.d.ts} +1 -1
- package/dist/{oauth-C4ordeoJ.d.ts → oauth-CVoZpuq8.d.ts} +4 -2
- package/dist/{oauth-login-D734Jvbq.js → oauth-login--tDagiZu.js} +29 -11
- package/dist/{oauth-login-CJsT_3EE.d.ts → oauth-login-SZ4Csai8.d.ts} +3 -2
- package/dist/{oauth-session-BlIlcd8Q.d.ts → oauth-session-COLH4puN.d.ts} +1 -1
- package/dist/{paginate-COuL0Gzl.d.ts → paginate-Du9kUbXZ.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{pulse-BzKmz3Yn.d.ts → pulse-drQKS_pg.d.ts} +1 -1
- package/dist/{replacement-BGyggp-G.d.ts → replacement-CyvtbxGg.d.ts} +5 -5
- package/dist/{replacement-CVebCuNp.d.ts → replacement-g3IKzPPj.d.ts} +5 -5
- package/dist/{requirement-check-glU7wqhQ.d.ts → requirement-check-Nv0trVbp.d.ts} +1 -1
- package/dist/resources/api-key.d.ts +1 -1
- package/dist/resources/card.d.ts +1 -1
- package/dist/resources/collection.d.ts +1 -1
- package/dist/resources/collection.js +6 -1
- package/dist/resources/content-translation.d.ts +1 -1
- package/dist/resources/dashboard.d.ts +1 -1
- package/dist/resources/data-action.d.ts +22 -4
- package/dist/resources/data-action.js +10 -5
- package/dist/resources/data-app.d.ts +1 -1
- package/dist/resources/database.d.ts +1 -1
- package/dist/resources/dataset.d.ts +1 -1
- package/dist/resources/dependency.d.ts +1 -1
- package/dist/resources/document.d.ts +2 -2
- package/dist/resources/eid-translation.d.ts +2 -2
- package/dist/resources/erd.d.ts +1 -1
- package/dist/resources/field.d.ts +1 -1
- package/dist/resources/git-sync.d.ts +1 -1
- package/dist/resources/glossary.d.ts +1 -1
- package/dist/resources/library.d.ts +1 -1
- package/dist/resources/measure.d.ts +1 -1
- package/dist/resources/metric.d.ts +1 -1
- package/dist/resources/moderation-review.d.ts +1 -1
- package/dist/resources/notification.d.ts +1 -1
- package/dist/resources/optional-parsed.d.ts +1 -1
- package/dist/resources/permission.d.ts +1 -1
- package/dist/resources/pivot-export.d.ts +1 -1
- package/dist/resources/pulse.d.ts +1 -1
- package/dist/resources/replacement.d.ts +1 -1
- package/dist/resources/revision.d.ts +3 -3
- package/dist/resources/search.d.ts +1 -1
- package/dist/resources/segment.d.ts +1 -1
- package/dist/resources/setting.d.ts +1 -1
- package/dist/resources/setup.d.ts +1 -1
- package/dist/resources/snippet.d.ts +1 -1
- package/dist/resources/table.d.ts +1 -1
- package/dist/resources/timeline-event.d.ts +2 -2
- package/dist/resources/timeline.d.ts +1 -1
- package/dist/resources/transform-dag-run.d.ts +1 -1
- package/dist/resources/transform-inspector.d.ts +2 -2
- package/dist/resources/transform-job.d.ts +1 -1
- package/dist/resources/transform-python.d.ts +1 -1
- package/dist/resources/transform-tag.d.ts +1 -1
- package/dist/resources/transform-test.d.ts +1 -1
- package/dist/resources/transform.d.ts +1 -1
- package/dist/resources/upload.d.ts +1 -1
- package/dist/resources/user.d.ts +1 -1
- package/dist/{revision-Dyl-8p7d.d.ts → revision-Cft5Lcev.d.ts} +4 -4
- package/dist/{search-Cm5IxKss.d.ts → search-BUr4r7d2.d.ts} +5 -5
- package/dist/{search-Cten2h0I.d.ts → search-DX1IVRRC.d.ts} +2 -2
- package/dist/{segment-DQLX6r1E.d.ts → segment-c2EDEJNd.d.ts} +1 -1
- package/dist/signal.d.ts +3 -2
- package/dist/signal.js +9 -4
- package/dist/{snippet-Djn0rL21.d.ts → snippet-CSt-f812.d.ts} +1 -1
- package/dist/{table-CDZbLNow.d.ts → table-BA-k8Zgt.d.ts} +6 -6
- package/dist/{table-Od6uvDVW.d.ts → table-R-q8w__K.d.ts} +10 -10
- package/dist/{timeline-BK45hy-h.d.ts → timeline-B35sx1FM.d.ts} +31 -31
- package/dist/{timeline-BTs6fuRp.d.ts → timeline-D3Clk0_n.d.ts} +2 -2
- package/dist/{transform-WASQAXeA.d.ts → transform-DzgPup_a.d.ts} +2 -2
- package/dist/{transform-inspector-CMCh8WKV.d.ts → transform-inspector-BUYBt6--.d.ts} +4 -4
- package/dist/{transform-job-DmTwKxhc.d.ts → transform-job-DtLWrsyH.d.ts} +1 -1
- package/dist/{transform-test-CR_i54IV.d.ts → transform-test-B_HR-yKA.d.ts} +1 -1
- package/dist/{transport-BsXqRujn.d.ts → transport-CyHAGDqx.d.ts} +1 -1
- package/dist/{upload-B5YjVkSW.d.ts → upload-BSixoElJ.d.ts} +1 -1
- package/dist/version/capability-error.d.ts +1 -1
- package/dist/version/probe.d.ts +1 -1
- package/dist/version/profile.d.ts +1 -1
- package/dist/version/requirement-check.d.ts +1 -1
- package/package.json +1 -1
|
@@ -34,7 +34,6 @@ declare const CollectionListFilter: z.ZodEnum<{
|
|
|
34
34
|
type CollectionListFilter = z.infer<typeof CollectionListFilter>;
|
|
35
35
|
declare const COLLECTION_ITEM_FILTER_MODELS: readonly ["card", "dataset", "metric", "dashboard", "snippet", "collection", "document", "exploration", "table", "transform", "measure", "pulse", "timeline", "no_models"];
|
|
36
36
|
declare const CollectionItemFilterModel: z.ZodEnum<{
|
|
37
|
-
transform: "transform";
|
|
38
37
|
collection: "collection";
|
|
39
38
|
card: "card";
|
|
40
39
|
dashboard: "dashboard";
|
|
@@ -46,13 +45,13 @@ declare const CollectionItemFilterModel: z.ZodEnum<{
|
|
|
46
45
|
snippet: "snippet";
|
|
47
46
|
table: "table";
|
|
48
47
|
timeline: "timeline";
|
|
48
|
+
transform: "transform";
|
|
49
49
|
exploration: "exploration";
|
|
50
50
|
no_models: "no_models";
|
|
51
51
|
}>;
|
|
52
52
|
type CollectionItemFilterModel = z.infer<typeof CollectionItemFilterModel>;
|
|
53
53
|
declare const COLLECTION_ITEM_MODELS: readonly ["card", "dataset", "metric", "dashboard", "snippet", "collection", "document", "exploration", "table", "transform", "measure", "pulse", "timeline", "no_models", "indexed-entity", "action"];
|
|
54
54
|
declare const CollectionItemModel: z.ZodEnum<{
|
|
55
|
-
transform: "transform";
|
|
56
55
|
collection: "collection";
|
|
57
56
|
card: "card";
|
|
58
57
|
dashboard: "dashboard";
|
|
@@ -64,6 +63,7 @@ declare const CollectionItemModel: z.ZodEnum<{
|
|
|
64
63
|
snippet: "snippet";
|
|
65
64
|
table: "table";
|
|
66
65
|
timeline: "timeline";
|
|
66
|
+
transform: "transform";
|
|
67
67
|
exploration: "exploration";
|
|
68
68
|
no_models: "no_models";
|
|
69
69
|
"indexed-entity": "indexed-entity";
|
|
@@ -148,7 +148,6 @@ type CollectionCompact = z.infer<typeof CollectionCompact>;
|
|
|
148
148
|
declare const CollectionItem: z.ZodObject<{
|
|
149
149
|
id: z.ZodNumber;
|
|
150
150
|
model: z.ZodEnum<{
|
|
151
|
-
transform: "transform";
|
|
152
151
|
collection: "collection";
|
|
153
152
|
card: "card";
|
|
154
153
|
dashboard: "dashboard";
|
|
@@ -160,6 +159,7 @@ declare const CollectionItem: z.ZodObject<{
|
|
|
160
159
|
snippet: "snippet";
|
|
161
160
|
table: "table";
|
|
162
161
|
timeline: "timeline";
|
|
162
|
+
transform: "transform";
|
|
163
163
|
exploration: "exploration";
|
|
164
164
|
no_models: "no_models";
|
|
165
165
|
"indexed-entity": "indexed-entity";
|
|
@@ -179,12 +179,7 @@ declare const CollectionItem: z.ZodObject<{
|
|
|
179
179
|
type CollectionItem = z.infer<typeof CollectionItem>;
|
|
180
180
|
declare const CollectionItemCompact: z.ZodObject<{
|
|
181
181
|
id: z.ZodNumber;
|
|
182
|
-
name: z.ZodString;
|
|
183
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
-
archived: z.ZodNullable<z.ZodBoolean>;
|
|
185
|
-
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
186
182
|
model: z.ZodEnum<{
|
|
187
|
-
transform: "transform";
|
|
188
183
|
collection: "collection";
|
|
189
184
|
card: "card";
|
|
190
185
|
dashboard: "dashboard";
|
|
@@ -196,11 +191,16 @@ declare const CollectionItemCompact: z.ZodObject<{
|
|
|
196
191
|
snippet: "snippet";
|
|
197
192
|
table: "table";
|
|
198
193
|
timeline: "timeline";
|
|
194
|
+
transform: "transform";
|
|
199
195
|
exploration: "exploration";
|
|
200
196
|
no_models: "no_models";
|
|
201
197
|
"indexed-entity": "indexed-entity";
|
|
202
198
|
action: "action";
|
|
203
199
|
}>;
|
|
200
|
+
name: z.ZodString;
|
|
201
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
|
+
archived: z.ZodNullable<z.ZodBoolean>;
|
|
203
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
204
204
|
}, z.core.$strip>;
|
|
205
205
|
type CollectionItemCompact = z.infer<typeof CollectionItemCompact>;
|
|
206
206
|
declare const CollectionTreeNodeBase: z.ZodObject<{
|
|
@@ -222,7 +222,6 @@ declare const CollectionTreeNodeBase: z.ZodObject<{
|
|
|
222
222
|
official: "official";
|
|
223
223
|
}>>>;
|
|
224
224
|
here: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
225
|
-
transform: "transform";
|
|
226
225
|
collection: "collection";
|
|
227
226
|
card: "card";
|
|
228
227
|
dashboard: "dashboard";
|
|
@@ -234,13 +233,13 @@ declare const CollectionTreeNodeBase: z.ZodObject<{
|
|
|
234
233
|
snippet: "snippet";
|
|
235
234
|
table: "table";
|
|
236
235
|
timeline: "timeline";
|
|
236
|
+
transform: "transform";
|
|
237
237
|
exploration: "exploration";
|
|
238
238
|
no_models: "no_models";
|
|
239
239
|
"indexed-entity": "indexed-entity";
|
|
240
240
|
action: "action";
|
|
241
241
|
}>>>;
|
|
242
242
|
below: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
243
|
-
transform: "transform";
|
|
244
243
|
collection: "collection";
|
|
245
244
|
card: "card";
|
|
246
245
|
dashboard: "dashboard";
|
|
@@ -252,6 +251,7 @@ declare const CollectionTreeNodeBase: z.ZodObject<{
|
|
|
252
251
|
snippet: "snippet";
|
|
253
252
|
table: "table";
|
|
254
253
|
timeline: "timeline";
|
|
254
|
+
transform: "transform";
|
|
255
255
|
exploration: "exploration";
|
|
256
256
|
no_models: "no_models";
|
|
257
257
|
"indexed-entity": "indexed-entity";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
|
|
2
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
|
-
import { n as Page, r as PaginateOptions } from "./paginate-
|
|
4
|
-
import { c as CollectionId, d as CollectionItemFilterModel, g as CollectionTreeNode, h as CollectionPinnedState, i as Collection, m as CollectionNamespace, p as CollectionListFilter, s as CollectionCreateInput, v as CollectionUpdateInput } from "./collection-
|
|
3
|
+
import { n as Page, r as PaginateOptions } from "./paginate-Du9kUbXZ.js";
|
|
4
|
+
import { c as CollectionId, d as CollectionItemFilterModel, g as CollectionTreeNode, h as CollectionPinnedState, i as Collection, m as CollectionNamespace, p as CollectionListFilter, s as CollectionCreateInput, v as CollectionUpdateInput } from "./collection-BtjnSckn.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/resources/collection.d.ts
|
|
7
7
|
interface CollectionListParams {
|
|
@@ -35,7 +35,7 @@ declare function collectionResource(transport: Transport): {
|
|
|
35
35
|
itemPages: (ref: string | number, params?: CollectionItemListParams | undefined, options?: CollectionItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
36
36
|
[x: string]: unknown;
|
|
37
37
|
id: number;
|
|
38
|
-
model: "
|
|
38
|
+
model: "collection" | "card" | "dashboard" | "dataset" | "document" | "metric" | "measure" | "pulse" | "snippet" | "table" | "timeline" | "transform" | "exploration" | "no_models" | "indexed-entity" | "action";
|
|
39
39
|
name: string;
|
|
40
40
|
archived: boolean | null;
|
|
41
41
|
description?: string | null | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
|
|
2
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
3
|
import { _ as DashcardDetail, a as DashboardCopyInput, l as DashboardListFilter, m as DashboardUpdateInput, o as DashboardCreateInput, r as DashboardCopy, s as DashboardDetail, t as Dashboard, u as DashboardParameterConstraints, v as DashcardPatchInput } from "./dashboard-DtLXVgtf.js";
|
|
4
4
|
import { s as ParameterValues } from "./parameter-ak-J-IOj.js";
|
|
@@ -19,6 +19,8 @@ declare const DataAction: z.ZodObject<{
|
|
|
19
19
|
model_id: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
dataset_query: z.ZodOptional<z.ZodUnknown>;
|
|
22
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
23
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
parameters: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
25
|
id: z.ZodString;
|
|
24
26
|
type: z.ZodString;
|
|
@@ -46,13 +48,19 @@ declare const DataActionCompact: z.ZodObject<{
|
|
|
46
48
|
archived: z.ZodBoolean;
|
|
47
49
|
collection_id: z.ZodNullable<z.ZodNumber>;
|
|
48
50
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
52
|
}, z.core.$strip>;
|
|
50
53
|
type DataActionCompact = z.infer<typeof DataActionCompact>;
|
|
51
|
-
declare const
|
|
52
|
-
|
|
54
|
+
declare const ImplicitActionKind: z.ZodEnum<{
|
|
55
|
+
"row/create": "row/create";
|
|
56
|
+
"row/update": "row/update";
|
|
57
|
+
"row/delete": "row/delete";
|
|
58
|
+
}>;
|
|
59
|
+
type ImplicitActionKind = z.infer<typeof ImplicitActionKind>;
|
|
60
|
+
declare const DataActionCreateInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
61
|
type: z.ZodLiteral<"query">;
|
|
54
|
-
database_id: z.ZodNumber;
|
|
55
62
|
dataset_query: z.ZodObject<{}, z.core.$loose>;
|
|
63
|
+
name: z.ZodString;
|
|
56
64
|
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57
65
|
id: z.ZodString;
|
|
58
66
|
type: z.ZodString;
|
|
@@ -64,13 +72,33 @@ declare const DataActionCreateInput: z.ZodObject<{
|
|
|
64
72
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
73
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
74
|
visualization_settings: z.ZodOptional<z.ZodUnknown>;
|
|
67
|
-
}, z.core.$strict
|
|
75
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
76
|
+
type: z.ZodLiteral<"implicit">;
|
|
77
|
+
kind: z.ZodEnum<{
|
|
78
|
+
"row/create": "row/create";
|
|
79
|
+
"row/update": "row/update";
|
|
80
|
+
"row/delete": "row/delete";
|
|
81
|
+
}>;
|
|
82
|
+
table_id: z.ZodNumber;
|
|
83
|
+
name: z.ZodString;
|
|
84
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
85
|
+
id: z.ZodString;
|
|
86
|
+
type: z.ZodString;
|
|
87
|
+
name: z.ZodOptional<z.ZodString>;
|
|
88
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
89
|
+
target: z.ZodUnknown;
|
|
90
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
}, z.core.$loose>>>;
|
|
92
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
93
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
visualization_settings: z.ZodOptional<z.ZodUnknown>;
|
|
95
|
+
}, z.core.$strict>], "type">;
|
|
68
96
|
type DataActionCreateInput = z.infer<typeof DataActionCreateInput>;
|
|
69
97
|
declare const DATA_ACTION_COLLECTION_GATE: InputGate;
|
|
70
|
-
declare const
|
|
71
|
-
|
|
72
|
-
database_id: z.ZodOptional<z.ZodNumber>;
|
|
98
|
+
declare const DATA_ACTION_TABLE_GATE: InputGate;
|
|
99
|
+
declare const DataActionUpdateInput: z.ZodUnion<readonly [z.ZodObject<{
|
|
73
100
|
dataset_query: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
101
|
+
name: z.ZodOptional<z.ZodString>;
|
|
74
102
|
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
103
|
id: z.ZodString;
|
|
76
104
|
type: z.ZodString;
|
|
@@ -83,15 +111,38 @@ declare const DataActionUpdateInput: z.ZodObject<{
|
|
|
83
111
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
112
|
visualization_settings: z.ZodOptional<z.ZodUnknown>;
|
|
85
113
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
-
}, z.core.$strict
|
|
114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
115
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
"row/create": "row/create";
|
|
117
|
+
"row/update": "row/update";
|
|
118
|
+
"row/delete": "row/delete";
|
|
119
|
+
}>>;
|
|
120
|
+
table_id: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
name: z.ZodOptional<z.ZodString>;
|
|
122
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
type: z.ZodString;
|
|
125
|
+
name: z.ZodOptional<z.ZodString>;
|
|
126
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
127
|
+
target: z.ZodUnknown;
|
|
128
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
}, z.core.$loose>>>;
|
|
130
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
131
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
visualization_settings: z.ZodOptional<z.ZodUnknown>;
|
|
133
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
+
}, z.core.$strict>]>;
|
|
87
135
|
type DataActionUpdateInput = z.infer<typeof DataActionUpdateInput>;
|
|
88
136
|
declare const DataActionExecuteInput: z.ZodObject<{
|
|
89
137
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
90
138
|
}, z.core.$strict>;
|
|
91
139
|
type DataActionExecuteInput = z.infer<typeof DataActionExecuteInput>;
|
|
92
140
|
declare const DataActionExecuteResult: z.ZodObject<{
|
|
93
|
-
"rows-affected": z.ZodNumber
|
|
141
|
+
"rows-affected": z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
"rows-updated": z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
"rows-deleted": z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
"created-row": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
94
145
|
}, z.core.$loose>;
|
|
95
146
|
type DataActionExecuteResult = z.infer<typeof DataActionExecuteResult>;
|
|
96
147
|
//#endregion
|
|
97
|
-
export {
|
|
148
|
+
export { DataActionCreateInput as a, DataActionParameter as c, dataActionSchema as d, DataActionCompact as i, DataActionUpdateInput as l, DATA_ACTION_TABLE_GATE as n, DataActionExecuteInput as o, DataAction as r, DataActionExecuteResult as s, DATA_ACTION_COLLECTION_GATE as t, ImplicitActionKind as u };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
|
|
2
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
3
|
import { a as PollOptions } from "./poll-CIwnee7h.js";
|
|
4
|
-
import { i as DatabaseListInclude, o as DatabaseSyncResult, r as DatabaseGetInclude, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "./database-
|
|
5
|
-
import { a as Table } from "./table-
|
|
4
|
+
import { i as DatabaseListInclude, o as DatabaseSyncResult, r as DatabaseGetInclude, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "./database-DULVEXki.js";
|
|
5
|
+
import { a as Table } from "./table-R-q8w__K.js";
|
|
6
6
|
//#region src/resources/database.d.ts
|
|
7
7
|
interface DatabaseListParams {
|
|
8
8
|
include?: DatabaseListInclude | undefined;
|
|
@@ -419,8 +419,8 @@ declare const DatabaseCompact: z.ZodObject<{
|
|
|
419
419
|
id: z.ZodNumber;
|
|
420
420
|
name: z.ZodString;
|
|
421
421
|
description: z.ZodNullable<z.ZodString>;
|
|
422
|
-
display_name: z.ZodString;
|
|
423
422
|
table_id: z.ZodNumber;
|
|
423
|
+
display_name: z.ZodString;
|
|
424
424
|
base_type: z.ZodEnum<{
|
|
425
425
|
"type/*": "type/*";
|
|
426
426
|
"type/field-values-unsupported": "type/field-values-unsupported";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
2
|
-
import { o as CardQueryResult } from "./card-
|
|
3
|
-
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
|
|
2
|
+
import { o as CardQueryResult } from "./card-BBLDmhtp.js";
|
|
3
|
+
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-Du1GRHhd.js";
|
|
4
4
|
import { a as VisualizationSettings, n as ExportFormat, t as DatasetQuery } from "./query-Xsin530u.js";
|
|
5
5
|
//#region src/resources/dataset.d.ts
|
|
6
6
|
interface DatasetNativeParams {
|
|
@@ -365,8 +365,8 @@ declare const VirtualFieldCompact: z.ZodObject<{
|
|
|
365
365
|
}>;
|
|
366
366
|
}, z.core.$loose>], null>]>;
|
|
367
367
|
name: z.ZodString;
|
|
368
|
-
display_name: z.ZodString;
|
|
369
368
|
table_id: z.ZodString;
|
|
369
|
+
display_name: z.ZodString;
|
|
370
370
|
base_type: z.ZodEnum<{
|
|
371
371
|
"type/*": "type/*";
|
|
372
372
|
"type/field-values-unsupported": "type/field-values-unsupported";
|
|
@@ -908,8 +908,8 @@ declare const VirtualTableCompact: z.ZodObject<{
|
|
|
908
908
|
}>;
|
|
909
909
|
}, z.core.$loose>], null>]>;
|
|
910
910
|
name: z.ZodString;
|
|
911
|
-
display_name: z.ZodString;
|
|
912
911
|
table_id: z.ZodString;
|
|
912
|
+
display_name: z.ZodString;
|
|
913
913
|
base_type: z.ZodEnum<{
|
|
914
914
|
"type/*": "type/*";
|
|
915
915
|
"type/field-values-unsupported": "type/field-values-unsupported";
|
|
@@ -3325,8 +3325,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3325
3325
|
id: z.ZodNumber;
|
|
3326
3326
|
name: z.ZodString;
|
|
3327
3327
|
description: z.ZodNullable<z.ZodString>;
|
|
3328
|
-
display_name: z.ZodString;
|
|
3329
3328
|
table_id: z.ZodNumber;
|
|
3329
|
+
display_name: z.ZodString;
|
|
3330
3330
|
base_type: z.ZodEnum<{
|
|
3331
3331
|
"type/*": "type/*";
|
|
3332
3332
|
"type/field-values-unsupported": "type/field-values-unsupported";
|
|
@@ -3529,8 +3529,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3529
3529
|
id: z.ZodNumber;
|
|
3530
3530
|
name: z.ZodString;
|
|
3531
3531
|
description: z.ZodNullable<z.ZodString>;
|
|
3532
|
-
display_name: z.ZodString;
|
|
3533
3532
|
table_id: z.ZodNumber;
|
|
3533
|
+
display_name: z.ZodString;
|
|
3534
3534
|
base_type: z.ZodEnum<{
|
|
3535
3535
|
"type/*": "type/*";
|
|
3536
3536
|
"type/field-values-unsupported": "type/field-values-unsupported";
|
|
@@ -3798,8 +3798,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3798
3798
|
}>;
|
|
3799
3799
|
}, z.core.$loose>], null>]>;
|
|
3800
3800
|
name: z.ZodString;
|
|
3801
|
-
display_name: z.ZodString;
|
|
3802
3801
|
table_id: z.ZodString;
|
|
3802
|
+
display_name: z.ZodString;
|
|
3803
3803
|
base_type: z.ZodEnum<{
|
|
3804
3804
|
"type/*": "type/*";
|
|
3805
3805
|
"type/field-values-unsupported": "type/field-values-unsupported";
|
|
@@ -3967,8 +3967,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3967
3967
|
id: z.ZodNumber;
|
|
3968
3968
|
name: z.ZodString;
|
|
3969
3969
|
description: z.ZodNullable<z.ZodString>;
|
|
3970
|
-
display_name: z.ZodString;
|
|
3971
3970
|
table_id: z.ZodNumber;
|
|
3971
|
+
display_name: z.ZodString;
|
|
3972
3972
|
base_type: z.ZodEnum<{
|
|
3973
3973
|
"type/*": "type/*";
|
|
3974
3974
|
"type/field-values-unsupported": "type/field-values-unsupported";
|