@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
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/domain/dependency.d.ts
|
|
3
3
|
declare const DependencyType: z.ZodEnum<{
|
|
4
|
+
transform: "transform";
|
|
5
|
+
table: "table";
|
|
4
6
|
card: "card";
|
|
5
7
|
dashboard: "dashboard";
|
|
8
|
+
snippet: "snippet";
|
|
6
9
|
document: "document";
|
|
7
10
|
measure: "measure";
|
|
8
|
-
|
|
9
|
-
snippet: "snippet";
|
|
10
|
-
table: "table";
|
|
11
|
-
transform: "transform";
|
|
11
|
+
action: "action";
|
|
12
12
|
sandbox: "sandbox";
|
|
13
|
+
segment: "segment";
|
|
13
14
|
}>;
|
|
14
15
|
type DependencyType = z.infer<typeof DependencyType>;
|
|
15
16
|
declare const DependencyUsageType: z.ZodEnum<{
|
|
17
|
+
transform: "transform";
|
|
18
|
+
question: "question";
|
|
19
|
+
model: "model";
|
|
20
|
+
metric: "metric";
|
|
21
|
+
table: "table";
|
|
16
22
|
dashboard: "dashboard";
|
|
23
|
+
snippet: "snippet";
|
|
17
24
|
document: "document";
|
|
18
|
-
metric: "metric";
|
|
19
25
|
measure: "measure";
|
|
20
|
-
|
|
21
|
-
snippet: "snippet";
|
|
22
|
-
table: "table";
|
|
23
|
-
transform: "transform";
|
|
26
|
+
action: "action";
|
|
24
27
|
sandbox: "sandbox";
|
|
25
|
-
|
|
26
|
-
model: "model";
|
|
28
|
+
segment: "segment";
|
|
27
29
|
}>;
|
|
28
30
|
type DependencyUsageType = z.infer<typeof DependencyUsageType>;
|
|
29
31
|
declare const DependencyFindingErrorType: z.ZodEnum<{
|
|
@@ -37,9 +39,9 @@ declare const DependencyFindingErrorType: z.ZodEnum<{
|
|
|
37
39
|
}>;
|
|
38
40
|
type DependencyFindingErrorType = z.infer<typeof DependencyFindingErrorType>;
|
|
39
41
|
declare const DependencyErrorSourceType: z.ZodEnum<{
|
|
40
|
-
card: "card";
|
|
41
|
-
table: "table";
|
|
42
42
|
transform: "transform";
|
|
43
|
+
table: "table";
|
|
44
|
+
card: "card";
|
|
43
45
|
}>;
|
|
44
46
|
type DependencyErrorSourceType = z.infer<typeof DependencyErrorSourceType>;
|
|
45
47
|
declare const DependentsSortColumn: z.ZodEnum<{
|
|
@@ -59,11 +61,14 @@ declare const DependencyEntityData: z.ZodObject<{
|
|
|
59
61
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
62
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
63
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
63
|
-
metric: "metric";
|
|
64
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
64
65
|
question: "question";
|
|
65
66
|
model: "model";
|
|
66
|
-
|
|
67
|
+
metric: "metric";
|
|
68
|
+
}>, z.ZodEnum<{
|
|
69
|
+
query: "query";
|
|
70
|
+
implicit: "implicit";
|
|
71
|
+
}>]>>>;
|
|
67
72
|
display: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
73
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
69
74
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -103,25 +108,29 @@ type DependencyEntityData = z.infer<typeof DependencyEntityData>;
|
|
|
103
108
|
declare const DependencyEntity: z.ZodObject<{
|
|
104
109
|
id: z.ZodNumber;
|
|
105
110
|
type: z.ZodEnum<{
|
|
111
|
+
transform: "transform";
|
|
112
|
+
table: "table";
|
|
106
113
|
card: "card";
|
|
107
114
|
dashboard: "dashboard";
|
|
115
|
+
snippet: "snippet";
|
|
108
116
|
document: "document";
|
|
109
117
|
measure: "measure";
|
|
110
|
-
|
|
111
|
-
snippet: "snippet";
|
|
112
|
-
table: "table";
|
|
113
|
-
transform: "transform";
|
|
118
|
+
action: "action";
|
|
114
119
|
sandbox: "sandbox";
|
|
120
|
+
segment: "segment";
|
|
115
121
|
}>;
|
|
116
122
|
data: z.ZodObject<{
|
|
117
123
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
124
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
125
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
121
|
-
metric: "metric";
|
|
126
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
122
127
|
question: "question";
|
|
123
128
|
model: "model";
|
|
124
|
-
|
|
129
|
+
metric: "metric";
|
|
130
|
+
}>, z.ZodEnum<{
|
|
131
|
+
query: "query";
|
|
132
|
+
implicit: "implicit";
|
|
133
|
+
}>]>>>;
|
|
125
134
|
display: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
135
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
127
136
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -161,58 +170,62 @@ declare const DependencyEntity: z.ZodObject<{
|
|
|
161
170
|
type DependencyEntity = z.infer<typeof DependencyEntity>;
|
|
162
171
|
declare const DependencyEntityCompact: z.ZodObject<{
|
|
163
172
|
type: z.ZodEnum<{
|
|
173
|
+
transform: "transform";
|
|
174
|
+
table: "table";
|
|
164
175
|
card: "card";
|
|
165
176
|
dashboard: "dashboard";
|
|
177
|
+
snippet: "snippet";
|
|
166
178
|
document: "document";
|
|
167
179
|
measure: "measure";
|
|
168
|
-
|
|
169
|
-
snippet: "snippet";
|
|
170
|
-
table: "table";
|
|
171
|
-
transform: "transform";
|
|
180
|
+
action: "action";
|
|
172
181
|
sandbox: "sandbox";
|
|
182
|
+
segment: "segment";
|
|
173
183
|
}>;
|
|
174
184
|
id: z.ZodNumber;
|
|
175
185
|
data: z.ZodObject<{
|
|
176
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
177
|
-
metric: "metric";
|
|
186
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
178
187
|
question: "question";
|
|
179
188
|
model: "model";
|
|
180
|
-
|
|
189
|
+
metric: "metric";
|
|
190
|
+
}>, z.ZodEnum<{
|
|
191
|
+
query: "query";
|
|
192
|
+
implicit: "implicit";
|
|
193
|
+
}>]>>>;
|
|
181
194
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
182
|
-
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
183
|
-
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
184
195
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
185
197
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
199
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
200
|
+
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
186
201
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
187
202
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
188
|
-
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
189
203
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
190
|
-
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
191
204
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
192
205
|
db: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
193
|
-
name: z.ZodString;
|
|
194
206
|
id: z.ZodNumber;
|
|
207
|
+
name: z.ZodString;
|
|
195
208
|
}, z.core.$strip>>>;
|
|
196
209
|
table: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
197
|
-
name: z.ZodString;
|
|
198
210
|
id: z.ZodNumber;
|
|
211
|
+
name: z.ZodString;
|
|
199
212
|
display_name: z.ZodString;
|
|
200
213
|
}, z.core.$strip>>>;
|
|
201
214
|
collection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
202
|
-
name: z.ZodString;
|
|
203
215
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
216
|
+
name: z.ZodString;
|
|
217
|
+
is_personal: z.ZodOptional<z.ZodBoolean>;
|
|
204
218
|
authority_level: z.ZodNullable<z.ZodEnum<{
|
|
205
219
|
official: "official";
|
|
206
220
|
}>>;
|
|
207
|
-
is_personal: z.ZodOptional<z.ZodBoolean>;
|
|
208
221
|
}, z.core.$strip>>>;
|
|
209
222
|
dashboard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
210
|
-
name: z.ZodString;
|
|
211
223
|
id: z.ZodNumber;
|
|
224
|
+
name: z.ZodString;
|
|
212
225
|
}, z.core.$strip>>>;
|
|
213
226
|
document: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
214
|
-
name: z.ZodString;
|
|
215
227
|
id: z.ZodNumber;
|
|
228
|
+
name: z.ZodString;
|
|
216
229
|
}, z.core.$strip>>>;
|
|
217
230
|
}, z.core.$strip>;
|
|
218
231
|
}, z.core.$strip>;
|
|
@@ -220,25 +233,29 @@ type DependencyEntityCompact = z.infer<typeof DependencyEntityCompact>;
|
|
|
220
233
|
declare const DependencyNode: z.ZodObject<{
|
|
221
234
|
id: z.ZodNumber;
|
|
222
235
|
type: z.ZodEnum<{
|
|
236
|
+
transform: "transform";
|
|
237
|
+
table: "table";
|
|
223
238
|
card: "card";
|
|
224
239
|
dashboard: "dashboard";
|
|
240
|
+
snippet: "snippet";
|
|
225
241
|
document: "document";
|
|
226
242
|
measure: "measure";
|
|
227
|
-
|
|
228
|
-
snippet: "snippet";
|
|
229
|
-
table: "table";
|
|
230
|
-
transform: "transform";
|
|
243
|
+
action: "action";
|
|
231
244
|
sandbox: "sandbox";
|
|
245
|
+
segment: "segment";
|
|
232
246
|
}>;
|
|
233
247
|
data: z.ZodObject<{
|
|
234
248
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
235
249
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
250
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
238
|
-
metric: "metric";
|
|
251
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
239
252
|
question: "question";
|
|
240
253
|
model: "model";
|
|
241
|
-
|
|
254
|
+
metric: "metric";
|
|
255
|
+
}>, z.ZodEnum<{
|
|
256
|
+
query: "query";
|
|
257
|
+
implicit: "implicit";
|
|
258
|
+
}>]>>>;
|
|
242
259
|
display: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
243
260
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
244
261
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -275,103 +292,110 @@ declare const DependencyNode: z.ZodObject<{
|
|
|
275
292
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
276
293
|
}, z.core.$loose>;
|
|
277
294
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
295
|
+
transform: "transform";
|
|
296
|
+
question: "question";
|
|
297
|
+
model: "model";
|
|
298
|
+
metric: "metric";
|
|
299
|
+
table: "table";
|
|
278
300
|
dashboard: "dashboard";
|
|
301
|
+
snippet: "snippet";
|
|
279
302
|
document: "document";
|
|
280
|
-
metric: "metric";
|
|
281
303
|
measure: "measure";
|
|
282
|
-
|
|
283
|
-
snippet: "snippet";
|
|
284
|
-
table: "table";
|
|
285
|
-
transform: "transform";
|
|
304
|
+
action: "action";
|
|
286
305
|
sandbox: "sandbox";
|
|
287
|
-
|
|
288
|
-
model: "model";
|
|
306
|
+
segment: "segment";
|
|
289
307
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
290
308
|
}, z.core.$loose>;
|
|
291
309
|
type DependencyNode = z.infer<typeof DependencyNode>;
|
|
292
310
|
declare const DependencyNodeCompact: z.ZodObject<{
|
|
293
311
|
type: z.ZodEnum<{
|
|
312
|
+
transform: "transform";
|
|
313
|
+
table: "table";
|
|
294
314
|
card: "card";
|
|
295
315
|
dashboard: "dashboard";
|
|
316
|
+
snippet: "snippet";
|
|
296
317
|
document: "document";
|
|
297
318
|
measure: "measure";
|
|
298
|
-
|
|
299
|
-
snippet: "snippet";
|
|
300
|
-
table: "table";
|
|
301
|
-
transform: "transform";
|
|
319
|
+
action: "action";
|
|
302
320
|
sandbox: "sandbox";
|
|
321
|
+
segment: "segment";
|
|
303
322
|
}>;
|
|
304
323
|
id: z.ZodNumber;
|
|
305
324
|
data: z.ZodObject<{
|
|
306
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
307
|
-
metric: "metric";
|
|
325
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
308
326
|
question: "question";
|
|
309
327
|
model: "model";
|
|
310
|
-
|
|
328
|
+
metric: "metric";
|
|
329
|
+
}>, z.ZodEnum<{
|
|
330
|
+
query: "query";
|
|
331
|
+
implicit: "implicit";
|
|
332
|
+
}>]>>>;
|
|
311
333
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
312
|
-
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
313
|
-
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
314
334
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
315
336
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
337
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
338
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
339
|
+
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
316
340
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
317
341
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
-
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
319
342
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
320
|
-
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
321
343
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
322
344
|
db: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
323
|
-
name: z.ZodString;
|
|
324
345
|
id: z.ZodNumber;
|
|
346
|
+
name: z.ZodString;
|
|
325
347
|
}, z.core.$strip>>>;
|
|
326
348
|
table: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
327
|
-
name: z.ZodString;
|
|
328
349
|
id: z.ZodNumber;
|
|
350
|
+
name: z.ZodString;
|
|
329
351
|
display_name: z.ZodString;
|
|
330
352
|
}, z.core.$strip>>>;
|
|
331
353
|
collection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
332
|
-
name: z.ZodString;
|
|
333
354
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
355
|
+
name: z.ZodString;
|
|
356
|
+
is_personal: z.ZodOptional<z.ZodBoolean>;
|
|
334
357
|
authority_level: z.ZodNullable<z.ZodEnum<{
|
|
335
358
|
official: "official";
|
|
336
359
|
}>>;
|
|
337
|
-
is_personal: z.ZodOptional<z.ZodBoolean>;
|
|
338
360
|
}, z.core.$strip>>>;
|
|
339
361
|
dashboard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
340
|
-
name: z.ZodString;
|
|
341
362
|
id: z.ZodNumber;
|
|
363
|
+
name: z.ZodString;
|
|
342
364
|
}, z.core.$strip>>>;
|
|
343
365
|
document: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
344
|
-
name: z.ZodString;
|
|
345
366
|
id: z.ZodNumber;
|
|
367
|
+
name: z.ZodString;
|
|
346
368
|
}, z.core.$strip>>>;
|
|
347
369
|
}, z.core.$strip>;
|
|
348
370
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
371
|
+
transform: "transform";
|
|
372
|
+
question: "question";
|
|
373
|
+
model: "model";
|
|
374
|
+
metric: "metric";
|
|
375
|
+
table: "table";
|
|
349
376
|
dashboard: "dashboard";
|
|
377
|
+
snippet: "snippet";
|
|
350
378
|
document: "document";
|
|
351
|
-
metric: "metric";
|
|
352
379
|
measure: "measure";
|
|
353
|
-
|
|
354
|
-
snippet: "snippet";
|
|
355
|
-
table: "table";
|
|
356
|
-
transform: "transform";
|
|
380
|
+
action: "action";
|
|
357
381
|
sandbox: "sandbox";
|
|
358
|
-
|
|
359
|
-
model: "model";
|
|
382
|
+
segment: "segment";
|
|
360
383
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
361
384
|
}, z.core.$strip>;
|
|
362
385
|
type DependencyNodeCompact = z.infer<typeof DependencyNodeCompact>;
|
|
363
386
|
declare const DependencyFindingError: z.ZodObject<{
|
|
364
387
|
id: z.ZodNumber;
|
|
365
388
|
analyzed_entity_type: z.ZodEnum<{
|
|
389
|
+
transform: "transform";
|
|
390
|
+
table: "table";
|
|
366
391
|
card: "card";
|
|
367
392
|
dashboard: "dashboard";
|
|
393
|
+
snippet: "snippet";
|
|
368
394
|
document: "document";
|
|
369
395
|
measure: "measure";
|
|
370
|
-
|
|
371
|
-
snippet: "snippet";
|
|
372
|
-
table: "table";
|
|
373
|
-
transform: "transform";
|
|
396
|
+
action: "action";
|
|
374
397
|
sandbox: "sandbox";
|
|
398
|
+
segment: "segment";
|
|
375
399
|
}>;
|
|
376
400
|
analyzed_entity_id: z.ZodNumber;
|
|
377
401
|
error_type: z.ZodEnum<{
|
|
@@ -385,9 +409,9 @@ declare const DependencyFindingError: z.ZodObject<{
|
|
|
385
409
|
}>;
|
|
386
410
|
error_detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
411
|
source_entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
388
|
-
card: "card";
|
|
389
|
-
table: "table";
|
|
390
412
|
transform: "transform";
|
|
413
|
+
table: "table";
|
|
414
|
+
card: "card";
|
|
391
415
|
}>>>;
|
|
392
416
|
source_entity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
393
417
|
}, z.core.$loose>;
|
|
@@ -395,25 +419,29 @@ type DependencyFindingError = z.infer<typeof DependencyFindingError>;
|
|
|
395
419
|
declare const BreakingSource: z.ZodObject<{
|
|
396
420
|
id: z.ZodNumber;
|
|
397
421
|
type: z.ZodEnum<{
|
|
422
|
+
transform: "transform";
|
|
423
|
+
table: "table";
|
|
398
424
|
card: "card";
|
|
399
425
|
dashboard: "dashboard";
|
|
426
|
+
snippet: "snippet";
|
|
400
427
|
document: "document";
|
|
401
428
|
measure: "measure";
|
|
402
|
-
|
|
403
|
-
snippet: "snippet";
|
|
404
|
-
table: "table";
|
|
405
|
-
transform: "transform";
|
|
429
|
+
action: "action";
|
|
406
430
|
sandbox: "sandbox";
|
|
431
|
+
segment: "segment";
|
|
407
432
|
}>;
|
|
408
433
|
data: z.ZodObject<{
|
|
409
434
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
410
435
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
436
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
412
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
413
|
-
metric: "metric";
|
|
437
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
414
438
|
question: "question";
|
|
415
439
|
model: "model";
|
|
416
|
-
|
|
440
|
+
metric: "metric";
|
|
441
|
+
}>, z.ZodEnum<{
|
|
442
|
+
query: "query";
|
|
443
|
+
implicit: "implicit";
|
|
444
|
+
}>]>>>;
|
|
417
445
|
display: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
418
446
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
419
447
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -450,30 +478,32 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
450
478
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
451
479
|
}, z.core.$loose>;
|
|
452
480
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
481
|
+
transform: "transform";
|
|
482
|
+
question: "question";
|
|
483
|
+
model: "model";
|
|
484
|
+
metric: "metric";
|
|
485
|
+
table: "table";
|
|
453
486
|
dashboard: "dashboard";
|
|
487
|
+
snippet: "snippet";
|
|
454
488
|
document: "document";
|
|
455
|
-
metric: "metric";
|
|
456
489
|
measure: "measure";
|
|
457
|
-
|
|
458
|
-
snippet: "snippet";
|
|
459
|
-
table: "table";
|
|
460
|
-
transform: "transform";
|
|
490
|
+
action: "action";
|
|
461
491
|
sandbox: "sandbox";
|
|
462
|
-
|
|
463
|
-
model: "model";
|
|
492
|
+
segment: "segment";
|
|
464
493
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
465
494
|
dependents_errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
466
495
|
id: z.ZodNumber;
|
|
467
496
|
analyzed_entity_type: z.ZodEnum<{
|
|
497
|
+
transform: "transform";
|
|
498
|
+
table: "table";
|
|
468
499
|
card: "card";
|
|
469
500
|
dashboard: "dashboard";
|
|
501
|
+
snippet: "snippet";
|
|
470
502
|
document: "document";
|
|
471
503
|
measure: "measure";
|
|
472
|
-
|
|
473
|
-
snippet: "snippet";
|
|
474
|
-
table: "table";
|
|
475
|
-
transform: "transform";
|
|
504
|
+
action: "action";
|
|
476
505
|
sandbox: "sandbox";
|
|
506
|
+
segment: "segment";
|
|
477
507
|
}>;
|
|
478
508
|
analyzed_entity_id: z.ZodNumber;
|
|
479
509
|
error_type: z.ZodEnum<{
|
|
@@ -487,9 +517,9 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
487
517
|
}>;
|
|
488
518
|
error_detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
489
519
|
source_entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
490
|
-
card: "card";
|
|
491
|
-
table: "table";
|
|
492
520
|
transform: "transform";
|
|
521
|
+
table: "table";
|
|
522
|
+
card: "card";
|
|
493
523
|
}>>>;
|
|
494
524
|
source_entity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
495
525
|
}, z.core.$loose>>>>;
|
|
@@ -497,85 +527,91 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
497
527
|
type BreakingSource = z.infer<typeof BreakingSource>;
|
|
498
528
|
declare const BreakingSourceCompact: z.ZodObject<{
|
|
499
529
|
type: z.ZodEnum<{
|
|
530
|
+
transform: "transform";
|
|
531
|
+
table: "table";
|
|
500
532
|
card: "card";
|
|
501
533
|
dashboard: "dashboard";
|
|
534
|
+
snippet: "snippet";
|
|
502
535
|
document: "document";
|
|
503
536
|
measure: "measure";
|
|
504
|
-
|
|
505
|
-
snippet: "snippet";
|
|
506
|
-
table: "table";
|
|
507
|
-
transform: "transform";
|
|
537
|
+
action: "action";
|
|
508
538
|
sandbox: "sandbox";
|
|
539
|
+
segment: "segment";
|
|
509
540
|
}>;
|
|
510
541
|
id: z.ZodNumber;
|
|
511
542
|
data: z.ZodObject<{
|
|
512
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
513
|
-
metric: "metric";
|
|
543
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
514
544
|
question: "question";
|
|
515
545
|
model: "model";
|
|
516
|
-
|
|
546
|
+
metric: "metric";
|
|
547
|
+
}>, z.ZodEnum<{
|
|
548
|
+
query: "query";
|
|
549
|
+
implicit: "implicit";
|
|
550
|
+
}>]>>>;
|
|
517
551
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
518
|
-
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
519
|
-
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
520
552
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
553
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
521
554
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
556
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
557
|
+
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
522
558
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
523
559
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
524
|
-
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
525
560
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
526
|
-
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
527
561
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
528
562
|
db: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
529
|
-
name: z.ZodString;
|
|
530
563
|
id: z.ZodNumber;
|
|
564
|
+
name: z.ZodString;
|
|
531
565
|
}, z.core.$strip>>>;
|
|
532
566
|
table: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
533
|
-
name: z.ZodString;
|
|
534
567
|
id: z.ZodNumber;
|
|
568
|
+
name: z.ZodString;
|
|
535
569
|
display_name: z.ZodString;
|
|
536
570
|
}, z.core.$strip>>>;
|
|
537
571
|
collection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
538
|
-
name: z.ZodString;
|
|
539
572
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
573
|
+
name: z.ZodString;
|
|
574
|
+
is_personal: z.ZodOptional<z.ZodBoolean>;
|
|
540
575
|
authority_level: z.ZodNullable<z.ZodEnum<{
|
|
541
576
|
official: "official";
|
|
542
577
|
}>>;
|
|
543
|
-
is_personal: z.ZodOptional<z.ZodBoolean>;
|
|
544
578
|
}, z.core.$strip>>>;
|
|
545
579
|
dashboard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
546
|
-
name: z.ZodString;
|
|
547
580
|
id: z.ZodNumber;
|
|
581
|
+
name: z.ZodString;
|
|
548
582
|
}, z.core.$strip>>>;
|
|
549
583
|
document: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
550
|
-
name: z.ZodString;
|
|
551
584
|
id: z.ZodNumber;
|
|
585
|
+
name: z.ZodString;
|
|
552
586
|
}, z.core.$strip>>>;
|
|
553
587
|
}, z.core.$strip>;
|
|
554
588
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
589
|
+
transform: "transform";
|
|
590
|
+
question: "question";
|
|
591
|
+
model: "model";
|
|
592
|
+
metric: "metric";
|
|
593
|
+
table: "table";
|
|
555
594
|
dashboard: "dashboard";
|
|
595
|
+
snippet: "snippet";
|
|
556
596
|
document: "document";
|
|
557
|
-
metric: "metric";
|
|
558
597
|
measure: "measure";
|
|
559
|
-
|
|
560
|
-
snippet: "snippet";
|
|
561
|
-
table: "table";
|
|
562
|
-
transform: "transform";
|
|
598
|
+
action: "action";
|
|
563
599
|
sandbox: "sandbox";
|
|
564
|
-
|
|
565
|
-
model: "model";
|
|
600
|
+
segment: "segment";
|
|
566
601
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
567
602
|
dependents_errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
568
603
|
id: z.ZodNumber;
|
|
569
604
|
analyzed_entity_type: z.ZodEnum<{
|
|
605
|
+
transform: "transform";
|
|
606
|
+
table: "table";
|
|
570
607
|
card: "card";
|
|
571
608
|
dashboard: "dashboard";
|
|
609
|
+
snippet: "snippet";
|
|
572
610
|
document: "document";
|
|
573
611
|
measure: "measure";
|
|
574
|
-
|
|
575
|
-
snippet: "snippet";
|
|
576
|
-
table: "table";
|
|
577
|
-
transform: "transform";
|
|
612
|
+
action: "action";
|
|
578
613
|
sandbox: "sandbox";
|
|
614
|
+
segment: "segment";
|
|
579
615
|
}>;
|
|
580
616
|
analyzed_entity_id: z.ZodNumber;
|
|
581
617
|
error_type: z.ZodEnum<{
|
|
@@ -589,9 +625,9 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
589
625
|
}>;
|
|
590
626
|
error_detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
627
|
source_entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
592
|
-
card: "card";
|
|
593
|
-
table: "table";
|
|
594
628
|
transform: "transform";
|
|
629
|
+
table: "table";
|
|
630
|
+
card: "card";
|
|
595
631
|
}>>>;
|
|
596
632
|
source_entity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
597
633
|
}, z.core.$loose>>>>;
|
|
@@ -599,27 +635,29 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
599
635
|
type BreakingSourceCompact = z.infer<typeof BreakingSourceCompact>;
|
|
600
636
|
declare const DependencyEdge: z.ZodObject<{
|
|
601
637
|
from_entity_type: z.ZodEnum<{
|
|
638
|
+
transform: "transform";
|
|
639
|
+
table: "table";
|
|
602
640
|
card: "card";
|
|
603
641
|
dashboard: "dashboard";
|
|
642
|
+
snippet: "snippet";
|
|
604
643
|
document: "document";
|
|
605
644
|
measure: "measure";
|
|
606
|
-
|
|
607
|
-
snippet: "snippet";
|
|
608
|
-
table: "table";
|
|
609
|
-
transform: "transform";
|
|
645
|
+
action: "action";
|
|
610
646
|
sandbox: "sandbox";
|
|
647
|
+
segment: "segment";
|
|
611
648
|
}>;
|
|
612
649
|
from_entity_id: z.ZodNumber;
|
|
613
650
|
to_entity_type: z.ZodEnum<{
|
|
651
|
+
transform: "transform";
|
|
652
|
+
table: "table";
|
|
614
653
|
card: "card";
|
|
615
654
|
dashboard: "dashboard";
|
|
655
|
+
snippet: "snippet";
|
|
616
656
|
document: "document";
|
|
617
657
|
measure: "measure";
|
|
618
|
-
|
|
619
|
-
snippet: "snippet";
|
|
620
|
-
table: "table";
|
|
621
|
-
transform: "transform";
|
|
658
|
+
action: "action";
|
|
622
659
|
sandbox: "sandbox";
|
|
660
|
+
segment: "segment";
|
|
623
661
|
}>;
|
|
624
662
|
to_entity_id: z.ZodNumber;
|
|
625
663
|
}, z.core.$loose>;
|
|
@@ -628,25 +666,29 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
628
666
|
nodes: z.ZodArray<z.ZodObject<{
|
|
629
667
|
id: z.ZodNumber;
|
|
630
668
|
type: z.ZodEnum<{
|
|
669
|
+
transform: "transform";
|
|
670
|
+
table: "table";
|
|
631
671
|
card: "card";
|
|
632
672
|
dashboard: "dashboard";
|
|
673
|
+
snippet: "snippet";
|
|
633
674
|
document: "document";
|
|
634
675
|
measure: "measure";
|
|
635
|
-
|
|
636
|
-
snippet: "snippet";
|
|
637
|
-
table: "table";
|
|
638
|
-
transform: "transform";
|
|
676
|
+
action: "action";
|
|
639
677
|
sandbox: "sandbox";
|
|
678
|
+
segment: "segment";
|
|
640
679
|
}>;
|
|
641
680
|
data: z.ZodObject<{
|
|
642
681
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
643
682
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
644
683
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
645
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
646
|
-
metric: "metric";
|
|
684
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
647
685
|
question: "question";
|
|
648
686
|
model: "model";
|
|
649
|
-
|
|
687
|
+
metric: "metric";
|
|
688
|
+
}>, z.ZodEnum<{
|
|
689
|
+
query: "query";
|
|
690
|
+
implicit: "implicit";
|
|
691
|
+
}>]>>>;
|
|
650
692
|
display: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
651
693
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
652
694
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -683,42 +725,45 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
683
725
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
684
726
|
}, z.core.$loose>;
|
|
685
727
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
728
|
+
transform: "transform";
|
|
729
|
+
question: "question";
|
|
730
|
+
model: "model";
|
|
731
|
+
metric: "metric";
|
|
732
|
+
table: "table";
|
|
686
733
|
dashboard: "dashboard";
|
|
734
|
+
snippet: "snippet";
|
|
687
735
|
document: "document";
|
|
688
|
-
metric: "metric";
|
|
689
736
|
measure: "measure";
|
|
690
|
-
|
|
691
|
-
snippet: "snippet";
|
|
692
|
-
table: "table";
|
|
693
|
-
transform: "transform";
|
|
737
|
+
action: "action";
|
|
694
738
|
sandbox: "sandbox";
|
|
695
|
-
|
|
696
|
-
model: "model";
|
|
739
|
+
segment: "segment";
|
|
697
740
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
698
741
|
}, z.core.$loose>>;
|
|
699
742
|
edges: z.ZodArray<z.ZodObject<{
|
|
700
743
|
from_entity_type: z.ZodEnum<{
|
|
744
|
+
transform: "transform";
|
|
745
|
+
table: "table";
|
|
701
746
|
card: "card";
|
|
702
747
|
dashboard: "dashboard";
|
|
748
|
+
snippet: "snippet";
|
|
703
749
|
document: "document";
|
|
704
750
|
measure: "measure";
|
|
705
|
-
|
|
706
|
-
snippet: "snippet";
|
|
707
|
-
table: "table";
|
|
708
|
-
transform: "transform";
|
|
751
|
+
action: "action";
|
|
709
752
|
sandbox: "sandbox";
|
|
753
|
+
segment: "segment";
|
|
710
754
|
}>;
|
|
711
755
|
from_entity_id: z.ZodNumber;
|
|
712
756
|
to_entity_type: z.ZodEnum<{
|
|
757
|
+
transform: "transform";
|
|
758
|
+
table: "table";
|
|
713
759
|
card: "card";
|
|
714
760
|
dashboard: "dashboard";
|
|
761
|
+
snippet: "snippet";
|
|
715
762
|
document: "document";
|
|
716
763
|
measure: "measure";
|
|
717
|
-
|
|
718
|
-
snippet: "snippet";
|
|
719
|
-
table: "table";
|
|
720
|
-
transform: "transform";
|
|
764
|
+
action: "action";
|
|
721
765
|
sandbox: "sandbox";
|
|
766
|
+
segment: "segment";
|
|
722
767
|
}>;
|
|
723
768
|
to_entity_id: z.ZodNumber;
|
|
724
769
|
}, z.core.$loose>>;
|
|
@@ -727,98 +772,105 @@ type DependencyGraph = z.infer<typeof DependencyGraph>;
|
|
|
727
772
|
declare const DependencyGraphCompact: z.ZodObject<{
|
|
728
773
|
edges: z.ZodArray<z.ZodObject<{
|
|
729
774
|
from_entity_type: z.ZodEnum<{
|
|
775
|
+
transform: "transform";
|
|
776
|
+
table: "table";
|
|
730
777
|
card: "card";
|
|
731
778
|
dashboard: "dashboard";
|
|
779
|
+
snippet: "snippet";
|
|
732
780
|
document: "document";
|
|
733
781
|
measure: "measure";
|
|
734
|
-
|
|
735
|
-
snippet: "snippet";
|
|
736
|
-
table: "table";
|
|
737
|
-
transform: "transform";
|
|
782
|
+
action: "action";
|
|
738
783
|
sandbox: "sandbox";
|
|
784
|
+
segment: "segment";
|
|
739
785
|
}>;
|
|
740
786
|
from_entity_id: z.ZodNumber;
|
|
741
787
|
to_entity_type: z.ZodEnum<{
|
|
788
|
+
transform: "transform";
|
|
789
|
+
table: "table";
|
|
742
790
|
card: "card";
|
|
743
791
|
dashboard: "dashboard";
|
|
792
|
+
snippet: "snippet";
|
|
744
793
|
document: "document";
|
|
745
794
|
measure: "measure";
|
|
746
|
-
|
|
747
|
-
snippet: "snippet";
|
|
748
|
-
table: "table";
|
|
749
|
-
transform: "transform";
|
|
795
|
+
action: "action";
|
|
750
796
|
sandbox: "sandbox";
|
|
797
|
+
segment: "segment";
|
|
751
798
|
}>;
|
|
752
799
|
to_entity_id: z.ZodNumber;
|
|
753
800
|
}, z.core.$loose>>;
|
|
754
801
|
nodes: z.ZodArray<z.ZodObject<{
|
|
755
802
|
type: z.ZodEnum<{
|
|
803
|
+
transform: "transform";
|
|
804
|
+
table: "table";
|
|
756
805
|
card: "card";
|
|
757
806
|
dashboard: "dashboard";
|
|
807
|
+
snippet: "snippet";
|
|
758
808
|
document: "document";
|
|
759
809
|
measure: "measure";
|
|
760
|
-
|
|
761
|
-
snippet: "snippet";
|
|
762
|
-
table: "table";
|
|
763
|
-
transform: "transform";
|
|
810
|
+
action: "action";
|
|
764
811
|
sandbox: "sandbox";
|
|
812
|
+
segment: "segment";
|
|
765
813
|
}>;
|
|
766
814
|
id: z.ZodNumber;
|
|
767
815
|
data: z.ZodObject<{
|
|
768
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
769
|
-
metric: "metric";
|
|
816
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
770
817
|
question: "question";
|
|
771
818
|
model: "model";
|
|
772
|
-
|
|
819
|
+
metric: "metric";
|
|
820
|
+
}>, z.ZodEnum<{
|
|
821
|
+
query: "query";
|
|
822
|
+
implicit: "implicit";
|
|
823
|
+
}>]>>>;
|
|
773
824
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
774
|
-
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
775
|
-
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
776
825
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
826
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
777
827
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
828
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
829
|
+
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
830
|
+
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
778
831
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
779
832
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
780
|
-
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
781
833
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
782
|
-
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
783
834
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
784
835
|
db: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
785
|
-
name: z.ZodString;
|
|
786
836
|
id: z.ZodNumber;
|
|
837
|
+
name: z.ZodString;
|
|
787
838
|
}, z.core.$strip>>>;
|
|
788
839
|
table: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
789
|
-
name: z.ZodString;
|
|
790
840
|
id: z.ZodNumber;
|
|
841
|
+
name: z.ZodString;
|
|
791
842
|
display_name: z.ZodString;
|
|
792
843
|
}, z.core.$strip>>>;
|
|
793
844
|
collection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
794
|
-
name: z.ZodString;
|
|
795
845
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
846
|
+
name: z.ZodString;
|
|
847
|
+
is_personal: z.ZodOptional<z.ZodBoolean>;
|
|
796
848
|
authority_level: z.ZodNullable<z.ZodEnum<{
|
|
797
849
|
official: "official";
|
|
798
850
|
}>>;
|
|
799
|
-
is_personal: z.ZodOptional<z.ZodBoolean>;
|
|
800
851
|
}, z.core.$strip>>>;
|
|
801
852
|
dashboard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
802
|
-
name: z.ZodString;
|
|
803
853
|
id: z.ZodNumber;
|
|
854
|
+
name: z.ZodString;
|
|
804
855
|
}, z.core.$strip>>>;
|
|
805
856
|
document: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
806
|
-
name: z.ZodString;
|
|
807
857
|
id: z.ZodNumber;
|
|
858
|
+
name: z.ZodString;
|
|
808
859
|
}, z.core.$strip>>>;
|
|
809
860
|
}, z.core.$strip>;
|
|
810
861
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
862
|
+
transform: "transform";
|
|
863
|
+
question: "question";
|
|
864
|
+
model: "model";
|
|
865
|
+
metric: "metric";
|
|
866
|
+
table: "table";
|
|
811
867
|
dashboard: "dashboard";
|
|
868
|
+
snippet: "snippet";
|
|
812
869
|
document: "document";
|
|
813
|
-
metric: "metric";
|
|
814
870
|
measure: "measure";
|
|
815
|
-
|
|
816
|
-
snippet: "snippet";
|
|
817
|
-
table: "table";
|
|
818
|
-
transform: "transform";
|
|
871
|
+
action: "action";
|
|
819
872
|
sandbox: "sandbox";
|
|
820
|
-
|
|
821
|
-
model: "model";
|
|
873
|
+
segment: "segment";
|
|
822
874
|
}> & z.core.$partial, z.ZodNumber>>;
|
|
823
875
|
}, z.core.$strip>>;
|
|
824
876
|
}, z.core.$strip>;
|