@metabase/client 0.1.3 → 0.1.5
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 +10 -0
- package/README.md +2 -2
- package/dist/{card-DkHtPMK4.d.ts → card-B3vHu_sj.d.ts} +3 -3
- package/dist/{card-BBLDmhtp.d.ts → card-Dq_X3Ol2.d.ts} +16 -16
- package/dist/{client-eOkt3tTd.d.ts → client-DdKXWHXy.d.ts} +135 -156
- package/dist/client.d.ts +1 -1
- package/dist/client.js +3 -1
- package/dist/{collection-DWjkDrln.d.ts → collection-CHEIzIE_.d.ts} +4 -4
- package/dist/{collection-BtjnSckn.d.ts → collection-CyZqHB2n.d.ts} +23 -23
- package/dist/{dashboard-DtLXVgtf.d.ts → dashboard-5ZMYiLrS.d.ts} +28 -28
- package/dist/{dashboard-B4qWeR10.d.ts → dashboard-DSuW_p6d.d.ts} +3 -3
- package/dist/{data-action-DqwcRA7B.d.ts → data-action-DBO2a_Sf.d.ts} +2 -2
- package/dist/data-app-CeF4Tazv.d.ts +111 -0
- package/dist/{database-DULVEXki.d.ts → database-C69Mg39B.d.ts} +11 -11
- package/dist/{database-Cw8ICtQi.d.ts → database-jfZpzZcH.d.ts} +3 -3
- package/dist/{dataset-Du1GRHhd.d.ts → dataset-IbEfvqlT.d.ts} +23 -23
- package/dist/{dataset-26H-dH4N.d.ts → dataset-jwm9qB3h.d.ts} +3 -3
- package/dist/{dependency-elYkHuk5.d.ts → dependency-BDwZJL_k.d.ts} +13 -13
- package/dist/{dependency-B8aPt_IM.d.ts → dependency-BitZZ45o.d.ts} +24 -24
- 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 +1 -1
- package/dist/domain/data-app.d.ts +2 -2
- package/dist/domain/data-app.js +27 -14
- 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/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/glossary.d.ts +1 -1
- package/dist/domain/library.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-python.d.ts +1 -1
- package/dist/domain/transform-test.d.ts +2 -2
- package/dist/domain/transform-test.js +5 -1
- package/dist/domain/transform.d.ts +1 -1
- package/dist/{eid-translation-CP79Tz71.d.ts → eid-translation-nuhr8St2.d.ts} +10 -10
- package/dist/{embedding-oU3gqfgX.d.ts → embedding-Cz3RUJYf.d.ts} +1 -1
- package/dist/{erd-D2fpjDTj.d.ts → erd-DqG1DNRX.d.ts} +1 -1
- package/dist/{errors-DdMlaXqq.js → errors-D5mjCJCW.js} +12 -4
- package/dist/errors.d.ts +1 -1
- package/dist/{features-SMSfJhB6.d.ts → features-CpR6ZyvS.d.ts} +5 -1
- package/dist/{field-D-kF3G7v.d.ts → field-BhqgbKia.d.ts} +2 -2
- package/dist/{field-awM3Y7IP.d.ts → field-D84ql2Go.d.ts} +2 -2
- package/dist/{git-sync-8Tk8TirZ.d.ts → git-sync-ClRBckWI.d.ts} +1 -1
- package/dist/{git-sync-nvbSaNfS.d.ts → git-sync-_E3O8gGu.d.ts} +6 -6
- package/dist/{glossary-CQMSJmIx.d.ts → glossary-BHhfqyvP.d.ts} +2 -2
- package/dist/{glossary-CHK3elPj.d.ts → glossary-D2Q66pW3.d.ts} +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/errors.js +1 -1
- package/dist/http/oauth.js +1 -1
- package/dist/http/transport.d.ts +1 -1
- package/dist/http/transport.js +1 -1
- package/dist/index.d.ts +38 -38
- package/dist/index.js +5 -5
- package/dist/{input-gates-DwKoTJVQ.d.ts → input-gates-DQuCzfo6.d.ts} +1 -1
- package/dist/{json-DvOVLFVY.d.ts → json-BqBfc8w1.d.ts} +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/{library-B9pEq7qP.d.ts → library-BihgcDZS.d.ts} +2 -2
- package/dist/{measure-D4ArCbsa.d.ts → measure-CO6dcDQ2.d.ts} +1 -1
- package/dist/{metric-BtEVH_Yp.d.ts → metric-DXbXFDOk.d.ts} +5 -5
- package/dist/{moderation-review-B4RUTZ6_.d.ts → moderation-review-B33XQU68.d.ts} +3 -3
- package/dist/{notification-D1MThyKE.d.ts → notification-BY2JEjKp.d.ts} +2 -2
- package/dist/{notification-BsuPAfMW.d.ts → notification-D7X382Y9.d.ts} +2 -2
- package/dist/{paginate-Du9kUbXZ.d.ts → paginate-Bgcj4F03.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{parameter-ak-J-IOj.d.ts → parameter-YAZEmuDI.d.ts} +4 -4
- package/dist/{pulse-0LG3K6qO.d.ts → pulse-DlEp937s.d.ts} +13 -13
- package/dist/{pulse-drQKS_pg.d.ts → pulse-mD_qiUho.d.ts} +2 -2
- package/dist/{refusal-B9aeHMc9.js → refusal-CvN0pxPR.js} +1 -1
- package/dist/{replacement-CyvtbxGg.d.ts → replacement-Bpn3UQWy.d.ts} +13 -13
- package/dist/{replacement-g3IKzPPj.d.ts → replacement-DIPomAwo.d.ts} +3 -3
- package/dist/{requirement-check-Nv0trVbp.d.ts → requirement-check-DH-EZ8Nx.d.ts} +2 -2
- package/dist/{requirements-Dx_ZVzl7.d.ts → requirements-CGEeSEwC.d.ts} +5 -5
- 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 +1 -1
- 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 +1 -1
- package/dist/resources/data-action.d.ts +2 -2
- package/dist/resources/data-action.js +1 -1
- package/dist/resources/data-app.d.ts +35 -52
- package/dist/resources/data-app.js +23 -38
- 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 +1 -1
- package/dist/resources/document.d.ts +2 -9
- package/dist/resources/document.js +1 -1
- package/dist/resources/eid-translation.d.ts +2 -2
- package/dist/resources/erd.d.ts +1 -1
- package/dist/resources/erd.js +1 -1
- package/dist/resources/field.d.ts +1 -1
- package/dist/resources/field.js +1 -1
- package/dist/resources/git-sync.d.ts +1 -1
- package/dist/resources/git-sync.js +2 -2
- package/dist/resources/glossary.d.ts +1 -1
- package/dist/resources/library.d.ts +1 -1
- package/dist/resources/library.js +1 -1
- package/dist/resources/measure.d.ts +1 -1
- package/dist/resources/measure.js +1 -1
- package/dist/resources/metric.d.ts +1 -1
- package/dist/resources/metric.js +1 -1
- package/dist/resources/moderation-review.d.ts +1 -1
- package/dist/resources/moderation-review.js +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/replacement.js +1 -1
- package/dist/resources/revision.d.ts +1 -1
- package/dist/resources/revision.js +1 -1
- package/dist/resources/search.d.ts +1 -1
- package/dist/resources/search.js +1 -1
- package/dist/resources/segment.d.ts +1 -1
- package/dist/resources/session.d.ts +8 -0
- package/dist/resources/session.js +14 -0
- 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/table.js +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-dag-run.js +1 -1
- package/dist/resources/transform-inspector.d.ts +2 -2
- package/dist/resources/transform-inspector.js +1 -1
- package/dist/resources/transform-job.d.ts +1 -1
- package/dist/resources/transform-job.js +1 -1
- package/dist/resources/transform-python.d.ts +1 -1
- package/dist/resources/transform-python.js +1 -1
- package/dist/resources/transform-tag.d.ts +1 -1
- package/dist/resources/transform-tag.js +1 -1
- package/dist/resources/transform-test.d.ts +1 -1
- package/dist/resources/transform-test.js +1 -1
- package/dist/resources/transform.d.ts +1 -1
- package/dist/resources/transform.js +1 -1
- package/dist/resources/upload.d.ts +1 -1
- package/dist/resources/user.d.ts +1 -1
- package/dist/{revision-Cft5Lcev.d.ts → revision-C3d3H6M1.d.ts} +1 -1
- package/dist/{search-DX1IVRRC.d.ts → search-CcMYvNrg.d.ts} +2 -2
- package/dist/{search-BUr4r7d2.d.ts → search-VlZ0qE4k.d.ts} +9 -9
- package/dist/{segment-c2EDEJNd.d.ts → segment-vL_lWbxX.d.ts} +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{snippet-CSt-f812.d.ts → snippet-CR3Qw7Vj.d.ts} +1 -1
- package/dist/{table-R-q8w__K.d.ts → table-CYBfgiXd.d.ts} +21 -21
- package/dist/{table-BA-k8Zgt.d.ts → table-MNH1ybH1.d.ts} +10 -10
- package/dist/{timeline-B35sx1FM.d.ts → timeline-BdF_aI5F.d.ts} +1 -1
- package/dist/{timeline-D3Clk0_n.d.ts → timeline-DR-yCbB2.d.ts} +2 -2
- package/dist/{transform-C5thnJwW.d.ts → transform-DXcm0NVR.d.ts} +15 -15
- package/dist/{transform-DzgPup_a.d.ts → transform-Dh1ZDOJ7.d.ts} +12 -12
- 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-DMXcBC0h.d.ts} +3 -3
- package/dist/{transform-job-D8jTQtdX.d.ts → transform-job-DHAQGfWg.d.ts} +4 -4
- package/dist/{transform-job-DtLWrsyH.d.ts → transform-job-DzP5HoUy.d.ts} +6 -6
- package/dist/{transform-python-DtL3xxMj.d.ts → transform-python-igNhtjTv.d.ts} +1 -1
- package/dist/{transform-test-B_HR-yKA.d.ts → transform-test-CPlCdxNq.d.ts} +2 -2
- package/dist/{transform-test-CeMzDpUC.d.ts → transform-test-DpTJm7H7.d.ts} +3 -2
- package/dist/{transport-HP7cyo9N.js → transport-D52WFGBR.js} +1 -1
- package/dist/{transport-CyHAGDqx.d.ts → transport-DZjspEuv.d.ts} +7 -3
- package/dist/{upload-BSixoElJ.d.ts → upload-B3qYWIWN.d.ts} +1 -1
- package/dist/version/capability-error.d.ts +1 -1
- package/dist/version/capability-error.js +1 -1
- package/dist/version/features.d.ts +1 -1
- package/dist/version/features.js +1 -0
- package/dist/version/input-gates.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/dist/version/requirements.d.ts +1 -1
- package/dist/version/requirements.js +4 -4
- package/package.json +1 -1
- package/dist/data-app-CqP5_fpB.d.ts +0 -76
|
@@ -12,23 +12,23 @@ declare const ReplacementEntityType: z.ZodEnum<{
|
|
|
12
12
|
}>;
|
|
13
13
|
type ReplacementEntityType = z.infer<typeof ReplacementEntityType>;
|
|
14
14
|
declare const ReplacementRunStatus: z.ZodEnum<{
|
|
15
|
-
timeout: "timeout";
|
|
16
|
-
failed: "failed";
|
|
17
15
|
pending: "pending";
|
|
18
16
|
started: "started";
|
|
19
17
|
succeeded: "succeeded";
|
|
18
|
+
failed: "failed";
|
|
20
19
|
canceled: "canceled";
|
|
20
|
+
timeout: "timeout";
|
|
21
21
|
}>;
|
|
22
22
|
type ReplacementRunStatus = z.infer<typeof ReplacementRunStatus>;
|
|
23
23
|
declare const ReplacementRun: z.ZodObject<{
|
|
24
24
|
id: z.ZodNumber;
|
|
25
25
|
status: z.ZodEnum<{
|
|
26
|
-
timeout: "timeout";
|
|
27
|
-
failed: "failed";
|
|
28
26
|
pending: "pending";
|
|
29
27
|
started: "started";
|
|
30
28
|
succeeded: "succeeded";
|
|
29
|
+
failed: "failed";
|
|
31
30
|
canceled: "canceled";
|
|
31
|
+
timeout: "timeout";
|
|
32
32
|
}>;
|
|
33
33
|
is_active: z.ZodNullable<z.ZodLiteral<true>>;
|
|
34
34
|
source_entity_type: z.ZodEnum<{
|
|
@@ -53,27 +53,27 @@ type ReplacementRun = z.infer<typeof ReplacementRun>;
|
|
|
53
53
|
declare const ReplacementRunCompact: z.ZodObject<{
|
|
54
54
|
message: z.ZodNullable<z.ZodString>;
|
|
55
55
|
id: z.ZodNumber;
|
|
56
|
-
source_entity_type: z.ZodEnum<{
|
|
57
|
-
card: "card";
|
|
58
|
-
table: "table";
|
|
59
|
-
transform: "transform";
|
|
60
|
-
}>;
|
|
61
|
-
source_entity_id: z.ZodNumber;
|
|
62
56
|
status: z.ZodEnum<{
|
|
63
|
-
timeout: "timeout";
|
|
64
|
-
failed: "failed";
|
|
65
57
|
pending: "pending";
|
|
66
58
|
started: "started";
|
|
67
59
|
succeeded: "succeeded";
|
|
60
|
+
failed: "failed";
|
|
68
61
|
canceled: "canceled";
|
|
62
|
+
timeout: "timeout";
|
|
63
|
+
}>;
|
|
64
|
+
source_entity_type: z.ZodEnum<{
|
|
65
|
+
card: "card";
|
|
66
|
+
table: "table";
|
|
67
|
+
transform: "transform";
|
|
69
68
|
}>;
|
|
70
|
-
progress: z.ZodNullable<z.ZodNumber>;
|
|
71
69
|
target_entity_type: z.ZodEnum<{
|
|
72
70
|
card: "card";
|
|
73
71
|
table: "table";
|
|
74
72
|
transform: "transform";
|
|
75
73
|
}>;
|
|
74
|
+
source_entity_id: z.ZodNumber;
|
|
76
75
|
target_entity_id: z.ZodNumber;
|
|
76
|
+
progress: z.ZodNullable<z.ZodNumber>;
|
|
77
77
|
start_time: z.ZodString;
|
|
78
78
|
end_time: z.ZodNullable<z.ZodString>;
|
|
79
79
|
}, z.core.$strip>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-DZjspEuv.js";
|
|
2
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
3
|
//#region src/resources/replacement.d.ts
|
|
4
4
|
interface ReplacementRunListParams {
|
|
@@ -95,7 +95,7 @@ declare function replacementResource(transport: Transport): {
|
|
|
95
95
|
listRuns: (params?: ReplacementRunListParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
96
96
|
[x: string]: unknown;
|
|
97
97
|
id: number;
|
|
98
|
-
status: "
|
|
98
|
+
status: "pending" | "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
99
99
|
is_active: true | null;
|
|
100
100
|
source_entity_type: "card" | "table" | "transform";
|
|
101
101
|
source_entity_id: number;
|
|
@@ -110,7 +110,7 @@ declare function replacementResource(transport: Transport): {
|
|
|
110
110
|
getRun: (id: number, options?: RequestOptions | undefined) => Promise<{
|
|
111
111
|
[x: string]: unknown;
|
|
112
112
|
id: number;
|
|
113
|
-
status: "
|
|
113
|
+
status: "pending" | "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
114
114
|
is_active: true | null;
|
|
115
115
|
source_entity_type: "card" | "table" | "transform";
|
|
116
116
|
source_entity_id: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as FeatureName } from "./features-
|
|
2
|
-
import { b as RequirementFailure, yt as ServerProfile } from "./transport-
|
|
1
|
+
import { i as FeatureName } from "./features-CpR6ZyvS.js";
|
|
2
|
+
import { b as RequirementFailure, yt as ServerProfile } from "./transport-DZjspEuv.js";
|
|
3
3
|
//#region src/version/requirement-check.d.ts
|
|
4
4
|
/** The first of `features` the profile lacks, or `null` when it has every one. */
|
|
5
5
|
declare function checkFeatures(features: readonly FeatureName[], profile: ServerProfile): RequirementFailure | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as FeatureName } from "./features-
|
|
1
|
+
import { i as FeatureName } from "./features-CpR6ZyvS.js";
|
|
2
2
|
//#region src/version/requirements.d.ts
|
|
3
3
|
declare const METHOD_REQUIREMENTS: {
|
|
4
4
|
"apiKey.list": never[];
|
|
@@ -40,11 +40,10 @@ declare const METHOD_REQUIREMENTS: {
|
|
|
40
40
|
"dataAction.execute": never[];
|
|
41
41
|
"dataApp.list": "dataApps"[];
|
|
42
42
|
"dataApp.get": "dataApps"[];
|
|
43
|
-
"dataApp.create": "dataApps"[];
|
|
44
43
|
"dataApp.update": "dataApps"[];
|
|
45
|
-
"dataApp.
|
|
46
|
-
"dataApp.
|
|
47
|
-
"dataApp.
|
|
44
|
+
"dataApp.generateSchema": "dataApps"[];
|
|
45
|
+
"dataApp.generateQueries": "dataApps"[];
|
|
46
|
+
"dataApp.generateActions": "dataApps"[];
|
|
48
47
|
"database.list": never[];
|
|
49
48
|
"database.get": never[];
|
|
50
49
|
"database.update": never[];
|
|
@@ -140,6 +139,7 @@ declare const METHOD_REQUIREMENTS: {
|
|
|
140
139
|
"segment.create": never[];
|
|
141
140
|
"segment.update": never[];
|
|
142
141
|
"segment.archive": never[];
|
|
142
|
+
"session.properties": never[];
|
|
143
143
|
"setting.list": never[];
|
|
144
144
|
"setting.get": never[];
|
|
145
145
|
"setting.set": never[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
|
|
2
2
|
import { t as ListResult } from "../list-BT_bBm9Z.js";
|
|
3
3
|
import { i as CreatedApiKey, r as ApiKeyCreateInput, t as ApiKey } from "../api-key-DJeN1-7G.js";
|
|
4
4
|
//#region src/resources/api-key.d.ts
|
package/dist/resources/card.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as cardResource, n as CardListParams, r as CardQueryParams, t as CardExportParams } from "../card-
|
|
1
|
+
import { i as cardResource, n as CardListParams, r as CardQueryParams, t as CardExportParams } from "../card-B3vHu_sj.js";
|
|
2
2
|
export { CardExportParams, CardListParams, CardQueryParams, cardResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as collectionResource, i as CollectionTreeParams, n as CollectionItemPageOptions, o as listCollectionsAs, r as CollectionListParams, t as CollectionItemListParams } from "../collection-
|
|
1
|
+
import { a as collectionResource, i as CollectionTreeParams, n as CollectionItemPageOptions, o as listCollectionsAs, r as CollectionListParams, t as CollectionItemListParams } from "../collection-CHEIzIE_.js";
|
|
2
2
|
export { CollectionItemListParams, CollectionItemPageOptions, CollectionListParams, CollectionTreeParams, collectionResource, listCollectionsAs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Collection, CollectionItem, CollectionTreeNode } from "../domain/collection.js";
|
|
2
2
|
import { paginatePages } from "../paginate.js";
|
|
3
|
-
import { t as explainer } from "../refusal-
|
|
3
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/resources/collection.ts
|
|
6
6
|
const CollectionApiList = z.array(Collection);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
|
|
2
2
|
import { t as CsvFile } from "../csv-upload--K35QedP.js";
|
|
3
3
|
//#region src/resources/content-translation.d.ts
|
|
4
4
|
declare function contentTranslationResource(transport: Transport): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as explainer } from "../refusal-
|
|
1
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
2
2
|
import { ContentTranslationUploadResult } from "../domain/content-translation.js";
|
|
3
3
|
import { buildCsvFormData } from "./csv-upload.js";
|
|
4
4
|
//#region src/resources/content-translation.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DashcardCardProblem, i as DashcardCardMissing, n as DashcardCardArchived, o as DashcardCardUnreadable, r as DashcardCardIssue, s as dashboardResource, t as DashboardListParams } from "../dashboard-
|
|
1
|
+
import { a as DashcardCardProblem, i as DashcardCardMissing, n as DashcardCardArchived, o as DashcardCardUnreadable, r as DashcardCardIssue, s as dashboardResource, t as DashboardListParams } from "../dashboard-DSuW_p6d.js";
|
|
2
2
|
export { DashboardListParams, DashcardCardArchived, DashcardCardIssue, DashcardCardMissing, DashcardCardProblem, DashcardCardUnreadable, dashboardResource };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigError } from "../errors.js";
|
|
2
|
-
import { a as HttpError } from "../errors-
|
|
2
|
+
import { a as HttpError } from "../errors-D5mjCJCW.js";
|
|
3
3
|
import { ParameterValues } from "../domain/parameter.js";
|
|
4
4
|
import { cardResource } from "./card.js";
|
|
5
5
|
import { Dashboard, DashboardCopy, DashboardCreateInput, Dashcard, dashboardDetailSchema } from "../domain/dashboard.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
|
|
2
2
|
import { t as ListResult } from "../list-BT_bBm9Z.js";
|
|
3
|
-
import { l as DataActionUpdateInput, o as DataActionExecuteInput, r as DataAction, s as DataActionExecuteResult } from "../data-action-
|
|
3
|
+
import { l as DataActionUpdateInput, o as DataActionExecuteInput, r as DataAction, s as DataActionExecuteResult } from "../data-action-DBO2a_Sf.js";
|
|
4
4
|
//#region src/resources/data-action.d.ts
|
|
5
5
|
declare function dataActionResource(transport: Transport): {
|
|
6
6
|
list: (options?: RequestOptions) => Promise<ListResult<DataAction>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as explainer } from "../refusal-
|
|
1
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
2
2
|
import { DATA_ACTION_COLLECTION_GATE, DATA_ACTION_TABLE_GATE, DataActionExecuteResult, dataActionSchema } from "../domain/data-action.js";
|
|
3
3
|
import { gateTriggered } from "../version/input-gates.js";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
|
|
2
2
|
import { t as ListResult } from "../list-BT_bBm9Z.js";
|
|
3
3
|
//#region src/resources/data-app.d.ts
|
|
4
4
|
declare function dataAppResource(transport: Transport): {
|
|
5
|
-
list: (
|
|
6
|
-
available?: boolean | undefined;
|
|
7
|
-
} | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
5
|
+
list: (options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
8
6
|
[x: string]: unknown;
|
|
9
7
|
id: number;
|
|
10
8
|
name: string;
|
|
@@ -42,54 +40,9 @@ declare function dataAppResource(transport: Transport): {
|
|
|
42
40
|
name: string;
|
|
43
41
|
display_name: string;
|
|
44
42
|
}>;
|
|
45
|
-
create: (params: {
|
|
46
|
-
name: string;
|
|
47
|
-
display_name?: string | undefined;
|
|
48
|
-
description?: string | null | undefined;
|
|
49
|
-
version?: number | undefined;
|
|
50
|
-
bundle_path?: string | undefined;
|
|
51
|
-
allowed_hosts?: string[] | undefined;
|
|
52
|
-
enabled?: boolean | undefined;
|
|
53
|
-
}, options?: RequestOptions | undefined) => Promise<{
|
|
54
|
-
[x: string]: unknown;
|
|
55
|
-
id: number;
|
|
56
|
-
name: string;
|
|
57
|
-
display_name: string;
|
|
58
|
-
description: string | null;
|
|
59
|
-
version: number;
|
|
60
|
-
outdated: boolean;
|
|
61
|
-
bundle_path: string;
|
|
62
|
-
enabled: boolean;
|
|
63
|
-
allowed_hosts: string[];
|
|
64
|
-
resource_collection_id: number;
|
|
65
|
-
bundle_hash: string | null;
|
|
66
|
-
created_at: string;
|
|
67
|
-
updated_at: string;
|
|
68
|
-
}>;
|
|
69
43
|
update: (slug: string, params: {
|
|
70
|
-
display_name?: string | undefined;
|
|
71
|
-
description?: string | null | undefined;
|
|
72
|
-
version?: number | undefined;
|
|
73
|
-
bundle_path?: string | undefined;
|
|
74
|
-
allowed_hosts?: string[] | undefined;
|
|
75
|
-
enabled?: boolean | undefined;
|
|
76
|
-
}, options?: RequestOptions | undefined) => Promise<{
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
id: number;
|
|
79
|
-
name: string;
|
|
80
|
-
display_name: string;
|
|
81
|
-
description: string | null;
|
|
82
|
-
version: number;
|
|
83
|
-
outdated: boolean;
|
|
84
|
-
bundle_path: string;
|
|
85
44
|
enabled: boolean;
|
|
86
|
-
|
|
87
|
-
resource_collection_id: number;
|
|
88
|
-
bundle_hash: string | null;
|
|
89
|
-
created_at: string;
|
|
90
|
-
updated_at: string;
|
|
91
|
-
}>;
|
|
92
|
-
replaceBundle: (slug: string, bundle: string, options?: RequestOptions | undefined) => Promise<{
|
|
45
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
93
46
|
[x: string]: unknown;
|
|
94
47
|
id: number;
|
|
95
48
|
name: string;
|
|
@@ -105,8 +58,38 @@ declare function dataAppResource(transport: Transport): {
|
|
|
105
58
|
created_at: string;
|
|
106
59
|
updated_at: string;
|
|
107
60
|
}>;
|
|
108
|
-
|
|
109
|
-
|
|
61
|
+
generateSchema: (options?: RequestOptions | undefined) => Promise<{
|
|
62
|
+
path: string;
|
|
63
|
+
contents: string;
|
|
64
|
+
}[]>;
|
|
65
|
+
generateQueries: (params: {
|
|
66
|
+
collection: string;
|
|
67
|
+
queries: Record<string, {
|
|
68
|
+
entityId: string;
|
|
69
|
+
query: {
|
|
70
|
+
stages: [{
|
|
71
|
+
[x: string]: unknown;
|
|
72
|
+
}];
|
|
73
|
+
};
|
|
74
|
+
}>;
|
|
75
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
76
|
+
path: string;
|
|
77
|
+
contents: string;
|
|
78
|
+
}[]>;
|
|
79
|
+
generateActions: (params: {
|
|
80
|
+
collection: string;
|
|
81
|
+
actions: Record<string, {
|
|
82
|
+
entityId: string;
|
|
83
|
+
kind: "row/create" | "row/update" | "row/delete";
|
|
84
|
+
table: {
|
|
85
|
+
[x: string]: unknown;
|
|
86
|
+
id: number;
|
|
87
|
+
};
|
|
88
|
+
}>;
|
|
89
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
90
|
+
path: string;
|
|
91
|
+
contents: string;
|
|
92
|
+
}[]>;
|
|
110
93
|
};
|
|
111
94
|
//#endregion
|
|
112
95
|
export { dataAppResource };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as explainer } from "../refusal-
|
|
2
|
-
import { DataApp, DataAppEntry } from "../domain/data-app.js";
|
|
1
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
2
|
+
import { DataApp, DataAppEntry, DataAppGeneratedFiles } from "../domain/data-app.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/resources/data-app.ts
|
|
5
5
|
const DATA_APPS_PATH = "/api/ee/apps";
|
|
@@ -8,13 +8,10 @@ function appPath(slug) {
|
|
|
8
8
|
}
|
|
9
9
|
function dataAppResource(transport) {
|
|
10
10
|
const { explain } = explainer(transport, "dataApp");
|
|
11
|
-
/** List the data apps
|
|
12
|
-
async function list(
|
|
11
|
+
/** List the data apps. `GET /api/ee/apps` answers a bare array. */
|
|
12
|
+
async function list(options = {}) {
|
|
13
13
|
return {
|
|
14
|
-
data: await transport.requestParsed(z.array(DataAppEntry), DATA_APPS_PATH, {
|
|
15
|
-
...options,
|
|
16
|
-
query: { available: filter.available }
|
|
17
|
-
}),
|
|
14
|
+
data: await transport.requestParsed(z.array(DataAppEntry), DATA_APPS_PATH, { ...options }),
|
|
18
15
|
total: null
|
|
19
16
|
};
|
|
20
17
|
}
|
|
@@ -22,15 +19,7 @@ function dataAppResource(transport) {
|
|
|
22
19
|
async function get(slug, options = {}) {
|
|
23
20
|
return transport.requestParsed(DataAppEntry, appPath(slug), { ...options });
|
|
24
21
|
}
|
|
25
|
-
/**
|
|
26
|
-
async function create(params, options = {}) {
|
|
27
|
-
return transport.requestParsed(DataApp, DATA_APPS_PATH, {
|
|
28
|
-
...options,
|
|
29
|
-
method: "POST",
|
|
30
|
-
body: params
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
/** Update a data app's fields, or enable or disable it. */
|
|
22
|
+
/** Enable or disable a data app; anything else about an app changes only through a repository import. */
|
|
34
23
|
async function update(slug, params, options = {}) {
|
|
35
24
|
return transport.requestParsed(DataApp, appPath(slug), {
|
|
36
25
|
...options,
|
|
@@ -38,37 +27,33 @@ function dataAppResource(transport) {
|
|
|
38
27
|
body: params
|
|
39
28
|
});
|
|
40
29
|
}
|
|
41
|
-
/**
|
|
42
|
-
async function
|
|
43
|
-
return transport.requestParsed(
|
|
44
|
-
...options,
|
|
45
|
-
method: "PUT",
|
|
46
|
-
body: { bundle }
|
|
47
|
-
});
|
|
30
|
+
/** An app's `src/metabase.schema.ts`: the Library's published tables, with their fields, segments and measures, and the Library's metrics. */
|
|
31
|
+
async function generateSchema(options = {}) {
|
|
32
|
+
return transport.requestParsed(DataAppGeneratedFiles, `${DATA_APPS_PATH}/generate/schema`, { ...options });
|
|
48
33
|
}
|
|
49
|
-
/** The
|
|
50
|
-
async function
|
|
51
|
-
return
|
|
34
|
+
/** The YAML files of the questions an app's `defineQuery` exports define, by file name in its collection's directory. */
|
|
35
|
+
async function generateQueries(params, options = {}) {
|
|
36
|
+
return transport.requestParsed(DataAppGeneratedFiles, `${DATA_APPS_PATH}/generate/queries`, {
|
|
52
37
|
...options,
|
|
53
|
-
|
|
54
|
-
|
|
38
|
+
method: "POST",
|
|
39
|
+
body: params
|
|
40
|
+
});
|
|
55
41
|
}
|
|
56
|
-
/**
|
|
57
|
-
async function
|
|
58
|
-
|
|
42
|
+
/** The YAML files of the implicit actions an app's `defineAction` exports define, by file name in its collection's directory. */
|
|
43
|
+
async function generateActions(params, options = {}) {
|
|
44
|
+
return transport.requestParsed(DataAppGeneratedFiles, `${DATA_APPS_PATH}/generate/actions`, {
|
|
59
45
|
...options,
|
|
60
|
-
method: "
|
|
61
|
-
|
|
46
|
+
method: "POST",
|
|
47
|
+
body: params
|
|
62
48
|
});
|
|
63
49
|
}
|
|
64
50
|
return {
|
|
65
51
|
list: explain("list", list),
|
|
66
52
|
get: explain("get", get),
|
|
67
|
-
create: explain("create", create),
|
|
68
53
|
update: explain("update", update),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
54
|
+
generateSchema: explain("generateSchema", generateSchema),
|
|
55
|
+
generateQueries: explain("generateQueries", generateQueries),
|
|
56
|
+
generateActions: explain("generateActions", generateActions)
|
|
72
57
|
};
|
|
73
58
|
}
|
|
74
59
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as databaseResource, n as DatabaseListParams, r as DatabaseSyncSchemaParams, t as DatabaseGetParams } from "../database-
|
|
1
|
+
import { i as databaseResource, n as DatabaseListParams, r as DatabaseSyncSchemaParams, t as DatabaseGetParams } from "../database-jfZpzZcH.js";
|
|
2
2
|
export { DatabaseGetParams, DatabaseListParams, DatabaseSyncSchemaParams, databaseResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as DatasetNativeParams, r as datasetResource, t as DatasetExportParams } from "../dataset-
|
|
1
|
+
import { n as DatasetNativeParams, r as datasetResource, t as DatasetExportParams } from "../dataset-jwm9qB3h.js";
|
|
2
2
|
export { DatasetExportParams, DatasetNativeParams, datasetResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as dependencyResource, i as DependencyItemPageOptions, n as DependencyDependentsParams, r as DependencyItemListParams, t as DependencyBrokenParams } from "../dependency-
|
|
1
|
+
import { a as dependencyResource, i as DependencyItemPageOptions, n as DependencyDependentsParams, r as DependencyItemListParams, t as DependencyBrokenParams } from "../dependency-BDwZJL_k.js";
|
|
2
2
|
export { DependencyBrokenParams, DependencyDependentsParams, DependencyItemListParams, DependencyItemPageOptions, dependencyResource };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { paginatePages } from "../paginate.js";
|
|
2
|
-
import { t as explainer } from "../refusal-
|
|
2
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
3
3
|
import { BreakingSource, DependencyEntity, DependencyGraph, DependencyNode } from "../domain/dependency.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/resources/dependency.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-DZjspEuv.js";
|
|
2
2
|
import { t as ListResult } from "../list-BT_bBm9Z.js";
|
|
3
3
|
import { a as DocumentUpdateInput, i as DocumentCreateInput, t as Document } from "../document-rqUlE_OE.js";
|
|
4
4
|
//#region src/resources/document.d.ts
|
|
@@ -22,14 +22,7 @@ declare function documentResource(transport: Transport): {
|
|
|
22
22
|
text?: string | undefined;
|
|
23
23
|
attrs?: Record<string, unknown> | undefined;
|
|
24
24
|
marks?: Record<string, unknown>[] | undefined;
|
|
25
|
-
content?:
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
type: string;
|
|
28
|
-
text?: string | undefined;
|
|
29
|
-
attrs?: Record<string, unknown> | undefined;
|
|
30
|
-
marks?: Record<string, unknown>[] | undefined;
|
|
31
|
-
content?: /*elided*/ any[] | undefined;
|
|
32
|
-
}[] | undefined;
|
|
25
|
+
content?: /*elided*/ any[] | undefined;
|
|
33
26
|
} | null;
|
|
34
27
|
entity_id: string | null;
|
|
35
28
|
collection_id: number | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
2
|
-
import { a as EidTranslateResult, i as EidTranslateInput } from "../eid-translation-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
|
|
2
|
+
import { a as EidTranslateResult, i as EidTranslateInput } from "../eid-translation-nuhr8St2.js";
|
|
3
3
|
//#region src/resources/eid-translation.d.ts
|
|
4
4
|
declare function eidTranslationResource(transport: Transport): {
|
|
5
5
|
translate: (params: EidTranslateInput, options?: RequestOptions) => Promise<EidTranslateResult>;
|
package/dist/resources/erd.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as erdResource, t as ErdParams } from "../erd-
|
|
1
|
+
import { n as erdResource, t as ErdParams } from "../erd-DqG1DNRX.js";
|
|
2
2
|
export { ErdParams, erdResource };
|
package/dist/resources/erd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FieldSetDataSensitivityParams, i as FieldSearchParams, n as FieldSearchBounded, o as fieldResource, r as FieldSearchByValue, t as FieldRemappingParams } from "../field-
|
|
1
|
+
import { a as FieldSetDataSensitivityParams, i as FieldSearchParams, n as FieldSearchBounded, o as fieldResource, r as FieldSearchByValue, t as FieldRemappingParams } from "../field-D84ql2Go.js";
|
|
2
2
|
export { FieldRemappingParams, FieldSearchBounded, FieldSearchByValue, FieldSearchParams, FieldSetDataSensitivityParams, fieldResource };
|
package/dist/resources/field.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DATA_SENSITIVITY_GATE, FieldSearchMatches, FieldValues, FieldWithDataSensitivity, fieldDetailSchema, fieldRemappedValueSchema } from "../domain/field.js";
|
|
2
|
-
import { t as explainer } from "../refusal-
|
|
2
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
3
3
|
import { gateTriggered } from "../version/input-gates.js";
|
|
4
4
|
import { fetchOptionalParsed } from "./optional-parsed.js";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SyncRemoteChangesParams, c as SyncWaitParams, i as SyncImportParams, l as gitSyncResource, n as SyncExportParams, o as SyncScopeCollection, r as SyncExportPreflightParams, s as SyncStashParams, t as SyncCreateBranchParams } from "../git-sync-
|
|
1
|
+
import { a as SyncRemoteChangesParams, c as SyncWaitParams, i as SyncImportParams, l as gitSyncResource, n as SyncExportParams, o as SyncScopeCollection, r as SyncExportPreflightParams, s as SyncStashParams, t as SyncCreateBranchParams } from "../git-sync-ClRBckWI.js";
|
|
2
2
|
export { SyncCreateBranchParams, SyncExportParams, SyncExportPreflightParams, SyncImportParams, SyncRemoteChangesParams, SyncScopeCollection, SyncStashParams, SyncWaitParams, gitSyncResource };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SessionProperties } from "../domain/session-properties.js";
|
|
2
2
|
import { ConfigError } from "../errors.js";
|
|
3
|
-
import { a as HttpError } from "../errors-
|
|
3
|
+
import { a as HttpError } from "../errors-D5mjCJCW.js";
|
|
4
4
|
import { profileFromProperties } from "../version/probe.js";
|
|
5
5
|
import { Collection } from "../domain/collection.js";
|
|
6
|
-
import { t as explainer } from "../refusal-
|
|
6
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
7
7
|
import { listCollectionsAs } from "./collection.js";
|
|
8
8
|
import { pollUntil } from "../poll.js";
|
|
9
9
|
import { fetchOptionalParsed } from "./optional-parsed.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as glossaryResource, t as GlossaryListParams } from "../glossary-
|
|
1
|
+
import { n as glossaryResource, t as GlossaryListParams } from "../glossary-BHhfqyvP.js";
|
|
2
2
|
export { GlossaryListParams, glossaryResource };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
|
|
2
2
|
//#region src/resources/library.d.ts
|
|
3
3
|
declare function libraryResource(transport: Transport): {
|
|
4
4
|
get: (options?: RequestOptions | undefined) => Promise<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableSelectors } from "../domain/table.js";
|
|
2
2
|
import { Collection } from "../domain/collection.js";
|
|
3
|
-
import { t as explainer } from "../refusal-
|
|
3
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
4
4
|
import { listCollectionsAs } from "./collection.js";
|
|
5
5
|
import { parseRequestBody } from "./request-body.js";
|
|
6
6
|
import { LibraryCollectionInfo, LibraryPublishTablesInput, libraryWireSchema, toLibrary } from "../domain/library.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as measureResource, t as MeasureArchiveParams } from "../measure-
|
|
1
|
+
import { n as measureResource, t as MeasureArchiveParams } from "../measure-CO6dcDQ2.js";
|
|
2
2
|
export { MeasureArchiveParams, measureResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as metricResource, r as MetricDimensionListParams } from "../client-
|
|
1
|
+
import { i as metricResource, r as MetricDimensionListParams } from "../client-DdKXWHXy.js";
|
|
2
2
|
export { MetricDimensionListParams, metricResource };
|
package/dist/resources/metric.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CardQueryResult } from "../domain/card.js";
|
|
2
|
-
import { t as explainer } from "../refusal-
|
|
2
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
3
3
|
import { MetricBreakoutValues, MetricDimensionListing } from "../domain/metric.js";
|
|
4
4
|
//#region src/resources/metric.ts
|
|
5
5
|
function metricResource(transport) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
|
|
2
2
|
//#region src/resources/moderation-review.d.ts
|
|
3
3
|
declare function moderationReviewResource(transport: Transport): {
|
|
4
4
|
create: (params: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModerationReview, ModerationReviewCreateInput } from "../domain/moderation-review.js";
|
|
2
|
-
import { t as explainer } from "../refusal-
|
|
2
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
3
3
|
import { parseRequestBody } from "./request-body.js";
|
|
4
4
|
//#region src/resources/moderation-review.ts
|
|
5
5
|
function moderationReviewResource(transport) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as notificationResource, n as assertCardAlert, r as mergeAlertUpdate, t as NotificationListParams } from "../notification-
|
|
1
|
+
import { i as notificationResource, n as assertCardAlert, r as mergeAlertUpdate, t as NotificationListParams } from "../notification-D7X382Y9.js";
|
|
2
2
|
export { NotificationListParams, assertCardAlert, mergeAlertUpdate, notificationResource };
|
|
@@ -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-DZjspEuv.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-DZjspEuv.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-mD_qiUho.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-DIPomAwo.js";
|
|
2
2
|
export { ReplacementRunListParams, replacementResource };
|