@metabase/client 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/LICENSE +661 -0
- package/README.md +490 -2
- package/dist/api-key-DJeN1-7G.d.ts +46 -0
- package/dist/auth/credential.d.ts +2 -0
- package/dist/auth/credential.js +61 -0
- package/dist/auth/oauth-login.d.ts +2 -0
- package/dist/auth/oauth-login.js +2 -0
- package/dist/auth/oauth-session.d.ts +2 -0
- package/dist/auth/oauth-session.js +31 -0
- package/dist/card-BxBzr5Uj.d.ts +1392 -0
- package/dist/card-DN0sLkCG.d.ts +33 -0
- package/dist/client-DdXLlH1B.d.ts +3380 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +99 -0
- package/dist/collection-DGnTvD6R.d.ts +294 -0
- package/dist/collection-fFahL-ub.d.ts +53 -0
- package/dist/content-translation-zfUkE_OG.d.ts +8 -0
- package/dist/credential-6aOEGqMH.d.ts +30 -0
- package/dist/cron-DThzerR6.d.ts +9 -0
- package/dist/csv-upload--K35QedP.d.ts +8 -0
- package/dist/dashboard-CM7RmNeE.d.ts +38 -0
- package/dist/dashboard-DtLXVgtf.d.ts +978 -0
- package/dist/data-action-CkXVrOUH.d.ts +97 -0
- package/dist/data-app-CqP5_fpB.d.ts +76 -0
- package/dist/database-B0JNZjDN.d.ts +27 -0
- package/dist/database-BxqDmfcj.d.ts +997 -0
- package/dist/dataset-BBNGPVec.d.ts +4144 -0
- package/dist/dataset-BUirJ1rO.d.ts +23 -0
- package/dist/dependency-CzpXmeu7.d.ts +299 -0
- package/dist/dependency-arB8Cr2H.d.ts +879 -0
- package/dist/document-tLd6pYWe.d.ts +115 -0
- package/dist/domain/api-key.d.ts +2 -0
- package/dist/domain/api-key.js +31 -0
- package/dist/domain/card.d.ts +2 -0
- package/dist/domain/card.js +140 -0
- package/dist/domain/collection.d.ts +2 -0
- package/dist/domain/collection.js +137 -0
- package/dist/domain/content-translation.d.ts +2 -0
- package/dist/domain/content-translation.js +5 -0
- package/dist/domain/cron.d.ts +2 -0
- package/dist/domain/cron.js +5 -0
- package/dist/domain/dashboard.d.ts +2 -0
- package/dist/domain/dashboard.js +211 -0
- package/dist/domain/data-action.d.ts +2 -0
- package/dist/domain/data-action.js +91 -0
- package/dist/domain/data-app.d.ts +2 -0
- package/dist/domain/data-app.js +52 -0
- package/dist/domain/database.d.ts +2 -0
- package/dist/domain/database.js +56 -0
- package/dist/domain/dataset.d.ts +2 -0
- package/dist/domain/dataset.js +56 -0
- package/dist/domain/dependency.d.ts +2 -0
- package/dist/domain/dependency.js +168 -0
- package/dist/domain/document.d.ts +2 -0
- package/dist/domain/document.js +94 -0
- package/dist/domain/eid-translation.d.ts +2 -0
- package/dist/domain/eid-translation.js +36 -0
- package/dist/domain/embedding.d.ts +2 -0
- package/dist/domain/embedding.js +9 -0
- package/dist/domain/erd.d.ts +2 -0
- package/dist/domain/erd.js +45 -0
- package/dist/domain/field.d.ts +2 -0
- package/dist/domain/field.js +274 -0
- package/dist/domain/git-sync.d.ts +2 -0
- package/dist/domain/git-sync.js +147 -0
- package/dist/domain/glossary.d.ts +2 -0
- package/dist/domain/glossary.js +30 -0
- package/dist/domain/library.d.ts +2 -0
- package/dist/domain/library.js +89 -0
- package/dist/domain/measure.d.ts +2 -0
- package/dist/domain/measure.js +43 -0
- package/dist/domain/metric.d.ts +2 -0
- package/dist/domain/metric.js +139 -0
- package/dist/domain/moderation-review.d.ts +2 -0
- package/dist/domain/moderation-review.js +31 -0
- package/dist/domain/notification.d.ts +2 -0
- package/dist/domain/notification.js +143 -0
- package/dist/domain/parameter.d.ts +2 -0
- package/dist/domain/parameter.js +109 -0
- package/dist/domain/permission.d.ts +2 -0
- package/dist/domain/permission.js +36 -0
- package/dist/domain/pulse.d.ts +2 -0
- package/dist/domain/pulse.js +140 -0
- package/dist/domain/query.d.ts +2 -0
- package/dist/domain/query.js +13 -0
- package/dist/domain/replacement.d.ts +2 -0
- package/dist/domain/replacement.js +93 -0
- package/dist/domain/revision.d.ts +2 -0
- package/dist/domain/revision.js +90 -0
- package/dist/domain/search.d.ts +2 -0
- package/dist/domain/search.js +63 -0
- package/dist/domain/segment.d.ts +2 -0
- package/dist/domain/segment.js +46 -0
- package/dist/domain/session-properties.d.ts +2 -0
- package/dist/domain/session-properties.js +14 -0
- package/dist/domain/setting.d.ts +2 -0
- package/dist/domain/setting.js +22 -0
- package/dist/domain/setup.d.ts +2 -0
- package/dist/domain/setup.js +21 -0
- package/dist/domain/snippet.d.ts +2 -0
- package/dist/domain/snippet.js +38 -0
- package/dist/domain/table.d.ts +2 -0
- package/dist/domain/table.js +187 -0
- package/dist/domain/text.d.ts +5 -0
- package/dist/domain/text.js +6 -0
- package/dist/domain/timeline.d.ts +2 -0
- package/dist/domain/timeline.js +97 -0
- package/dist/domain/transform-dag-run.d.ts +2 -0
- package/dist/domain/transform-dag-run.js +19 -0
- package/dist/domain/transform-inspector.d.ts +2 -0
- package/dist/domain/transform-inspector.js +142 -0
- package/dist/domain/transform-job.d.ts +2 -0
- package/dist/domain/transform-job.js +115 -0
- package/dist/domain/transform-python.d.ts +2 -0
- package/dist/domain/transform-python.js +51 -0
- package/dist/domain/transform-tag.d.ts +2 -0
- package/dist/domain/transform-tag.js +17 -0
- package/dist/domain/transform-test.d.ts +2 -0
- package/dist/domain/transform-test.js +176 -0
- package/dist/domain/transform.d.ts +2 -0
- package/dist/domain/transform.js +304 -0
- package/dist/domain/upload.d.ts +2 -0
- package/dist/domain/upload.js +13 -0
- package/dist/domain/user.d.ts +2 -0
- package/dist/domain/user.js +16 -0
- package/dist/eid-translation-CH6NPWd-.d.ts +143 -0
- package/dist/embedding-oU3gqfgX.d.ts +10 -0
- package/dist/erd-BdeFEeSy.d.ts +842 -0
- package/dist/erd-CbV7xvAc.d.ts +51 -0
- package/dist/errors-DdMlaXqq.js +330 -0
- package/dist/errors.d.ts +2 -0
- package/dist/errors.js +189 -0
- package/dist/features-SMSfJhB6.d.ts +295 -0
- package/dist/field-D1Pfk-0S.d.ts +50 -0
- package/dist/field-p9Rme2zB.d.ts +2549 -0
- package/dist/git-sync-BTf1aYHr.d.ts +205 -0
- package/dist/git-sync-C99SVdJ9.d.ts +258 -0
- package/dist/glossary-CHK3elPj.d.ts +35 -0
- package/dist/glossary-DFvnz-E5.d.ts +15 -0
- package/dist/http/errors.d.ts +2 -0
- package/dist/http/errors.js +2 -0
- package/dist/http/oauth.d.ts +2 -0
- package/dist/http/oauth.js +201 -0
- package/dist/http/retry.d.ts +19 -0
- package/dist/http/retry.js +33 -0
- package/dist/http/transport.d.ts +2 -0
- package/dist/http/transport.js +2 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.js +64 -0
- package/dist/input-gate-registry-Dai7SfXb.js +14 -0
- package/dist/input-gates-DwKoTJVQ.d.ts +28 -0
- package/dist/json-BksZpXDC.d.ts +19 -0
- package/dist/json-pointer.d.ts +5 -0
- package/dist/json-pointer.js +10 -0
- package/dist/json.d.ts +2 -0
- package/dist/json.js +44 -0
- package/dist/known-range-DTOBgTEC.d.ts +7 -0
- package/dist/library-B9pEq7qP.d.ts +230 -0
- package/dist/list-BT_bBm9Z.d.ts +7 -0
- package/dist/list.d.ts +2 -0
- package/dist/list.js +1 -0
- package/dist/measure-CgH14YQZ.d.ts +44 -0
- package/dist/measure-lPz8qnwz.d.ts +108 -0
- package/dist/metric-DcYloqOQ.d.ts +2655 -0
- package/dist/moderation-review-B4RUTZ6_.d.ts +56 -0
- package/dist/network-error-5g4U1iul.js +62 -0
- package/dist/notification-Cp5GJErS.d.ts +22 -0
- package/dist/notification-D1MThyKE.d.ts +443 -0
- package/dist/oauth-C4ordeoJ.d.ts +59 -0
- package/dist/oauth-login-CJsT_3EE.d.ts +19 -0
- package/dist/oauth-login-D734Jvbq.js +179 -0
- package/dist/oauth-session-BlIlcd8Q.d.ts +6 -0
- package/dist/paginate-COuL0Gzl.d.ts +24 -0
- package/dist/paginate.d.ts +2 -0
- package/dist/paginate.js +49 -0
- package/dist/parameter-ak-J-IOj.d.ts +190 -0
- package/dist/permission-BnCQw5Kp.d.ts +149 -0
- package/dist/poll-CIwnee7h.d.ts +15 -0
- package/dist/poll.d.ts +2 -0
- package/dist/poll.js +47 -0
- package/dist/predicates.d.ts +10 -0
- package/dist/predicates.js +18 -0
- package/dist/pulse-0LG3K6qO.d.ts +598 -0
- package/dist/pulse-BzKmz3Yn.d.ts +18 -0
- package/dist/query-Xsin530u.d.ts +23 -0
- package/dist/refusal-B9aeHMc9.js +130 -0
- package/dist/replacement-BGyggp-G.d.ts +2467 -0
- package/dist/replacement-CVebCuNp.d.ts +128 -0
- package/dist/requirement-check-glU7wqhQ.d.ts +17 -0
- package/dist/requirements-Dx_ZVzl7.d.ts +227 -0
- package/dist/resources/api-key.d.ts +11 -0
- package/dist/resources/api-key.js +35 -0
- package/dist/resources/card.d.ts +2 -0
- package/dist/resources/card.js +103 -0
- package/dist/resources/collection.d.ts +2 -0
- package/dist/resources/collection.js +134 -0
- package/dist/resources/content-translation.d.ts +11 -0
- package/dist/resources/content-translation.js +27 -0
- package/dist/resources/csv-upload.d.ts +2 -0
- package/dist/resources/csv-upload.js +9 -0
- package/dist/resources/dashboard.d.ts +2 -0
- package/dist/resources/dashboard.js +221 -0
- package/dist/resources/data-action.d.ts +60 -0
- package/dist/resources/data-action.js +79 -0
- package/dist/resources/data-app.d.ts +112 -0
- package/dist/resources/data-app.js +75 -0
- package/dist/resources/database.d.ts +2 -0
- package/dist/resources/database.js +103 -0
- package/dist/resources/dataset.d.ts +2 -0
- package/dist/resources/dataset.js +81 -0
- package/dist/resources/dependency.d.ts +2 -0
- package/dist/resources/dependency.js +156 -0
- package/dist/resources/document.d.ts +55 -0
- package/dist/resources/document.js +60 -0
- package/dist/resources/eid-translation.d.ts +8 -0
- package/dist/resources/eid-translation.js +19 -0
- package/dist/resources/erd.d.ts +2 -0
- package/dist/resources/erd.js +26 -0
- package/dist/resources/field.d.ts +2 -0
- package/dist/resources/field.js +99 -0
- package/dist/resources/git-sync.d.ts +2 -0
- package/dist/resources/git-sync.js +362 -0
- package/dist/resources/glossary.d.ts +2 -0
- package/dist/resources/glossary.js +51 -0
- package/dist/resources/library.d.ts +85 -0
- package/dist/resources/library.js +90 -0
- package/dist/resources/measure.d.ts +2 -0
- package/dist/resources/measure.js +57 -0
- package/dist/resources/metric.d.ts +2 -0
- package/dist/resources/metric.js +50 -0
- package/dist/resources/moderation-review.d.ts +23 -0
- package/dist/resources/moderation-review.js +24 -0
- package/dist/resources/notification.d.ts +2 -0
- package/dist/resources/notification.js +93 -0
- package/dist/resources/optional-parsed.d.ts +7 -0
- package/dist/resources/optional-parsed.js +14 -0
- package/dist/resources/permission.d.ts +10 -0
- package/dist/resources/permission.js +31 -0
- package/dist/resources/pivot-export.d.ts +10 -0
- package/dist/resources/pivot-export.js +16 -0
- package/dist/resources/pulse.d.ts +2 -0
- package/dist/resources/pulse.js +76 -0
- package/dist/resources/replacement.d.ts +2 -0
- package/dist/resources/replacement.js +82 -0
- package/dist/resources/request-body.d.ts +9 -0
- package/dist/resources/request-body.js +13 -0
- package/dist/resources/revision.d.ts +70 -0
- package/dist/resources/revision.js +46 -0
- package/dist/resources/search.d.ts +2 -0
- package/dist/resources/search.js +78 -0
- package/dist/resources/segment.d.ts +2 -0
- package/dist/resources/segment.js +55 -0
- package/dist/resources/setting.d.ts +11 -0
- package/dist/resources/setting.js +43 -0
- package/dist/resources/setup.d.ts +8 -0
- package/dist/resources/setup.js +18 -0
- package/dist/resources/snippet.d.ts +2 -0
- package/dist/resources/snippet.js +52 -0
- package/dist/resources/table.d.ts +2 -0
- package/dist/resources/table.js +274 -0
- package/dist/resources/timeline-event.d.ts +12 -0
- package/dist/resources/timeline-event.js +51 -0
- package/dist/resources/timeline.d.ts +2 -0
- package/dist/resources/timeline.js +82 -0
- package/dist/resources/transform-dag-run.d.ts +22 -0
- package/dist/resources/transform-dag-run.js +32 -0
- package/dist/resources/transform-inspector.d.ts +214 -0
- package/dist/resources/transform-inspector.js +47 -0
- package/dist/resources/transform-job.d.ts +2 -0
- package/dist/resources/transform-job.js +90 -0
- package/dist/resources/transform-python.d.ts +59 -0
- package/dist/resources/transform-python.js +57 -0
- package/dist/resources/transform-tag.d.ts +35 -0
- package/dist/resources/transform-tag.js +47 -0
- package/dist/resources/transform-test.d.ts +2 -0
- package/dist/resources/transform-test.js +75 -0
- package/dist/resources/transform.d.ts +2 -0
- package/dist/resources/transform.js +227 -0
- package/dist/resources/upload.d.ts +2 -0
- package/dist/resources/upload.js +48 -0
- package/dist/resources/user.d.ts +8 -0
- package/dist/resources/user.js +11 -0
- package/dist/revision-Dyl-8p7d.d.ts +106 -0
- package/dist/search-Cm5IxKss.d.ts +92 -0
- package/dist/search-Cten2h0I.d.ts +26 -0
- package/dist/segment-CbAgVO-5.d.ts +47 -0
- package/dist/segment-DQLX6r1E.d.ts +16 -0
- package/dist/session-properties-COtlxAcK.d.ts +15 -0
- package/dist/setting-DXuQGXGF.d.ts +25 -0
- package/dist/setup-JqcJ2unJ.d.ts +26 -0
- package/dist/signal.d.ts +8 -0
- package/dist/signal.js +25 -0
- package/dist/snippet-C_Ilx7tR.d.ts +41 -0
- package/dist/snippet-Djn0rL21.d.ts +16 -0
- package/dist/table-CDZbLNow.d.ts +176 -0
- package/dist/table-Od6uvDVW.d.ts +3234 -0
- package/dist/tag-qzjGGci8.d.ts +48 -0
- package/dist/timeline-BK45hy-h.d.ts +218 -0
- package/dist/timeline-BTs6fuRp.d.ts +21 -0
- package/dist/transform-C5thnJwW.d.ts +559 -0
- package/dist/transform-WASQAXeA.d.ts +652 -0
- package/dist/transform-dag-run-BgZwv1yx.d.ts +49 -0
- package/dist/transform-inspector-CMCh8WKV.d.ts +374 -0
- package/dist/transform-job-D8jTQtdX.d.ts +98 -0
- package/dist/transform-job-DmTwKxhc.d.ts +237 -0
- package/dist/transform-python-DtL3xxMj.d.ts +101 -0
- package/dist/transform-tag-C6j5EUkX.d.ts +25 -0
- package/dist/transform-test-CR_i54IV.d.ts +412 -0
- package/dist/transform-test-CeMzDpUC.d.ts +346 -0
- package/dist/transport-BsXqRujn.d.ts +476 -0
- package/dist/transport-HP7cyo9N.js +397 -0
- package/dist/upload-B5YjVkSW.d.ts +12 -0
- package/dist/upload-UPfZFdbH.d.ts +22 -0
- package/dist/url-CI0pxHOc.d.ts +7 -0
- package/dist/url.d.ts +2 -0
- package/dist/url.js +34 -0
- package/dist/user-Sqqv7rqh.d.ts +18 -0
- package/dist/version/capability-error.d.ts +2 -0
- package/dist/version/capability-error.js +42 -0
- package/dist/version/features.d.ts +2 -0
- package/dist/version/features.js +171 -0
- package/dist/version/input-gates.d.ts +2 -0
- package/dist/version/input-gates.js +13 -0
- package/dist/version/known-range.d.ts +2 -0
- package/dist/version/known-range.js +7 -0
- package/dist/version/probe.d.ts +2 -0
- package/dist/version/probe.js +30 -0
- package/dist/version/profile.d.ts +2 -0
- package/dist/version/profile.js +64 -0
- package/dist/version/requirement-check.d.ts +2 -0
- package/dist/version/requirement-check.js +62 -0
- package/dist/version/requirements.d.ts +2 -0
- package/dist/version/requirements.js +229 -0
- package/dist/version/tag.d.ts +2 -0
- package/dist/version/tag.js +52 -0
- package/package.json +66 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
|
|
2
|
+
import { o as CardQueryResult } from "./card-BxBzr5Uj.js";
|
|
3
|
+
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-BBNGPVec.js";
|
|
4
|
+
import { a as VisualizationSettings, n as ExportFormat, t as DatasetQuery } from "./query-Xsin530u.js";
|
|
5
|
+
//#region src/resources/dataset.d.ts
|
|
6
|
+
interface DatasetNativeParams {
|
|
7
|
+
pretty?: boolean | undefined;
|
|
8
|
+
}
|
|
9
|
+
interface DatasetExportParams {
|
|
10
|
+
query: DatasetQuery;
|
|
11
|
+
visualization_settings?: VisualizationSettings | undefined;
|
|
12
|
+
format_rows: boolean;
|
|
13
|
+
pivot_results: boolean;
|
|
14
|
+
csv_include_bom: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare function datasetResource(transport: Transport): {
|
|
17
|
+
query: (body: unknown, options?: RequestOptions) => Promise<CardQueryResult>;
|
|
18
|
+
native: (datasetQuery: DatasetQuery, params?: DatasetNativeParams, options?: RequestOptions) => Promise<CompiledQuery>;
|
|
19
|
+
queryMetadata: (datasetQuery: DatasetQuery, options?: RequestOptions) => Promise<QueryMetadata>;
|
|
20
|
+
exportQuery: (format: ExportFormat, params: DatasetExportParams, options?: RequestOptions) => Promise<ReadableStream<Uint8Array>>;
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { DatasetNativeParams as n, datasetResource as r, DatasetExportParams as t };
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
|
|
2
|
+
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
|
+
import { n as Page, r as PaginateOptions } from "./paginate-COuL0Gzl.js";
|
|
4
|
+
import { c as CardType } from "./card-BxBzr5Uj.js";
|
|
5
|
+
import { _ as DependentsSortColumn, f as DependencyItemsSortColumn, h as DependencyType } from "./dependency-arB8Cr2H.js";
|
|
6
|
+
import { i as SortDirection } from "./query-Xsin530u.js";
|
|
7
|
+
//#region src/resources/dependency.d.ts
|
|
8
|
+
interface DependencyDependentsParams {
|
|
9
|
+
"dependent-types"?: ReadonlyArray<DependencyType> | undefined;
|
|
10
|
+
"dependent-card-types"?: ReadonlyArray<CardType> | undefined;
|
|
11
|
+
broken?: boolean | undefined;
|
|
12
|
+
query?: string | undefined;
|
|
13
|
+
"include-personal-collections"?: boolean | undefined;
|
|
14
|
+
"sort-column"?: DependentsSortColumn | undefined;
|
|
15
|
+
"sort-direction"?: SortDirection | undefined;
|
|
16
|
+
}
|
|
17
|
+
type DependencyBrokenParams = Omit<DependencyDependentsParams, "broken" | "query">;
|
|
18
|
+
interface DependencyItemListParams {
|
|
19
|
+
types?: ReadonlyArray<DependencyType> | undefined;
|
|
20
|
+
"card-types"?: ReadonlyArray<CardType> | undefined;
|
|
21
|
+
query?: string | undefined;
|
|
22
|
+
"include-personal-collections"?: boolean | undefined;
|
|
23
|
+
"sort-column"?: DependencyItemsSortColumn | undefined;
|
|
24
|
+
"sort-direction"?: SortDirection | undefined;
|
|
25
|
+
}
|
|
26
|
+
type DependencyItemPageOptions = Omit<PaginateOptions, "query">;
|
|
27
|
+
declare function dependencyResource(transport: Transport): {
|
|
28
|
+
graph: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, options?: RequestOptions | undefined) => Promise<{
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
nodes: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
id: number;
|
|
33
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
34
|
+
data: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
name?: string | null | undefined;
|
|
37
|
+
display_name?: string | null | undefined;
|
|
38
|
+
description?: string | null | undefined;
|
|
39
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
40
|
+
display?: string | null | undefined;
|
|
41
|
+
database_id?: number | null | undefined;
|
|
42
|
+
db_id?: number | null | undefined;
|
|
43
|
+
schema?: string | null | undefined;
|
|
44
|
+
collection_id?: string | number | null | undefined;
|
|
45
|
+
collection?: {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
id: string | number;
|
|
48
|
+
name: string;
|
|
49
|
+
authority_level: "official" | null;
|
|
50
|
+
is_personal?: boolean | undefined;
|
|
51
|
+
} | null | undefined;
|
|
52
|
+
dashboard_id?: number | null | undefined;
|
|
53
|
+
dashboard?: {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
id: number;
|
|
56
|
+
name: string;
|
|
57
|
+
} | null | undefined;
|
|
58
|
+
document_id?: number | null | undefined;
|
|
59
|
+
document?: {
|
|
60
|
+
[x: string]: unknown;
|
|
61
|
+
id: number;
|
|
62
|
+
name: string;
|
|
63
|
+
} | null | undefined;
|
|
64
|
+
db?: {
|
|
65
|
+
[x: string]: unknown;
|
|
66
|
+
id: number;
|
|
67
|
+
name: string;
|
|
68
|
+
} | null | undefined;
|
|
69
|
+
table_id?: number | null | undefined;
|
|
70
|
+
table?: {
|
|
71
|
+
[x: string]: unknown;
|
|
72
|
+
id: number;
|
|
73
|
+
name: string;
|
|
74
|
+
display_name: string;
|
|
75
|
+
} | null | undefined;
|
|
76
|
+
view_count?: number | null | undefined;
|
|
77
|
+
};
|
|
78
|
+
dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
79
|
+
}[];
|
|
80
|
+
edges: {
|
|
81
|
+
[x: string]: unknown;
|
|
82
|
+
from_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
83
|
+
from_entity_id: number;
|
|
84
|
+
to_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
85
|
+
to_entity_id: number;
|
|
86
|
+
}[];
|
|
87
|
+
}>;
|
|
88
|
+
dependents: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, params?: DependencyDependentsParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
89
|
+
[x: string]: unknown;
|
|
90
|
+
id: number;
|
|
91
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
92
|
+
data: {
|
|
93
|
+
[x: string]: unknown;
|
|
94
|
+
name?: string | null | undefined;
|
|
95
|
+
display_name?: string | null | undefined;
|
|
96
|
+
description?: string | null | undefined;
|
|
97
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
98
|
+
display?: string | null | undefined;
|
|
99
|
+
database_id?: number | null | undefined;
|
|
100
|
+
db_id?: number | null | undefined;
|
|
101
|
+
schema?: string | null | undefined;
|
|
102
|
+
collection_id?: string | number | null | undefined;
|
|
103
|
+
collection?: {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
id: string | number;
|
|
106
|
+
name: string;
|
|
107
|
+
authority_level: "official" | null;
|
|
108
|
+
is_personal?: boolean | undefined;
|
|
109
|
+
} | null | undefined;
|
|
110
|
+
dashboard_id?: number | null | undefined;
|
|
111
|
+
dashboard?: {
|
|
112
|
+
[x: string]: unknown;
|
|
113
|
+
id: number;
|
|
114
|
+
name: string;
|
|
115
|
+
} | null | undefined;
|
|
116
|
+
document_id?: number | null | undefined;
|
|
117
|
+
document?: {
|
|
118
|
+
[x: string]: unknown;
|
|
119
|
+
id: number;
|
|
120
|
+
name: string;
|
|
121
|
+
} | null | undefined;
|
|
122
|
+
db?: {
|
|
123
|
+
[x: string]: unknown;
|
|
124
|
+
id: number;
|
|
125
|
+
name: string;
|
|
126
|
+
} | null | undefined;
|
|
127
|
+
table_id?: number | null | undefined;
|
|
128
|
+
table?: {
|
|
129
|
+
[x: string]: unknown;
|
|
130
|
+
id: number;
|
|
131
|
+
name: string;
|
|
132
|
+
display_name: string;
|
|
133
|
+
} | null | undefined;
|
|
134
|
+
view_count?: number | null | undefined;
|
|
135
|
+
};
|
|
136
|
+
dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
137
|
+
}>>;
|
|
138
|
+
broken: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
139
|
+
[x: string]: unknown;
|
|
140
|
+
id: number;
|
|
141
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
142
|
+
data: {
|
|
143
|
+
[x: string]: unknown;
|
|
144
|
+
name?: string | null | undefined;
|
|
145
|
+
display_name?: string | null | undefined;
|
|
146
|
+
description?: string | null | undefined;
|
|
147
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
148
|
+
display?: string | null | undefined;
|
|
149
|
+
database_id?: number | null | undefined;
|
|
150
|
+
db_id?: number | null | undefined;
|
|
151
|
+
schema?: string | null | undefined;
|
|
152
|
+
collection_id?: string | number | null | undefined;
|
|
153
|
+
collection?: {
|
|
154
|
+
[x: string]: unknown;
|
|
155
|
+
id: string | number;
|
|
156
|
+
name: string;
|
|
157
|
+
authority_level: "official" | null;
|
|
158
|
+
is_personal?: boolean | undefined;
|
|
159
|
+
} | null | undefined;
|
|
160
|
+
dashboard_id?: number | null | undefined;
|
|
161
|
+
dashboard?: {
|
|
162
|
+
[x: string]: unknown;
|
|
163
|
+
id: number;
|
|
164
|
+
name: string;
|
|
165
|
+
} | null | undefined;
|
|
166
|
+
document_id?: number | null | undefined;
|
|
167
|
+
document?: {
|
|
168
|
+
[x: string]: unknown;
|
|
169
|
+
id: number;
|
|
170
|
+
name: string;
|
|
171
|
+
} | null | undefined;
|
|
172
|
+
db?: {
|
|
173
|
+
[x: string]: unknown;
|
|
174
|
+
id: number;
|
|
175
|
+
name: string;
|
|
176
|
+
} | null | undefined;
|
|
177
|
+
table_id?: number | null | undefined;
|
|
178
|
+
table?: {
|
|
179
|
+
[x: string]: unknown;
|
|
180
|
+
id: number;
|
|
181
|
+
name: string;
|
|
182
|
+
display_name: string;
|
|
183
|
+
} | null | undefined;
|
|
184
|
+
view_count?: number | null | undefined;
|
|
185
|
+
};
|
|
186
|
+
}>>;
|
|
187
|
+
unreferencedPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
188
|
+
[x: string]: unknown;
|
|
189
|
+
id: number;
|
|
190
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
191
|
+
data: {
|
|
192
|
+
[x: string]: unknown;
|
|
193
|
+
name?: string | null | undefined;
|
|
194
|
+
display_name?: string | null | undefined;
|
|
195
|
+
description?: string | null | undefined;
|
|
196
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
197
|
+
display?: string | null | undefined;
|
|
198
|
+
database_id?: number | null | undefined;
|
|
199
|
+
db_id?: number | null | undefined;
|
|
200
|
+
schema?: string | null | undefined;
|
|
201
|
+
collection_id?: string | number | null | undefined;
|
|
202
|
+
collection?: {
|
|
203
|
+
[x: string]: unknown;
|
|
204
|
+
id: string | number;
|
|
205
|
+
name: string;
|
|
206
|
+
authority_level: "official" | null;
|
|
207
|
+
is_personal?: boolean | undefined;
|
|
208
|
+
} | null | undefined;
|
|
209
|
+
dashboard_id?: number | null | undefined;
|
|
210
|
+
dashboard?: {
|
|
211
|
+
[x: string]: unknown;
|
|
212
|
+
id: number;
|
|
213
|
+
name: string;
|
|
214
|
+
} | null | undefined;
|
|
215
|
+
document_id?: number | null | undefined;
|
|
216
|
+
document?: {
|
|
217
|
+
[x: string]: unknown;
|
|
218
|
+
id: number;
|
|
219
|
+
name: string;
|
|
220
|
+
} | null | undefined;
|
|
221
|
+
db?: {
|
|
222
|
+
[x: string]: unknown;
|
|
223
|
+
id: number;
|
|
224
|
+
name: string;
|
|
225
|
+
} | null | undefined;
|
|
226
|
+
table_id?: number | null | undefined;
|
|
227
|
+
table?: {
|
|
228
|
+
[x: string]: unknown;
|
|
229
|
+
id: number;
|
|
230
|
+
name: string;
|
|
231
|
+
display_name: string;
|
|
232
|
+
} | null | undefined;
|
|
233
|
+
view_count?: number | null | undefined;
|
|
234
|
+
};
|
|
235
|
+
dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
236
|
+
}>>;
|
|
237
|
+
breakingPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
238
|
+
[x: string]: unknown;
|
|
239
|
+
id: number;
|
|
240
|
+
type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
241
|
+
data: {
|
|
242
|
+
[x: string]: unknown;
|
|
243
|
+
name?: string | null | undefined;
|
|
244
|
+
display_name?: string | null | undefined;
|
|
245
|
+
description?: string | null | undefined;
|
|
246
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
247
|
+
display?: string | null | undefined;
|
|
248
|
+
database_id?: number | null | undefined;
|
|
249
|
+
db_id?: number | null | undefined;
|
|
250
|
+
schema?: string | null | undefined;
|
|
251
|
+
collection_id?: string | number | null | undefined;
|
|
252
|
+
collection?: {
|
|
253
|
+
[x: string]: unknown;
|
|
254
|
+
id: string | number;
|
|
255
|
+
name: string;
|
|
256
|
+
authority_level: "official" | null;
|
|
257
|
+
is_personal?: boolean | undefined;
|
|
258
|
+
} | null | undefined;
|
|
259
|
+
dashboard_id?: number | null | undefined;
|
|
260
|
+
dashboard?: {
|
|
261
|
+
[x: string]: unknown;
|
|
262
|
+
id: number;
|
|
263
|
+
name: string;
|
|
264
|
+
} | null | undefined;
|
|
265
|
+
document_id?: number | null | undefined;
|
|
266
|
+
document?: {
|
|
267
|
+
[x: string]: unknown;
|
|
268
|
+
id: number;
|
|
269
|
+
name: string;
|
|
270
|
+
} | null | undefined;
|
|
271
|
+
db?: {
|
|
272
|
+
[x: string]: unknown;
|
|
273
|
+
id: number;
|
|
274
|
+
name: string;
|
|
275
|
+
} | null | undefined;
|
|
276
|
+
table_id?: number | null | undefined;
|
|
277
|
+
table?: {
|
|
278
|
+
[x: string]: unknown;
|
|
279
|
+
id: number;
|
|
280
|
+
name: string;
|
|
281
|
+
display_name: string;
|
|
282
|
+
} | null | undefined;
|
|
283
|
+
view_count?: number | null | undefined;
|
|
284
|
+
};
|
|
285
|
+
dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
286
|
+
dependents_errors?: {
|
|
287
|
+
[x: string]: unknown;
|
|
288
|
+
id: number;
|
|
289
|
+
analyzed_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
|
|
290
|
+
analyzed_entity_id: number;
|
|
291
|
+
error_type: "missing-column" | "missing-table-alias" | "missing-table" | "missing-card" | "duplicate-column" | "syntax-error" | "validation-exception-error";
|
|
292
|
+
error_detail?: string | null | undefined;
|
|
293
|
+
source_entity_type?: "transform" | "card" | "table" | null | undefined;
|
|
294
|
+
source_entity_id?: number | null | undefined;
|
|
295
|
+
}[] | null | undefined;
|
|
296
|
+
}>>;
|
|
297
|
+
};
|
|
298
|
+
//#endregion
|
|
299
|
+
export { dependencyResource as a, DependencyItemPageOptions as i, DependencyDependentsParams as n, DependencyItemListParams as r, DependencyBrokenParams as t };
|