@metabase/client 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +5 -3
- package/dist/auth/credential.d.ts +1 -1
- package/dist/auth/oauth-login.d.ts +1 -1
- package/dist/auth/oauth-login.js +1 -1
- package/dist/auth/oauth-session.d.ts +1 -1
- package/dist/{card-BxBzr5Uj.d.ts → card-BBLDmhtp.d.ts} +1 -1
- package/dist/{card-DN0sLkCG.d.ts → card-DkHtPMK4.d.ts} +3 -3
- package/dist/{client-DdXLlH1B.d.ts → client-eOkt3tTd.d.ts} +100 -82
- package/dist/client.d.ts +1 -1
- package/dist/{collection-DGnTvD6R.d.ts → collection-BtjnSckn.d.ts} +10 -10
- package/dist/{collection-fFahL-ub.d.ts → collection-DWjkDrln.d.ts} +4 -4
- package/dist/{credential-6aOEGqMH.d.ts → credential-B6fKSvqp.d.ts} +1 -1
- package/dist/{dashboard-CM7RmNeE.d.ts → dashboard-B4qWeR10.d.ts} +1 -1
- package/dist/{data-action-CkXVrOUH.d.ts → data-action-DqwcRA7B.d.ts} +61 -10
- package/dist/{database-B0JNZjDN.d.ts → database-Cw8ICtQi.d.ts} +3 -3
- package/dist/{database-BxqDmfcj.d.ts → database-DULVEXki.d.ts} +1 -1
- package/dist/{dataset-BUirJ1rO.d.ts → dataset-26H-dH4N.d.ts} +3 -3
- package/dist/{dataset-BBNGPVec.d.ts → dataset-Du1GRHhd.d.ts} +6 -6
- package/dist/{dependency-arB8Cr2H.d.ts → dependency-B8aPt_IM.d.ts} +33 -33
- package/dist/{dependency-CzpXmeu7.d.ts → dependency-elYkHuk5.d.ts} +25 -25
- package/dist/{document-tLd6pYWe.d.ts → document-rqUlE_OE.d.ts} +1 -1
- package/dist/domain/card.d.ts +1 -1
- package/dist/domain/collection.d.ts +1 -1
- package/dist/domain/data-action.d.ts +2 -2
- package/dist/domain/data-action.js +43 -10
- package/dist/domain/database.d.ts +1 -1
- package/dist/domain/dataset.d.ts +1 -1
- package/dist/domain/dependency.d.ts +1 -1
- package/dist/domain/document.d.ts +1 -1
- package/dist/domain/eid-translation.d.ts +1 -1
- package/dist/domain/field.d.ts +1 -1
- package/dist/domain/git-sync.d.ts +1 -1
- package/dist/domain/metric.d.ts +1 -1
- package/dist/domain/replacement.d.ts +1 -1
- package/dist/domain/revision.d.ts +1 -1
- package/dist/domain/search.d.ts +1 -1
- package/dist/domain/table.d.ts +1 -1
- package/dist/domain/timeline.d.ts +1 -1
- package/dist/domain/transform-inspector.d.ts +1 -1
- package/dist/{eid-translation-CH6NPWd-.d.ts → eid-translation-CP79Tz71.d.ts} +5 -5
- package/dist/{erd-CbV7xvAc.d.ts → erd-D2fpjDTj.d.ts} +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/{field-p9Rme2zB.d.ts → field-D-kF3G7v.d.ts} +2 -2
- package/dist/{field-D1Pfk-0S.d.ts → field-awM3Y7IP.d.ts} +2 -2
- package/dist/{git-sync-BTf1aYHr.d.ts → git-sync-8Tk8TirZ.d.ts} +1 -1
- package/dist/{git-sync-C99SVdJ9.d.ts → git-sync-nvbSaNfS.d.ts} +1 -1
- package/dist/{glossary-DFvnz-E5.d.ts → glossary-CQMSJmIx.d.ts} +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/oauth.d.ts +1 -1
- package/dist/http/oauth.js +47 -36
- package/dist/http/transport.d.ts +1 -1
- package/dist/index.d.ts +26 -26
- package/dist/index.js +3 -3
- package/dist/{json-BksZpXDC.d.ts → json-DvOVLFVY.d.ts} +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/{measure-lPz8qnwz.d.ts → measure-D4ArCbsa.d.ts} +1 -1
- package/dist/{metric-DcYloqOQ.d.ts → metric-BtEVH_Yp.d.ts} +1 -1
- package/dist/{notification-Cp5GJErS.d.ts → notification-BsuPAfMW.d.ts} +1 -1
- package/dist/{oauth-C4ordeoJ.d.ts → oauth-CVoZpuq8.d.ts} +4 -2
- package/dist/{oauth-login-D734Jvbq.js → oauth-login--tDagiZu.js} +29 -11
- package/dist/{oauth-login-CJsT_3EE.d.ts → oauth-login-SZ4Csai8.d.ts} +3 -2
- package/dist/{oauth-session-BlIlcd8Q.d.ts → oauth-session-COLH4puN.d.ts} +1 -1
- package/dist/{paginate-COuL0Gzl.d.ts → paginate-Du9kUbXZ.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{pulse-BzKmz3Yn.d.ts → pulse-drQKS_pg.d.ts} +1 -1
- package/dist/{replacement-BGyggp-G.d.ts → replacement-CyvtbxGg.d.ts} +5 -5
- package/dist/{replacement-CVebCuNp.d.ts → replacement-g3IKzPPj.d.ts} +5 -5
- package/dist/{requirement-check-glU7wqhQ.d.ts → requirement-check-Nv0trVbp.d.ts} +1 -1
- package/dist/resources/api-key.d.ts +1 -1
- package/dist/resources/card.d.ts +1 -1
- package/dist/resources/collection.d.ts +1 -1
- package/dist/resources/collection.js +6 -1
- package/dist/resources/content-translation.d.ts +1 -1
- package/dist/resources/dashboard.d.ts +1 -1
- package/dist/resources/data-action.d.ts +22 -4
- package/dist/resources/data-action.js +10 -5
- package/dist/resources/data-app.d.ts +1 -1
- package/dist/resources/database.d.ts +1 -1
- package/dist/resources/dataset.d.ts +1 -1
- package/dist/resources/dependency.d.ts +1 -1
- package/dist/resources/document.d.ts +2 -2
- package/dist/resources/eid-translation.d.ts +2 -2
- package/dist/resources/erd.d.ts +1 -1
- package/dist/resources/field.d.ts +1 -1
- package/dist/resources/git-sync.d.ts +1 -1
- package/dist/resources/glossary.d.ts +1 -1
- package/dist/resources/library.d.ts +1 -1
- package/dist/resources/measure.d.ts +1 -1
- package/dist/resources/metric.d.ts +1 -1
- package/dist/resources/moderation-review.d.ts +1 -1
- package/dist/resources/notification.d.ts +1 -1
- package/dist/resources/optional-parsed.d.ts +1 -1
- package/dist/resources/permission.d.ts +1 -1
- package/dist/resources/pivot-export.d.ts +1 -1
- package/dist/resources/pulse.d.ts +1 -1
- package/dist/resources/replacement.d.ts +1 -1
- package/dist/resources/revision.d.ts +3 -3
- package/dist/resources/search.d.ts +1 -1
- package/dist/resources/segment.d.ts +1 -1
- package/dist/resources/setting.d.ts +1 -1
- package/dist/resources/setup.d.ts +1 -1
- package/dist/resources/snippet.d.ts +1 -1
- package/dist/resources/table.d.ts +1 -1
- package/dist/resources/timeline-event.d.ts +2 -2
- package/dist/resources/timeline.d.ts +1 -1
- package/dist/resources/transform-dag-run.d.ts +1 -1
- package/dist/resources/transform-inspector.d.ts +2 -2
- package/dist/resources/transform-job.d.ts +1 -1
- package/dist/resources/transform-python.d.ts +1 -1
- package/dist/resources/transform-tag.d.ts +1 -1
- package/dist/resources/transform-test.d.ts +1 -1
- package/dist/resources/transform.d.ts +1 -1
- package/dist/resources/upload.d.ts +1 -1
- package/dist/resources/user.d.ts +1 -1
- package/dist/{revision-Dyl-8p7d.d.ts → revision-Cft5Lcev.d.ts} +4 -4
- package/dist/{search-Cm5IxKss.d.ts → search-BUr4r7d2.d.ts} +5 -5
- package/dist/{search-Cten2h0I.d.ts → search-DX1IVRRC.d.ts} +2 -2
- package/dist/{segment-DQLX6r1E.d.ts → segment-c2EDEJNd.d.ts} +1 -1
- package/dist/signal.d.ts +3 -2
- package/dist/signal.js +9 -4
- package/dist/{snippet-Djn0rL21.d.ts → snippet-CSt-f812.d.ts} +1 -1
- package/dist/{table-CDZbLNow.d.ts → table-BA-k8Zgt.d.ts} +6 -6
- package/dist/{table-Od6uvDVW.d.ts → table-R-q8w__K.d.ts} +10 -10
- package/dist/{timeline-BK45hy-h.d.ts → timeline-B35sx1FM.d.ts} +31 -31
- package/dist/{timeline-BTs6fuRp.d.ts → timeline-D3Clk0_n.d.ts} +2 -2
- package/dist/{transform-WASQAXeA.d.ts → transform-DzgPup_a.d.ts} +2 -2
- package/dist/{transform-inspector-CMCh8WKV.d.ts → transform-inspector-BUYBt6--.d.ts} +4 -4
- package/dist/{transform-job-DmTwKxhc.d.ts → transform-job-DtLWrsyH.d.ts} +1 -1
- package/dist/{transform-test-CR_i54IV.d.ts → transform-test-B_HR-yKA.d.ts} +1 -1
- package/dist/{transport-BsXqRujn.d.ts → transport-CyHAGDqx.d.ts} +1 -1
- package/dist/{upload-B5YjVkSW.d.ts → upload-BSixoElJ.d.ts} +1 -1
- package/dist/version/capability-error.d.ts +1 -1
- package/dist/version/probe.d.ts +1 -1
- package/dist/version/profile.d.ts +1 -1
- package/dist/version/requirement-check.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
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
4
|
card: "card";
|
|
6
5
|
dashboard: "dashboard";
|
|
7
6
|
document: "document";
|
|
@@ -9,12 +8,12 @@ declare const DependencyType: z.ZodEnum<{
|
|
|
9
8
|
segment: "segment";
|
|
10
9
|
snippet: "snippet";
|
|
11
10
|
table: "table";
|
|
11
|
+
transform: "transform";
|
|
12
12
|
action: "action";
|
|
13
13
|
sandbox: "sandbox";
|
|
14
14
|
}>;
|
|
15
15
|
type DependencyType = z.infer<typeof DependencyType>;
|
|
16
16
|
declare const DependencyUsageType: z.ZodEnum<{
|
|
17
|
-
transform: "transform";
|
|
18
17
|
dashboard: "dashboard";
|
|
19
18
|
document: "document";
|
|
20
19
|
metric: "metric";
|
|
@@ -22,6 +21,7 @@ declare const DependencyUsageType: z.ZodEnum<{
|
|
|
22
21
|
segment: "segment";
|
|
23
22
|
snippet: "snippet";
|
|
24
23
|
table: "table";
|
|
24
|
+
transform: "transform";
|
|
25
25
|
model: "model";
|
|
26
26
|
action: "action";
|
|
27
27
|
sandbox: "sandbox";
|
|
@@ -39,9 +39,9 @@ declare const DependencyFindingErrorType: z.ZodEnum<{
|
|
|
39
39
|
}>;
|
|
40
40
|
type DependencyFindingErrorType = z.infer<typeof DependencyFindingErrorType>;
|
|
41
41
|
declare const DependencyErrorSourceType: z.ZodEnum<{
|
|
42
|
-
transform: "transform";
|
|
43
42
|
card: "card";
|
|
44
43
|
table: "table";
|
|
44
|
+
transform: "transform";
|
|
45
45
|
}>;
|
|
46
46
|
type DependencyErrorSourceType = z.infer<typeof DependencyErrorSourceType>;
|
|
47
47
|
declare const DependentsSortColumn: z.ZodEnum<{
|
|
@@ -108,7 +108,6 @@ type DependencyEntityData = z.infer<typeof DependencyEntityData>;
|
|
|
108
108
|
declare const DependencyEntity: z.ZodObject<{
|
|
109
109
|
id: z.ZodNumber;
|
|
110
110
|
type: z.ZodEnum<{
|
|
111
|
-
transform: "transform";
|
|
112
111
|
card: "card";
|
|
113
112
|
dashboard: "dashboard";
|
|
114
113
|
document: "document";
|
|
@@ -116,6 +115,7 @@ declare const DependencyEntity: z.ZodObject<{
|
|
|
116
115
|
segment: "segment";
|
|
117
116
|
snippet: "snippet";
|
|
118
117
|
table: "table";
|
|
118
|
+
transform: "transform";
|
|
119
119
|
action: "action";
|
|
120
120
|
sandbox: "sandbox";
|
|
121
121
|
}>;
|
|
@@ -170,7 +170,6 @@ declare const DependencyEntity: z.ZodObject<{
|
|
|
170
170
|
type DependencyEntity = z.infer<typeof DependencyEntity>;
|
|
171
171
|
declare const DependencyEntityCompact: z.ZodObject<{
|
|
172
172
|
type: z.ZodEnum<{
|
|
173
|
-
transform: "transform";
|
|
174
173
|
card: "card";
|
|
175
174
|
dashboard: "dashboard";
|
|
176
175
|
document: "document";
|
|
@@ -178,6 +177,7 @@ declare const DependencyEntityCompact: z.ZodObject<{
|
|
|
178
177
|
segment: "segment";
|
|
179
178
|
snippet: "snippet";
|
|
180
179
|
table: "table";
|
|
180
|
+
transform: "transform";
|
|
181
181
|
action: "action";
|
|
182
182
|
sandbox: "sandbox";
|
|
183
183
|
}>;
|
|
@@ -196,11 +196,11 @@ declare const DependencyEntityCompact: z.ZodObject<{
|
|
|
196
196
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
197
197
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
198
198
|
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
199
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
199
200
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
201
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
201
202
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
203
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
203
|
-
table_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<{
|
|
206
206
|
id: z.ZodNumber;
|
|
@@ -233,7 +233,6 @@ type DependencyEntityCompact = z.infer<typeof DependencyEntityCompact>;
|
|
|
233
233
|
declare const DependencyNode: z.ZodObject<{
|
|
234
234
|
id: z.ZodNumber;
|
|
235
235
|
type: z.ZodEnum<{
|
|
236
|
-
transform: "transform";
|
|
237
236
|
card: "card";
|
|
238
237
|
dashboard: "dashboard";
|
|
239
238
|
document: "document";
|
|
@@ -241,6 +240,7 @@ declare const DependencyNode: z.ZodObject<{
|
|
|
241
240
|
segment: "segment";
|
|
242
241
|
snippet: "snippet";
|
|
243
242
|
table: "table";
|
|
243
|
+
transform: "transform";
|
|
244
244
|
action: "action";
|
|
245
245
|
sandbox: "sandbox";
|
|
246
246
|
}>;
|
|
@@ -292,7 +292,6 @@ declare const DependencyNode: z.ZodObject<{
|
|
|
292
292
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
293
293
|
}, z.core.$loose>;
|
|
294
294
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
295
|
-
transform: "transform";
|
|
296
295
|
dashboard: "dashboard";
|
|
297
296
|
document: "document";
|
|
298
297
|
metric: "metric";
|
|
@@ -300,6 +299,7 @@ declare const DependencyNode: z.ZodObject<{
|
|
|
300
299
|
segment: "segment";
|
|
301
300
|
snippet: "snippet";
|
|
302
301
|
table: "table";
|
|
302
|
+
transform: "transform";
|
|
303
303
|
model: "model";
|
|
304
304
|
action: "action";
|
|
305
305
|
sandbox: "sandbox";
|
|
@@ -309,7 +309,6 @@ declare const DependencyNode: z.ZodObject<{
|
|
|
309
309
|
type DependencyNode = z.infer<typeof DependencyNode>;
|
|
310
310
|
declare const DependencyNodeCompact: z.ZodObject<{
|
|
311
311
|
type: z.ZodEnum<{
|
|
312
|
-
transform: "transform";
|
|
313
312
|
card: "card";
|
|
314
313
|
dashboard: "dashboard";
|
|
315
314
|
document: "document";
|
|
@@ -317,6 +316,7 @@ declare const DependencyNodeCompact: z.ZodObject<{
|
|
|
317
316
|
segment: "segment";
|
|
318
317
|
snippet: "snippet";
|
|
319
318
|
table: "table";
|
|
319
|
+
transform: "transform";
|
|
320
320
|
action: "action";
|
|
321
321
|
sandbox: "sandbox";
|
|
322
322
|
}>;
|
|
@@ -335,11 +335,11 @@ declare const DependencyNodeCompact: z.ZodObject<{
|
|
|
335
335
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
336
336
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
337
337
|
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
338
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
338
339
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
339
340
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
340
341
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
341
342
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
342
|
-
table_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<{
|
|
345
345
|
id: z.ZodNumber;
|
|
@@ -368,7 +368,6 @@ declare const DependencyNodeCompact: z.ZodObject<{
|
|
|
368
368
|
}, z.core.$strip>>>;
|
|
369
369
|
}, z.core.$strip>;
|
|
370
370
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
371
|
-
transform: "transform";
|
|
372
371
|
dashboard: "dashboard";
|
|
373
372
|
document: "document";
|
|
374
373
|
metric: "metric";
|
|
@@ -376,6 +375,7 @@ declare const DependencyNodeCompact: z.ZodObject<{
|
|
|
376
375
|
segment: "segment";
|
|
377
376
|
snippet: "snippet";
|
|
378
377
|
table: "table";
|
|
378
|
+
transform: "transform";
|
|
379
379
|
model: "model";
|
|
380
380
|
action: "action";
|
|
381
381
|
sandbox: "sandbox";
|
|
@@ -386,7 +386,6 @@ type DependencyNodeCompact = z.infer<typeof DependencyNodeCompact>;
|
|
|
386
386
|
declare const DependencyFindingError: z.ZodObject<{
|
|
387
387
|
id: z.ZodNumber;
|
|
388
388
|
analyzed_entity_type: z.ZodEnum<{
|
|
389
|
-
transform: "transform";
|
|
390
389
|
card: "card";
|
|
391
390
|
dashboard: "dashboard";
|
|
392
391
|
document: "document";
|
|
@@ -394,6 +393,7 @@ declare const DependencyFindingError: z.ZodObject<{
|
|
|
394
393
|
segment: "segment";
|
|
395
394
|
snippet: "snippet";
|
|
396
395
|
table: "table";
|
|
396
|
+
transform: "transform";
|
|
397
397
|
action: "action";
|
|
398
398
|
sandbox: "sandbox";
|
|
399
399
|
}>;
|
|
@@ -409,9 +409,9 @@ declare const DependencyFindingError: z.ZodObject<{
|
|
|
409
409
|
}>;
|
|
410
410
|
error_detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
411
|
source_entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
412
|
-
transform: "transform";
|
|
413
412
|
card: "card";
|
|
414
413
|
table: "table";
|
|
414
|
+
transform: "transform";
|
|
415
415
|
}>>>;
|
|
416
416
|
source_entity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
417
417
|
}, z.core.$loose>;
|
|
@@ -419,7 +419,6 @@ type DependencyFindingError = z.infer<typeof DependencyFindingError>;
|
|
|
419
419
|
declare const BreakingSource: z.ZodObject<{
|
|
420
420
|
id: z.ZodNumber;
|
|
421
421
|
type: z.ZodEnum<{
|
|
422
|
-
transform: "transform";
|
|
423
422
|
card: "card";
|
|
424
423
|
dashboard: "dashboard";
|
|
425
424
|
document: "document";
|
|
@@ -427,6 +426,7 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
427
426
|
segment: "segment";
|
|
428
427
|
snippet: "snippet";
|
|
429
428
|
table: "table";
|
|
429
|
+
transform: "transform";
|
|
430
430
|
action: "action";
|
|
431
431
|
sandbox: "sandbox";
|
|
432
432
|
}>;
|
|
@@ -478,7 +478,6 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
478
478
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
479
479
|
}, z.core.$loose>;
|
|
480
480
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
481
|
-
transform: "transform";
|
|
482
481
|
dashboard: "dashboard";
|
|
483
482
|
document: "document";
|
|
484
483
|
metric: "metric";
|
|
@@ -486,6 +485,7 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
486
485
|
segment: "segment";
|
|
487
486
|
snippet: "snippet";
|
|
488
487
|
table: "table";
|
|
488
|
+
transform: "transform";
|
|
489
489
|
model: "model";
|
|
490
490
|
action: "action";
|
|
491
491
|
sandbox: "sandbox";
|
|
@@ -494,7 +494,6 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
494
494
|
dependents_errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
495
495
|
id: z.ZodNumber;
|
|
496
496
|
analyzed_entity_type: z.ZodEnum<{
|
|
497
|
-
transform: "transform";
|
|
498
497
|
card: "card";
|
|
499
498
|
dashboard: "dashboard";
|
|
500
499
|
document: "document";
|
|
@@ -502,6 +501,7 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
502
501
|
segment: "segment";
|
|
503
502
|
snippet: "snippet";
|
|
504
503
|
table: "table";
|
|
504
|
+
transform: "transform";
|
|
505
505
|
action: "action";
|
|
506
506
|
sandbox: "sandbox";
|
|
507
507
|
}>;
|
|
@@ -517,9 +517,9 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
517
517
|
}>;
|
|
518
518
|
error_detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
519
519
|
source_entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
520
|
-
transform: "transform";
|
|
521
520
|
card: "card";
|
|
522
521
|
table: "table";
|
|
522
|
+
transform: "transform";
|
|
523
523
|
}>>>;
|
|
524
524
|
source_entity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
525
525
|
}, z.core.$loose>>>>;
|
|
@@ -527,7 +527,6 @@ declare const BreakingSource: z.ZodObject<{
|
|
|
527
527
|
type BreakingSource = z.infer<typeof BreakingSource>;
|
|
528
528
|
declare const BreakingSourceCompact: z.ZodObject<{
|
|
529
529
|
type: z.ZodEnum<{
|
|
530
|
-
transform: "transform";
|
|
531
530
|
card: "card";
|
|
532
531
|
dashboard: "dashboard";
|
|
533
532
|
document: "document";
|
|
@@ -535,6 +534,7 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
535
534
|
segment: "segment";
|
|
536
535
|
snippet: "snippet";
|
|
537
536
|
table: "table";
|
|
537
|
+
transform: "transform";
|
|
538
538
|
action: "action";
|
|
539
539
|
sandbox: "sandbox";
|
|
540
540
|
}>;
|
|
@@ -553,11 +553,11 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
553
553
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
554
554
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
555
555
|
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
556
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
556
557
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
558
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
558
559
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
559
560
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
560
|
-
table_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<{
|
|
563
563
|
id: z.ZodNumber;
|
|
@@ -586,7 +586,6 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
586
586
|
}, z.core.$strip>>>;
|
|
587
587
|
}, z.core.$strip>;
|
|
588
588
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
589
|
-
transform: "transform";
|
|
590
589
|
dashboard: "dashboard";
|
|
591
590
|
document: "document";
|
|
592
591
|
metric: "metric";
|
|
@@ -594,6 +593,7 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
594
593
|
segment: "segment";
|
|
595
594
|
snippet: "snippet";
|
|
596
595
|
table: "table";
|
|
596
|
+
transform: "transform";
|
|
597
597
|
model: "model";
|
|
598
598
|
action: "action";
|
|
599
599
|
sandbox: "sandbox";
|
|
@@ -602,7 +602,6 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
602
602
|
dependents_errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
603
603
|
id: z.ZodNumber;
|
|
604
604
|
analyzed_entity_type: z.ZodEnum<{
|
|
605
|
-
transform: "transform";
|
|
606
605
|
card: "card";
|
|
607
606
|
dashboard: "dashboard";
|
|
608
607
|
document: "document";
|
|
@@ -610,6 +609,7 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
610
609
|
segment: "segment";
|
|
611
610
|
snippet: "snippet";
|
|
612
611
|
table: "table";
|
|
612
|
+
transform: "transform";
|
|
613
613
|
action: "action";
|
|
614
614
|
sandbox: "sandbox";
|
|
615
615
|
}>;
|
|
@@ -625,9 +625,9 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
625
625
|
}>;
|
|
626
626
|
error_detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
627
627
|
source_entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
628
|
-
transform: "transform";
|
|
629
628
|
card: "card";
|
|
630
629
|
table: "table";
|
|
630
|
+
transform: "transform";
|
|
631
631
|
}>>>;
|
|
632
632
|
source_entity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
633
633
|
}, z.core.$loose>>>>;
|
|
@@ -635,7 +635,6 @@ declare const BreakingSourceCompact: z.ZodObject<{
|
|
|
635
635
|
type BreakingSourceCompact = z.infer<typeof BreakingSourceCompact>;
|
|
636
636
|
declare const DependencyEdge: z.ZodObject<{
|
|
637
637
|
from_entity_type: z.ZodEnum<{
|
|
638
|
-
transform: "transform";
|
|
639
638
|
card: "card";
|
|
640
639
|
dashboard: "dashboard";
|
|
641
640
|
document: "document";
|
|
@@ -643,12 +642,12 @@ declare const DependencyEdge: z.ZodObject<{
|
|
|
643
642
|
segment: "segment";
|
|
644
643
|
snippet: "snippet";
|
|
645
644
|
table: "table";
|
|
645
|
+
transform: "transform";
|
|
646
646
|
action: "action";
|
|
647
647
|
sandbox: "sandbox";
|
|
648
648
|
}>;
|
|
649
649
|
from_entity_id: z.ZodNumber;
|
|
650
650
|
to_entity_type: z.ZodEnum<{
|
|
651
|
-
transform: "transform";
|
|
652
651
|
card: "card";
|
|
653
652
|
dashboard: "dashboard";
|
|
654
653
|
document: "document";
|
|
@@ -656,6 +655,7 @@ declare const DependencyEdge: z.ZodObject<{
|
|
|
656
655
|
segment: "segment";
|
|
657
656
|
snippet: "snippet";
|
|
658
657
|
table: "table";
|
|
658
|
+
transform: "transform";
|
|
659
659
|
action: "action";
|
|
660
660
|
sandbox: "sandbox";
|
|
661
661
|
}>;
|
|
@@ -666,7 +666,6 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
666
666
|
nodes: z.ZodArray<z.ZodObject<{
|
|
667
667
|
id: z.ZodNumber;
|
|
668
668
|
type: z.ZodEnum<{
|
|
669
|
-
transform: "transform";
|
|
670
669
|
card: "card";
|
|
671
670
|
dashboard: "dashboard";
|
|
672
671
|
document: "document";
|
|
@@ -674,6 +673,7 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
674
673
|
segment: "segment";
|
|
675
674
|
snippet: "snippet";
|
|
676
675
|
table: "table";
|
|
676
|
+
transform: "transform";
|
|
677
677
|
action: "action";
|
|
678
678
|
sandbox: "sandbox";
|
|
679
679
|
}>;
|
|
@@ -725,7 +725,6 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
725
725
|
view_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
726
726
|
}, z.core.$loose>;
|
|
727
727
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
728
|
-
transform: "transform";
|
|
729
728
|
dashboard: "dashboard";
|
|
730
729
|
document: "document";
|
|
731
730
|
metric: "metric";
|
|
@@ -733,6 +732,7 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
733
732
|
segment: "segment";
|
|
734
733
|
snippet: "snippet";
|
|
735
734
|
table: "table";
|
|
735
|
+
transform: "transform";
|
|
736
736
|
model: "model";
|
|
737
737
|
action: "action";
|
|
738
738
|
sandbox: "sandbox";
|
|
@@ -741,7 +741,6 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
741
741
|
}, z.core.$loose>>;
|
|
742
742
|
edges: z.ZodArray<z.ZodObject<{
|
|
743
743
|
from_entity_type: z.ZodEnum<{
|
|
744
|
-
transform: "transform";
|
|
745
744
|
card: "card";
|
|
746
745
|
dashboard: "dashboard";
|
|
747
746
|
document: "document";
|
|
@@ -749,12 +748,12 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
749
748
|
segment: "segment";
|
|
750
749
|
snippet: "snippet";
|
|
751
750
|
table: "table";
|
|
751
|
+
transform: "transform";
|
|
752
752
|
action: "action";
|
|
753
753
|
sandbox: "sandbox";
|
|
754
754
|
}>;
|
|
755
755
|
from_entity_id: z.ZodNumber;
|
|
756
756
|
to_entity_type: z.ZodEnum<{
|
|
757
|
-
transform: "transform";
|
|
758
757
|
card: "card";
|
|
759
758
|
dashboard: "dashboard";
|
|
760
759
|
document: "document";
|
|
@@ -762,6 +761,7 @@ declare const DependencyGraph: z.ZodObject<{
|
|
|
762
761
|
segment: "segment";
|
|
763
762
|
snippet: "snippet";
|
|
764
763
|
table: "table";
|
|
764
|
+
transform: "transform";
|
|
765
765
|
action: "action";
|
|
766
766
|
sandbox: "sandbox";
|
|
767
767
|
}>;
|
|
@@ -772,7 +772,6 @@ type DependencyGraph = z.infer<typeof DependencyGraph>;
|
|
|
772
772
|
declare const DependencyGraphCompact: z.ZodObject<{
|
|
773
773
|
edges: z.ZodArray<z.ZodObject<{
|
|
774
774
|
from_entity_type: z.ZodEnum<{
|
|
775
|
-
transform: "transform";
|
|
776
775
|
card: "card";
|
|
777
776
|
dashboard: "dashboard";
|
|
778
777
|
document: "document";
|
|
@@ -780,12 +779,12 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
780
779
|
segment: "segment";
|
|
781
780
|
snippet: "snippet";
|
|
782
781
|
table: "table";
|
|
782
|
+
transform: "transform";
|
|
783
783
|
action: "action";
|
|
784
784
|
sandbox: "sandbox";
|
|
785
785
|
}>;
|
|
786
786
|
from_entity_id: z.ZodNumber;
|
|
787
787
|
to_entity_type: z.ZodEnum<{
|
|
788
|
-
transform: "transform";
|
|
789
788
|
card: "card";
|
|
790
789
|
dashboard: "dashboard";
|
|
791
790
|
document: "document";
|
|
@@ -793,6 +792,7 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
793
792
|
segment: "segment";
|
|
794
793
|
snippet: "snippet";
|
|
795
794
|
table: "table";
|
|
795
|
+
transform: "transform";
|
|
796
796
|
action: "action";
|
|
797
797
|
sandbox: "sandbox";
|
|
798
798
|
}>;
|
|
@@ -800,7 +800,6 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
800
800
|
}, z.core.$loose>>;
|
|
801
801
|
nodes: z.ZodArray<z.ZodObject<{
|
|
802
802
|
type: z.ZodEnum<{
|
|
803
|
-
transform: "transform";
|
|
804
803
|
card: "card";
|
|
805
804
|
dashboard: "dashboard";
|
|
806
805
|
document: "document";
|
|
@@ -808,6 +807,7 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
808
807
|
segment: "segment";
|
|
809
808
|
snippet: "snippet";
|
|
810
809
|
table: "table";
|
|
810
|
+
transform: "transform";
|
|
811
811
|
action: "action";
|
|
812
812
|
sandbox: "sandbox";
|
|
813
813
|
}>;
|
|
@@ -826,11 +826,11 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
826
826
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
827
827
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
828
828
|
dashboard_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
829
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
829
830
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
830
831
|
db_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
831
832
|
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
832
833
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
833
|
-
table_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<{
|
|
836
836
|
id: z.ZodNumber;
|
|
@@ -859,7 +859,6 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
859
859
|
}, z.core.$strip>>>;
|
|
860
860
|
}, z.core.$strip>;
|
|
861
861
|
dependents_count: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
|
|
862
|
-
transform: "transform";
|
|
863
862
|
dashboard: "dashboard";
|
|
864
863
|
document: "document";
|
|
865
864
|
metric: "metric";
|
|
@@ -867,6 +866,7 @@ declare const DependencyGraphCompact: z.ZodObject<{
|
|
|
867
866
|
segment: "segment";
|
|
868
867
|
snippet: "snippet";
|
|
869
868
|
table: "table";
|
|
869
|
+
transform: "transform";
|
|
870
870
|
model: "model";
|
|
871
871
|
action: "action";
|
|
872
872
|
sandbox: "sandbox";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
|
|
2
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
|
-
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-Du9kUbXZ.js";
|
|
4
|
+
import { c as CardType } from "./card-BBLDmhtp.js";
|
|
5
|
+
import { _ as DependentsSortColumn, f as DependencyItemsSortColumn, h as DependencyType } from "./dependency-B8aPt_IM.js";
|
|
6
6
|
import { i as SortDirection } from "./query-Xsin530u.js";
|
|
7
7
|
//#region src/resources/dependency.d.ts
|
|
8
8
|
interface DependencyDependentsParams {
|
|
@@ -25,18 +25,18 @@ interface DependencyItemListParams {
|
|
|
25
25
|
}
|
|
26
26
|
type DependencyItemPageOptions = Omit<PaginateOptions, "query">;
|
|
27
27
|
declare function dependencyResource(transport: Transport): {
|
|
28
|
-
graph: (type: "
|
|
28
|
+
graph: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox", id: number, options?: RequestOptions | undefined) => Promise<{
|
|
29
29
|
[x: string]: unknown;
|
|
30
30
|
nodes: {
|
|
31
31
|
[x: string]: unknown;
|
|
32
32
|
id: number;
|
|
33
|
-
type: "
|
|
33
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
34
34
|
data: {
|
|
35
35
|
[x: string]: unknown;
|
|
36
36
|
name?: string | null | undefined;
|
|
37
37
|
display_name?: string | null | undefined;
|
|
38
38
|
description?: string | null | undefined;
|
|
39
|
-
type?: "query" | "metric" | "model" | "
|
|
39
|
+
type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
|
|
40
40
|
display?: string | null | undefined;
|
|
41
41
|
database_id?: number | null | undefined;
|
|
42
42
|
db_id?: number | null | undefined;
|
|
@@ -75,26 +75,26 @@ declare function dependencyResource(transport: Transport): {
|
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
view_count?: number | null | undefined;
|
|
77
77
|
};
|
|
78
|
-
dependents_count: Partial<Record<"
|
|
78
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
79
79
|
}[];
|
|
80
80
|
edges: {
|
|
81
81
|
[x: string]: unknown;
|
|
82
|
-
from_entity_type: "
|
|
82
|
+
from_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
83
83
|
from_entity_id: number;
|
|
84
|
-
to_entity_type: "
|
|
84
|
+
to_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
85
85
|
to_entity_id: number;
|
|
86
86
|
}[];
|
|
87
87
|
}>;
|
|
88
|
-
dependents: (type: "
|
|
88
|
+
dependents: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox", id: number, params?: DependencyDependentsParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
89
89
|
[x: string]: unknown;
|
|
90
90
|
id: number;
|
|
91
|
-
type: "
|
|
91
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
92
92
|
data: {
|
|
93
93
|
[x: string]: unknown;
|
|
94
94
|
name?: string | null | undefined;
|
|
95
95
|
display_name?: string | null | undefined;
|
|
96
96
|
description?: string | null | undefined;
|
|
97
|
-
type?: "query" | "metric" | "model" | "
|
|
97
|
+
type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
|
|
98
98
|
display?: string | null | undefined;
|
|
99
99
|
database_id?: number | null | undefined;
|
|
100
100
|
db_id?: number | null | undefined;
|
|
@@ -133,18 +133,18 @@ declare function dependencyResource(transport: Transport): {
|
|
|
133
133
|
} | null | undefined;
|
|
134
134
|
view_count?: number | null | undefined;
|
|
135
135
|
};
|
|
136
|
-
dependents_count: Partial<Record<"
|
|
136
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
137
137
|
}>>;
|
|
138
|
-
broken: (type: "
|
|
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;
|
|
140
140
|
id: number;
|
|
141
|
-
type: "
|
|
141
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
142
142
|
data: {
|
|
143
143
|
[x: string]: unknown;
|
|
144
144
|
name?: string | null | undefined;
|
|
145
145
|
display_name?: string | null | undefined;
|
|
146
146
|
description?: string | null | undefined;
|
|
147
|
-
type?: "query" | "metric" | "model" | "
|
|
147
|
+
type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
|
|
148
148
|
display?: string | null | undefined;
|
|
149
149
|
database_id?: number | null | undefined;
|
|
150
150
|
db_id?: number | null | undefined;
|
|
@@ -187,13 +187,13 @@ declare function dependencyResource(transport: Transport): {
|
|
|
187
187
|
unreferencedPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
188
188
|
[x: string]: unknown;
|
|
189
189
|
id: number;
|
|
190
|
-
type: "
|
|
190
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
191
191
|
data: {
|
|
192
192
|
[x: string]: unknown;
|
|
193
193
|
name?: string | null | undefined;
|
|
194
194
|
display_name?: string | null | undefined;
|
|
195
195
|
description?: string | null | undefined;
|
|
196
|
-
type?: "query" | "metric" | "model" | "
|
|
196
|
+
type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
|
|
197
197
|
display?: string | null | undefined;
|
|
198
198
|
database_id?: number | null | undefined;
|
|
199
199
|
db_id?: number | null | undefined;
|
|
@@ -232,18 +232,18 @@ declare function dependencyResource(transport: Transport): {
|
|
|
232
232
|
} | null | undefined;
|
|
233
233
|
view_count?: number | null | undefined;
|
|
234
234
|
};
|
|
235
|
-
dependents_count: Partial<Record<"
|
|
235
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
236
236
|
}>>;
|
|
237
237
|
breakingPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
238
238
|
[x: string]: unknown;
|
|
239
239
|
id: number;
|
|
240
|
-
type: "
|
|
240
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
241
241
|
data: {
|
|
242
242
|
[x: string]: unknown;
|
|
243
243
|
name?: string | null | undefined;
|
|
244
244
|
display_name?: string | null | undefined;
|
|
245
245
|
description?: string | null | undefined;
|
|
246
|
-
type?: "query" | "metric" | "model" | "
|
|
246
|
+
type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
|
|
247
247
|
display?: string | null | undefined;
|
|
248
248
|
database_id?: number | null | undefined;
|
|
249
249
|
db_id?: number | null | undefined;
|
|
@@ -282,15 +282,15 @@ declare function dependencyResource(transport: Transport): {
|
|
|
282
282
|
} | null | undefined;
|
|
283
283
|
view_count?: number | null | undefined;
|
|
284
284
|
};
|
|
285
|
-
dependents_count: Partial<Record<"
|
|
285
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
286
286
|
dependents_errors?: {
|
|
287
287
|
[x: string]: unknown;
|
|
288
288
|
id: number;
|
|
289
|
-
analyzed_entity_type: "
|
|
289
|
+
analyzed_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
290
290
|
analyzed_entity_id: number;
|
|
291
291
|
error_type: "missing-column" | "missing-table-alias" | "missing-table" | "missing-card" | "duplicate-column" | "syntax-error" | "validation-exception-error";
|
|
292
292
|
error_detail?: string | null | undefined;
|
|
293
|
-
source_entity_type?: "
|
|
293
|
+
source_entity_type?: "card" | "table" | "transform" | null | undefined;
|
|
294
294
|
source_entity_id?: number | null | undefined;
|
|
295
295
|
}[] | null | undefined;
|
|
296
296
|
}>>;
|
|
@@ -49,8 +49,8 @@ declare const DocumentCompact: z.ZodObject<{
|
|
|
49
49
|
id: z.ZodNumber;
|
|
50
50
|
name: z.ZodString;
|
|
51
51
|
archived: z.ZodBoolean;
|
|
52
|
-
creator_id: z.ZodNumber;
|
|
53
52
|
collection_id: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
creator_id: z.ZodNumber;
|
|
54
54
|
can_write: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
}, z.core.$strip>;
|
|
56
56
|
type DocumentCompact = z.infer<typeof DocumentCompact>;
|
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-BBLDmhtp.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-BtjnSckn.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 { a as
|
|
2
|
-
export { DATA_ACTION_COLLECTION_GATE, DataAction, DataActionCompact, DataActionCreateInput, DataActionExecuteInput, DataActionExecuteResult, DataActionParameter, DataActionUpdateInput, dataActionSchema };
|
|
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-DqwcRA7B.js";
|
|
2
|
+
export { DATA_ACTION_COLLECTION_GATE, DATA_ACTION_TABLE_GATE, DataAction, DataActionCompact, DataActionCreateInput, DataActionExecuteInput, DataActionExecuteResult, DataActionParameter, DataActionUpdateInput, ImplicitActionKind, dataActionSchema };
|