@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,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as SortDirection } from "./query-Xsin530u.js";
|
|
3
|
-
import { f as RequestOptions, h as Transport } from "./transport-E0ZaPNWJ.js";
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
|
|
4
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
5
|
-
import { n as Page, r as PaginateOptions } from "./paginate-
|
|
6
|
-
import {
|
|
3
|
+
import { n as Page, r as PaginateOptions } from "./paginate-CaJ5usdp.js";
|
|
4
|
+
import { c as CardType } from "./card-CrSywvOt.js";
|
|
5
|
+
import { _ as DependentsSortColumn, f as DependencyItemsSortColumn, h as DependencyType } from "./dependency-VqvLTDAU.js";
|
|
6
|
+
import { i as SortDirection } from "./query-Xsin530u.js";
|
|
7
7
|
//#region src/resources/dependency.d.ts
|
|
8
8
|
interface DependencyDependentsParams {
|
|
9
9
|
"dependent-types"?: ReadonlyArray<DependencyType> | undefined;
|
|
@@ -25,18 +25,18 @@ interface DependencyItemListParams {
|
|
|
25
25
|
}
|
|
26
26
|
type DependencyItemPageOptions = Omit<PaginateOptions, "query">;
|
|
27
27
|
declare function dependencyResource(transport: Transport): {
|
|
28
|
-
graph: (type: "
|
|
28
|
+
graph: (type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", 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: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
|
|
34
34
|
data: {
|
|
35
35
|
[x: string]: unknown;
|
|
36
36
|
name?: string | null | undefined;
|
|
37
37
|
display_name?: string | null | undefined;
|
|
38
38
|
description?: string | null | undefined;
|
|
39
|
-
type?: "metric" | "
|
|
39
|
+
type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
|
|
40
40
|
display?: string | null | undefined;
|
|
41
41
|
database_id?: number | null | undefined;
|
|
42
42
|
db_id?: number | null | undefined;
|
|
@@ -75,26 +75,26 @@ declare function dependencyResource(transport: Transport): {
|
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
view_count?: number | null | undefined;
|
|
77
77
|
};
|
|
78
|
-
dependents_count: Partial<Record<"
|
|
78
|
+
dependents_count: Partial<Record<"transform" | "question" | "model" | "metric" | "table" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", number>> | null;
|
|
79
79
|
}[];
|
|
80
80
|
edges: {
|
|
81
81
|
[x: string]: unknown;
|
|
82
|
-
from_entity_type: "
|
|
82
|
+
from_entity_type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
|
|
83
83
|
from_entity_id: number;
|
|
84
|
-
to_entity_type: "
|
|
84
|
+
to_entity_type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
|
|
85
85
|
to_entity_id: number;
|
|
86
86
|
}[];
|
|
87
87
|
}>;
|
|
88
|
-
dependents: (type: "
|
|
88
|
+
dependents: (type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", id: number, params?: DependencyDependentsParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
89
89
|
[x: string]: unknown;
|
|
90
90
|
id: number;
|
|
91
|
-
type: "
|
|
91
|
+
type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
|
|
92
92
|
data: {
|
|
93
93
|
[x: string]: unknown;
|
|
94
94
|
name?: string | null | undefined;
|
|
95
95
|
display_name?: string | null | undefined;
|
|
96
96
|
description?: string | null | undefined;
|
|
97
|
-
type?: "metric" | "
|
|
97
|
+
type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
|
|
98
98
|
display?: string | null | undefined;
|
|
99
99
|
database_id?: number | null | undefined;
|
|
100
100
|
db_id?: number | null | undefined;
|
|
@@ -133,18 +133,18 @@ declare function dependencyResource(transport: Transport): {
|
|
|
133
133
|
} | null | undefined;
|
|
134
134
|
view_count?: number | null | undefined;
|
|
135
135
|
};
|
|
136
|
-
dependents_count: Partial<Record<"
|
|
136
|
+
dependents_count: Partial<Record<"transform" | "question" | "model" | "metric" | "table" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", number>> | null;
|
|
137
137
|
}>>;
|
|
138
|
-
broken: (type: "
|
|
138
|
+
broken: (type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
139
139
|
[x: string]: unknown;
|
|
140
140
|
id: number;
|
|
141
|
-
type: "
|
|
141
|
+
type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
|
|
142
142
|
data: {
|
|
143
143
|
[x: string]: unknown;
|
|
144
144
|
name?: string | null | undefined;
|
|
145
145
|
display_name?: string | null | undefined;
|
|
146
146
|
description?: string | null | undefined;
|
|
147
|
-
type?: "metric" | "
|
|
147
|
+
type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
|
|
148
148
|
display?: string | null | undefined;
|
|
149
149
|
database_id?: number | null | undefined;
|
|
150
150
|
db_id?: number | null | undefined;
|
|
@@ -187,13 +187,13 @@ declare function dependencyResource(transport: Transport): {
|
|
|
187
187
|
unreferencedPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
188
188
|
[x: string]: unknown;
|
|
189
189
|
id: number;
|
|
190
|
-
type: "
|
|
190
|
+
type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
|
|
191
191
|
data: {
|
|
192
192
|
[x: string]: unknown;
|
|
193
193
|
name?: string | null | undefined;
|
|
194
194
|
display_name?: string | null | undefined;
|
|
195
195
|
description?: string | null | undefined;
|
|
196
|
-
type?: "metric" | "
|
|
196
|
+
type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
|
|
197
197
|
display?: string | null | undefined;
|
|
198
198
|
database_id?: number | null | undefined;
|
|
199
199
|
db_id?: number | null | undefined;
|
|
@@ -232,18 +232,18 @@ declare function dependencyResource(transport: Transport): {
|
|
|
232
232
|
} | null | undefined;
|
|
233
233
|
view_count?: number | null | undefined;
|
|
234
234
|
};
|
|
235
|
-
dependents_count: Partial<Record<"
|
|
235
|
+
dependents_count: Partial<Record<"transform" | "question" | "model" | "metric" | "table" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", 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: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
|
|
241
241
|
data: {
|
|
242
242
|
[x: string]: unknown;
|
|
243
243
|
name?: string | null | undefined;
|
|
244
244
|
display_name?: string | null | undefined;
|
|
245
245
|
description?: string | null | undefined;
|
|
246
|
-
type?: "metric" | "
|
|
246
|
+
type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
|
|
247
247
|
display?: string | null | undefined;
|
|
248
248
|
database_id?: number | null | undefined;
|
|
249
249
|
db_id?: number | null | undefined;
|
|
@@ -282,15 +282,15 @@ declare function dependencyResource(transport: Transport): {
|
|
|
282
282
|
} | null | undefined;
|
|
283
283
|
view_count?: number | null | undefined;
|
|
284
284
|
};
|
|
285
|
-
dependents_count: Partial<Record<"
|
|
285
|
+
dependents_count: Partial<Record<"transform" | "question" | "model" | "metric" | "table" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", number>> | null;
|
|
286
286
|
dependents_errors?: {
|
|
287
287
|
[x: string]: unknown;
|
|
288
288
|
id: number;
|
|
289
|
-
analyzed_entity_type: "
|
|
289
|
+
analyzed_entity_type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
|
|
290
290
|
analyzed_entity_id: number;
|
|
291
291
|
error_type: "missing-column" | "missing-table-alias" | "missing-table" | "missing-card" | "duplicate-column" | "syntax-error" | "validation-exception-error";
|
|
292
292
|
error_detail?: string | null | undefined;
|
|
293
|
-
source_entity_type?: "
|
|
293
|
+
source_entity_type?: "transform" | "table" | "card" | null | undefined;
|
|
294
294
|
source_entity_id?: number | null | undefined;
|
|
295
295
|
}[] | null | undefined;
|
|
296
296
|
}>>;
|