@metabase/client 0.1.3 → 0.1.5
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 +10 -0
- package/README.md +2 -2
- package/dist/{card-DkHtPMK4.d.ts → card-B3vHu_sj.d.ts} +3 -3
- package/dist/{card-BBLDmhtp.d.ts → card-Dq_X3Ol2.d.ts} +16 -16
- package/dist/{client-eOkt3tTd.d.ts → client-DdKXWHXy.d.ts} +135 -156
- package/dist/client.d.ts +1 -1
- package/dist/client.js +3 -1
- package/dist/{collection-DWjkDrln.d.ts → collection-CHEIzIE_.d.ts} +4 -4
- package/dist/{collection-BtjnSckn.d.ts → collection-CyZqHB2n.d.ts} +23 -23
- package/dist/{dashboard-DtLXVgtf.d.ts → dashboard-5ZMYiLrS.d.ts} +28 -28
- package/dist/{dashboard-B4qWeR10.d.ts → dashboard-DSuW_p6d.d.ts} +3 -3
- package/dist/{data-action-DqwcRA7B.d.ts → data-action-DBO2a_Sf.d.ts} +2 -2
- package/dist/data-app-CeF4Tazv.d.ts +111 -0
- package/dist/{database-DULVEXki.d.ts → database-C69Mg39B.d.ts} +11 -11
- package/dist/{database-Cw8ICtQi.d.ts → database-jfZpzZcH.d.ts} +3 -3
- package/dist/{dataset-Du1GRHhd.d.ts → dataset-IbEfvqlT.d.ts} +23 -23
- package/dist/{dataset-26H-dH4N.d.ts → dataset-jwm9qB3h.d.ts} +3 -3
- package/dist/{dependency-elYkHuk5.d.ts → dependency-BDwZJL_k.d.ts} +13 -13
- package/dist/{dependency-B8aPt_IM.d.ts → dependency-BitZZ45o.d.ts} +24 -24
- package/dist/domain/card.d.ts +1 -1
- package/dist/domain/collection.d.ts +1 -1
- package/dist/domain/dashboard.d.ts +1 -1
- package/dist/domain/data-action.d.ts +1 -1
- package/dist/domain/data-app.d.ts +2 -2
- package/dist/domain/data-app.js +27 -14
- 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/eid-translation.d.ts +1 -1
- package/dist/domain/embedding.d.ts +1 -1
- package/dist/domain/field.d.ts +1 -1
- package/dist/domain/git-sync.d.ts +1 -1
- package/dist/domain/glossary.d.ts +1 -1
- package/dist/domain/library.d.ts +1 -1
- package/dist/domain/metric.d.ts +1 -1
- package/dist/domain/moderation-review.d.ts +1 -1
- package/dist/domain/notification.d.ts +1 -1
- package/dist/domain/parameter.d.ts +1 -1
- package/dist/domain/pulse.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-dag-run.d.ts +1 -1
- package/dist/domain/transform-inspector.d.ts +1 -1
- package/dist/domain/transform-job.d.ts +1 -1
- package/dist/domain/transform-python.d.ts +1 -1
- package/dist/domain/transform-test.d.ts +2 -2
- package/dist/domain/transform-test.js +5 -1
- package/dist/domain/transform.d.ts +1 -1
- package/dist/{eid-translation-CP79Tz71.d.ts → eid-translation-nuhr8St2.d.ts} +10 -10
- package/dist/{embedding-oU3gqfgX.d.ts → embedding-Cz3RUJYf.d.ts} +1 -1
- package/dist/{erd-D2fpjDTj.d.ts → erd-DqG1DNRX.d.ts} +1 -1
- package/dist/{errors-DdMlaXqq.js → errors-D5mjCJCW.js} +12 -4
- package/dist/errors.d.ts +1 -1
- package/dist/{features-SMSfJhB6.d.ts → features-CpR6ZyvS.d.ts} +5 -1
- package/dist/{field-D-kF3G7v.d.ts → field-BhqgbKia.d.ts} +2 -2
- package/dist/{field-awM3Y7IP.d.ts → field-D84ql2Go.d.ts} +2 -2
- package/dist/{git-sync-8Tk8TirZ.d.ts → git-sync-ClRBckWI.d.ts} +1 -1
- package/dist/{git-sync-nvbSaNfS.d.ts → git-sync-_E3O8gGu.d.ts} +6 -6
- package/dist/{glossary-CQMSJmIx.d.ts → glossary-BHhfqyvP.d.ts} +2 -2
- package/dist/{glossary-CHK3elPj.d.ts → glossary-D2Q66pW3.d.ts} +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/errors.js +1 -1
- package/dist/http/oauth.js +1 -1
- package/dist/http/transport.d.ts +1 -1
- package/dist/http/transport.js +1 -1
- package/dist/index.d.ts +38 -38
- package/dist/index.js +5 -5
- package/dist/{input-gates-DwKoTJVQ.d.ts → input-gates-DQuCzfo6.d.ts} +1 -1
- package/dist/{json-DvOVLFVY.d.ts → json-BqBfc8w1.d.ts} +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/{library-B9pEq7qP.d.ts → library-BihgcDZS.d.ts} +2 -2
- package/dist/{measure-D4ArCbsa.d.ts → measure-CO6dcDQ2.d.ts} +1 -1
- package/dist/{metric-BtEVH_Yp.d.ts → metric-DXbXFDOk.d.ts} +5 -5
- package/dist/{moderation-review-B4RUTZ6_.d.ts → moderation-review-B33XQU68.d.ts} +3 -3
- package/dist/{notification-D1MThyKE.d.ts → notification-BY2JEjKp.d.ts} +2 -2
- package/dist/{notification-BsuPAfMW.d.ts → notification-D7X382Y9.d.ts} +2 -2
- package/dist/{paginate-Du9kUbXZ.d.ts → paginate-Bgcj4F03.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{parameter-ak-J-IOj.d.ts → parameter-YAZEmuDI.d.ts} +4 -4
- package/dist/{pulse-0LG3K6qO.d.ts → pulse-DlEp937s.d.ts} +13 -13
- package/dist/{pulse-drQKS_pg.d.ts → pulse-mD_qiUho.d.ts} +2 -2
- package/dist/{refusal-B9aeHMc9.js → refusal-CvN0pxPR.js} +1 -1
- package/dist/{replacement-CyvtbxGg.d.ts → replacement-Bpn3UQWy.d.ts} +13 -13
- package/dist/{replacement-g3IKzPPj.d.ts → replacement-DIPomAwo.d.ts} +3 -3
- package/dist/{requirement-check-Nv0trVbp.d.ts → requirement-check-DH-EZ8Nx.d.ts} +2 -2
- package/dist/{requirements-Dx_ZVzl7.d.ts → requirements-CGEeSEwC.d.ts} +5 -5
- 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 +1 -1
- 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 +1 -1
- package/dist/resources/data-action.d.ts +2 -2
- package/dist/resources/data-action.js +1 -1
- package/dist/resources/data-app.d.ts +35 -52
- package/dist/resources/data-app.js +23 -38
- 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 +1 -1
- package/dist/resources/document.d.ts +2 -9
- package/dist/resources/document.js +1 -1
- package/dist/resources/eid-translation.d.ts +2 -2
- package/dist/resources/erd.d.ts +1 -1
- package/dist/resources/erd.js +1 -1
- package/dist/resources/field.d.ts +1 -1
- package/dist/resources/field.js +1 -1
- package/dist/resources/git-sync.d.ts +1 -1
- package/dist/resources/git-sync.js +2 -2
- package/dist/resources/glossary.d.ts +1 -1
- package/dist/resources/library.d.ts +1 -1
- package/dist/resources/library.js +1 -1
- package/dist/resources/measure.d.ts +1 -1
- package/dist/resources/measure.js +1 -1
- package/dist/resources/metric.d.ts +1 -1
- package/dist/resources/metric.js +1 -1
- package/dist/resources/moderation-review.d.ts +1 -1
- package/dist/resources/moderation-review.js +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/replacement.js +1 -1
- package/dist/resources/revision.d.ts +1 -1
- package/dist/resources/revision.js +1 -1
- package/dist/resources/search.d.ts +1 -1
- package/dist/resources/search.js +1 -1
- package/dist/resources/segment.d.ts +1 -1
- package/dist/resources/session.d.ts +8 -0
- package/dist/resources/session.js +14 -0
- 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/table.js +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 +2 -2
- package/dist/resources/transform-dag-run.js +1 -1
- package/dist/resources/transform-inspector.d.ts +2 -2
- package/dist/resources/transform-inspector.js +1 -1
- package/dist/resources/transform-job.d.ts +1 -1
- package/dist/resources/transform-job.js +1 -1
- package/dist/resources/transform-python.d.ts +1 -1
- package/dist/resources/transform-python.js +1 -1
- package/dist/resources/transform-tag.d.ts +1 -1
- package/dist/resources/transform-tag.js +1 -1
- package/dist/resources/transform-test.d.ts +1 -1
- package/dist/resources/transform-test.js +1 -1
- package/dist/resources/transform.d.ts +1 -1
- package/dist/resources/transform.js +1 -1
- package/dist/resources/upload.d.ts +1 -1
- package/dist/resources/user.d.ts +1 -1
- package/dist/{revision-Cft5Lcev.d.ts → revision-C3d3H6M1.d.ts} +1 -1
- package/dist/{search-DX1IVRRC.d.ts → search-CcMYvNrg.d.ts} +2 -2
- package/dist/{search-BUr4r7d2.d.ts → search-VlZ0qE4k.d.ts} +9 -9
- package/dist/{segment-c2EDEJNd.d.ts → segment-vL_lWbxX.d.ts} +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{snippet-CSt-f812.d.ts → snippet-CR3Qw7Vj.d.ts} +1 -1
- package/dist/{table-R-q8w__K.d.ts → table-CYBfgiXd.d.ts} +21 -21
- package/dist/{table-BA-k8Zgt.d.ts → table-MNH1ybH1.d.ts} +10 -10
- package/dist/{timeline-B35sx1FM.d.ts → timeline-BdF_aI5F.d.ts} +1 -1
- package/dist/{timeline-D3Clk0_n.d.ts → timeline-DR-yCbB2.d.ts} +2 -2
- package/dist/{transform-C5thnJwW.d.ts → transform-DXcm0NVR.d.ts} +15 -15
- package/dist/{transform-DzgPup_a.d.ts → transform-Dh1ZDOJ7.d.ts} +12 -12
- 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-DMXcBC0h.d.ts} +3 -3
- package/dist/{transform-job-D8jTQtdX.d.ts → transform-job-DHAQGfWg.d.ts} +4 -4
- package/dist/{transform-job-DtLWrsyH.d.ts → transform-job-DzP5HoUy.d.ts} +6 -6
- package/dist/{transform-python-DtL3xxMj.d.ts → transform-python-igNhtjTv.d.ts} +1 -1
- package/dist/{transform-test-B_HR-yKA.d.ts → transform-test-CPlCdxNq.d.ts} +2 -2
- package/dist/{transform-test-CeMzDpUC.d.ts → transform-test-DpTJm7H7.d.ts} +3 -2
- package/dist/{transport-HP7cyo9N.js → transport-D52WFGBR.js} +1 -1
- package/dist/{transport-CyHAGDqx.d.ts → transport-DZjspEuv.d.ts} +7 -3
- package/dist/{upload-BSixoElJ.d.ts → upload-B3qYWIWN.d.ts} +1 -1
- package/dist/version/capability-error.d.ts +1 -1
- package/dist/version/capability-error.js +1 -1
- package/dist/version/features.d.ts +1 -1
- package/dist/version/features.js +1 -0
- package/dist/version/input-gates.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/dist/version/requirements.d.ts +1 -1
- package/dist/version/requirements.js +4 -4
- package/package.json +1 -1
- package/dist/data-app-CqP5_fpB.d.ts +0 -76
|
@@ -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
|
-
collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
10
|
query: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnknown>]>;
|
|
11
|
+
collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
params: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
type CompiledQueryCompact = z.infer<typeof CompiledQueryCompact>;
|
|
@@ -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
|
-
model: "model";
|
|
542
541
|
question: "question";
|
|
542
|
+
model: "model";
|
|
543
543
|
}>;
|
|
544
544
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
545
545
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -806,14 +806,14 @@ type VirtualTable = z.infer<typeof VirtualTable>;
|
|
|
806
806
|
declare const VirtualTableCompact: z.ZodObject<{
|
|
807
807
|
type: z.ZodEnum<{
|
|
808
808
|
metric: "metric";
|
|
809
|
-
model: "model";
|
|
810
809
|
question: "question";
|
|
810
|
+
model: "model";
|
|
811
811
|
}>;
|
|
812
812
|
id: z.ZodString;
|
|
813
813
|
description: z.ZodNullable<z.ZodString>;
|
|
814
814
|
display_name: z.ZodString;
|
|
815
|
-
db_id: z.ZodNumber;
|
|
816
815
|
schema: z.ZodString;
|
|
816
|
+
db_id: z.ZodNumber;
|
|
817
817
|
fields: z.ZodArray<z.ZodObject<{
|
|
818
818
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodLiteral<"field">, z.ZodString, z.ZodObject<{
|
|
819
819
|
"base-type": z.ZodEnum<{
|
|
@@ -1079,14 +1079,15 @@ declare const QueryMetadataTable: z.ZodObject<{
|
|
|
1079
1079
|
name: z.ZodString;
|
|
1080
1080
|
description: z.ZodNullable<z.ZodString>;
|
|
1081
1081
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1082
|
+
caveats: z.ZodNullable<z.ZodString>;
|
|
1082
1083
|
display_name: z.ZodString;
|
|
1083
|
-
db_id: z.ZodNumber;
|
|
1084
1084
|
schema: z.ZodNullable<z.ZodString>;
|
|
1085
1085
|
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1086
1086
|
hidden: "hidden";
|
|
1087
1087
|
technical: "technical";
|
|
1088
1088
|
cruft: "cruft";
|
|
1089
1089
|
}>>>;
|
|
1090
|
+
db_id: z.ZodNumber;
|
|
1090
1091
|
fields: z.ZodArray<z.ZodObject<{
|
|
1091
1092
|
id: z.ZodNumber;
|
|
1092
1093
|
table_id: z.ZodNumber;
|
|
@@ -1687,8 +1688,6 @@ declare const QueryMetadataTable: z.ZodObject<{
|
|
|
1687
1688
|
position: z.ZodOptional<z.ZodNumber>;
|
|
1688
1689
|
}, z.core.$loose>>;
|
|
1689
1690
|
}, z.core.$loose>>;
|
|
1690
|
-
active: z.ZodBoolean;
|
|
1691
|
-
caveats: z.ZodNullable<z.ZodString>;
|
|
1692
1691
|
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
1693
1692
|
"entity/GenericTable": "entity/GenericTable";
|
|
1694
1693
|
"entity/UserTable": "entity/UserTable";
|
|
@@ -1699,15 +1698,16 @@ declare const QueryMetadataTable: z.ZodObject<{
|
|
|
1699
1698
|
"entity/EventTable": "entity/EventTable";
|
|
1700
1699
|
}>>;
|
|
1701
1700
|
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
1702
|
-
internal: "internal";
|
|
1703
1701
|
hidden: "hidden";
|
|
1704
1702
|
final: "final";
|
|
1703
|
+
internal: "internal";
|
|
1705
1704
|
gold: "gold";
|
|
1706
1705
|
silver: "silver";
|
|
1707
1706
|
bronze: "bronze";
|
|
1708
1707
|
copper: "copper";
|
|
1709
1708
|
}>>;
|
|
1710
1709
|
estimated_row_count: z.ZodNullable<z.ZodNumber>;
|
|
1710
|
+
active: z.ZodBoolean;
|
|
1711
1711
|
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
1712
1712
|
}, z.core.$loose>;
|
|
1713
1713
|
type QueryMetadataTable = z.infer<typeof QueryMetadataTable>;
|
|
@@ -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";
|
|
@@ -2063,8 +2063,8 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2063
2063
|
description: z.ZodNullable<z.ZodString>;
|
|
2064
2064
|
type: z.ZodEnum<{
|
|
2065
2065
|
metric: "metric";
|
|
2066
|
-
model: "model";
|
|
2067
2066
|
question: "question";
|
|
2067
|
+
model: "model";
|
|
2068
2068
|
}>;
|
|
2069
2069
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
2070
2070
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -2075,14 +2075,15 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2075
2075
|
name: z.ZodString;
|
|
2076
2076
|
description: z.ZodNullable<z.ZodString>;
|
|
2077
2077
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2078
|
+
caveats: z.ZodNullable<z.ZodString>;
|
|
2078
2079
|
display_name: z.ZodString;
|
|
2079
|
-
db_id: z.ZodNumber;
|
|
2080
2080
|
schema: z.ZodNullable<z.ZodString>;
|
|
2081
2081
|
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2082
2082
|
hidden: "hidden";
|
|
2083
2083
|
technical: "technical";
|
|
2084
2084
|
cruft: "cruft";
|
|
2085
2085
|
}>>>;
|
|
2086
|
+
db_id: z.ZodNumber;
|
|
2086
2087
|
fields: z.ZodArray<z.ZodObject<{
|
|
2087
2088
|
id: z.ZodNumber;
|
|
2088
2089
|
table_id: z.ZodNumber;
|
|
@@ -2683,8 +2684,6 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2683
2684
|
position: z.ZodOptional<z.ZodNumber>;
|
|
2684
2685
|
}, z.core.$loose>>;
|
|
2685
2686
|
}, z.core.$loose>>;
|
|
2686
|
-
active: z.ZodBoolean;
|
|
2687
|
-
caveats: z.ZodNullable<z.ZodString>;
|
|
2688
2687
|
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
2689
2688
|
"entity/GenericTable": "entity/GenericTable";
|
|
2690
2689
|
"entity/UserTable": "entity/UserTable";
|
|
@@ -2695,15 +2694,16 @@ declare const QueryMetadata: z.ZodObject<{
|
|
|
2695
2694
|
"entity/EventTable": "entity/EventTable";
|
|
2696
2695
|
}>>;
|
|
2697
2696
|
data_layer: z.ZodNullable<z.ZodEnum<{
|
|
2698
|
-
internal: "internal";
|
|
2699
2697
|
hidden: "hidden";
|
|
2700
2698
|
final: "final";
|
|
2699
|
+
internal: "internal";
|
|
2701
2700
|
gold: "gold";
|
|
2702
2701
|
silver: "silver";
|
|
2703
2702
|
bronze: "bronze";
|
|
2704
2703
|
copper: "copper";
|
|
2705
2704
|
}>>;
|
|
2706
2705
|
estimated_row_count: z.ZodNullable<z.ZodNumber>;
|
|
2706
|
+
active: z.ZodBoolean;
|
|
2707
2707
|
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
2708
2708
|
}, z.core.$loose>, z.ZodObject<{
|
|
2709
2709
|
id: 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
|
-
model: "model";
|
|
2717
2716
|
question: "question";
|
|
2717
|
+
model: "model";
|
|
2718
2718
|
}>;
|
|
2719
2719
|
moderated_status: z.ZodNullable<z.ZodString>;
|
|
2720
2720
|
entity_id: z.ZodNullable<z.ZodString>;
|
|
@@ -3303,14 +3303,13 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3303
3303
|
name: z.ZodString;
|
|
3304
3304
|
description: z.ZodNullable<z.ZodString>;
|
|
3305
3305
|
display_name: z.ZodString;
|
|
3306
|
-
db_id: z.ZodNumber;
|
|
3307
3306
|
schema: z.ZodNullable<z.ZodString>;
|
|
3308
3307
|
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3309
3308
|
hidden: "hidden";
|
|
3310
3309
|
technical: "technical";
|
|
3311
3310
|
cruft: "cruft";
|
|
3312
3311
|
}>>>;
|
|
3313
|
-
|
|
3312
|
+
db_id: z.ZodNumber;
|
|
3314
3313
|
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
3315
3314
|
"entity/GenericTable": "entity/GenericTable";
|
|
3316
3315
|
"entity/UserTable": "entity/UserTable";
|
|
@@ -3320,6 +3319,7 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3320
3319
|
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
3321
3320
|
"entity/EventTable": "entity/EventTable";
|
|
3322
3321
|
}>>;
|
|
3322
|
+
active: z.ZodBoolean;
|
|
3323
3323
|
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
3324
3324
|
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3325
3325
|
id: z.ZodNumber;
|
|
@@ -3492,14 +3492,14 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3492
3492
|
}, z.core.$strip>, z.ZodObject<{
|
|
3493
3493
|
type: z.ZodEnum<{
|
|
3494
3494
|
metric: "metric";
|
|
3495
|
-
model: "model";
|
|
3496
3495
|
question: "question";
|
|
3496
|
+
model: "model";
|
|
3497
3497
|
}>;
|
|
3498
3498
|
id: z.ZodString;
|
|
3499
3499
|
description: z.ZodNullable<z.ZodString>;
|
|
3500
3500
|
display_name: z.ZodString;
|
|
3501
|
-
db_id: z.ZodNumber;
|
|
3502
3501
|
schema: z.ZodString;
|
|
3502
|
+
db_id: z.ZodNumber;
|
|
3503
3503
|
}, z.core.$strip>]>>>;
|
|
3504
3504
|
}, z.core.$strip>>;
|
|
3505
3505
|
tables: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -3507,14 +3507,13 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3507
3507
|
name: z.ZodString;
|
|
3508
3508
|
description: z.ZodNullable<z.ZodString>;
|
|
3509
3509
|
display_name: z.ZodString;
|
|
3510
|
-
db_id: z.ZodNumber;
|
|
3511
3510
|
schema: z.ZodNullable<z.ZodString>;
|
|
3512
3511
|
visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3513
3512
|
hidden: "hidden";
|
|
3514
3513
|
technical: "technical";
|
|
3515
3514
|
cruft: "cruft";
|
|
3516
3515
|
}>>>;
|
|
3517
|
-
|
|
3516
|
+
db_id: z.ZodNumber;
|
|
3518
3517
|
entity_type: z.ZodNullable<z.ZodEnum<{
|
|
3519
3518
|
"entity/GenericTable": "entity/GenericTable";
|
|
3520
3519
|
"entity/UserTable": "entity/UserTable";
|
|
@@ -3524,6 +3523,7 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3524
3523
|
"entity/SubscriptionTable": "entity/SubscriptionTable";
|
|
3525
3524
|
"entity/EventTable": "entity/EventTable";
|
|
3526
3525
|
}>>;
|
|
3526
|
+
active: z.ZodBoolean;
|
|
3527
3527
|
is_published: z.ZodOptional<z.ZodBoolean>;
|
|
3528
3528
|
fields: z.ZodArray<z.ZodObject<{
|
|
3529
3529
|
id: z.ZodNumber;
|
|
@@ -3696,14 +3696,14 @@ declare const QueryMetadataCompact: z.ZodObject<{
|
|
|
3696
3696
|
}, z.core.$strip>, z.ZodObject<{
|
|
3697
3697
|
type: z.ZodEnum<{
|
|
3698
3698
|
metric: "metric";
|
|
3699
|
-
model: "model";
|
|
3700
3699
|
question: "question";
|
|
3700
|
+
model: "model";
|
|
3701
3701
|
}>;
|
|
3702
3702
|
id: z.ZodString;
|
|
3703
3703
|
description: z.ZodNullable<z.ZodString>;
|
|
3704
3704
|
display_name: z.ZodString;
|
|
3705
|
-
db_id: z.ZodNumber;
|
|
3706
3705
|
schema: z.ZodString;
|
|
3706
|
+
db_id: z.ZodNumber;
|
|
3707
3707
|
fields: z.ZodArray<z.ZodObject<{
|
|
3708
3708
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodLiteral<"field">, z.ZodString, z.ZodObject<{
|
|
3709
3709
|
"base-type": z.ZodEnum<{
|
|
@@ -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-DZjspEuv.js";
|
|
2
|
+
import { o as CardQueryResult } from "./card-Dq_X3Ol2.js";
|
|
3
|
+
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-IbEfvqlT.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 {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-DZjspEuv.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 CardType } from "./card-
|
|
5
|
-
import { _ as DependentsSortColumn, f as DependencyItemsSortColumn, h as DependencyType } from "./dependency-
|
|
3
|
+
import { n as Page, r as PaginateOptions } from "./paginate-Bgcj4F03.js";
|
|
4
|
+
import { c as CardType } from "./card-Dq_X3Ol2.js";
|
|
5
|
+
import { _ as DependentsSortColumn, f as DependencyItemsSortColumn, h as DependencyType } from "./dependency-BitZZ45o.js";
|
|
6
6
|
import { i as SortDirection } from "./query-Xsin530u.js";
|
|
7
7
|
//#region src/resources/dependency.d.ts
|
|
8
8
|
interface DependencyDependentsParams {
|
|
@@ -36,7 +36,7 @@ declare function dependencyResource(transport: Transport): {
|
|
|
36
36
|
name?: string | null | undefined;
|
|
37
37
|
display_name?: string | null | undefined;
|
|
38
38
|
description?: string | null | undefined;
|
|
39
|
-
type?: "query" | "metric" | "
|
|
39
|
+
type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
|
|
40
40
|
display?: string | null | undefined;
|
|
41
41
|
database_id?: number | null | undefined;
|
|
42
42
|
db_id?: number | null | undefined;
|
|
@@ -75,7 +75,7 @@ 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" | "transform" | "
|
|
78
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "question" | "model" | "action" | "sandbox", number>> | null;
|
|
79
79
|
}[];
|
|
80
80
|
edges: {
|
|
81
81
|
[x: string]: unknown;
|
|
@@ -94,7 +94,7 @@ declare function dependencyResource(transport: Transport): {
|
|
|
94
94
|
name?: string | null | undefined;
|
|
95
95
|
display_name?: string | null | undefined;
|
|
96
96
|
description?: string | null | undefined;
|
|
97
|
-
type?: "query" | "metric" | "
|
|
97
|
+
type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
|
|
98
98
|
display?: string | null | undefined;
|
|
99
99
|
database_id?: number | null | undefined;
|
|
100
100
|
db_id?: number | null | undefined;
|
|
@@ -133,7 +133,7 @@ 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" | "transform" | "
|
|
136
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "question" | "model" | "action" | "sandbox", number>> | null;
|
|
137
137
|
}>>;
|
|
138
138
|
broken: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
139
139
|
[x: string]: unknown;
|
|
@@ -144,7 +144,7 @@ declare function dependencyResource(transport: Transport): {
|
|
|
144
144
|
name?: string | null | undefined;
|
|
145
145
|
display_name?: string | null | undefined;
|
|
146
146
|
description?: string | null | undefined;
|
|
147
|
-
type?: "query" | "metric" | "
|
|
147
|
+
type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
|
|
148
148
|
display?: string | null | undefined;
|
|
149
149
|
database_id?: number | null | undefined;
|
|
150
150
|
db_id?: number | null | undefined;
|
|
@@ -193,7 +193,7 @@ declare function dependencyResource(transport: Transport): {
|
|
|
193
193
|
name?: string | null | undefined;
|
|
194
194
|
display_name?: string | null | undefined;
|
|
195
195
|
description?: string | null | undefined;
|
|
196
|
-
type?: "query" | "metric" | "
|
|
196
|
+
type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
|
|
197
197
|
display?: string | null | undefined;
|
|
198
198
|
database_id?: number | null | undefined;
|
|
199
199
|
db_id?: number | null | undefined;
|
|
@@ -232,7 +232,7 @@ 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" | "transform" | "
|
|
235
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "question" | "model" | "action" | "sandbox", number>> | null;
|
|
236
236
|
}>>;
|
|
237
237
|
breakingPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
238
238
|
[x: string]: unknown;
|
|
@@ -243,7 +243,7 @@ declare function dependencyResource(transport: Transport): {
|
|
|
243
243
|
name?: string | null | undefined;
|
|
244
244
|
display_name?: string | null | undefined;
|
|
245
245
|
description?: string | null | undefined;
|
|
246
|
-
type?: "query" | "metric" | "
|
|
246
|
+
type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
|
|
247
247
|
display?: string | null | undefined;
|
|
248
248
|
database_id?: number | null | undefined;
|
|
249
249
|
db_id?: number | null | undefined;
|
|
@@ -282,7 +282,7 @@ 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" | "transform" | "
|
|
285
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "question" | "model" | "action" | "sandbox", number>> | null;
|
|
286
286
|
dependents_errors?: {
|
|
287
287
|
[x: string]: unknown;
|
|
288
288
|
id: number;
|
|
@@ -22,10 +22,10 @@ declare const DependencyUsageType: z.ZodEnum<{
|
|
|
22
22
|
snippet: "snippet";
|
|
23
23
|
table: "table";
|
|
24
24
|
transform: "transform";
|
|
25
|
+
question: "question";
|
|
25
26
|
model: "model";
|
|
26
27
|
action: "action";
|
|
27
28
|
sandbox: "sandbox";
|
|
28
|
-
question: "question";
|
|
29
29
|
}>;
|
|
30
30
|
type DependencyUsageType = z.infer<typeof DependencyUsageType>;
|
|
31
31
|
declare const DependencyFindingErrorType: z.ZodEnum<{
|
|
@@ -63,8 +63,8 @@ declare const DependencyEntityData: z.ZodObject<{
|
|
|
63
63
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
64
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
65
65
|
metric: "metric";
|
|
66
|
-
model: "model";
|
|
67
66
|
question: "question";
|
|
67
|
+
model: "model";
|
|
68
68
|
}>, z.ZodEnum<{
|
|
69
69
|
query: "query";
|
|
70
70
|
implicit: "implicit";
|
|
@@ -125,8 +125,8 @@ declare const DependencyEntity: z.ZodObject<{
|
|
|
125
125
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
126
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
127
127
|
metric: "metric";
|
|
128
|
-
model: "model";
|
|
129
128
|
question: "question";
|
|
129
|
+
model: "model";
|
|
130
130
|
}>, z.ZodEnum<{
|
|
131
131
|
query: "query";
|
|
132
132
|
implicit: "implicit";
|
|
@@ -185,8 +185,8 @@ declare const DependencyEntityCompact: z.ZodObject<{
|
|
|
185
185
|
data: z.ZodObject<{
|
|
186
186
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
187
187
|
metric: "metric";
|
|
188
|
-
model: "model";
|
|
189
188
|
question: "question";
|
|
189
|
+
model: "model";
|
|
190
190
|
}>, z.ZodEnum<{
|
|
191
191
|
query: "query";
|
|
192
192
|
implicit: "implicit";
|
|
@@ -194,12 +194,12 @@ declare const DependencyEntityCompact: z.ZodObject<{
|
|
|
194
194
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
195
195
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
196
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
197
|
-
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
198
197
|
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
198
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
199
199
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
200
200
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
|
-
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
202
201
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
|
+
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
203
203
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
204
204
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
205
205
|
db: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -250,8 +250,8 @@ declare const DependencyNode: z.ZodObject<{
|
|
|
250
250
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
251
251
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
252
252
|
metric: "metric";
|
|
253
|
-
model: "model";
|
|
254
253
|
question: "question";
|
|
254
|
+
model: "model";
|
|
255
255
|
}>, z.ZodEnum<{
|
|
256
256
|
query: "query";
|
|
257
257
|
implicit: "implicit";
|
|
@@ -300,10 +300,10 @@ declare const DependencyNode: z.ZodObject<{
|
|
|
300
300
|
snippet: "snippet";
|
|
301
301
|
table: "table";
|
|
302
302
|
transform: "transform";
|
|
303
|
+
question: "question";
|
|
303
304
|
model: "model";
|
|
304
305
|
action: "action";
|
|
305
306
|
sandbox: "sandbox";
|
|
306
|
-
question: "question";
|
|
307
307
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
308
308
|
}, z.core.$loose>;
|
|
309
309
|
type DependencyNode = z.infer<typeof DependencyNode>;
|
|
@@ -324,8 +324,8 @@ declare const DependencyNodeCompact: z.ZodObject<{
|
|
|
324
324
|
data: z.ZodObject<{
|
|
325
325
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
326
326
|
metric: "metric";
|
|
327
|
-
model: "model";
|
|
328
327
|
question: "question";
|
|
328
|
+
model: "model";
|
|
329
329
|
}>, z.ZodEnum<{
|
|
330
330
|
query: "query";
|
|
331
331
|
implicit: "implicit";
|
|
@@ -333,12 +333,12 @@ declare const DependencyNodeCompact: z.ZodObject<{
|
|
|
333
333
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
334
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
335
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
336
|
-
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
337
336
|
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
337
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
338
338
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
339
339
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
340
|
-
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
341
340
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
341
|
+
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
342
342
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
343
343
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
344
344
|
db: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -376,10 +376,10 @@ declare const DependencyNodeCompact: z.ZodObject<{
|
|
|
376
376
|
snippet: "snippet";
|
|
377
377
|
table: "table";
|
|
378
378
|
transform: "transform";
|
|
379
|
+
question: "question";
|
|
379
380
|
model: "model";
|
|
380
381
|
action: "action";
|
|
381
382
|
sandbox: "sandbox";
|
|
382
|
-
question: "question";
|
|
383
383
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
384
384
|
}, z.core.$strip>;
|
|
385
385
|
type DependencyNodeCompact = z.infer<typeof DependencyNodeCompact>;
|
|
@@ -436,8 +436,8 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
436
436
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
437
437
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
438
438
|
metric: "metric";
|
|
439
|
-
model: "model";
|
|
440
439
|
question: "question";
|
|
440
|
+
model: "model";
|
|
441
441
|
}>, z.ZodEnum<{
|
|
442
442
|
query: "query";
|
|
443
443
|
implicit: "implicit";
|
|
@@ -486,10 +486,10 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
486
486
|
snippet: "snippet";
|
|
487
487
|
table: "table";
|
|
488
488
|
transform: "transform";
|
|
489
|
+
question: "question";
|
|
489
490
|
model: "model";
|
|
490
491
|
action: "action";
|
|
491
492
|
sandbox: "sandbox";
|
|
492
|
-
question: "question";
|
|
493
493
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
494
494
|
dependents_errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
495
495
|
id: z.ZodNumber;
|
|
@@ -542,8 +542,8 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
542
542
|
data: z.ZodObject<{
|
|
543
543
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
544
544
|
metric: "metric";
|
|
545
|
-
model: "model";
|
|
546
545
|
question: "question";
|
|
546
|
+
model: "model";
|
|
547
547
|
}>, z.ZodEnum<{
|
|
548
548
|
query: "query";
|
|
549
549
|
implicit: "implicit";
|
|
@@ -551,12 +551,12 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
551
551
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
552
552
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
553
553
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
554
|
-
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
555
554
|
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
555
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
556
556
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
557
557
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
558
|
-
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
559
558
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
559
|
+
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
560
560
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
561
561
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
562
562
|
db: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -594,10 +594,10 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
594
594
|
snippet: "snippet";
|
|
595
595
|
table: "table";
|
|
596
596
|
transform: "transform";
|
|
597
|
+
question: "question";
|
|
597
598
|
model: "model";
|
|
598
599
|
action: "action";
|
|
599
600
|
sandbox: "sandbox";
|
|
600
|
-
question: "question";
|
|
601
601
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
602
602
|
dependents_errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
603
603
|
id: z.ZodNumber;
|
|
@@ -683,8 +683,8 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
683
683
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
684
684
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
685
685
|
metric: "metric";
|
|
686
|
-
model: "model";
|
|
687
686
|
question: "question";
|
|
687
|
+
model: "model";
|
|
688
688
|
}>, z.ZodEnum<{
|
|
689
689
|
query: "query";
|
|
690
690
|
implicit: "implicit";
|
|
@@ -733,10 +733,10 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
733
733
|
snippet: "snippet";
|
|
734
734
|
table: "table";
|
|
735
735
|
transform: "transform";
|
|
736
|
+
question: "question";
|
|
736
737
|
model: "model";
|
|
737
738
|
action: "action";
|
|
738
739
|
sandbox: "sandbox";
|
|
739
|
-
question: "question";
|
|
740
740
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
741
741
|
}, z.core.$loose>>;
|
|
742
742
|
edges: z.ZodArray<z.ZodObject<{
|
|
@@ -815,8 +815,8 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
815
815
|
data: z.ZodObject<{
|
|
816
816
|
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
817
817
|
metric: "metric";
|
|
818
|
-
model: "model";
|
|
819
818
|
question: "question";
|
|
819
|
+
model: "model";
|
|
820
820
|
}>, z.ZodEnum<{
|
|
821
821
|
query: "query";
|
|
822
822
|
implicit: "implicit";
|
|
@@ -824,12 +824,12 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
824
824
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
825
825
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
826
826
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
827
|
-
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
828
827
|
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
828
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
829
829
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
830
830
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
831
|
-
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
832
831
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
832
|
+
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
833
833
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
834
834
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
835
835
|
db: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -867,10 +867,10 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
867
867
|
snippet: "snippet";
|
|
868
868
|
table: "table";
|
|
869
869
|
transform: "transform";
|
|
870
|
+
question: "question";
|
|
870
871
|
model: "model";
|
|
871
872
|
action: "action";
|
|
872
873
|
sandbox: "sandbox";
|
|
873
|
-
question: "question";
|
|
874
874
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
875
875
|
}, z.core.$strip>>;
|
|
876
876
|
}, z.core.$strip>;
|
package/dist/domain/card.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CardListFilter, c as CardType, i as CardDetail, l as CardUpdateInput, n as CardCompact, o as CardQueryResult, r as CardCreateInput, s as CardQueryResultCompact, t as Card, u as ResultColumn } from "../card-
|
|
1
|
+
import { a as CardListFilter, c as CardType, i as CardDetail, l as CardUpdateInput, n as CardCompact, o as CardQueryResult, r as CardCreateInput, s as CardQueryResultCompact, t as Card, u as ResultColumn } from "../card-Dq_X3Ol2.js";
|
|
2
2
|
export { Card, CardCompact, CardCreateInput, CardDetail, CardListFilter, CardQueryResult, CardQueryResultCompact, CardType, CardUpdateInput, ResultColumn };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as CollectionType, a as CollectionAuthorityLevel, c as CollectionId, d as CollectionItemFilterModel, f as CollectionItemModel, g as CollectionTreeNode, h as CollectionPinnedState, i as Collection, l as CollectionItem, m as CollectionNamespace, n as COLLECTION_ITEM_MODELS, o as CollectionCompact, p as CollectionListFilter, r as COLLECTION_PINNED_STATES, s as CollectionCreateInput, t as COLLECTION_ITEM_FILTER_MODELS, u as CollectionItemCompact, v as CollectionUpdateInput } from "../collection-
|
|
1
|
+
import { _ as CollectionType, a as CollectionAuthorityLevel, c as CollectionId, d as CollectionItemFilterModel, f as CollectionItemModel, g as CollectionTreeNode, h as CollectionPinnedState, i as Collection, l as CollectionItem, m as CollectionNamespace, n as COLLECTION_ITEM_MODELS, o as CollectionCompact, p as CollectionListFilter, r as COLLECTION_PINNED_STATES, s as CollectionCreateInput, t as COLLECTION_ITEM_FILTER_MODELS, u as CollectionItemCompact, v as CollectionUpdateInput } from "../collection-CyZqHB2n.js";
|
|
2
2
|
export { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_ITEM_MODELS, COLLECTION_PINNED_STATES, Collection, CollectionAuthorityLevel, CollectionCompact, CollectionCreateInput, CollectionId, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionItemModel, CollectionListFilter, CollectionNamespace, CollectionPinnedState, CollectionTreeNode, CollectionType, CollectionUpdateInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as dashboardDetailSchema, _ as DashcardDetail, a as DashboardCopyInput, b as DashcardVisualizationSettings, c as DashboardLayoutInput, d as DashboardTab, f as DashboardTabCompact, g as DashcardCompact, h as Dashcard, i as DashboardCopyCompact, l as DashboardListFilter, m as DashboardUpdateInput, n as DashboardCompact, o as DashboardCreateInput, p as DashboardUncopiedCard, r as DashboardCopy, s as DashboardDetail, t as Dashboard, u as DashboardParameterConstraints, v as DashcardPatchInput, x as UnreadableCard, y as DashcardVirtualCard } from "../dashboard-
|
|
1
|
+
import { S as dashboardDetailSchema, _ as DashcardDetail, a as DashboardCopyInput, b as DashcardVisualizationSettings, c as DashboardLayoutInput, d as DashboardTab, f as DashboardTabCompact, g as DashcardCompact, h as Dashcard, i as DashboardCopyCompact, l as DashboardListFilter, m as DashboardUpdateInput, n as DashboardCompact, o as DashboardCreateInput, p as DashboardUncopiedCard, r as DashboardCopy, s as DashboardDetail, t as Dashboard, u as DashboardParameterConstraints, v as DashcardPatchInput, x as UnreadableCard, y as DashcardVirtualCard } from "../dashboard-5ZMYiLrS.js";
|
|
2
2
|
export { Dashboard, DashboardCompact, DashboardCopy, DashboardCopyCompact, DashboardCopyInput, DashboardCreateInput, DashboardDetail, DashboardLayoutInput, DashboardListFilter, DashboardParameterConstraints, DashboardTab, DashboardTabCompact, DashboardUncopiedCard, DashboardUpdateInput, Dashcard, DashcardCompact, DashcardDetail, DashcardPatchInput, DashcardVirtualCard, DashcardVisualizationSettings, UnreadableCard, dashboardDetailSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DataActionCreateInput, c as DataActionParameter, d as dataActionSchema, i as DataActionCompact, l as DataActionUpdateInput, n as DATA_ACTION_TABLE_GATE, o as DataActionExecuteInput, r as DataAction, s as DataActionExecuteResult, t as DATA_ACTION_COLLECTION_GATE, u as ImplicitActionKind } from "../data-action-
|
|
1
|
+
import { a as DataActionCreateInput, c as DataActionParameter, d as dataActionSchema, i as DataActionCompact, l as DataActionUpdateInput, n as DATA_ACTION_TABLE_GATE, o as DataActionExecuteInput, r as DataAction, s as DataActionExecuteResult, t as DATA_ACTION_COLLECTION_GATE, u as ImplicitActionKind } from "../data-action-DBO2a_Sf.js";
|
|
2
2
|
export { DATA_ACTION_COLLECTION_GATE, DATA_ACTION_TABLE_GATE, DataAction, DataActionCompact, DataActionCreateInput, DataActionExecuteInput, DataActionExecuteResult, DataActionParameter, DataActionUpdateInput, ImplicitActionKind, dataActionSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { DataApp,
|
|
1
|
+
import { a as DataAppGenerateActionsInput, c as DataAppGeneratedFiles, d as DataAppSummary, f as DataAppUpdateInput, i as DataAppEntry, l as DataAppQueryDefinition, n as DataAppActionDefinition, o as DataAppGenerateQueriesInput, r as DataAppCompact, s as DataAppGeneratedFile, t as DataApp, u as DataAppSlug } from "../data-app-CeF4Tazv.js";
|
|
2
|
+
export { DataApp, DataAppActionDefinition, DataAppCompact, DataAppEntry, DataAppGenerateActionsInput, DataAppGenerateQueriesInput, DataAppGeneratedFile, DataAppGeneratedFiles, DataAppQueryDefinition, DataAppSlug, DataAppSummary, DataAppUpdateInput };
|
package/dist/domain/data-app.js
CHANGED
|
@@ -34,19 +34,32 @@ const DataAppCompact = DataApp.pick({
|
|
|
34
34
|
resource_collection_id: true,
|
|
35
35
|
outdated: true
|
|
36
36
|
});
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
37
|
+
const DataAppUpdateInput = z.object({ enabled: z.boolean() }).strict();
|
|
38
|
+
const DataAppGeneratedFile = z.object({
|
|
39
|
+
path: z.string(),
|
|
40
|
+
contents: z.string()
|
|
41
|
+
}).strict();
|
|
42
|
+
const DataAppGeneratedFiles = z.array(DataAppGeneratedFile);
|
|
43
|
+
const DataAppQueryDefinition = z.object({
|
|
44
|
+
entityId: z.string(),
|
|
45
|
+
query: z.object({ stages: z.tuple([z.object({}).loose()]) }).strict()
|
|
46
|
+
}).strict();
|
|
47
|
+
const DataAppActionDefinition = z.object({
|
|
48
|
+
entityId: z.string(),
|
|
49
|
+
kind: z.enum([
|
|
50
|
+
"row/create",
|
|
51
|
+
"row/update",
|
|
52
|
+
"row/delete"
|
|
53
|
+
]),
|
|
54
|
+
table: z.object({ id: z.number().int() }).loose()
|
|
55
|
+
}).strict();
|
|
56
|
+
const DataAppGenerateQueriesInput = z.object({
|
|
57
|
+
collection: z.string(),
|
|
58
|
+
queries: z.record(z.string(), DataAppQueryDefinition)
|
|
59
|
+
}).strict();
|
|
60
|
+
const DataAppGenerateActionsInput = z.object({
|
|
61
|
+
collection: z.string(),
|
|
62
|
+
actions: z.record(z.string(), DataAppActionDefinition)
|
|
49
63
|
}).strict();
|
|
50
|
-
const DataAppUpdateInput = z.object(DataAppFields).strict();
|
|
51
64
|
//#endregion
|
|
52
|
-
export { DataApp,
|
|
65
|
+
export { DataApp, DataAppActionDefinition, DataAppCompact, DataAppEntry, DataAppGenerateActionsInput, DataAppGenerateQueriesInput, DataAppGeneratedFile, DataAppGeneratedFiles, DataAppQueryDefinition, DataAppSlug, DataAppSummary, DataAppUpdateInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DatabaseSettings, c as DatabaseVirtualTable, d as DatabaseWithSettingsCompact, i as DatabaseListInclude, l as DatabaseVirtualTableCompact, n as DatabaseCompact, o as DatabaseSyncResult, r as DatabaseGetInclude, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "../database-
|
|
1
|
+
import { a as DatabaseSettings, c as DatabaseVirtualTable, d as DatabaseWithSettingsCompact, i as DatabaseListInclude, l as DatabaseVirtualTableCompact, n as DatabaseCompact, o as DatabaseSyncResult, r as DatabaseGetInclude, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "../database-C69Mg39B.js";
|
|
2
2
|
export { Database, DatabaseCompact, DatabaseGetInclude, DatabaseListInclude, DatabaseSettings, DatabaseSyncResult, DatabaseUpdateInput, DatabaseVirtualTable, DatabaseVirtualTableCompact, DatabaseWithSettings, DatabaseWithSettingsCompact };
|