@metabase/client 0.1.0 → 0.1.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/CHANGELOG.md +25 -0
- package/README.md +10 -6
- package/dist/api-key-DJeN1-7G.d.ts +46 -0
- 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-BZx4NSr-.d.ts → card-CbV6hLYH.d.ts} +4 -4
- package/dist/{card-B6merEUN.d.ts → card-CrSywvOt.d.ts} +18 -18
- package/dist/{client-DNRvXFRm.d.ts → client-cBi6_RQs.d.ts} +289 -185
- package/dist/client.d.ts +1 -1
- package/dist/client.js +4 -0
- package/dist/{collection-Bib61WiV.d.ts → collection-Bmtisr3r.d.ts} +47 -47
- package/dist/{collection-CqtGPi4W.d.ts → collection-Q9FNMiRh.d.ts} +18 -4
- package/dist/{credential-6aOEGqMH.d.ts → credential-B6fKSvqp.d.ts} +1 -1
- package/dist/{dashboard-XTe46250.d.ts → dashboard-CknUcTp8.d.ts} +3 -3
- package/dist/{dashboard-z9i1VUZC.d.ts → dashboard-DBdEehA9.d.ts} +33 -25
- package/dist/{data-action-rS27f2Ji.d.ts → data-action-CqqZ0JYg.d.ts} +6 -4
- package/dist/data-app-MoMS9VUr.d.ts +76 -0
- package/dist/{database-DqTespfa.d.ts → database-Bs5WQOOZ.d.ts} +3 -3
- package/dist/{database-BLUMlywE.d.ts → database-CYNLJ8AZ.d.ts} +18 -18
- package/dist/{dataset-C6lX1-cr.d.ts → dataset-cg8ZZrOP.d.ts} +85 -85
- package/dist/{dataset-Cj3XuKLe.d.ts → dataset-dzWljE_C.d.ts} +3 -3
- package/dist/{dependency-fN5_7a22.d.ts → dependency-CL-YG9KH.d.ts} +26 -26
- package/dist/{dependency-D8Qs5Xdx.d.ts → dependency-VqvLTDAU.d.ts} +248 -196
- package/dist/{document-oZNDbDfx.d.ts → document-tLd6pYWe.d.ts} +2 -2
- package/dist/domain/api-key.d.ts +2 -0
- package/dist/domain/api-key.js +31 -0
- package/dist/domain/card.d.ts +1 -1
- package/dist/domain/collection.d.ts +1 -1
- package/dist/domain/dashboard.d.ts +2 -2
- package/dist/domain/dashboard.js +21 -4
- package/dist/domain/data-action.d.ts +2 -2
- package/dist/domain/data-action.js +8 -2
- package/dist/domain/data-app.d.ts +2 -0
- package/dist/domain/data-app.js +52 -0
- 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/dependency.js +6 -3
- package/dist/domain/document.d.ts +1 -1
- package/dist/domain/eid-translation.d.ts +1 -1
- package/dist/domain/field.d.ts +2 -2
- package/dist/domain/field.js +8 -2
- package/dist/domain/git-sync.d.ts +1 -1
- package/dist/domain/library.d.ts +2 -2
- package/dist/domain/library.js +8 -2
- package/dist/domain/measure.d.ts +1 -1
- package/dist/domain/measure.js +3 -1
- package/dist/domain/metric.d.ts +1 -1
- package/dist/domain/moderation-review.d.ts +1 -1
- package/dist/domain/notification.d.ts +2 -2
- package/dist/domain/notification.js +6 -1
- package/dist/domain/parameter.d.ts +1 -1
- package/dist/domain/pulse.d.ts +2 -2
- package/dist/domain/pulse.js +10 -3
- package/dist/domain/replacement.d.ts +1 -1
- package/dist/domain/revision.d.ts +2 -2
- package/dist/domain/revision.js +29 -2
- package/dist/domain/search.d.ts +1 -1
- package/dist/domain/segment.d.ts +1 -1
- package/dist/domain/segment.js +3 -1
- package/dist/domain/setup.d.ts +1 -1
- package/dist/domain/setup.js +1 -1
- package/dist/domain/snippet.d.ts +1 -1
- package/dist/domain/table.d.ts +2 -2
- package/dist/domain/table.js +35 -4
- package/dist/domain/timeline.d.ts +1 -1
- package/dist/domain/transform-dag-run.d.ts +1 -1
- package/dist/domain/transform-inspector.d.ts +1 -1
- package/dist/domain/transform-job.d.ts +2 -2
- package/dist/domain/transform-job.js +8 -2
- package/dist/domain/transform-python.d.ts +2 -2
- package/dist/domain/transform-python.js +15 -3
- package/dist/domain/transform-tag.d.ts +1 -1
- package/dist/domain/transform-test.d.ts +1 -1
- package/dist/domain/transform.d.ts +2 -2
- package/dist/domain/transform.js +76 -7
- package/dist/domain/user.d.ts +1 -1
- package/dist/domain/user.js +1 -1
- package/dist/{eid-translation-nuhr8St2.d.ts → eid-translation-aQSffx0o.d.ts} +40 -40
- package/dist/{erd-BujD227Y.d.ts → erd-DCgdEC2S.d.ts} +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/{features-CnFkUCj2.d.ts → features-SMSfJhB6.d.ts} +36 -2
- package/dist/{field-Bqn10Fq_.d.ts → field-ozrfbvUd.d.ts} +2 -2
- package/dist/{field-BCRO19mk.d.ts → field-tqQPtVuR.d.ts} +9 -7
- package/dist/{git-sync-gAMKsZgN.d.ts → git-sync-5lFWX1ds.d.ts} +3 -3
- package/dist/{git-sync-DNXrNVCW.d.ts → git-sync-QL9Nu6gP.d.ts} +10 -10
- package/dist/{glossary-CqFlzW33.d.ts → glossary-DwS7QVrl.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 +48 -46
- package/dist/index.js +8 -6
- package/dist/input-gate-registry-Dai7SfXb.js +14 -0
- package/dist/input-gates-DwKoTJVQ.d.ts +28 -0
- package/dist/{json-CZvjc3--.d.ts → json-DwGOvRtS.d.ts} +1 -1
- package/dist/json-pointer.d.ts +2 -1
- package/dist/json-pointer.js +4 -1
- package/dist/json.d.ts +1 -1
- package/dist/{library-Cx9h_RkU.d.ts → library-B9pEq7qP.d.ts} +8 -6
- package/dist/{measure-CuMqPbQX.d.ts → measure-CInoXeyH.d.ts} +1 -1
- package/dist/{measure-KuXdjZYJ.d.ts → measure-CgH14YQZ.d.ts} +1 -1
- package/dist/{metric-yvehaVCS.d.ts → metric-CYOmbcM5.d.ts} +10 -10
- package/dist/{moderation-review-B4RUTZ6_.d.ts → moderation-review-CWUQ3_HL.d.ts} +4 -4
- package/dist/{notification-BT2TDAd_.d.ts → notification-BY2JEjKp.d.ts} +68 -4
- package/dist/{notification-BiegPoSD.d.ts → notification-D-Hp82Pn.d.ts} +3 -3
- 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-DZWvWvbm.d.ts → paginate-CaJ5usdp.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{parameter-ak-J-IOj.d.ts → parameter-BYo7uR-J.d.ts} +2 -2
- package/dist/{pulse-dylocLd9.d.ts → pulse-BTpSNxhT.d.ts} +2 -2
- package/dist/{pulse-CMc1Rwdj.d.ts → pulse-BUlfrJZH.d.ts} +23 -21
- package/dist/{replacement-CyvtbxGg.d.ts → replacement-BQian4vA.d.ts} +23 -23
- package/dist/{replacement-S9U3gApY.d.ts → replacement-Dbtvvrmz.d.ts} +11 -11
- package/dist/{requirement-check-CIA5IHC1.d.ts → requirement-check-CHHEHXcj.d.ts} +2 -2
- package/dist/{requirements-C0txASN8.d.ts → requirements-Dx_ZVzl7.d.ts} +11 -1
- package/dist/resources/api-key.d.ts +11 -0
- package/dist/resources/api-key.js +35 -0
- package/dist/resources/card.d.ts +1 -1
- package/dist/resources/collection.d.ts +1 -1
- package/dist/resources/collection.js +35 -6
- package/dist/resources/content-translation.d.ts +1 -1
- package/dist/resources/content-translation.js +1 -1
- package/dist/resources/dashboard.d.ts +1 -1
- package/dist/resources/dashboard.js +8 -5
- package/dist/resources/data-action.d.ts +3 -48
- package/dist/resources/data-action.js +9 -9
- package/dist/resources/data-app.d.ts +112 -0
- package/dist/resources/data-app.js +75 -0
- 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/dependency.js +13 -7
- package/dist/resources/document.d.ts +3 -10
- 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/field.js +3 -2
- package/dist/resources/git-sync.d.ts +1 -1
- package/dist/resources/git-sync.js +1 -1
- package/dist/resources/glossary.d.ts +1 -1
- package/dist/resources/library.d.ts +4 -4
- package/dist/resources/library.js +2 -2
- 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/notification.js +2 -2
- 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/pulse.js +3 -2
- package/dist/resources/replacement.d.ts +1 -1
- package/dist/resources/revision.d.ts +3 -3
- package/dist/resources/revision.js +5 -10
- package/dist/resources/search.d.ts +1 -1
- package/dist/resources/search.js +23 -2
- package/dist/resources/segment.d.ts +1 -1
- package/dist/resources/setting.d.ts +1 -1
- package/dist/resources/setup.d.ts +2 -2
- package/dist/resources/snippet.d.ts +1 -1
- package/dist/resources/table.d.ts +1 -1
- package/dist/resources/table.js +9 -10
- 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 +2 -2
- package/dist/resources/transform-inspector.d.ts +4 -4
- package/dist/resources/transform-job.d.ts +1 -1
- package/dist/resources/transform-python.d.ts +11 -4
- package/dist/resources/transform-python.js +3 -2
- 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/transform.js +13 -3
- package/dist/resources/upload.d.ts +1 -1
- package/dist/resources/user.d.ts +2 -2
- package/dist/{revision-CQBPhohA.d.ts → revision-DNEw6S93.d.ts} +7 -5
- package/dist/{search-BxJipLN6.d.ts → search-BQWkdVg1.d.ts} +2 -2
- package/dist/{search-NZR6iRBs.d.ts → search-tK5lmRb8.d.ts} +23 -23
- package/dist/{segment-pj3wklGe.d.ts → segment-CbAgVO-5.d.ts} +1 -1
- package/dist/{segment-D2i34X9l.d.ts → segment-jyhBtOAZ.d.ts} +2 -2
- package/dist/{setup-Ez_U7GmM.d.ts → setup-JqcJ2unJ.d.ts} +1 -1
- package/dist/signal.d.ts +3 -2
- package/dist/signal.js +9 -4
- package/dist/{snippet-hEV429Pv.d.ts → snippet-C_Ilx7tR.d.ts} +2 -2
- package/dist/{snippet-RnnWa4TL.d.ts → snippet-DsgohpTV.d.ts} +2 -2
- package/dist/{table-B_lfuaHc.d.ts → table-B1pQSpTA.d.ts} +14 -14
- package/dist/{table-B3-UaPHa.d.ts → table-BAl8aPZZ.d.ts} +49 -44
- package/dist/{timeline-C2IEcRlP.d.ts → timeline-BdLvwRnl.d.ts} +2 -2
- package/dist/{timeline-folD3mQ_.d.ts → timeline-BfX1lMob.d.ts} +24 -24
- package/dist/{transform-CXOT5kFe.d.ts → transform-Ds74yPiY.d.ts} +48 -34
- package/dist/{transform-CDurgE1D.d.ts → transform-DwnIcpqV.d.ts} +153 -37
- package/dist/{transform-dag-run-BgZwv1yx.d.ts → transform-dag-run-BSrdrjaK.d.ts} +4 -4
- package/dist/{transform-inspector-BUYBt6--.d.ts → transform-inspector-BMaRqcRM.d.ts} +8 -8
- package/dist/{transform-job-29P6BULe.d.ts → transform-job-C85GxBHj.d.ts} +9 -9
- package/dist/{transform-job-CTJImaOd.d.ts → transform-job-Dfp9Ox0l.d.ts} +7 -5
- package/dist/{transform-python-DdDnW6yK.d.ts → transform-python-DtL3xxMj.d.ts} +49 -4
- package/dist/{transform-tag-DVUIZTEM.d.ts → transform-tag-C6j5EUkX.d.ts} +1 -1
- package/dist/{transform-test-A-CJYT6B.d.ts → transform-test-C3hiZ4AV.d.ts} +2 -2
- package/dist/{transform-test-BwuyrHpT.d.ts → transform-test-DROPvrkI.d.ts} +2 -2
- package/dist/{transport-E0ZaPNWJ.d.ts → transport-CS11mEqI.d.ts} +20 -6
- package/dist/{upload-B7PG3ePk.d.ts → upload-Bx1D7eNy.d.ts} +1 -1
- package/dist/{user-2r0OBoO6.d.ts → user-Sqqv7rqh.d.ts} +2 -2
- package/dist/version/capability-error.d.ts +1 -1
- package/dist/version/features.d.ts +2 -2
- package/dist/version/features.js +30 -2
- package/dist/version/input-gates.d.ts +2 -0
- package/dist/version/input-gates.js +13 -0
- 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/dist/version/requirements.d.ts +1 -1
- package/dist/version/requirements.js +10 -0
- package/package.json +3 -2
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/domain/data-app.d.ts
|
|
3
|
+
declare const DataAppSlug: z.ZodString;
|
|
4
|
+
declare const DataApp: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
display_name: z.ZodString;
|
|
8
|
+
description: z.ZodNullable<z.ZodString>;
|
|
9
|
+
version: z.ZodNumber;
|
|
10
|
+
outdated: z.ZodBoolean;
|
|
11
|
+
bundle_path: z.ZodString;
|
|
12
|
+
enabled: z.ZodBoolean;
|
|
13
|
+
allowed_hosts: z.ZodArray<z.ZodString>;
|
|
14
|
+
resource_collection_id: z.ZodNumber;
|
|
15
|
+
bundle_hash: z.ZodNullable<z.ZodString>;
|
|
16
|
+
created_at: z.ZodString;
|
|
17
|
+
updated_at: z.ZodString;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
type DataApp = z.infer<typeof DataApp>;
|
|
20
|
+
declare const DataAppSummary: z.ZodObject<{
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
display_name: z.ZodString;
|
|
23
|
+
}, z.core.$strict>;
|
|
24
|
+
type DataAppSummary = z.infer<typeof DataAppSummary>;
|
|
25
|
+
declare const DataAppEntry: z.ZodUnion<readonly [z.ZodObject<{
|
|
26
|
+
id: z.ZodNumber;
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
display_name: z.ZodString;
|
|
29
|
+
description: z.ZodNullable<z.ZodString>;
|
|
30
|
+
version: z.ZodNumber;
|
|
31
|
+
outdated: z.ZodBoolean;
|
|
32
|
+
bundle_path: z.ZodString;
|
|
33
|
+
enabled: z.ZodBoolean;
|
|
34
|
+
allowed_hosts: z.ZodArray<z.ZodString>;
|
|
35
|
+
resource_collection_id: z.ZodNumber;
|
|
36
|
+
bundle_hash: z.ZodNullable<z.ZodString>;
|
|
37
|
+
created_at: z.ZodString;
|
|
38
|
+
updated_at: z.ZodString;
|
|
39
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
display_name: z.ZodString;
|
|
42
|
+
}, z.core.$strict>]>;
|
|
43
|
+
type DataAppEntry = z.infer<typeof DataAppEntry>;
|
|
44
|
+
declare const DataAppCompact: z.ZodObject<{
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
display_name: z.ZodString;
|
|
47
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
outdated: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
resource_collection_id: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
type DataAppCompact = z.infer<typeof DataAppCompact>;
|
|
52
|
+
declare const DataAppListFilter: z.ZodObject<{
|
|
53
|
+
available: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
}, z.core.$strict>;
|
|
55
|
+
type DataAppListFilter = z.infer<typeof DataAppListFilter>;
|
|
56
|
+
declare const DataAppCreateInput: z.ZodObject<{
|
|
57
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
58
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
bundle_path: z.ZodOptional<z.ZodString>;
|
|
61
|
+
allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
+
name: z.ZodString;
|
|
64
|
+
}, z.core.$strict>;
|
|
65
|
+
type DataAppCreateInput = z.infer<typeof DataAppCreateInput>;
|
|
66
|
+
declare const DataAppUpdateInput: z.ZodObject<{
|
|
67
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
68
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
bundle_path: z.ZodOptional<z.ZodString>;
|
|
71
|
+
allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
type DataAppUpdateInput = z.infer<typeof DataAppUpdateInput>;
|
|
75
|
+
//#endregion
|
|
76
|
+
export { DataAppListFilter as a, DataAppUpdateInput as c, DataAppEntry as i, DataAppCompact as n, DataAppSlug as o, DataAppCreateInput as r, DataAppSummary as s, DataApp as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.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 {
|
|
4
|
+
import { i as DatabaseListInclude, o as DatabaseSyncResult, r as DatabaseGetInclude, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "./database-CYNLJ8AZ.js";
|
|
5
|
+
import { a as Table } from "./table-BAl8aPZZ.js";
|
|
6
6
|
//#region src/resources/database.d.ts
|
|
7
7
|
interface DatabaseListParams {
|
|
8
8
|
include?: DatabaseListInclude | undefined;
|
|
@@ -7,9 +7,9 @@ declare const DatabaseVirtualTable: z.ZodObject<{
|
|
|
7
7
|
schema: z.ZodString;
|
|
8
8
|
description: z.ZodNullable<z.ZodString>;
|
|
9
9
|
type: z.ZodEnum<{
|
|
10
|
-
metric: "metric";
|
|
11
10
|
question: "question";
|
|
12
11
|
model: "model";
|
|
12
|
+
metric: "metric";
|
|
13
13
|
}>;
|
|
14
14
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
15
15
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -17,9 +17,9 @@ declare const DatabaseVirtualTable: z.ZodObject<{
|
|
|
17
17
|
type DatabaseVirtualTable = z.infer<typeof DatabaseVirtualTable>;
|
|
18
18
|
declare const DatabaseVirtualTableCompact: z.ZodObject<{
|
|
19
19
|
type: z.ZodEnum<{
|
|
20
|
-
metric: "metric";
|
|
21
20
|
question: "question";
|
|
22
21
|
model: "model";
|
|
22
|
+
metric: "metric";
|
|
23
23
|
}>;
|
|
24
24
|
id: z.ZodString;
|
|
25
25
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -59,9 +59,9 @@ declare const Database: z.ZodObject<{
|
|
|
59
59
|
cruft: "cruft";
|
|
60
60
|
}>>>;
|
|
61
61
|
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
62
|
-
internal: "internal";
|
|
63
62
|
hidden: "hidden";
|
|
64
63
|
final: "final";
|
|
64
|
+
internal: "internal";
|
|
65
65
|
gold: "gold";
|
|
66
66
|
silver: "silver";
|
|
67
67
|
bronze: "bronze";
|
|
@@ -378,9 +378,9 @@ declare const Database: z.ZodObject<{
|
|
|
378
378
|
schema: z.ZodString;
|
|
379
379
|
description: z.ZodNullable<z.ZodString>;
|
|
380
380
|
type: z.ZodEnum<{
|
|
381
|
-
metric: "metric";
|
|
382
381
|
question: "question";
|
|
383
382
|
model: "model";
|
|
383
|
+
metric: "metric";
|
|
384
384
|
}>;
|
|
385
385
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
386
386
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -388,23 +388,17 @@ declare const Database: z.ZodObject<{
|
|
|
388
388
|
}, z.core.$loose>;
|
|
389
389
|
type Database = z.infer<typeof Database>;
|
|
390
390
|
declare const DatabaseCompact: z.ZodObject<{
|
|
391
|
-
name: z.ZodString;
|
|
392
391
|
id: z.ZodNumber;
|
|
392
|
+
name: z.ZodString;
|
|
393
393
|
engine: z.ZodOptional<z.ZodString>;
|
|
394
394
|
is_saved_questions: z.ZodOptional<z.ZodBoolean>;
|
|
395
395
|
tables: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
396
|
-
name: z.ZodString;
|
|
397
396
|
id: z.ZodNumber;
|
|
397
|
+
name: z.ZodString;
|
|
398
398
|
description: z.ZodNullable<z.ZodString>;
|
|
399
399
|
display_name: z.ZodString;
|
|
400
400
|
db_id: z.ZodNumber;
|
|
401
401
|
schema: z.ZodNullable<z.ZodString>;
|
|
402
|
-
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
403
|
-
hidden: "hidden";
|
|
404
|
-
technical: "technical";
|
|
405
|
-
cruft: "cruft";
|
|
406
|
-
}>>>;
|
|
407
|
-
active: z.ZodBoolean;
|
|
408
402
|
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
409
403
|
"entity/GenericTable": "entity/GenericTable";
|
|
410
404
|
"entity/UserTable": "entity/UserTable";
|
|
@@ -414,13 +408,19 @@ declare const DatabaseCompact: z.ZodObject<{
|
|
|
414
408
|
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
415
409
|
"entity/EventTable": "entity/EventTable";
|
|
416
410
|
}>>;
|
|
411
|
+
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
412
|
+
hidden: "hidden";
|
|
413
|
+
technical: "technical";
|
|
414
|
+
cruft: "cruft";
|
|
415
|
+
}>>>;
|
|
416
|
+
active: z.ZodBoolean;
|
|
417
417
|
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
418
418
|
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
419
|
-
name: z.ZodString;
|
|
420
419
|
id: z.ZodNumber;
|
|
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";
|
|
@@ -585,9 +585,9 @@ declare const DatabaseCompact: z.ZodObject<{
|
|
|
585
585
|
}, z.core.$strip>>>;
|
|
586
586
|
}, z.core.$strip>, z.ZodObject<{
|
|
587
587
|
type: z.ZodEnum<{
|
|
588
|
-
metric: "metric";
|
|
589
588
|
question: "question";
|
|
590
589
|
model: "model";
|
|
590
|
+
metric: "metric";
|
|
591
591
|
}>;
|
|
592
592
|
id: z.ZodString;
|
|
593
593
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -641,9 +641,9 @@ declare const DatabaseWithSettings: z.ZodObject<{
|
|
|
641
641
|
cruft: "cruft";
|
|
642
642
|
}>>>;
|
|
643
643
|
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
644
|
-
internal: "internal";
|
|
645
644
|
hidden: "hidden";
|
|
646
645
|
final: "final";
|
|
646
|
+
internal: "internal";
|
|
647
647
|
gold: "gold";
|
|
648
648
|
silver: "silver";
|
|
649
649
|
bronze: "bronze";
|
|
@@ -960,9 +960,9 @@ declare const DatabaseWithSettings: z.ZodObject<{
|
|
|
960
960
|
schema: z.ZodString;
|
|
961
961
|
description: z.ZodNullable<z.ZodString>;
|
|
962
962
|
type: z.ZodEnum<{
|
|
963
|
-
metric: "metric";
|
|
964
963
|
question: "question";
|
|
965
964
|
model: "model";
|
|
965
|
+
metric: "metric";
|
|
966
966
|
}>;
|
|
967
967
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
968
968
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -973,8 +973,8 @@ declare const DatabaseWithSettings: z.ZodObject<{
|
|
|
973
973
|
}, z.core.$loose>;
|
|
974
974
|
type DatabaseWithSettings = z.infer<typeof DatabaseWithSettings>;
|
|
975
975
|
declare const DatabaseWithSettingsCompact: z.ZodObject<{
|
|
976
|
-
name: z.ZodString;
|
|
977
976
|
id: z.ZodNumber;
|
|
977
|
+
name: z.ZodString;
|
|
978
978
|
engine: z.ZodOptional<z.ZodString>;
|
|
979
979
|
settings: z.ZodNullable<z.ZodObject<{
|
|
980
980
|
"database-enable-actions": z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8,8 +8,8 @@ declare const CompiledQuery: z.ZodObject<{
|
|
|
8
8
|
type CompiledQuery = z.infer<typeof CompiledQuery>;
|
|
9
9
|
declare const CompiledQueryCompact: z.ZodObject<{
|
|
10
10
|
query: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnknown>]>;
|
|
11
|
-
collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
11
|
params: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
12
|
+
collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
type CompiledQueryCompact = z.infer<typeof CompiledQueryCompact>;
|
|
15
15
|
declare const VirtualField: z.ZodObject<{
|
|
@@ -272,7 +272,6 @@ declare const VirtualField: z.ZodObject<{
|
|
|
272
272
|
}, z.core.$loose>;
|
|
273
273
|
type VirtualField = z.infer<typeof VirtualField>;
|
|
274
274
|
declare const VirtualFieldCompact: z.ZodObject<{
|
|
275
|
-
name: z.ZodString;
|
|
276
275
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodLiteral<"field">, z.ZodString, z.ZodObject<{
|
|
277
276
|
"base-type": z.ZodEnum<{
|
|
278
277
|
"type/*": "type/*";
|
|
@@ -365,8 +364,9 @@ declare const VirtualFieldCompact: z.ZodObject<{
|
|
|
365
364
|
"type/ZipCode": "type/ZipCode";
|
|
366
365
|
}>;
|
|
367
366
|
}, z.core.$loose>], null>]>;
|
|
368
|
-
|
|
367
|
+
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";
|
|
@@ -537,9 +537,9 @@ declare const VirtualTable: z.ZodObject<{
|
|
|
537
537
|
schema: z.ZodString;
|
|
538
538
|
description: z.ZodNullable<z.ZodString>;
|
|
539
539
|
type: z.ZodEnum<{
|
|
540
|
-
metric: "metric";
|
|
541
540
|
question: "question";
|
|
542
541
|
model: "model";
|
|
542
|
+
metric: "metric";
|
|
543
543
|
}>;
|
|
544
544
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
545
545
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -805,9 +805,9 @@ declare const VirtualTable: z.ZodObject<{
|
|
|
805
805
|
type VirtualTable = z.infer<typeof VirtualTable>;
|
|
806
806
|
declare const VirtualTableCompact: z.ZodObject<{
|
|
807
807
|
type: z.ZodEnum<{
|
|
808
|
-
metric: "metric";
|
|
809
808
|
question: "question";
|
|
810
809
|
model: "model";
|
|
810
|
+
metric: "metric";
|
|
811
811
|
}>;
|
|
812
812
|
id: z.ZodString;
|
|
813
813
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -815,7 +815,6 @@ declare const VirtualTableCompact: z.ZodObject<{
|
|
|
815
815
|
db_id: z.ZodNumber;
|
|
816
816
|
schema: z.ZodString;
|
|
817
817
|
fields: z.ZodArray<z.ZodObject<{
|
|
818
|
-
name: z.ZodString;
|
|
819
818
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodLiteral<"field">, z.ZodString, z.ZodObject<{
|
|
820
819
|
"base-type": z.ZodEnum<{
|
|
821
820
|
"type/*": "type/*";
|
|
@@ -908,8 +907,9 @@ declare const VirtualTableCompact: z.ZodObject<{
|
|
|
908
907
|
"type/ZipCode": "type/ZipCode";
|
|
909
908
|
}>;
|
|
910
909
|
}, z.core.$loose>], null>]>;
|
|
911
|
-
|
|
910
|
+
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";
|
|
@@ -1075,18 +1075,40 @@ declare const VirtualTableCompact: z.ZodObject<{
|
|
|
1075
1075
|
}, z.core.$strip>;
|
|
1076
1076
|
type VirtualTableCompact = z.infer<typeof VirtualTableCompact>;
|
|
1077
1077
|
declare const QueryMetadataTable: z.ZodObject<{
|
|
1078
|
-
name: z.ZodString;
|
|
1079
1078
|
id: z.ZodNumber;
|
|
1080
|
-
|
|
1079
|
+
name: z.ZodString;
|
|
1081
1080
|
description: z.ZodNullable<z.ZodString>;
|
|
1081
|
+
caveats: z.ZodNullable<z.ZodString>;
|
|
1082
1082
|
display_name: z.ZodString;
|
|
1083
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1083
1084
|
db_id: z.ZodNumber;
|
|
1084
1085
|
schema: z.ZodNullable<z.ZodString>;
|
|
1086
|
+
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
1087
|
+
"entity/GenericTable": "entity/GenericTable";
|
|
1088
|
+
"entity/UserTable": "entity/UserTable";
|
|
1089
|
+
"entity/CompanyTable": "entity/CompanyTable";
|
|
1090
|
+
"entity/TransactionTable": "entity/TransactionTable";
|
|
1091
|
+
"entity/ProductTable": "entity/ProductTable";
|
|
1092
|
+
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
1093
|
+
"entity/EventTable": "entity/EventTable";
|
|
1094
|
+
}>>;
|
|
1085
1095
|
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1086
1096
|
hidden: "hidden";
|
|
1087
1097
|
technical: "technical";
|
|
1088
1098
|
cruft: "cruft";
|
|
1089
1099
|
}>>>;
|
|
1100
|
+
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
1101
|
+
hidden: "hidden";
|
|
1102
|
+
final: "final";
|
|
1103
|
+
internal: "internal";
|
|
1104
|
+
gold: "gold";
|
|
1105
|
+
silver: "silver";
|
|
1106
|
+
bronze: "bronze";
|
|
1107
|
+
copper: "copper";
|
|
1108
|
+
}>>;
|
|
1109
|
+
estimated_row_count: z.ZodNullable<z.ZodNumber>;
|
|
1110
|
+
active: z.ZodBoolean;
|
|
1111
|
+
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
1090
1112
|
fields: z.ZodArray<z.ZodObject<{
|
|
1091
1113
|
id: z.ZodNumber;
|
|
1092
1114
|
table_id: z.ZodNumber;
|
|
@@ -1687,28 +1709,6 @@ declare const QueryMetadataTable: z.ZodObject<{
|
|
|
1687
1709
|
position: z.ZodOptional<z.ZodNumber>;
|
|
1688
1710
|
}, z.core.$loose>>;
|
|
1689
1711
|
}, z.core.$loose>>;
|
|
1690
|
-
active: z.ZodBoolean;
|
|
1691
|
-
caveats: z.ZodNullable<z.ZodString>;
|
|
1692
|
-
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
1693
|
-
"entity/GenericTable": "entity/GenericTable";
|
|
1694
|
-
"entity/UserTable": "entity/UserTable";
|
|
1695
|
-
"entity/CompanyTable": "entity/CompanyTable";
|
|
1696
|
-
"entity/TransactionTable": "entity/TransactionTable";
|
|
1697
|
-
"entity/ProductTable": "entity/ProductTable";
|
|
1698
|
-
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
1699
|
-
"entity/EventTable": "entity/EventTable";
|
|
1700
|
-
}>>;
|
|
1701
|
-
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
1702
|
-
internal: "internal";
|
|
1703
|
-
hidden: "hidden";
|
|
1704
|
-
final: "final";
|
|
1705
|
-
gold: "gold";
|
|
1706
|
-
silver: "silver";
|
|
1707
|
-
bronze: "bronze";
|
|
1708
|
-
copper: "copper";
|
|
1709
|
-
}>>;
|
|
1710
|
-
estimated_row_count: z.ZodNullable<z.ZodNumber>;
|
|
1711
|
-
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
1712
1712
|
}, z.core.$loose>;
|
|
1713
1713
|
type QueryMetadataTable = z.infer<typeof QueryMetadataTable>;
|
|
1714
1714
|
declare const QueryMetadata: z.ZodObject<{
|
|
@@ -1743,9 +1743,9 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
1743
1743
|
cruft: "cruft";
|
|
1744
1744
|
}>>>;
|
|
1745
1745
|
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
1746
|
-
internal: "internal";
|
|
1747
1746
|
hidden: "hidden";
|
|
1748
1747
|
final: "final";
|
|
1748
|
+
internal: "internal";
|
|
1749
1749
|
gold: "gold";
|
|
1750
1750
|
silver: "silver";
|
|
1751
1751
|
bronze: "bronze";
|
|
@@ -2062,27 +2062,49 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2062
2062
|
schema: z.ZodString;
|
|
2063
2063
|
description: z.ZodNullable<z.ZodString>;
|
|
2064
2064
|
type: z.ZodEnum<{
|
|
2065
|
-
metric: "metric";
|
|
2066
2065
|
question: "question";
|
|
2067
2066
|
model: "model";
|
|
2067
|
+
metric: "metric";
|
|
2068
2068
|
}>;
|
|
2069
2069
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
2070
2070
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
2071
2071
|
}, z.core.$loose>]>>>;
|
|
2072
2072
|
}, z.core.$loose>>;
|
|
2073
2073
|
tables: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2074
|
-
name: z.ZodString;
|
|
2075
2074
|
id: z.ZodNumber;
|
|
2076
|
-
|
|
2075
|
+
name: z.ZodString;
|
|
2077
2076
|
description: z.ZodNullable<z.ZodString>;
|
|
2077
|
+
caveats: z.ZodNullable<z.ZodString>;
|
|
2078
2078
|
display_name: z.ZodString;
|
|
2079
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2079
2080
|
db_id: z.ZodNumber;
|
|
2080
2081
|
schema: z.ZodNullable<z.ZodString>;
|
|
2082
|
+
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
2083
|
+
"entity/GenericTable": "entity/GenericTable";
|
|
2084
|
+
"entity/UserTable": "entity/UserTable";
|
|
2085
|
+
"entity/CompanyTable": "entity/CompanyTable";
|
|
2086
|
+
"entity/TransactionTable": "entity/TransactionTable";
|
|
2087
|
+
"entity/ProductTable": "entity/ProductTable";
|
|
2088
|
+
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
2089
|
+
"entity/EventTable": "entity/EventTable";
|
|
2090
|
+
}>>;
|
|
2081
2091
|
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2082
2092
|
hidden: "hidden";
|
|
2083
2093
|
technical: "technical";
|
|
2084
2094
|
cruft: "cruft";
|
|
2085
2095
|
}>>>;
|
|
2096
|
+
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
2097
|
+
hidden: "hidden";
|
|
2098
|
+
final: "final";
|
|
2099
|
+
internal: "internal";
|
|
2100
|
+
gold: "gold";
|
|
2101
|
+
silver: "silver";
|
|
2102
|
+
bronze: "bronze";
|
|
2103
|
+
copper: "copper";
|
|
2104
|
+
}>>;
|
|
2105
|
+
estimated_row_count: z.ZodNullable<z.ZodNumber>;
|
|
2106
|
+
active: z.ZodBoolean;
|
|
2107
|
+
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
2086
2108
|
fields: z.ZodArray<z.ZodObject<{
|
|
2087
2109
|
id: z.ZodNumber;
|
|
2088
2110
|
table_id: z.ZodNumber;
|
|
@@ -2683,28 +2705,6 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2683
2705
|
position: z.ZodOptional<z.ZodNumber>;
|
|
2684
2706
|
}, z.core.$loose>>;
|
|
2685
2707
|
}, z.core.$loose>>;
|
|
2686
|
-
active: z.ZodBoolean;
|
|
2687
|
-
caveats: z.ZodNullable<z.ZodString>;
|
|
2688
|
-
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
2689
|
-
"entity/GenericTable": "entity/GenericTable";
|
|
2690
|
-
"entity/UserTable": "entity/UserTable";
|
|
2691
|
-
"entity/CompanyTable": "entity/CompanyTable";
|
|
2692
|
-
"entity/TransactionTable": "entity/TransactionTable";
|
|
2693
|
-
"entity/ProductTable": "entity/ProductTable";
|
|
2694
|
-
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
2695
|
-
"entity/EventTable": "entity/EventTable";
|
|
2696
|
-
}>>;
|
|
2697
|
-
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
2698
|
-
internal: "internal";
|
|
2699
|
-
hidden: "hidden";
|
|
2700
|
-
final: "final";
|
|
2701
|
-
gold: "gold";
|
|
2702
|
-
silver: "silver";
|
|
2703
|
-
bronze: "bronze";
|
|
2704
|
-
copper: "copper";
|
|
2705
|
-
}>>;
|
|
2706
|
-
estimated_row_count: z.ZodNullable<z.ZodNumber>;
|
|
2707
|
-
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
2708
2708
|
}, z.core.$loose>, z.ZodObject<{
|
|
2709
2709
|
id: z.ZodString;
|
|
2710
2710
|
db_id: z.ZodNumber;
|
|
@@ -2712,9 +2712,9 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2712
2712
|
schema: z.ZodString;
|
|
2713
2713
|
description: z.ZodNullable<z.ZodString>;
|
|
2714
2714
|
type: z.ZodEnum<{
|
|
2715
|
-
metric: "metric";
|
|
2716
2715
|
question: "question";
|
|
2717
2716
|
model: "model";
|
|
2717
|
+
metric: "metric";
|
|
2718
2718
|
}>;
|
|
2719
2719
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
2720
2720
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -3294,23 +3294,17 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
3294
3294
|
type QueryMetadata = z.infer<typeof QueryMetadata>;
|
|
3295
3295
|
declare const QueryMetadataCompact: z.ZodObject<{
|
|
3296
3296
|
databases: z.ZodArray<z.ZodObject<{
|
|
3297
|
-
name: z.ZodString;
|
|
3298
3297
|
id: z.ZodNumber;
|
|
3298
|
+
name: z.ZodString;
|
|
3299
3299
|
engine: z.ZodOptional<z.ZodString>;
|
|
3300
3300
|
is_saved_questions: z.ZodOptional<z.ZodBoolean>;
|
|
3301
3301
|
tables: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3302
|
-
name: z.ZodString;
|
|
3303
3302
|
id: z.ZodNumber;
|
|
3303
|
+
name: z.ZodString;
|
|
3304
3304
|
description: z.ZodNullable<z.ZodString>;
|
|
3305
3305
|
display_name: z.ZodString;
|
|
3306
3306
|
db_id: z.ZodNumber;
|
|
3307
3307
|
schema: z.ZodNullable<z.ZodString>;
|
|
3308
|
-
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3309
|
-
hidden: "hidden";
|
|
3310
|
-
technical: "technical";
|
|
3311
|
-
cruft: "cruft";
|
|
3312
|
-
}>>>;
|
|
3313
|
-
active: z.ZodBoolean;
|
|
3314
3308
|
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
3315
3309
|
"entity/GenericTable": "entity/GenericTable";
|
|
3316
3310
|
"entity/UserTable": "entity/UserTable";
|
|
@@ -3320,13 +3314,19 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3320
3314
|
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
3321
3315
|
"entity/EventTable": "entity/EventTable";
|
|
3322
3316
|
}>>;
|
|
3317
|
+
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3318
|
+
hidden: "hidden";
|
|
3319
|
+
technical: "technical";
|
|
3320
|
+
cruft: "cruft";
|
|
3321
|
+
}>>>;
|
|
3322
|
+
active: z.ZodBoolean;
|
|
3323
3323
|
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
3324
3324
|
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3325
|
-
name: z.ZodString;
|
|
3326
3325
|
id: z.ZodNumber;
|
|
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";
|
|
@@ -3491,9 +3491,9 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3491
3491
|
}, z.core.$strip>>>;
|
|
3492
3492
|
}, z.core.$strip>, z.ZodObject<{
|
|
3493
3493
|
type: z.ZodEnum<{
|
|
3494
|
-
metric: "metric";
|
|
3495
3494
|
question: "question";
|
|
3496
3495
|
model: "model";
|
|
3496
|
+
metric: "metric";
|
|
3497
3497
|
}>;
|
|
3498
3498
|
id: z.ZodString;
|
|
3499
3499
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -3503,18 +3503,12 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3503
3503
|
}, z.core.$strip>]>>>;
|
|
3504
3504
|
}, z.core.$strip>>;
|
|
3505
3505
|
tables: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3506
|
-
name: z.ZodString;
|
|
3507
3506
|
id: z.ZodNumber;
|
|
3507
|
+
name: z.ZodString;
|
|
3508
3508
|
description: z.ZodNullable<z.ZodString>;
|
|
3509
3509
|
display_name: z.ZodString;
|
|
3510
3510
|
db_id: z.ZodNumber;
|
|
3511
3511
|
schema: z.ZodNullable<z.ZodString>;
|
|
3512
|
-
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3513
|
-
hidden: "hidden";
|
|
3514
|
-
technical: "technical";
|
|
3515
|
-
cruft: "cruft";
|
|
3516
|
-
}>>>;
|
|
3517
|
-
active: z.ZodBoolean;
|
|
3518
3512
|
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
3519
3513
|
"entity/GenericTable": "entity/GenericTable";
|
|
3520
3514
|
"entity/UserTable": "entity/UserTable";
|
|
@@ -3524,13 +3518,19 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3524
3518
|
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
3525
3519
|
"entity/EventTable": "entity/EventTable";
|
|
3526
3520
|
}>>;
|
|
3521
|
+
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3522
|
+
hidden: "hidden";
|
|
3523
|
+
technical: "technical";
|
|
3524
|
+
cruft: "cruft";
|
|
3525
|
+
}>>>;
|
|
3526
|
+
active: z.ZodBoolean;
|
|
3527
3527
|
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
3528
3528
|
fields: z.ZodArray<z.ZodObject<{
|
|
3529
|
-
name: z.ZodString;
|
|
3530
3529
|
id: z.ZodNumber;
|
|
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";
|
|
@@ -3695,9 +3695,9 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3695
3695
|
}, z.core.$strip>>;
|
|
3696
3696
|
}, z.core.$strip>, z.ZodObject<{
|
|
3697
3697
|
type: z.ZodEnum<{
|
|
3698
|
-
metric: "metric";
|
|
3699
3698
|
question: "question";
|
|
3700
3699
|
model: "model";
|
|
3700
|
+
metric: "metric";
|
|
3701
3701
|
}>;
|
|
3702
3702
|
id: z.ZodString;
|
|
3703
3703
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -3705,7 +3705,6 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3705
3705
|
db_id: z.ZodNumber;
|
|
3706
3706
|
schema: z.ZodString;
|
|
3707
3707
|
fields: z.ZodArray<z.ZodObject<{
|
|
3708
|
-
name: z.ZodString;
|
|
3709
3708
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodLiteral<"field">, z.ZodString, z.ZodObject<{
|
|
3710
3709
|
"base-type": z.ZodEnum<{
|
|
3711
3710
|
"type/*": "type/*";
|
|
@@ -3798,8 +3797,9 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3798
3797
|
"type/ZipCode": "type/ZipCode";
|
|
3799
3798
|
}>;
|
|
3800
3799
|
}, z.core.$loose>], null>]>;
|
|
3801
|
-
|
|
3800
|
+
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";
|
|
@@ -3964,11 +3964,11 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3964
3964
|
}, z.core.$strip>>;
|
|
3965
3965
|
}, z.core.$strip>]>>;
|
|
3966
3966
|
fields: z.ZodArray<z.ZodObject<{
|
|
3967
|
-
name: z.ZodString;
|
|
3968
3967
|
id: z.ZodNumber;
|
|
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";
|
|
@@ -4132,11 +4132,11 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
4132
4132
|
fk_target_field_id: z.ZodNullable<z.ZodNumber>;
|
|
4133
4133
|
}, z.core.$strip>>;
|
|
4134
4134
|
snippets: z.ZodArray<z.ZodObject<{
|
|
4135
|
-
name: z.ZodString;
|
|
4136
4135
|
id: z.ZodNumber;
|
|
4137
|
-
|
|
4136
|
+
name: z.ZodString;
|
|
4138
4137
|
description: z.ZodNullable<z.ZodString>;
|
|
4139
4138
|
archived: z.ZodBoolean;
|
|
4139
|
+
collection_id: z.ZodNullable<z.ZodNumber>;
|
|
4140
4140
|
}, z.core.$strip>>;
|
|
4141
4141
|
}, z.core.$strip>;
|
|
4142
4142
|
type QueryMetadataCompact = z.infer<typeof QueryMetadataCompact>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
|
|
2
|
+
import { o as CardQueryResult } from "./card-CrSywvOt.js";
|
|
3
|
+
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-cg8ZZrOP.js";
|
|
3
4
|
import { a as VisualizationSettings, n as ExportFormat, t as DatasetQuery } from "./query-Xsin530u.js";
|
|
4
|
-
import { f as RequestOptions, h as Transport } from "./transport-E0ZaPNWJ.js";
|
|
5
5
|
//#region src/resources/dataset.d.ts
|
|
6
6
|
interface DatasetNativeParams {
|
|
7
7
|
pretty?: boolean | undefined;
|