@metabase/client 0.1.0 → 0.1.1
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 +21 -0
- package/README.md +6 -4
- package/dist/api-key-DJeN1-7G.d.ts +46 -0
- package/dist/{card-B6merEUN.d.ts → card-BxBzr5Uj.d.ts} +11 -11
- package/dist/{card-BZx4NSr-.d.ts → card-DN0sLkCG.d.ts} +4 -4
- package/dist/{client-DNRvXFRm.d.ts → client-DdXLlH1B.d.ts} +270 -166
- package/dist/client.d.ts +1 -1
- package/dist/client.js +4 -0
- package/dist/{collection-Bib61WiV.d.ts → collection-DGnTvD6R.d.ts} +20 -20
- package/dist/{collection-CqtGPi4W.d.ts → collection-fFahL-ub.d.ts} +18 -4
- package/dist/{dashboard-XTe46250.d.ts → dashboard-CM7RmNeE.d.ts} +2 -2
- package/dist/{dashboard-z9i1VUZC.d.ts → dashboard-DtLXVgtf.d.ts} +21 -13
- package/dist/{data-action-rS27f2Ji.d.ts → data-action-CkXVrOUH.d.ts} +7 -5
- package/dist/data-app-CqP5_fpB.d.ts +76 -0
- package/dist/{database-DqTespfa.d.ts → database-B0JNZjDN.d.ts} +3 -3
- package/dist/{database-BLUMlywE.d.ts → database-BxqDmfcj.d.ts} +9 -9
- package/dist/{dataset-C6lX1-cr.d.ts → dataset-BBNGPVec.d.ts} +22 -22
- package/dist/{dataset-Cj3XuKLe.d.ts → dataset-BUirJ1rO.d.ts} +3 -3
- package/dist/{dependency-fN5_7a22.d.ts → dependency-CzpXmeu7.d.ts} +26 -26
- package/dist/{dependency-D8Qs5Xdx.d.ts → dependency-arB8Cr2H.d.ts} +147 -95
- 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/embedding.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/notification.d.ts +2 -2
- package/dist/domain/notification.js +6 -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-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-CH6NPWd-.d.ts} +15 -15
- package/dist/{embedding-Cz3RUJYf.d.ts → embedding-oU3gqfgX.d.ts} +1 -1
- package/dist/{erd-BujD227Y.d.ts → erd-CbV7xvAc.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-D1Pfk-0S.d.ts} +2 -2
- package/dist/{field-BCRO19mk.d.ts → field-p9Rme2zB.d.ts} +6 -4
- package/dist/{git-sync-gAMKsZgN.d.ts → git-sync-BTf1aYHr.d.ts} +3 -3
- package/dist/{git-sync-DNXrNVCW.d.ts → git-sync-C99SVdJ9.d.ts} +2 -2
- package/dist/{glossary-CqFlzW33.d.ts → glossary-DFvnz-E5.d.ts} +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/transport.d.ts +1 -1
- package/dist/index.d.ts +43 -41
- package/dist/index.js +7 -5
- 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-BksZpXDC.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-KuXdjZYJ.d.ts → measure-CgH14YQZ.d.ts} +1 -1
- package/dist/{measure-CuMqPbQX.d.ts → measure-lPz8qnwz.d.ts} +1 -1
- package/dist/{metric-yvehaVCS.d.ts → metric-DcYloqOQ.d.ts} +2 -2
- package/dist/{notification-BiegPoSD.d.ts → notification-Cp5GJErS.d.ts} +3 -3
- package/dist/{notification-BT2TDAd_.d.ts → notification-D1MThyKE.d.ts} +66 -2
- package/dist/{paginate-DZWvWvbm.d.ts → paginate-COuL0Gzl.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{pulse-CMc1Rwdj.d.ts → pulse-0LG3K6qO.d.ts} +7 -5
- package/dist/{pulse-dylocLd9.d.ts → pulse-BzKmz3Yn.d.ts} +2 -2
- package/dist/{replacement-CyvtbxGg.d.ts → replacement-BGyggp-G.d.ts} +5 -5
- package/dist/{replacement-S9U3gApY.d.ts → replacement-CVebCuNp.d.ts} +5 -5
- package/dist/{requirement-check-CIA5IHC1.d.ts → requirement-check-glU7wqhQ.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 +29 -5
- 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 +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/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 +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 +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-Dyl-8p7d.d.ts} +8 -6
- package/dist/{search-NZR6iRBs.d.ts → search-Cm5IxKss.d.ts} +8 -8
- package/dist/{search-BxJipLN6.d.ts → search-Cten2h0I.d.ts} +2 -2
- package/dist/{segment-pj3wklGe.d.ts → segment-CbAgVO-5.d.ts} +1 -1
- package/dist/{segment-D2i34X9l.d.ts → segment-DQLX6r1E.d.ts} +2 -2
- package/dist/{setup-Ez_U7GmM.d.ts → setup-JqcJ2unJ.d.ts} +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{snippet-hEV429Pv.d.ts → snippet-C_Ilx7tR.d.ts} +2 -2
- package/dist/{snippet-RnnWa4TL.d.ts → snippet-Djn0rL21.d.ts} +2 -2
- package/dist/{table-B_lfuaHc.d.ts → table-CDZbLNow.d.ts} +6 -6
- package/dist/{table-B3-UaPHa.d.ts → table-Od6uvDVW.d.ts} +19 -14
- package/dist/{timeline-folD3mQ_.d.ts → timeline-BK45hy-h.d.ts} +31 -31
- package/dist/{timeline-C2IEcRlP.d.ts → timeline-BTs6fuRp.d.ts} +2 -2
- package/dist/{transform-CDurgE1D.d.ts → transform-C5thnJwW.d.ts} +139 -23
- package/dist/{transform-CXOT5kFe.d.ts → transform-WASQAXeA.d.ts} +39 -25
- package/dist/{transform-inspector-BUYBt6--.d.ts → transform-inspector-CMCh8WKV.d.ts} +4 -4
- package/dist/{transform-job-CTJImaOd.d.ts → transform-job-D8jTQtdX.d.ts} +5 -3
- package/dist/{transform-job-29P6BULe.d.ts → transform-job-DmTwKxhc.d.ts} +4 -4
- 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-CR_i54IV.d.ts} +1 -1
- package/dist/{transform-test-BwuyrHpT.d.ts → transform-test-CeMzDpUC.d.ts} +1 -1
- package/dist/{transport-E0ZaPNWJ.d.ts → transport-BsXqRujn.d.ts} +17 -3
- package/dist/{upload-B7PG3ePk.d.ts → upload-B5YjVkSW.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
|
@@ -7,8 +7,8 @@ declare const CompiledQuery: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$loose>;
|
|
8
8
|
type CompiledQuery = z.infer<typeof CompiledQuery>;
|
|
9
9
|
declare const CompiledQueryCompact: z.ZodObject<{
|
|
10
|
-
query: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnknown>]>;
|
|
11
10
|
collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnknown>]>;
|
|
12
12
|
params: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
type CompiledQueryCompact = z.infer<typeof CompiledQueryCompact>;
|
|
@@ -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,6 +364,7 @@ declare const VirtualFieldCompact: z.ZodObject<{
|
|
|
365
364
|
"type/ZipCode": "type/ZipCode";
|
|
366
365
|
}>;
|
|
367
366
|
}, z.core.$loose>], null>]>;
|
|
367
|
+
name: z.ZodString;
|
|
368
368
|
display_name: z.ZodString;
|
|
369
369
|
table_id: z.ZodString;
|
|
370
370
|
base_type: z.ZodEnum<{
|
|
@@ -538,8 +538,8 @@ declare const VirtualTable: z.ZodObject<{
|
|
|
538
538
|
description: z.ZodNullable<z.ZodString>;
|
|
539
539
|
type: z.ZodEnum<{
|
|
540
540
|
metric: "metric";
|
|
541
|
-
question: "question";
|
|
542
541
|
model: "model";
|
|
542
|
+
question: "question";
|
|
543
543
|
}>;
|
|
544
544
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
545
545
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -806,8 +806,8 @@ type VirtualTable = z.infer<typeof VirtualTable>;
|
|
|
806
806
|
declare const VirtualTableCompact: z.ZodObject<{
|
|
807
807
|
type: z.ZodEnum<{
|
|
808
808
|
metric: "metric";
|
|
809
|
-
question: "question";
|
|
810
809
|
model: "model";
|
|
810
|
+
question: "question";
|
|
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,6 +907,7 @@ declare const VirtualTableCompact: z.ZodObject<{
|
|
|
908
907
|
"type/ZipCode": "type/ZipCode";
|
|
909
908
|
}>;
|
|
910
909
|
}, z.core.$loose>], null>]>;
|
|
910
|
+
name: z.ZodString;
|
|
911
911
|
display_name: z.ZodString;
|
|
912
912
|
table_id: z.ZodString;
|
|
913
913
|
base_type: z.ZodEnum<{
|
|
@@ -1075,10 +1075,10 @@ 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
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1082
1082
|
display_name: z.ZodString;
|
|
1083
1083
|
db_id: z.ZodNumber;
|
|
1084
1084
|
schema: z.ZodNullable<z.ZodString>;
|
|
@@ -2063,18 +2063,18 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2063
2063
|
description: z.ZodNullable<z.ZodString>;
|
|
2064
2064
|
type: z.ZodEnum<{
|
|
2065
2065
|
metric: "metric";
|
|
2066
|
-
question: "question";
|
|
2067
2066
|
model: "model";
|
|
2067
|
+
question: "question";
|
|
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
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2078
2078
|
display_name: z.ZodString;
|
|
2079
2079
|
db_id: z.ZodNumber;
|
|
2080
2080
|
schema: z.ZodNullable<z.ZodString>;
|
|
@@ -2713,8 +2713,8 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2713
2713
|
description: z.ZodNullable<z.ZodString>;
|
|
2714
2714
|
type: z.ZodEnum<{
|
|
2715
2715
|
metric: "metric";
|
|
2716
|
-
question: "question";
|
|
2717
2716
|
model: "model";
|
|
2717
|
+
question: "question";
|
|
2718
2718
|
}>;
|
|
2719
2719
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
2720
2720
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -3294,13 +3294,13 @@ 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;
|
|
@@ -3322,8 +3322,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3322
3322
|
}>>;
|
|
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
3328
|
display_name: z.ZodString;
|
|
3329
3329
|
table_id: z.ZodNumber;
|
|
@@ -3492,8 +3492,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3492
3492
|
}, z.core.$strip>, z.ZodObject<{
|
|
3493
3493
|
type: z.ZodEnum<{
|
|
3494
3494
|
metric: "metric";
|
|
3495
|
-
question: "question";
|
|
3496
3495
|
model: "model";
|
|
3496
|
+
question: "question";
|
|
3497
3497
|
}>;
|
|
3498
3498
|
id: z.ZodString;
|
|
3499
3499
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -3503,8 +3503,8 @@ 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;
|
|
@@ -3526,8 +3526,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3526
3526
|
}>>;
|
|
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
3532
|
display_name: z.ZodString;
|
|
3533
3533
|
table_id: z.ZodNumber;
|
|
@@ -3696,8 +3696,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3696
3696
|
}, z.core.$strip>, z.ZodObject<{
|
|
3697
3697
|
type: z.ZodEnum<{
|
|
3698
3698
|
metric: "metric";
|
|
3699
|
-
question: "question";
|
|
3700
3699
|
model: "model";
|
|
3700
|
+
question: "question";
|
|
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,6 +3797,7 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3798
3797
|
"type/ZipCode": "type/ZipCode";
|
|
3799
3798
|
}>;
|
|
3800
3799
|
}, z.core.$loose>], null>]>;
|
|
3800
|
+
name: z.ZodString;
|
|
3801
3801
|
display_name: z.ZodString;
|
|
3802
3802
|
table_id: z.ZodString;
|
|
3803
3803
|
base_type: z.ZodEnum<{
|
|
@@ -3964,8 +3964,8 @@ 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
3970
|
display_name: z.ZodString;
|
|
3971
3971
|
table_id: z.ZodNumber;
|
|
@@ -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-BsXqRujn.js";
|
|
2
|
+
import { o as CardQueryResult } from "./card-BxBzr5Uj.js";
|
|
3
|
+
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-BBNGPVec.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;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as SortDirection } from "./query-Xsin530u.js";
|
|
3
|
-
import { f as RequestOptions, h as Transport } from "./transport-E0ZaPNWJ.js";
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
|
|
4
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
5
|
-
import { n as Page, r as PaginateOptions } from "./paginate-
|
|
6
|
-
import {
|
|
3
|
+
import { n as Page, r as PaginateOptions } from "./paginate-COuL0Gzl.js";
|
|
4
|
+
import { c as CardType } from "./card-BxBzr5Uj.js";
|
|
5
|
+
import { _ as DependentsSortColumn, f as DependencyItemsSortColumn, h as DependencyType } from "./dependency-arB8Cr2H.js";
|
|
6
|
+
import { i as SortDirection } from "./query-Xsin530u.js";
|
|
7
7
|
//#region src/resources/dependency.d.ts
|
|
8
8
|
interface DependencyDependentsParams {
|
|
9
9
|
"dependent-types"?: ReadonlyArray<DependencyType> | undefined;
|
|
@@ -25,18 +25,18 @@ interface DependencyItemListParams {
|
|
|
25
25
|
}
|
|
26
26
|
type DependencyItemPageOptions = Omit<PaginateOptions, "query">;
|
|
27
27
|
declare function dependencyResource(transport: Transport): {
|
|
28
|
-
graph: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
28
|
+
graph: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, options?: RequestOptions | undefined) => Promise<{
|
|
29
29
|
[x: string]: unknown;
|
|
30
30
|
nodes: {
|
|
31
31
|
[x: string]: unknown;
|
|
32
32
|
id: number;
|
|
33
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
33
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
34
34
|
data: {
|
|
35
35
|
[x: string]: unknown;
|
|
36
36
|
name?: string | null | undefined;
|
|
37
37
|
display_name?: string | null | undefined;
|
|
38
38
|
description?: string | null | undefined;
|
|
39
|
-
type?: "metric" | "question" | "
|
|
39
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
40
40
|
display?: string | null | undefined;
|
|
41
41
|
database_id?: number | null | undefined;
|
|
42
42
|
db_id?: number | null | undefined;
|
|
@@ -75,26 +75,26 @@ declare function dependencyResource(transport: Transport): {
|
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
view_count?: number | null | undefined;
|
|
77
77
|
};
|
|
78
|
-
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "
|
|
78
|
+
dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
79
79
|
}[];
|
|
80
80
|
edges: {
|
|
81
81
|
[x: string]: unknown;
|
|
82
|
-
from_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
82
|
+
from_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
83
83
|
from_entity_id: number;
|
|
84
|
-
to_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
84
|
+
to_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
85
85
|
to_entity_id: number;
|
|
86
86
|
}[];
|
|
87
87
|
}>;
|
|
88
|
-
dependents: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
88
|
+
dependents: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, params?: DependencyDependentsParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
89
89
|
[x: string]: unknown;
|
|
90
90
|
id: number;
|
|
91
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
91
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
92
92
|
data: {
|
|
93
93
|
[x: string]: unknown;
|
|
94
94
|
name?: string | null | undefined;
|
|
95
95
|
display_name?: string | null | undefined;
|
|
96
96
|
description?: string | null | undefined;
|
|
97
|
-
type?: "metric" | "question" | "
|
|
97
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
98
98
|
display?: string | null | undefined;
|
|
99
99
|
database_id?: number | null | undefined;
|
|
100
100
|
db_id?: number | null | undefined;
|
|
@@ -133,18 +133,18 @@ declare function dependencyResource(transport: Transport): {
|
|
|
133
133
|
} | null | undefined;
|
|
134
134
|
view_count?: number | null | undefined;
|
|
135
135
|
};
|
|
136
|
-
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "
|
|
136
|
+
dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
137
137
|
}>>;
|
|
138
|
-
broken: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
138
|
+
broken: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
139
139
|
[x: string]: unknown;
|
|
140
140
|
id: number;
|
|
141
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
141
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
142
142
|
data: {
|
|
143
143
|
[x: string]: unknown;
|
|
144
144
|
name?: string | null | undefined;
|
|
145
145
|
display_name?: string | null | undefined;
|
|
146
146
|
description?: string | null | undefined;
|
|
147
|
-
type?: "metric" | "question" | "
|
|
147
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
148
148
|
display?: string | null | undefined;
|
|
149
149
|
database_id?: number | null | undefined;
|
|
150
150
|
db_id?: number | null | undefined;
|
|
@@ -187,13 +187,13 @@ declare function dependencyResource(transport: Transport): {
|
|
|
187
187
|
unreferencedPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
188
188
|
[x: string]: unknown;
|
|
189
189
|
id: number;
|
|
190
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
190
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
191
191
|
data: {
|
|
192
192
|
[x: string]: unknown;
|
|
193
193
|
name?: string | null | undefined;
|
|
194
194
|
display_name?: string | null | undefined;
|
|
195
195
|
description?: string | null | undefined;
|
|
196
|
-
type?: "metric" | "question" | "
|
|
196
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
197
197
|
display?: string | null | undefined;
|
|
198
198
|
database_id?: number | null | undefined;
|
|
199
199
|
db_id?: number | null | undefined;
|
|
@@ -232,18 +232,18 @@ declare function dependencyResource(transport: Transport): {
|
|
|
232
232
|
} | null | undefined;
|
|
233
233
|
view_count?: number | null | undefined;
|
|
234
234
|
};
|
|
235
|
-
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "
|
|
235
|
+
dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
236
236
|
}>>;
|
|
237
237
|
breakingPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
238
238
|
[x: string]: unknown;
|
|
239
239
|
id: number;
|
|
240
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
240
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
241
241
|
data: {
|
|
242
242
|
[x: string]: unknown;
|
|
243
243
|
name?: string | null | undefined;
|
|
244
244
|
display_name?: string | null | undefined;
|
|
245
245
|
description?: string | null | undefined;
|
|
246
|
-
type?: "metric" | "question" | "
|
|
246
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
247
247
|
display?: string | null | undefined;
|
|
248
248
|
database_id?: number | null | undefined;
|
|
249
249
|
db_id?: number | null | undefined;
|
|
@@ -282,15 +282,15 @@ declare function dependencyResource(transport: Transport): {
|
|
|
282
282
|
} | null | undefined;
|
|
283
283
|
view_count?: number | null | undefined;
|
|
284
284
|
};
|
|
285
|
-
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "
|
|
285
|
+
dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
286
286
|
dependents_errors?: {
|
|
287
287
|
[x: string]: unknown;
|
|
288
288
|
id: number;
|
|
289
|
-
analyzed_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "
|
|
289
|
+
analyzed_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
290
290
|
analyzed_entity_id: number;
|
|
291
291
|
error_type: "missing-column" | "missing-table-alias" | "missing-table" | "missing-card" | "duplicate-column" | "syntax-error" | "validation-exception-error";
|
|
292
292
|
error_detail?: string | null | undefined;
|
|
293
|
-
source_entity_type?: "
|
|
293
|
+
source_entity_type?: "transform" | "card" | "table" | null | undefined;
|
|
294
294
|
source_entity_id?: number | null | undefined;
|
|
295
295
|
}[] | null | undefined;
|
|
296
296
|
}>>;
|