@metabase/client 0.1.2 → 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 +7 -0
- package/README.md +1 -1
- package/dist/{card-CrSywvOt.d.ts → card-BBLDmhtp.d.ts} +23 -23
- package/dist/{card-CbV6hLYH.d.ts → card-DkHtPMK4.d.ts} +3 -3
- package/dist/{client-cBi6_RQs.d.ts → client-eOkt3tTd.d.ts} +106 -88
- package/dist/client.d.ts +1 -1
- package/dist/{collection-Bmtisr3r.d.ts → collection-BtjnSckn.d.ts} +42 -42
- package/dist/{collection-Q9FNMiRh.d.ts → collection-DWjkDrln.d.ts} +4 -4
- package/dist/{dashboard-CknUcTp8.d.ts → dashboard-B4qWeR10.d.ts} +3 -3
- package/dist/{dashboard-DBdEehA9.d.ts → dashboard-DtLXVgtf.d.ts} +18 -18
- package/dist/{data-action-CqqZ0JYg.d.ts → data-action-DqwcRA7B.d.ts} +62 -11
- package/dist/{data-app-MoMS9VUr.d.ts → data-app-CqP5_fpB.d.ts} +1 -1
- package/dist/{database-Bs5WQOOZ.d.ts → database-Cw8ICtQi.d.ts} +3 -3
- package/dist/{database-CYNLJ8AZ.d.ts → database-DULVEXki.d.ts} +18 -18
- package/dist/{dataset-dzWljE_C.d.ts → dataset-26H-dH4N.d.ts} +3 -3
- package/dist/{dataset-cg8ZZrOP.d.ts → dataset-Du1GRHhd.d.ts} +72 -72
- package/dist/{dependency-VqvLTDAU.d.ts → dependency-B8aPt_IM.d.ts} +163 -163
- package/dist/{dependency-CL-YG9KH.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/dashboard.d.ts +1 -1
- package/dist/domain/data-action.d.ts +2 -2
- package/dist/domain/data-action.js +43 -10
- package/dist/domain/data-app.d.ts +1 -1
- 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/embedding.d.ts +1 -1
- package/dist/domain/field.d.ts +1 -1
- package/dist/domain/git-sync.d.ts +1 -1
- package/dist/domain/metric.d.ts +1 -1
- package/dist/domain/moderation-review.d.ts +1 -1
- package/dist/domain/notification.d.ts +1 -1
- package/dist/domain/parameter.d.ts +1 -1
- package/dist/domain/pulse.d.ts +1 -1
- package/dist/domain/replacement.d.ts +1 -1
- package/dist/domain/revision.d.ts +1 -1
- package/dist/domain/search.d.ts +1 -1
- package/dist/domain/table.d.ts +1 -1
- package/dist/domain/timeline.d.ts +1 -1
- package/dist/domain/transform-dag-run.d.ts +1 -1
- package/dist/domain/transform-inspector.d.ts +1 -1
- package/dist/domain/transform-job.d.ts +1 -1
- package/dist/domain/transform-test.d.ts +1 -1
- package/dist/domain/transform.d.ts +1 -1
- package/dist/{eid-translation-aQSffx0o.d.ts → eid-translation-CP79Tz71.d.ts} +40 -40
- package/dist/{embedding-Cz3RUJYf.d.ts → embedding-oU3gqfgX.d.ts} +1 -1
- package/dist/{erd-DCgdEC2S.d.ts → erd-D2fpjDTj.d.ts} +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/{field-tqQPtVuR.d.ts → field-D-kF3G7v.d.ts} +1 -1
- package/dist/{field-ozrfbvUd.d.ts → field-awM3Y7IP.d.ts} +2 -2
- package/dist/{git-sync-5lFWX1ds.d.ts → git-sync-8Tk8TirZ.d.ts} +1 -1
- package/dist/{git-sync-QL9Nu6gP.d.ts → git-sync-nvbSaNfS.d.ts} +8 -8
- package/dist/{glossary-DwS7QVrl.d.ts → glossary-CQMSJmIx.d.ts} +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/transport.d.ts +1 -1
- package/dist/index.d.ts +34 -34
- package/dist/index.js +2 -2
- package/dist/{json-DwGOvRtS.d.ts → json-DvOVLFVY.d.ts} +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/{measure-CInoXeyH.d.ts → measure-D4ArCbsa.d.ts} +1 -1
- package/dist/{metric-CYOmbcM5.d.ts → metric-BtEVH_Yp.d.ts} +9 -9
- package/dist/{moderation-review-CWUQ3_HL.d.ts → moderation-review-B4RUTZ6_.d.ts} +4 -4
- package/dist/{notification-D-Hp82Pn.d.ts → notification-BsuPAfMW.d.ts} +2 -2
- package/dist/{notification-BY2JEjKp.d.ts → notification-D1MThyKE.d.ts} +2 -2
- package/dist/{paginate-CaJ5usdp.d.ts → paginate-Du9kUbXZ.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{parameter-BYo7uR-J.d.ts → parameter-ak-J-IOj.d.ts} +2 -2
- package/dist/{pulse-BUlfrJZH.d.ts → pulse-0LG3K6qO.d.ts} +16 -16
- package/dist/{pulse-BTpSNxhT.d.ts → pulse-drQKS_pg.d.ts} +2 -2
- package/dist/{replacement-BQian4vA.d.ts → replacement-CyvtbxGg.d.ts} +23 -23
- package/dist/{replacement-Dbtvvrmz.d.ts → replacement-g3IKzPPj.d.ts} +11 -11
- package/dist/{requirement-check-CHHEHXcj.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/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 +10 -3
- 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 +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 +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-DNEw6S93.d.ts → revision-Cft5Lcev.d.ts} +3 -3
- package/dist/{search-tK5lmRb8.d.ts → search-BUr4r7d2.d.ts} +23 -23
- package/dist/{search-BQWkdVg1.d.ts → search-DX1IVRRC.d.ts} +2 -2
- package/dist/{segment-jyhBtOAZ.d.ts → segment-c2EDEJNd.d.ts} +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{snippet-DsgohpTV.d.ts → snippet-CSt-f812.d.ts} +1 -1
- package/dist/{table-B1pQSpTA.d.ts → table-BA-k8Zgt.d.ts} +14 -14
- package/dist/{table-BAl8aPZZ.d.ts → table-R-q8w__K.d.ts} +32 -32
- package/dist/{timeline-BfX1lMob.d.ts → timeline-B35sx1FM.d.ts} +21 -21
- package/dist/{timeline-BdLvwRnl.d.ts → timeline-D3Clk0_n.d.ts} +2 -2
- package/dist/{transform-DwnIcpqV.d.ts → transform-C5thnJwW.d.ts} +14 -14
- package/dist/{transform-Ds74yPiY.d.ts → transform-DzgPup_a.d.ts} +12 -12
- package/dist/{transform-dag-run-BSrdrjaK.d.ts → transform-dag-run-BgZwv1yx.d.ts} +4 -4
- package/dist/{transform-inspector-BMaRqcRM.d.ts → transform-inspector-BUYBt6--.d.ts} +8 -8
- package/dist/{transform-job-Dfp9Ox0l.d.ts → transform-job-D8jTQtdX.d.ts} +2 -2
- package/dist/{transform-job-C85GxBHj.d.ts → transform-job-DtLWrsyH.d.ts} +6 -6
- package/dist/{transform-test-C3hiZ4AV.d.ts → transform-test-B_HR-yKA.d.ts} +2 -2
- package/dist/{transform-test-DROPvrkI.d.ts → transform-test-CeMzDpUC.d.ts} +1 -1
- package/dist/{transport-CS11mEqI.d.ts → transport-CyHAGDqx.d.ts} +2 -2
- package/dist/{upload-Bx1D7eNy.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,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, g as TransportRequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, g as TransportRequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
|
|
2
2
|
import { ZodType } from "zod";
|
|
3
3
|
//#region src/resources/optional-parsed.d.ts
|
|
4
4
|
type OptionalParsedOptions = RequestOptions & Pick<TransportRequestOptions, "query">;
|
|
@@ -1,4 +1,4 @@
|
|
|
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 { a as PermissionsGraph } from "../permission-BnCQw5Kp.js";
|
|
3
3
|
//#region src/resources/permission.d.ts
|
|
4
4
|
declare function permissionResource(transport: Transport): {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as mergePulseUpdate, r as pulseResource, t as PulseListParams } from "../pulse-
|
|
1
|
+
import { n as mergePulseUpdate, r as pulseResource, t as PulseListParams } from "../pulse-drQKS_pg.js";
|
|
2
2
|
export { PulseListParams, mergePulseUpdate, pulseResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as replacementResource, t as ReplacementRunListParams } from "../replacement-
|
|
1
|
+
import { n as replacementResource, t as ReplacementRunListParams } from "../replacement-g3IKzPPj.js";
|
|
2
2
|
export { ReplacementRunListParams, replacementResource };
|
|
@@ -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
3
|
//#region src/resources/revision.d.ts
|
|
4
4
|
declare function revisionResource(transport: Transport): {
|
|
5
|
-
list: (entity: "
|
|
5
|
+
list: (entity: "card" | "dashboard" | "document" | "measure" | "segment" | "transform" | "transform-test", id: number, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
6
6
|
[x: string]: unknown;
|
|
7
7
|
id: number;
|
|
8
8
|
timestamp: string;
|
|
@@ -23,7 +23,7 @@ declare function revisionResource(transport: Transport): {
|
|
|
23
23
|
};
|
|
24
24
|
}>>;
|
|
25
25
|
revert: (params: {
|
|
26
|
-
entity: "
|
|
26
|
+
entity: "card" | "dashboard" | "document" | "measure" | "segment" | "transform" | "transform-test";
|
|
27
27
|
id: number;
|
|
28
28
|
revision_id: number;
|
|
29
29
|
}, options?: RequestOptions | undefined) => Promise<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SearchParams, r as searchResource, t as SearchPage } from "../search-
|
|
1
|
+
import { n as SearchParams, r as searchResource, t as SearchPage } from "../search-DX1IVRRC.js";
|
|
2
2
|
export { SearchPage, SearchParams, searchResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as segmentResource, t as SegmentArchiveParams } from "../segment-
|
|
1
|
+
import { n as segmentResource, t as SegmentArchiveParams } from "../segment-c2EDEJNd.js";
|
|
2
2
|
export { SegmentArchiveParams, segmentResource };
|
|
@@ -1,4 +1,4 @@
|
|
|
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
3
|
import { t as Setting } from "../setting-DXuQGXGF.js";
|
|
4
4
|
//#region src/resources/setting.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
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 { n as SetupResult, t as SetupInput } from "../setup-JqcJ2unJ.js";
|
|
3
3
|
//#region src/resources/setup.d.ts
|
|
4
4
|
declare function setupResource(transport: Transport): {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as snippetResource, t as SnippetListParams } from "../snippet-
|
|
1
|
+
import { n as snippetResource, t as SnippetListParams } from "../snippet-CSt-f812.js";
|
|
2
2
|
export { SnippetListParams, snippetResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as tableResource, t as TableListParams } from "../table-
|
|
1
|
+
import { n as tableResource, t as TableListParams } from "../table-BA-k8Zgt.js";
|
|
2
2
|
export { TableListParams, tableResource };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
2
|
-
import { i as TimelineEvent, o as TimelineEventCreateInput, s as TimelineEventUpdateInput } from "../timeline-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
|
|
2
|
+
import { i as TimelineEvent, o as TimelineEventCreateInput, s as TimelineEventUpdateInput } from "../timeline-B35sx1FM.js";
|
|
3
3
|
//#region src/resources/timeline-event.d.ts
|
|
4
4
|
declare function timelineEventResource(transport: Transport): {
|
|
5
5
|
get: (id: number, options?: RequestOptions) => Promise<TimelineEvent>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TimelineListParams, r as timelineResource, t as TimelineEventsParams } from "../timeline-
|
|
1
|
+
import { n as TimelineListParams, r as timelineResource, t as TimelineEventsParams } from "../timeline-D3Clk0_n.js";
|
|
2
2
|
export { TimelineEventsParams, TimelineListParams, timelineResource };
|
|
@@ -1,4 +1,4 @@
|
|
|
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
3
|
//#region src/resources/transform-dag-run.d.ts
|
|
4
4
|
declare function transformDagRunResource(transport: Transport): {
|
|
@@ -7,7 +7,7 @@ declare function transformDagRunResource(transport: Transport): {
|
|
|
7
7
|
id: number;
|
|
8
8
|
transform_id: number | null;
|
|
9
9
|
run_method: "manual" | "cron";
|
|
10
|
-
status: "
|
|
10
|
+
status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
|
|
11
11
|
is_active: boolean | null;
|
|
12
12
|
start_time: string;
|
|
13
13
|
message: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
|
|
2
2
|
//#region src/resources/transform-inspector.d.ts
|
|
3
3
|
declare function transformInspectorResource(transport: Transport): {
|
|
4
4
|
discover: (id: number, options?: RequestOptions | undefined) => Promise<{
|
|
@@ -95,7 +95,7 @@ declare function transformInspectorResource(transport: Transport): {
|
|
|
95
95
|
[x: string]: unknown;
|
|
96
96
|
id: string;
|
|
97
97
|
title: string;
|
|
98
|
-
display: "table" | "hidden" | "
|
|
98
|
+
display: "table" | "hidden" | "progress" | "bar" | "row" | "line" | "area" | "pie" | "scalar" | "gauge";
|
|
99
99
|
dataset_query: {
|
|
100
100
|
[x: string]: unknown;
|
|
101
101
|
};
|
|
@@ -108,7 +108,7 @@ declare function transformInspectorResource(transport: Transport): {
|
|
|
108
108
|
dedup_key?: unknown[] | undefined;
|
|
109
109
|
depends_on_cards?: string[] | undefined;
|
|
110
110
|
group_id?: string | undefined;
|
|
111
|
-
group_role?: "
|
|
111
|
+
group_role?: "output" | "input" | undefined;
|
|
112
112
|
group_order?: number | undefined;
|
|
113
113
|
card_type?: string | undefined;
|
|
114
114
|
} | undefined;
|
|
@@ -149,7 +149,7 @@ declare function transformInspectorResource(transport: Transport): {
|
|
|
149
149
|
[x: string]: unknown;
|
|
150
150
|
name: string;
|
|
151
151
|
};
|
|
152
|
-
severity: "error" | "
|
|
152
|
+
severity: "error" | "info" | "warning";
|
|
153
153
|
message: string;
|
|
154
154
|
metadata?: {
|
|
155
155
|
[x: string]: unknown;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as transformJobResource, t as TransformJobRunParams } from "../transform-job-
|
|
1
|
+
import { n as transformJobResource, t as TransformJobRunParams } from "../transform-job-DtLWrsyH.js";
|
|
2
2
|
export { TransformJobRunParams, transformJobResource };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
|
|
2
2
|
//#region src/resources/transform-python.d.ts
|
|
3
3
|
declare function transformPythonResource(transport: Transport): {
|
|
4
4
|
getLibrary: (path: string, options?: RequestOptions | undefined) => Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
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
3
|
//#region src/resources/transform-tag.d.ts
|
|
4
4
|
declare function transformTagResource(transport: Transport): {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as transformTestResource, t as TransformTestListParams } from "../transform-test-
|
|
1
|
+
import { n as transformTestResource, t as TransformTestListParams } from "../transform-test-B_HR-yKA.js";
|
|
2
2
|
export { TransformTestListParams, transformTestResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TransformRunSummaryPageParams, i as TransformRunParams, n as TransformRunPageOptions, o as transformResource, r as TransformRunPageParams, t as TransformDagParams } from "../transform-
|
|
1
|
+
import { a as TransformRunSummaryPageParams, i as TransformRunParams, n as TransformRunPageOptions, o as transformResource, r as TransformRunPageParams, t as TransformDagParams } from "../transform-DzgPup_a.js";
|
|
2
2
|
export { TransformDagParams, TransformRunPageOptions, TransformRunPageParams, TransformRunParams, TransformRunSummaryPageParams, transformResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as uploadResource, t as UploadCsvParams } from "../upload-
|
|
1
|
+
import { n as uploadResource, t as UploadCsvParams } from "../upload-BSixoElJ.js";
|
|
2
2
|
export { UploadCsvParams, uploadResource };
|
package/dist/resources/user.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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 CurrentUser } from "../user-Sqqv7rqh.js";
|
|
3
3
|
//#region src/resources/user.d.ts
|
|
4
4
|
declare function userResource(transport: Transport): {
|
|
@@ -2,12 +2,12 @@ import { r as InputGate } from "./input-gates-DwKoTJVQ.js";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/domain/revision.d.ts
|
|
4
4
|
declare const RevisionEntity: z.ZodEnum<{
|
|
5
|
-
transform: "transform";
|
|
6
5
|
card: "card";
|
|
7
6
|
dashboard: "dashboard";
|
|
8
7
|
document: "document";
|
|
9
8
|
measure: "measure";
|
|
10
9
|
segment: "segment";
|
|
10
|
+
transform: "transform";
|
|
11
11
|
"transform-test": "transform-test";
|
|
12
12
|
}>;
|
|
13
13
|
type RevisionEntity = z.infer<typeof RevisionEntity>;
|
|
@@ -30,13 +30,13 @@ declare const Revision: z.ZodObject<{
|
|
|
30
30
|
type Revision = z.infer<typeof Revision>;
|
|
31
31
|
declare const RevisionCompact: z.ZodObject<{
|
|
32
32
|
id: z.ZodNumber;
|
|
33
|
-
description: z.ZodString;
|
|
34
33
|
user: z.ZodObject<{
|
|
35
34
|
id: z.ZodNumber;
|
|
36
35
|
first_name: z.ZodNullable<z.ZodString>;
|
|
37
36
|
last_name: z.ZodNullable<z.ZodString>;
|
|
38
37
|
common_name: z.ZodString;
|
|
39
38
|
}, z.core.$loose>;
|
|
39
|
+
description: z.ZodString;
|
|
40
40
|
timestamp: z.ZodString;
|
|
41
41
|
is_creation: z.ZodBoolean;
|
|
42
42
|
is_reversion: z.ZodBoolean;
|
|
@@ -57,12 +57,12 @@ type RevisionRow = z.infer<typeof RevisionRow>;
|
|
|
57
57
|
declare const REVISION_ENTITY_GATES: readonly InputGate[];
|
|
58
58
|
declare const RevisionRevertInput: z.ZodObject<{
|
|
59
59
|
entity: z.ZodEnum<{
|
|
60
|
-
transform: "transform";
|
|
61
60
|
card: "card";
|
|
62
61
|
dashboard: "dashboard";
|
|
63
62
|
document: "document";
|
|
64
63
|
measure: "measure";
|
|
65
64
|
segment: "segment";
|
|
65
|
+
transform: "transform";
|
|
66
66
|
"transform-test": "transform-test";
|
|
67
67
|
}>;
|
|
68
68
|
id: z.ZodNumber;
|
|
@@ -2,40 +2,40 @@ import { z } from "zod";
|
|
|
2
2
|
//#region src/domain/search.d.ts
|
|
3
3
|
declare const SEARCH_MODELS: readonly ["card", "dataset", "metric", "dashboard", "collection", "database", "table", "segment", "measure", "document", "exploration", "action", "transform", "indexed-entity"];
|
|
4
4
|
declare const SearchModel: z.ZodEnum<{
|
|
5
|
-
|
|
6
|
-
metric: "metric";
|
|
7
|
-
database: "database";
|
|
8
|
-
table: "table";
|
|
5
|
+
collection: "collection";
|
|
9
6
|
card: "card";
|
|
10
7
|
dashboard: "dashboard";
|
|
8
|
+
database: "database";
|
|
11
9
|
dataset: "dataset";
|
|
12
|
-
collection: "collection";
|
|
13
10
|
document: "document";
|
|
14
|
-
|
|
11
|
+
metric: "metric";
|
|
15
12
|
measure: "measure";
|
|
13
|
+
segment: "segment";
|
|
14
|
+
table: "table";
|
|
15
|
+
transform: "transform";
|
|
16
|
+
exploration: "exploration";
|
|
16
17
|
"indexed-entity": "indexed-entity";
|
|
17
18
|
action: "action";
|
|
18
|
-
segment: "segment";
|
|
19
19
|
}>;
|
|
20
20
|
type SearchModel = z.infer<typeof SearchModel>;
|
|
21
21
|
declare const SearchResult: z.ZodObject<{
|
|
22
22
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
23
23
|
name: z.ZodString;
|
|
24
24
|
model: z.ZodEnum<{
|
|
25
|
-
|
|
26
|
-
metric: "metric";
|
|
27
|
-
database: "database";
|
|
28
|
-
table: "table";
|
|
25
|
+
collection: "collection";
|
|
29
26
|
card: "card";
|
|
30
27
|
dashboard: "dashboard";
|
|
28
|
+
database: "database";
|
|
31
29
|
dataset: "dataset";
|
|
32
|
-
collection: "collection";
|
|
33
30
|
document: "document";
|
|
34
|
-
|
|
31
|
+
metric: "metric";
|
|
35
32
|
measure: "measure";
|
|
33
|
+
segment: "segment";
|
|
34
|
+
table: "table";
|
|
35
|
+
transform: "transform";
|
|
36
|
+
exploration: "exploration";
|
|
36
37
|
"indexed-entity": "indexed-entity";
|
|
37
38
|
action: "action";
|
|
38
|
-
segment: "segment";
|
|
39
39
|
}>;
|
|
40
40
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
archived: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -61,24 +61,24 @@ declare const SearchResult: z.ZodObject<{
|
|
|
61
61
|
type SearchResult = z.infer<typeof SearchResult>;
|
|
62
62
|
declare const SearchResultCompact: z.ZodObject<{
|
|
63
63
|
id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
64
|
-
name: z.ZodString;
|
|
65
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
64
|
model: z.ZodEnum<{
|
|
67
|
-
|
|
68
|
-
metric: "metric";
|
|
69
|
-
database: "database";
|
|
70
|
-
table: "table";
|
|
65
|
+
collection: "collection";
|
|
71
66
|
card: "card";
|
|
72
67
|
dashboard: "dashboard";
|
|
68
|
+
database: "database";
|
|
73
69
|
dataset: "dataset";
|
|
74
|
-
collection: "collection";
|
|
75
70
|
document: "document";
|
|
76
|
-
|
|
71
|
+
metric: "metric";
|
|
77
72
|
measure: "measure";
|
|
73
|
+
segment: "segment";
|
|
74
|
+
table: "table";
|
|
75
|
+
transform: "transform";
|
|
76
|
+
exploration: "exploration";
|
|
78
77
|
"indexed-entity": "indexed-entity";
|
|
79
78
|
action: "action";
|
|
80
|
-
segment: "segment";
|
|
81
79
|
}>;
|
|
80
|
+
name: z.ZodString;
|
|
81
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
table_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
database_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
84
|
table_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
2
|
-
import { n as SearchModel, r as SearchResult } from "./search-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
|
|
2
|
+
import { n as SearchModel, r as SearchResult } from "./search-BUr4r7d2.js";
|
|
3
3
|
//#region src/resources/search.d.ts
|
|
4
4
|
interface SearchPage {
|
|
5
5
|
data: SearchResult[];
|
|
@@ -1,4 +1,4 @@
|
|
|
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
3
|
import { i as SegmentUpdateInput, r as SegmentCreateInput, t as Segment } from "./segment-CbAgVO-5.js";
|
|
4
4
|
//#region src/resources/segment.d.ts
|
package/dist/signal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as MetabaseError } from "./transport-
|
|
1
|
+
import { X as MetabaseError } from "./transport-CyHAGDqx.js";
|
|
2
2
|
//#region src/signal.d.ts
|
|
3
3
|
declare function combineAborts(...signals: Array<AbortSignal | undefined>): AbortSignal;
|
|
4
4
|
declare function throwIfAborted(...signals: Array<AbortSignal | undefined>): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
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
3
|
import { i as SnippetUpdateInput, r as SnippetCreateInput, t as Snippet } from "./snippet-C_Ilx7tR.js";
|
|
4
4
|
//#region src/resources/snippet.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { S as TableSchemaSyncResult, a as Table, g as TableForeignKey, h as TableFieldValuesResult, p as TableDataSource, u as TableDataLayer, y as TableQueryMetadata } from "./table-
|
|
3
|
+
import { S as TableSchemaSyncResult, a as Table, g as TableForeignKey, h as TableFieldValuesResult, p as TableDataSource, u as TableDataLayer, y as TableQueryMetadata } from "./table-R-q8w__K.js";
|
|
4
4
|
import { r as UploadUpdateResult } from "./upload-UPfZFdbH.js";
|
|
5
5
|
import { t as CsvFile } from "./csv-upload--K35QedP.js";
|
|
6
6
|
//#region src/resources/table.d.ts
|
|
@@ -29,7 +29,7 @@ declare function tableResource(transport: Transport): {
|
|
|
29
29
|
db_id: number;
|
|
30
30
|
schema: string | null;
|
|
31
31
|
entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
|
|
32
|
-
data_layer: "
|
|
32
|
+
data_layer: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null;
|
|
33
33
|
estimated_row_count: number | null;
|
|
34
34
|
active: boolean;
|
|
35
35
|
visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
|
|
@@ -67,10 +67,10 @@ declare function tableResource(transport: Transport): {
|
|
|
67
67
|
caveats?: string | null | undefined;
|
|
68
68
|
points_of_interest?: string | null | undefined;
|
|
69
69
|
show_in_getting_started?: boolean | undefined;
|
|
70
|
-
field_order?: "
|
|
71
|
-
data_authority?: "
|
|
72
|
-
data_source?: "unknown" | "
|
|
73
|
-
data_layer?: "
|
|
70
|
+
field_order?: "database" | "custom" | "alphabetical" | "smart" | undefined;
|
|
71
|
+
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
72
|
+
data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
73
|
+
data_layer?: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null | undefined;
|
|
74
74
|
owner_email?: string | null | undefined;
|
|
75
75
|
owner_user_id?: number | null | undefined;
|
|
76
76
|
collection_id?: number | undefined;
|
|
@@ -84,7 +84,7 @@ declare function tableResource(transport: Transport): {
|
|
|
84
84
|
db_id: number;
|
|
85
85
|
schema: string | null;
|
|
86
86
|
entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
|
|
87
|
-
data_layer: "
|
|
87
|
+
data_layer: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null;
|
|
88
88
|
estimated_row_count: number | null;
|
|
89
89
|
active: boolean;
|
|
90
90
|
visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
|
|
@@ -121,9 +121,9 @@ declare function tableResource(transport: Transport): {
|
|
|
121
121
|
database_ids?: number[] | undefined;
|
|
122
122
|
schema_ids?: string[] | undefined;
|
|
123
123
|
table_ids?: number[] | undefined;
|
|
124
|
-
data_authority?: "
|
|
125
|
-
data_source?: "unknown" | "
|
|
126
|
-
data_layer?: "
|
|
124
|
+
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
125
|
+
data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
126
|
+
data_layer?: "internal" | "hidden" | "final" | null | undefined;
|
|
127
127
|
entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
|
|
128
128
|
owner_email?: string | null | undefined;
|
|
129
129
|
owner_user_id?: number | null | undefined;
|
|
@@ -132,9 +132,9 @@ declare function tableResource(transport: Transport): {
|
|
|
132
132
|
database_ids?: number[] | undefined;
|
|
133
133
|
schema_ids?: string[] | undefined;
|
|
134
134
|
table_ids?: number[] | undefined;
|
|
135
|
-
data_authority?: "
|
|
136
|
-
data_source?: "unknown" | "
|
|
137
|
-
data_layer?: "
|
|
135
|
+
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
136
|
+
data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
137
|
+
data_layer?: "internal" | "hidden" | "final" | null | undefined;
|
|
138
138
|
entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
|
|
139
139
|
owner_email?: string | null | undefined;
|
|
140
140
|
owner_user_id?: number | null | undefined;
|