@metabase/client 0.1.0 → 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 +21 -0
- package/README.md +6 -4
- package/dist/api-key-DJeN1-7G.d.ts +46 -0
- package/dist/{card-B6merEUN.d.ts → card-BxBzr5Uj.d.ts} +11 -11
- package/dist/{card-BZx4NSr-.d.ts → card-DN0sLkCG.d.ts} +4 -4
- package/dist/{client-DNRvXFRm.d.ts → client-DdXLlH1B.d.ts} +270 -166
- package/dist/client.d.ts +1 -1
- package/dist/client.js +4 -0
- package/dist/{collection-Bib61WiV.d.ts → collection-DGnTvD6R.d.ts} +20 -20
- package/dist/{collection-CqtGPi4W.d.ts → collection-fFahL-ub.d.ts} +18 -4
- package/dist/{dashboard-XTe46250.d.ts → dashboard-CM7RmNeE.d.ts} +2 -2
- package/dist/{dashboard-z9i1VUZC.d.ts → dashboard-DtLXVgtf.d.ts} +21 -13
- package/dist/{data-action-rS27f2Ji.d.ts → data-action-CkXVrOUH.d.ts} +7 -5
- package/dist/data-app-CqP5_fpB.d.ts +76 -0
- package/dist/{database-DqTespfa.d.ts → database-B0JNZjDN.d.ts} +3 -3
- package/dist/{database-BLUMlywE.d.ts → database-BxqDmfcj.d.ts} +9 -9
- package/dist/{dataset-C6lX1-cr.d.ts → dataset-BBNGPVec.d.ts} +22 -22
- package/dist/{dataset-Cj3XuKLe.d.ts → dataset-BUirJ1rO.d.ts} +3 -3
- package/dist/{dependency-fN5_7a22.d.ts → dependency-CzpXmeu7.d.ts} +26 -26
- package/dist/{dependency-D8Qs5Xdx.d.ts → dependency-arB8Cr2H.d.ts} +147 -95
- package/dist/{document-oZNDbDfx.d.ts → document-tLd6pYWe.d.ts} +2 -2
- package/dist/domain/api-key.d.ts +2 -0
- package/dist/domain/api-key.js +31 -0
- package/dist/domain/card.d.ts +1 -1
- package/dist/domain/collection.d.ts +1 -1
- package/dist/domain/dashboard.d.ts +2 -2
- package/dist/domain/dashboard.js +21 -4
- package/dist/domain/data-action.d.ts +2 -2
- package/dist/domain/data-action.js +8 -2
- package/dist/domain/data-app.d.ts +2 -0
- package/dist/domain/data-app.js +52 -0
- package/dist/domain/database.d.ts +1 -1
- package/dist/domain/dataset.d.ts +1 -1
- package/dist/domain/dependency.d.ts +1 -1
- package/dist/domain/dependency.js +6 -3
- package/dist/domain/document.d.ts +1 -1
- package/dist/domain/eid-translation.d.ts +1 -1
- package/dist/domain/embedding.d.ts +1 -1
- package/dist/domain/field.d.ts +2 -2
- package/dist/domain/field.js +8 -2
- package/dist/domain/git-sync.d.ts +1 -1
- package/dist/domain/library.d.ts +2 -2
- package/dist/domain/library.js +8 -2
- package/dist/domain/measure.d.ts +1 -1
- package/dist/domain/measure.js +3 -1
- package/dist/domain/metric.d.ts +1 -1
- package/dist/domain/notification.d.ts +2 -2
- package/dist/domain/notification.js +6 -1
- package/dist/domain/pulse.d.ts +2 -2
- package/dist/domain/pulse.js +10 -3
- package/dist/domain/replacement.d.ts +1 -1
- package/dist/domain/revision.d.ts +2 -2
- package/dist/domain/revision.js +29 -2
- package/dist/domain/search.d.ts +1 -1
- package/dist/domain/segment.d.ts +1 -1
- package/dist/domain/segment.js +3 -1
- package/dist/domain/setup.d.ts +1 -1
- package/dist/domain/setup.js +1 -1
- package/dist/domain/snippet.d.ts +1 -1
- package/dist/domain/table.d.ts +2 -2
- package/dist/domain/table.js +35 -4
- package/dist/domain/timeline.d.ts +1 -1
- package/dist/domain/transform-inspector.d.ts +1 -1
- package/dist/domain/transform-job.d.ts +2 -2
- package/dist/domain/transform-job.js +8 -2
- package/dist/domain/transform-python.d.ts +2 -2
- package/dist/domain/transform-python.js +15 -3
- package/dist/domain/transform-tag.d.ts +1 -1
- package/dist/domain/transform-test.d.ts +1 -1
- package/dist/domain/transform.d.ts +2 -2
- package/dist/domain/transform.js +76 -7
- package/dist/domain/user.d.ts +1 -1
- package/dist/domain/user.js +1 -1
- package/dist/{eid-translation-nuhr8St2.d.ts → eid-translation-CH6NPWd-.d.ts} +15 -15
- package/dist/{embedding-Cz3RUJYf.d.ts → embedding-oU3gqfgX.d.ts} +1 -1
- package/dist/{erd-BujD227Y.d.ts → erd-CbV7xvAc.d.ts} +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/{features-CnFkUCj2.d.ts → features-SMSfJhB6.d.ts} +36 -2
- package/dist/{field-Bqn10Fq_.d.ts → field-D1Pfk-0S.d.ts} +2 -2
- package/dist/{field-BCRO19mk.d.ts → field-p9Rme2zB.d.ts} +6 -4
- package/dist/{git-sync-gAMKsZgN.d.ts → git-sync-BTf1aYHr.d.ts} +3 -3
- package/dist/{git-sync-DNXrNVCW.d.ts → git-sync-C99SVdJ9.d.ts} +2 -2
- package/dist/{glossary-CqFlzW33.d.ts → glossary-DFvnz-E5.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 +43 -41
- package/dist/index.js +7 -5
- package/dist/input-gate-registry-Dai7SfXb.js +14 -0
- package/dist/input-gates-DwKoTJVQ.d.ts +28 -0
- package/dist/{json-CZvjc3--.d.ts → json-BksZpXDC.d.ts} +1 -1
- package/dist/json-pointer.d.ts +2 -1
- package/dist/json-pointer.js +4 -1
- package/dist/json.d.ts +1 -1
- package/dist/{library-Cx9h_RkU.d.ts → library-B9pEq7qP.d.ts} +8 -6
- package/dist/{measure-KuXdjZYJ.d.ts → measure-CgH14YQZ.d.ts} +1 -1
- package/dist/{measure-CuMqPbQX.d.ts → measure-lPz8qnwz.d.ts} +1 -1
- package/dist/{metric-yvehaVCS.d.ts → metric-DcYloqOQ.d.ts} +2 -2
- package/dist/{notification-BiegPoSD.d.ts → notification-Cp5GJErS.d.ts} +3 -3
- package/dist/{notification-BT2TDAd_.d.ts → notification-D1MThyKE.d.ts} +66 -2
- package/dist/{paginate-DZWvWvbm.d.ts → paginate-COuL0Gzl.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{pulse-CMc1Rwdj.d.ts → pulse-0LG3K6qO.d.ts} +7 -5
- package/dist/{pulse-dylocLd9.d.ts → pulse-BzKmz3Yn.d.ts} +2 -2
- package/dist/{replacement-CyvtbxGg.d.ts → replacement-BGyggp-G.d.ts} +5 -5
- package/dist/{replacement-S9U3gApY.d.ts → replacement-CVebCuNp.d.ts} +5 -5
- package/dist/{requirement-check-CIA5IHC1.d.ts → requirement-check-glU7wqhQ.d.ts} +2 -2
- package/dist/{requirements-C0txASN8.d.ts → requirements-Dx_ZVzl7.d.ts} +11 -1
- package/dist/resources/api-key.d.ts +11 -0
- package/dist/resources/api-key.js +35 -0
- package/dist/resources/card.d.ts +1 -1
- package/dist/resources/collection.d.ts +1 -1
- package/dist/resources/collection.js +29 -5
- package/dist/resources/content-translation.d.ts +1 -1
- package/dist/resources/content-translation.js +1 -1
- package/dist/resources/dashboard.d.ts +1 -1
- package/dist/resources/dashboard.js +8 -5
- package/dist/resources/data-action.d.ts +3 -48
- package/dist/resources/data-action.js +9 -9
- package/dist/resources/data-app.d.ts +112 -0
- package/dist/resources/data-app.js +75 -0
- package/dist/resources/database.d.ts +1 -1
- package/dist/resources/dataset.d.ts +1 -1
- package/dist/resources/dependency.d.ts +1 -1
- package/dist/resources/dependency.js +13 -7
- package/dist/resources/document.d.ts +2 -2
- package/dist/resources/eid-translation.d.ts +2 -2
- package/dist/resources/erd.d.ts +1 -1
- package/dist/resources/field.d.ts +1 -1
- package/dist/resources/field.js +3 -2
- package/dist/resources/git-sync.d.ts +1 -1
- package/dist/resources/git-sync.js +1 -1
- package/dist/resources/glossary.d.ts +1 -1
- package/dist/resources/library.d.ts +4 -4
- package/dist/resources/library.js +2 -2
- package/dist/resources/measure.d.ts +1 -1
- package/dist/resources/metric.d.ts +1 -1
- package/dist/resources/moderation-review.d.ts +1 -1
- package/dist/resources/notification.d.ts +1 -1
- package/dist/resources/notification.js +2 -2
- package/dist/resources/optional-parsed.d.ts +1 -1
- package/dist/resources/permission.d.ts +1 -1
- package/dist/resources/pivot-export.d.ts +1 -1
- package/dist/resources/pulse.d.ts +1 -1
- package/dist/resources/pulse.js +3 -2
- package/dist/resources/replacement.d.ts +1 -1
- package/dist/resources/revision.d.ts +3 -3
- package/dist/resources/revision.js +5 -10
- package/dist/resources/search.d.ts +1 -1
- package/dist/resources/search.js +23 -2
- package/dist/resources/segment.d.ts +1 -1
- package/dist/resources/setting.d.ts +1 -1
- package/dist/resources/setup.d.ts +2 -2
- package/dist/resources/snippet.d.ts +1 -1
- package/dist/resources/table.d.ts +1 -1
- package/dist/resources/table.js +9 -10
- package/dist/resources/timeline-event.d.ts +2 -2
- package/dist/resources/timeline.d.ts +1 -1
- package/dist/resources/transform-dag-run.d.ts +1 -1
- package/dist/resources/transform-inspector.d.ts +2 -2
- package/dist/resources/transform-job.d.ts +1 -1
- package/dist/resources/transform-python.d.ts +11 -4
- package/dist/resources/transform-python.js +3 -2
- package/dist/resources/transform-tag.d.ts +1 -1
- package/dist/resources/transform-test.d.ts +1 -1
- package/dist/resources/transform.d.ts +1 -1
- package/dist/resources/transform.js +13 -3
- package/dist/resources/upload.d.ts +1 -1
- package/dist/resources/user.d.ts +2 -2
- package/dist/{revision-CQBPhohA.d.ts → revision-Dyl-8p7d.d.ts} +8 -6
- package/dist/{search-NZR6iRBs.d.ts → search-Cm5IxKss.d.ts} +8 -8
- package/dist/{search-BxJipLN6.d.ts → search-Cten2h0I.d.ts} +2 -2
- package/dist/{segment-pj3wklGe.d.ts → segment-CbAgVO-5.d.ts} +1 -1
- package/dist/{segment-D2i34X9l.d.ts → segment-DQLX6r1E.d.ts} +2 -2
- package/dist/{setup-Ez_U7GmM.d.ts → setup-JqcJ2unJ.d.ts} +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{snippet-hEV429Pv.d.ts → snippet-C_Ilx7tR.d.ts} +2 -2
- package/dist/{snippet-RnnWa4TL.d.ts → snippet-Djn0rL21.d.ts} +2 -2
- package/dist/{table-B_lfuaHc.d.ts → table-CDZbLNow.d.ts} +6 -6
- package/dist/{table-B3-UaPHa.d.ts → table-Od6uvDVW.d.ts} +19 -14
- package/dist/{timeline-folD3mQ_.d.ts → timeline-BK45hy-h.d.ts} +31 -31
- package/dist/{timeline-C2IEcRlP.d.ts → timeline-BTs6fuRp.d.ts} +2 -2
- package/dist/{transform-CDurgE1D.d.ts → transform-C5thnJwW.d.ts} +139 -23
- package/dist/{transform-CXOT5kFe.d.ts → transform-WASQAXeA.d.ts} +39 -25
- package/dist/{transform-inspector-BUYBt6--.d.ts → transform-inspector-CMCh8WKV.d.ts} +4 -4
- package/dist/{transform-job-CTJImaOd.d.ts → transform-job-D8jTQtdX.d.ts} +5 -3
- package/dist/{transform-job-29P6BULe.d.ts → transform-job-DmTwKxhc.d.ts} +4 -4
- package/dist/{transform-python-DdDnW6yK.d.ts → transform-python-DtL3xxMj.d.ts} +49 -4
- package/dist/{transform-tag-DVUIZTEM.d.ts → transform-tag-C6j5EUkX.d.ts} +1 -1
- package/dist/{transform-test-A-CJYT6B.d.ts → transform-test-CR_i54IV.d.ts} +1 -1
- package/dist/{transform-test-BwuyrHpT.d.ts → transform-test-CeMzDpUC.d.ts} +1 -1
- package/dist/{transport-E0ZaPNWJ.d.ts → transport-BsXqRujn.d.ts} +17 -3
- package/dist/{upload-B7PG3ePk.d.ts → upload-B5YjVkSW.d.ts} +1 -1
- package/dist/{user-2r0OBoO6.d.ts → user-Sqqv7rqh.d.ts} +2 -2
- package/dist/version/capability-error.d.ts +1 -1
- package/dist/version/features.d.ts +2 -2
- package/dist/version/features.js +30 -2
- package/dist/version/input-gates.d.ts +2 -0
- package/dist/version/input-gates.js +13 -0
- package/dist/version/probe.d.ts +1 -1
- package/dist/version/profile.d.ts +1 -1
- package/dist/version/requirement-check.d.ts +1 -1
- package/dist/version/requirements.d.ts +1 -1
- package/dist/version/requirements.js +10 -0
- package/package.json +3 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/domain/timeline.d.ts
|
|
3
3
|
declare const TimelineIcon: z.ZodEnum<{
|
|
4
|
-
info: "info";
|
|
5
|
-
warning: "warning";
|
|
6
4
|
star: "star";
|
|
7
5
|
cake: "cake";
|
|
8
6
|
mail: "mail";
|
|
9
7
|
mail_at: "mail_at";
|
|
8
|
+
warning: "warning";
|
|
10
9
|
bell: "bell";
|
|
11
10
|
cloud: "cloud";
|
|
11
|
+
info: "info";
|
|
12
12
|
note: "note";
|
|
13
13
|
event: "event";
|
|
14
14
|
}>;
|
|
@@ -21,14 +21,14 @@ declare const TimelineEvent: z.ZodObject<{
|
|
|
21
21
|
timezone: z.ZodString;
|
|
22
22
|
time_matters: z.ZodBoolean;
|
|
23
23
|
icon: z.ZodEnum<{
|
|
24
|
-
info: "info";
|
|
25
|
-
warning: "warning";
|
|
26
24
|
star: "star";
|
|
27
25
|
cake: "cake";
|
|
28
26
|
mail: "mail";
|
|
29
27
|
mail_at: "mail_at";
|
|
28
|
+
warning: "warning";
|
|
30
29
|
bell: "bell";
|
|
31
30
|
cloud: "cloud";
|
|
31
|
+
info: "info";
|
|
32
32
|
note: "note";
|
|
33
33
|
event: "event";
|
|
34
34
|
}>;
|
|
@@ -40,24 +40,24 @@ declare const TimelineEvent: z.ZodObject<{
|
|
|
40
40
|
}, z.core.$loose>;
|
|
41
41
|
type TimelineEvent = z.infer<typeof TimelineEvent>;
|
|
42
42
|
declare const TimelineEventCompact: z.ZodObject<{
|
|
43
|
-
name: z.ZodString;
|
|
44
|
-
id: z.ZodNumber;
|
|
45
|
-
description: z.ZodNullable<z.ZodString>;
|
|
46
|
-
archived: z.ZodBoolean;
|
|
47
|
-
timestamp: z.ZodString;
|
|
48
43
|
icon: z.ZodEnum<{
|
|
49
|
-
info: "info";
|
|
50
|
-
warning: "warning";
|
|
51
44
|
star: "star";
|
|
52
45
|
cake: "cake";
|
|
53
46
|
mail: "mail";
|
|
54
47
|
mail_at: "mail_at";
|
|
48
|
+
warning: "warning";
|
|
55
49
|
bell: "bell";
|
|
56
50
|
cloud: "cloud";
|
|
51
|
+
info: "info";
|
|
57
52
|
note: "note";
|
|
58
53
|
event: "event";
|
|
59
54
|
}>;
|
|
55
|
+
id: z.ZodNumber;
|
|
56
|
+
name: z.ZodString;
|
|
57
|
+
description: z.ZodNullable<z.ZodString>;
|
|
58
|
+
timestamp: z.ZodString;
|
|
60
59
|
timeline_id: z.ZodNumber;
|
|
60
|
+
archived: z.ZodBoolean;
|
|
61
61
|
}, z.core.$strip>;
|
|
62
62
|
type TimelineEventCompact = z.infer<typeof TimelineEventCompact>;
|
|
63
63
|
declare const Timeline: z.ZodObject<{
|
|
@@ -65,14 +65,14 @@ declare const Timeline: z.ZodObject<{
|
|
|
65
65
|
name: z.ZodString;
|
|
66
66
|
description: z.ZodNullable<z.ZodString>;
|
|
67
67
|
icon: z.ZodEnum<{
|
|
68
|
-
info: "info";
|
|
69
|
-
warning: "warning";
|
|
70
68
|
star: "star";
|
|
71
69
|
cake: "cake";
|
|
72
70
|
mail: "mail";
|
|
73
71
|
mail_at: "mail_at";
|
|
72
|
+
warning: "warning";
|
|
74
73
|
bell: "bell";
|
|
75
74
|
cloud: "cloud";
|
|
75
|
+
info: "info";
|
|
76
76
|
note: "note";
|
|
77
77
|
event: "event";
|
|
78
78
|
}>;
|
|
@@ -91,14 +91,14 @@ declare const Timeline: z.ZodObject<{
|
|
|
91
91
|
timezone: z.ZodString;
|
|
92
92
|
time_matters: z.ZodBoolean;
|
|
93
93
|
icon: z.ZodEnum<{
|
|
94
|
-
info: "info";
|
|
95
|
-
warning: "warning";
|
|
96
94
|
star: "star";
|
|
97
95
|
cake: "cake";
|
|
98
96
|
mail: "mail";
|
|
99
97
|
mail_at: "mail_at";
|
|
98
|
+
warning: "warning";
|
|
100
99
|
bell: "bell";
|
|
101
100
|
cloud: "cloud";
|
|
101
|
+
info: "info";
|
|
102
102
|
note: "note";
|
|
103
103
|
event: "event";
|
|
104
104
|
}>;
|
|
@@ -111,38 +111,38 @@ declare const Timeline: z.ZodObject<{
|
|
|
111
111
|
}, z.core.$loose>;
|
|
112
112
|
type Timeline = z.infer<typeof Timeline>;
|
|
113
113
|
declare const TimelineCompact: z.ZodObject<{
|
|
114
|
-
name: z.ZodString;
|
|
115
|
-
id: z.ZodNumber;
|
|
116
|
-
default: z.ZodBoolean;
|
|
117
|
-
collection_id: z.ZodNullable<z.ZodNumber>;
|
|
118
|
-
description: z.ZodNullable<z.ZodString>;
|
|
119
|
-
archived: z.ZodBoolean;
|
|
120
114
|
icon: z.ZodEnum<{
|
|
121
|
-
info: "info";
|
|
122
|
-
warning: "warning";
|
|
123
115
|
star: "star";
|
|
124
116
|
cake: "cake";
|
|
125
117
|
mail: "mail";
|
|
126
118
|
mail_at: "mail_at";
|
|
119
|
+
warning: "warning";
|
|
127
120
|
bell: "bell";
|
|
128
121
|
cloud: "cloud";
|
|
122
|
+
info: "info";
|
|
129
123
|
note: "note";
|
|
130
124
|
event: "event";
|
|
131
125
|
}>;
|
|
126
|
+
id: z.ZodNumber;
|
|
127
|
+
name: z.ZodString;
|
|
128
|
+
description: z.ZodNullable<z.ZodString>;
|
|
129
|
+
archived: z.ZodBoolean;
|
|
130
|
+
collection_id: z.ZodNullable<z.ZodNumber>;
|
|
131
|
+
default: z.ZodBoolean;
|
|
132
132
|
}, z.core.$strip>;
|
|
133
133
|
type TimelineCompact = z.infer<typeof TimelineCompact>;
|
|
134
134
|
declare const TimelineCreateInput: z.ZodObject<{
|
|
135
135
|
name: z.ZodString;
|
|
136
136
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
137
|
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
138
|
-
info: "info";
|
|
139
|
-
warning: "warning";
|
|
140
138
|
star: "star";
|
|
141
139
|
cake: "cake";
|
|
142
140
|
mail: "mail";
|
|
143
141
|
mail_at: "mail_at";
|
|
142
|
+
warning: "warning";
|
|
144
143
|
bell: "bell";
|
|
145
144
|
cloud: "cloud";
|
|
145
|
+
info: "info";
|
|
146
146
|
note: "note";
|
|
147
147
|
event: "event";
|
|
148
148
|
}>>>;
|
|
@@ -154,14 +154,14 @@ declare const TimelineUpdateInput: z.ZodObject<{
|
|
|
154
154
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
155
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
156
|
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
157
|
-
info: "info";
|
|
158
|
-
warning: "warning";
|
|
159
157
|
star: "star";
|
|
160
158
|
cake: "cake";
|
|
161
159
|
mail: "mail";
|
|
162
160
|
mail_at: "mail_at";
|
|
161
|
+
warning: "warning";
|
|
163
162
|
bell: "bell";
|
|
164
163
|
cloud: "cloud";
|
|
164
|
+
info: "info";
|
|
165
165
|
note: "note";
|
|
166
166
|
event: "event";
|
|
167
167
|
}>>>;
|
|
@@ -178,14 +178,14 @@ declare const TimelineEventCreateInput: z.ZodObject<{
|
|
|
178
178
|
timeline_id: z.ZodNumber;
|
|
179
179
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
180
|
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
181
|
-
info: "info";
|
|
182
|
-
warning: "warning";
|
|
183
181
|
star: "star";
|
|
184
182
|
cake: "cake";
|
|
185
183
|
mail: "mail";
|
|
186
184
|
mail_at: "mail_at";
|
|
185
|
+
warning: "warning";
|
|
187
186
|
bell: "bell";
|
|
188
187
|
cloud: "cloud";
|
|
188
|
+
info: "info";
|
|
189
189
|
note: "note";
|
|
190
190
|
event: "event";
|
|
191
191
|
}>>>;
|
|
@@ -199,14 +199,14 @@ declare const TimelineEventUpdateInput: z.ZodObject<{
|
|
|
199
199
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
200
|
time_matters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
201
201
|
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
202
|
-
info: "info";
|
|
203
|
-
warning: "warning";
|
|
204
202
|
star: "star";
|
|
205
203
|
cake: "cake";
|
|
206
204
|
mail: "mail";
|
|
207
205
|
mail_at: "mail_at";
|
|
206
|
+
warning: "warning";
|
|
208
207
|
bell: "bell";
|
|
209
208
|
cloud: "cloud";
|
|
209
|
+
info: "info";
|
|
210
210
|
note: "note";
|
|
211
211
|
event: "event";
|
|
212
212
|
}>>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
|
|
2
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
|
-
import { i as TimelineEvent, l as TimelineUpdateInput, r as TimelineCreateInput, t as Timeline } from "./timeline-
|
|
3
|
+
import { i as TimelineEvent, l as TimelineUpdateInput, r as TimelineCreateInput, t as Timeline } from "./timeline-BK45hy-h.js";
|
|
4
4
|
//#region src/resources/timeline.d.ts
|
|
5
5
|
interface TimelineListParams {
|
|
6
6
|
archived?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as Features } from "./features-
|
|
1
|
+
import { o as Features } from "./features-SMSfJhB6.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/domain/transform.d.ts
|
|
4
4
|
declare const TransformRunStatus: z.ZodEnum<{
|
|
@@ -19,14 +19,118 @@ declare const TransformRunMethod: z.ZodEnum<{
|
|
|
19
19
|
cron: "cron";
|
|
20
20
|
}>;
|
|
21
21
|
type TransformRunMethod = z.infer<typeof TransformRunMethod>;
|
|
22
|
-
declare const
|
|
22
|
+
declare const TransformSourceTableEntryInput: z.ZodUnion<readonly [z.ZodObject<{
|
|
23
23
|
alias: z.ZodString;
|
|
24
24
|
database_id: z.ZodNumber;
|
|
25
|
-
schema: z.ZodNullable<z.ZodString
|
|
25
|
+
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
table: z.ZodOptional<z.ZodString>;
|
|
27
27
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
29
|
+
alias: z.ZodString;
|
|
30
|
+
table_id: z.ZodNumber;
|
|
31
|
+
database_id: z.ZodOptional<z.ZodNull>;
|
|
32
|
+
schema: z.ZodOptional<z.ZodNull>;
|
|
33
|
+
table: z.ZodOptional<z.ZodNull>;
|
|
34
|
+
}, z.core.$loose>]>;
|
|
35
|
+
type TransformSourceTableEntryInput = z.infer<typeof TransformSourceTableEntryInput>;
|
|
36
|
+
declare const TransformSourceTableEntry: z.ZodObject<{
|
|
37
|
+
alias: z.ZodString;
|
|
38
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
table: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
42
|
}, z.core.$loose>;
|
|
29
43
|
type TransformSourceTableEntry = z.infer<typeof TransformSourceTableEntry>;
|
|
44
|
+
declare const TransformSourceInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45
|
+
type: z.ZodLiteral<"query">;
|
|
46
|
+
query: z.ZodUnknown;
|
|
47
|
+
"source-incremental-strategy": z.ZodOptional<z.ZodObject<{
|
|
48
|
+
type: z.ZodLiteral<"checkpoint">;
|
|
49
|
+
"checkpoint-filter-field-id": z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
52
|
+
type: z.ZodLiteral<"python">;
|
|
53
|
+
body: z.ZodString;
|
|
54
|
+
"source-database": z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
"source-incremental-strategy": z.ZodOptional<z.ZodObject<{
|
|
56
|
+
type: z.ZodLiteral<"checkpoint">;
|
|
57
|
+
"checkpoint-filter-field-id": z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
}, z.core.$loose>>;
|
|
59
|
+
"source-tables": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
60
|
+
alias: z.ZodString;
|
|
61
|
+
database_id: z.ZodNumber;
|
|
62
|
+
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
table: z.ZodOptional<z.ZodString>;
|
|
64
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
66
|
+
alias: z.ZodString;
|
|
67
|
+
table_id: z.ZodNumber;
|
|
68
|
+
database_id: z.ZodOptional<z.ZodNull>;
|
|
69
|
+
schema: z.ZodOptional<z.ZodNull>;
|
|
70
|
+
table: z.ZodOptional<z.ZodNull>;
|
|
71
|
+
}, z.core.$loose>]>>;
|
|
72
|
+
}, z.core.$loose>], "type">;
|
|
73
|
+
type TransformSourceInput = z.infer<typeof TransformSourceInput>;
|
|
74
|
+
/** Each entry keyed by its alias, its value chosen by `value`, as a server without the list reads it. */
|
|
75
|
+
declare function keyedByAlias<T>(entries: readonly TransformSourceTableEntryInput[], value: (entry: TransformSourceTableEntryInput) => T): Record<string, T>;
|
|
76
|
+
/** A transform body's `source` as a server with `features` reads it. */
|
|
77
|
+
declare function transformSourceBody(source: TransformSourceInput, features: Features): {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
type: "query";
|
|
80
|
+
query: unknown;
|
|
81
|
+
"source-incremental-strategy"?: {
|
|
82
|
+
[x: string]: unknown;
|
|
83
|
+
type: "checkpoint";
|
|
84
|
+
"checkpoint-filter-field-id"?: number | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
} | {
|
|
87
|
+
[x: string]: unknown;
|
|
88
|
+
type: "python";
|
|
89
|
+
body: string;
|
|
90
|
+
"source-tables": ({
|
|
91
|
+
[x: string]: unknown;
|
|
92
|
+
alias: string;
|
|
93
|
+
database_id: number;
|
|
94
|
+
schema?: string | null | undefined;
|
|
95
|
+
table?: string | undefined;
|
|
96
|
+
table_id?: number | null | undefined;
|
|
97
|
+
} | {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
alias: string;
|
|
100
|
+
table_id: number;
|
|
101
|
+
database_id?: null | undefined;
|
|
102
|
+
schema?: null | undefined;
|
|
103
|
+
table?: null | undefined;
|
|
104
|
+
})[];
|
|
105
|
+
"source-database"?: number | undefined;
|
|
106
|
+
"source-incremental-strategy"?: {
|
|
107
|
+
[x: string]: unknown;
|
|
108
|
+
type: "checkpoint";
|
|
109
|
+
"checkpoint-filter-field-id"?: number | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
} | {
|
|
112
|
+
"source-tables": Record<string, number | {
|
|
113
|
+
[x: string]: unknown;
|
|
114
|
+
database_id: number;
|
|
115
|
+
schema?: string | null | undefined;
|
|
116
|
+
table?: string | undefined;
|
|
117
|
+
table_id?: number | null | undefined;
|
|
118
|
+
} | {
|
|
119
|
+
[x: string]: unknown;
|
|
120
|
+
table_id: number;
|
|
121
|
+
database_id?: null | undefined;
|
|
122
|
+
schema?: null | undefined;
|
|
123
|
+
table?: null | undefined;
|
|
124
|
+
}>;
|
|
125
|
+
type: "python";
|
|
126
|
+
body: string;
|
|
127
|
+
"source-database"?: number | undefined;
|
|
128
|
+
"source-incremental-strategy"?: {
|
|
129
|
+
[x: string]: unknown;
|
|
130
|
+
type: "checkpoint";
|
|
131
|
+
"checkpoint-filter-field-id"?: number | undefined;
|
|
132
|
+
} | undefined;
|
|
133
|
+
};
|
|
30
134
|
declare const TransformTarget: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
31
135
|
type: z.ZodLiteral<"table">;
|
|
32
136
|
database: z.ZodOptional<z.ZodNumber>;
|
|
@@ -179,8 +283,8 @@ declare const TransformRunSummary: z.ZodObject<{
|
|
|
179
283
|
type TransformRunSummary = z.infer<typeof TransformRunSummary>;
|
|
180
284
|
declare const TransformRunSummaryCompact: z.ZodObject<{
|
|
181
285
|
message: z.ZodNullable<z.ZodString>;
|
|
182
|
-
name: z.ZodNullable<z.ZodString>;
|
|
183
286
|
id: z.ZodNumber;
|
|
287
|
+
name: z.ZodNullable<z.ZodString>;
|
|
184
288
|
entity_id: z.ZodNullable<z.ZodNumber>;
|
|
185
289
|
status: z.ZodEnum<{
|
|
186
290
|
timeout: "timeout";
|
|
@@ -219,10 +323,10 @@ declare const Transform: z.ZodObject<{
|
|
|
219
323
|
body: z.ZodString;
|
|
220
324
|
"source-tables": z.ZodArray<z.ZodObject<{
|
|
221
325
|
alias: z.ZodString;
|
|
222
|
-
database_id: z.ZodNumber;
|
|
223
|
-
schema: z.ZodNullable<z.ZodString>;
|
|
224
|
-
table: z.ZodOptional<z.ZodString>;
|
|
225
326
|
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
327
|
+
database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
328
|
+
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
table: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
330
|
}, z.core.$loose>>;
|
|
227
331
|
"source-database": z.ZodOptional<z.ZodNumber>;
|
|
228
332
|
"source-incremental-strategy": z.ZodOptional<z.ZodObject<{
|
|
@@ -295,8 +399,8 @@ declare function transformDetailSchema(features: Features): z.ZodType<Transform>
|
|
|
295
399
|
/** The shape every other transform endpoint answers on a server with `features`, read as `Transform`. */
|
|
296
400
|
declare function transformRowSchema(features: Features): z.ZodType<Transform>;
|
|
297
401
|
declare const TransformCompact: z.ZodObject<{
|
|
298
|
-
name: z.ZodString;
|
|
299
402
|
id: z.ZodNumber;
|
|
403
|
+
name: z.ZodString;
|
|
300
404
|
description: z.ZodNullable<z.ZodString>;
|
|
301
405
|
target_table_id: z.ZodNullable<z.ZodNumber>;
|
|
302
406
|
source_type: z.ZodEnum<{
|
|
@@ -340,18 +444,24 @@ declare const TransformCreateInput: z.ZodObject<{
|
|
|
340
444
|
}, z.core.$loose>, z.ZodObject<{
|
|
341
445
|
type: z.ZodLiteral<"python">;
|
|
342
446
|
body: z.ZodString;
|
|
343
|
-
"source-tables": z.ZodArray<z.ZodObject<{
|
|
344
|
-
alias: z.ZodString;
|
|
345
|
-
database_id: z.ZodNumber;
|
|
346
|
-
schema: z.ZodNullable<z.ZodString>;
|
|
347
|
-
table: z.ZodOptional<z.ZodString>;
|
|
348
|
-
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
349
|
-
}, z.core.$loose>>;
|
|
350
447
|
"source-database": z.ZodOptional<z.ZodNumber>;
|
|
351
448
|
"source-incremental-strategy": z.ZodOptional<z.ZodObject<{
|
|
352
449
|
type: z.ZodLiteral<"checkpoint">;
|
|
353
450
|
"checkpoint-filter-field-id": z.ZodOptional<z.ZodNumber>;
|
|
354
451
|
}, z.core.$loose>>;
|
|
452
|
+
"source-tables": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
453
|
+
alias: z.ZodString;
|
|
454
|
+
database_id: z.ZodNumber;
|
|
455
|
+
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
456
|
+
table: z.ZodOptional<z.ZodString>;
|
|
457
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
458
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
459
|
+
alias: z.ZodString;
|
|
460
|
+
table_id: z.ZodNumber;
|
|
461
|
+
database_id: z.ZodOptional<z.ZodNull>;
|
|
462
|
+
schema: z.ZodOptional<z.ZodNull>;
|
|
463
|
+
table: z.ZodOptional<z.ZodNull>;
|
|
464
|
+
}, z.core.$loose>]>>;
|
|
355
465
|
}, z.core.$loose>], "type">;
|
|
356
466
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
357
467
|
type: z.ZodLiteral<"table">;
|
|
@@ -396,18 +506,24 @@ declare const TransformUpdateInput: z.ZodObject<{
|
|
|
396
506
|
}, z.core.$loose>, z.ZodObject<{
|
|
397
507
|
type: z.ZodLiteral<"python">;
|
|
398
508
|
body: z.ZodString;
|
|
399
|
-
"source-tables": z.ZodArray<z.ZodObject<{
|
|
400
|
-
alias: z.ZodString;
|
|
401
|
-
database_id: z.ZodNumber;
|
|
402
|
-
schema: z.ZodNullable<z.ZodString>;
|
|
403
|
-
table: z.ZodOptional<z.ZodString>;
|
|
404
|
-
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
405
|
-
}, z.core.$loose>>;
|
|
406
509
|
"source-database": z.ZodOptional<z.ZodNumber>;
|
|
407
510
|
"source-incremental-strategy": z.ZodOptional<z.ZodObject<{
|
|
408
511
|
type: z.ZodLiteral<"checkpoint">;
|
|
409
512
|
"checkpoint-filter-field-id": z.ZodOptional<z.ZodNumber>;
|
|
410
513
|
}, z.core.$loose>>;
|
|
514
|
+
"source-tables": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
515
|
+
alias: z.ZodString;
|
|
516
|
+
database_id: z.ZodNumber;
|
|
517
|
+
schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
518
|
+
table: z.ZodOptional<z.ZodString>;
|
|
519
|
+
table_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
520
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
521
|
+
alias: z.ZodString;
|
|
522
|
+
table_id: z.ZodNumber;
|
|
523
|
+
database_id: z.ZodOptional<z.ZodNull>;
|
|
524
|
+
schema: z.ZodOptional<z.ZodNull>;
|
|
525
|
+
table: z.ZodOptional<z.ZodNull>;
|
|
526
|
+
}, z.core.$loose>]>>;
|
|
411
527
|
}, z.core.$loose>], "type">>;
|
|
412
528
|
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
413
529
|
type: z.ZodLiteral<"table">;
|
|
@@ -440,4 +556,4 @@ declare const TransformUpdateInput: z.ZodObject<{
|
|
|
440
556
|
}, z.core.$loose>;
|
|
441
557
|
type TransformUpdateInput = z.infer<typeof TransformUpdateInput>;
|
|
442
558
|
//#endregion
|
|
443
|
-
export {
|
|
559
|
+
export { transformDetailSchema as C, keyedByAlias as S, transformSourceBody as T, TransformSourceTableEntryInput as _, TransformDagRunResult as a, isTransformRunFailed as b, TransformRunCompact as c, TransformRunStatus as d, TransformRunSummary as f, TransformSourceTableEntry as g, TransformRunSummaryType as h, TransformDagDirection as i, TransformRunMethod as l, TransformRunSummarySortColumn as m, TransformCompact as n, TransformDagTransform as o, TransformRunSummaryCompact as p, TransformCreateInput as r, TransformRun as s, Transform as t, TransformRunResult as u, TransformTarget as v, transformRowSchema as w, isTransformRunTerminal as x, TransformUpdateInput as y };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { f as RequestOptions, h as Transport } from "./transport-E0ZaPNWJ.js";
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
|
|
3
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
4
|
-
import { n as Page, r as PaginateOptions } from "./paginate-
|
|
3
|
+
import { n as Page, r as PaginateOptions } from "./paginate-COuL0Gzl.js";
|
|
5
4
|
import { a as PollOptions } from "./poll-CIwnee7h.js";
|
|
6
|
-
import {
|
|
5
|
+
import { i as SortDirection } from "./query-Xsin530u.js";
|
|
6
|
+
import { d as TransformRunStatus, h as TransformRunSummaryType, i as TransformDagDirection, l as TransformRunMethod, m as TransformRunSummarySortColumn } from "./transform-C5thnJwW.js";
|
|
7
7
|
//#region src/resources/transform.d.ts
|
|
8
8
|
interface TransformRunParams {
|
|
9
9
|
/** Poll the run to a terminal status. Without it the call returns once the run is queued. */
|
|
@@ -56,10 +56,10 @@ declare function transformResource(transport: Transport): {
|
|
|
56
56
|
"source-tables": {
|
|
57
57
|
[x: string]: unknown;
|
|
58
58
|
alias: string;
|
|
59
|
-
database_id: number;
|
|
60
|
-
schema: string | null;
|
|
61
|
-
table?: string | undefined;
|
|
62
59
|
table_id?: number | null | undefined;
|
|
60
|
+
database_id?: number | null | undefined;
|
|
61
|
+
schema?: string | null | undefined;
|
|
62
|
+
table?: string | null | undefined;
|
|
63
63
|
}[];
|
|
64
64
|
"source-database"?: number | undefined;
|
|
65
65
|
"source-incremental-strategy"?: {
|
|
@@ -137,10 +137,10 @@ declare function transformResource(transport: Transport): {
|
|
|
137
137
|
"source-tables": {
|
|
138
138
|
[x: string]: unknown;
|
|
139
139
|
alias: string;
|
|
140
|
-
database_id: number;
|
|
141
|
-
schema: string | null;
|
|
142
|
-
table?: string | undefined;
|
|
143
140
|
table_id?: number | null | undefined;
|
|
141
|
+
database_id?: number | null | undefined;
|
|
142
|
+
schema?: string | null | undefined;
|
|
143
|
+
table?: string | null | undefined;
|
|
144
144
|
}[];
|
|
145
145
|
"source-database"?: number | undefined;
|
|
146
146
|
"source-incremental-strategy"?: {
|
|
@@ -213,14 +213,21 @@ declare function transformResource(transport: Transport): {
|
|
|
213
213
|
[x: string]: unknown;
|
|
214
214
|
type: "python";
|
|
215
215
|
body: string;
|
|
216
|
-
"source-tables": {
|
|
216
|
+
"source-tables": ({
|
|
217
217
|
[x: string]: unknown;
|
|
218
218
|
alias: string;
|
|
219
219
|
database_id: number;
|
|
220
|
-
schema
|
|
220
|
+
schema?: string | null | undefined;
|
|
221
221
|
table?: string | undefined;
|
|
222
222
|
table_id?: number | null | undefined;
|
|
223
|
-
}
|
|
223
|
+
} | {
|
|
224
|
+
[x: string]: unknown;
|
|
225
|
+
alias: string;
|
|
226
|
+
table_id: number;
|
|
227
|
+
database_id?: null | undefined;
|
|
228
|
+
schema?: null | undefined;
|
|
229
|
+
table?: null | undefined;
|
|
230
|
+
})[];
|
|
224
231
|
"source-database"?: number | undefined;
|
|
225
232
|
"source-incremental-strategy"?: {
|
|
226
233
|
[x: string]: unknown;
|
|
@@ -280,10 +287,10 @@ declare function transformResource(transport: Transport): {
|
|
|
280
287
|
"source-tables": {
|
|
281
288
|
[x: string]: unknown;
|
|
282
289
|
alias: string;
|
|
283
|
-
database_id: number;
|
|
284
|
-
schema: string | null;
|
|
285
|
-
table?: string | undefined;
|
|
286
290
|
table_id?: number | null | undefined;
|
|
291
|
+
database_id?: number | null | undefined;
|
|
292
|
+
schema?: string | null | undefined;
|
|
293
|
+
table?: string | null | undefined;
|
|
287
294
|
}[];
|
|
288
295
|
"source-database"?: number | undefined;
|
|
289
296
|
"source-incremental-strategy"?: {
|
|
@@ -357,14 +364,21 @@ declare function transformResource(transport: Transport): {
|
|
|
357
364
|
[x: string]: unknown;
|
|
358
365
|
type: "python";
|
|
359
366
|
body: string;
|
|
360
|
-
"source-tables": {
|
|
367
|
+
"source-tables": ({
|
|
361
368
|
[x: string]: unknown;
|
|
362
369
|
alias: string;
|
|
363
370
|
database_id: number;
|
|
364
|
-
schema
|
|
371
|
+
schema?: string | null | undefined;
|
|
365
372
|
table?: string | undefined;
|
|
366
373
|
table_id?: number | null | undefined;
|
|
367
|
-
}
|
|
374
|
+
} | {
|
|
375
|
+
[x: string]: unknown;
|
|
376
|
+
alias: string;
|
|
377
|
+
table_id: number;
|
|
378
|
+
database_id?: null | undefined;
|
|
379
|
+
schema?: null | undefined;
|
|
380
|
+
table?: null | undefined;
|
|
381
|
+
})[];
|
|
368
382
|
"source-database"?: number | undefined;
|
|
369
383
|
"source-incremental-strategy"?: {
|
|
370
384
|
[x: string]: unknown;
|
|
@@ -423,10 +437,10 @@ declare function transformResource(transport: Transport): {
|
|
|
423
437
|
"source-tables": {
|
|
424
438
|
[x: string]: unknown;
|
|
425
439
|
alias: string;
|
|
426
|
-
database_id: number;
|
|
427
|
-
schema: string | null;
|
|
428
|
-
table?: string | undefined;
|
|
429
440
|
table_id?: number | null | undefined;
|
|
441
|
+
database_id?: number | null | undefined;
|
|
442
|
+
schema?: string | null | undefined;
|
|
443
|
+
table?: string | null | undefined;
|
|
430
444
|
}[];
|
|
431
445
|
"source-database"?: number | undefined;
|
|
432
446
|
"source-incremental-strategy"?: {
|
|
@@ -506,10 +520,10 @@ declare function transformResource(transport: Transport): {
|
|
|
506
520
|
"source-tables": {
|
|
507
521
|
[x: string]: unknown;
|
|
508
522
|
alias: string;
|
|
509
|
-
database_id: number;
|
|
510
|
-
schema: string | null;
|
|
511
|
-
table?: string | undefined;
|
|
512
523
|
table_id?: number | null | undefined;
|
|
524
|
+
database_id?: number | null | undefined;
|
|
525
|
+
schema?: string | null | undefined;
|
|
526
|
+
table?: string | null | undefined;
|
|
513
527
|
}[];
|
|
514
528
|
"source-database"?: number | undefined;
|
|
515
529
|
"source-incremental-strategy"?: {
|
|
@@ -222,9 +222,9 @@ declare const LensAlertTrigger: z.ZodObject<{
|
|
|
222
222
|
name: z.ZodString;
|
|
223
223
|
}, z.core.$loose>;
|
|
224
224
|
severity: z.ZodEnum<{
|
|
225
|
-
error: "error";
|
|
226
|
-
info: "info";
|
|
227
225
|
warning: "warning";
|
|
226
|
+
info: "info";
|
|
227
|
+
error: "error";
|
|
228
228
|
}>;
|
|
229
229
|
message: z.ZodString;
|
|
230
230
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -335,9 +335,9 @@ declare const TransformLens: z.ZodObject<{
|
|
|
335
335
|
name: z.ZodString;
|
|
336
336
|
}, z.core.$loose>;
|
|
337
337
|
severity: z.ZodEnum<{
|
|
338
|
-
error: "error";
|
|
339
|
-
info: "info";
|
|
340
338
|
warning: "warning";
|
|
339
|
+
info: "info";
|
|
340
|
+
error: "error";
|
|
341
341
|
}>;
|
|
342
342
|
message: z.ZodString;
|
|
343
343
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { o as Features } from "./features-
|
|
1
|
+
import { o as Features } from "./features-SMSfJhB6.js";
|
|
2
|
+
import { r as InputGate } from "./input-gates-DwKoTJVQ.js";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
//#region src/domain/transform-job.d.ts
|
|
4
5
|
declare const TransformJob: z.ZodObject<{
|
|
@@ -44,8 +45,8 @@ type TransformJob = z.infer<typeof TransformJob>;
|
|
|
44
45
|
/** The shape every transform-job endpoint answers on a server with `features`, read as `TransformJob`. */
|
|
45
46
|
declare function transformJobSchema(features: Features): z.ZodType<TransformJob>;
|
|
46
47
|
declare const TransformJobCompact: z.ZodObject<{
|
|
47
|
-
name: z.ZodString;
|
|
48
48
|
id: z.ZodNumber;
|
|
49
|
+
name: z.ZodString;
|
|
49
50
|
description: z.ZodNullable<z.ZodString>;
|
|
50
51
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
51
52
|
ui_display_type: z.ZodEnum<{
|
|
@@ -67,6 +68,7 @@ declare const TransformJobCreateInput: z.ZodObject<{
|
|
|
67
68
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
68
69
|
}, z.core.$loose>;
|
|
69
70
|
type TransformJobCreateInput = z.infer<typeof TransformJobCreateInput>;
|
|
71
|
+
declare const TRANSFORM_JOB_ACTIVE_GATE: InputGate;
|
|
70
72
|
declare const TransformJobUpdateInput: z.ZodObject<{
|
|
71
73
|
name: z.ZodOptional<z.ZodString>;
|
|
72
74
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -93,4 +95,4 @@ declare const TransformJobActiveResult: z.ZodObject<{
|
|
|
93
95
|
}, z.core.$strip>;
|
|
94
96
|
type TransformJobActiveResult = z.infer<typeof TransformJobActiveResult>;
|
|
95
97
|
//#endregion
|
|
96
|
-
export {
|
|
98
|
+
export { TransformJobCreateInput as a, transformJobRunResultSchema as c, TransformJobCompact as i, transformJobSchema as l, TransformJob as n, TransformJobRunResult as o, TransformJobActiveResult as r, TransformJobUpdateInput as s, TRANSFORM_JOB_ACTIVE_GATE as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
1
|
+
import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
|
|
2
2
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
3
3
|
//#region src/resources/transform-job.d.ts
|
|
4
4
|
interface TransformJobRunParams {
|
|
@@ -168,10 +168,10 @@ declare function transformJobResource(transport: Transport): {
|
|
|
168
168
|
"source-tables": {
|
|
169
169
|
[x: string]: unknown;
|
|
170
170
|
alias: string;
|
|
171
|
-
database_id: number;
|
|
172
|
-
schema: string | null;
|
|
173
|
-
table?: string | undefined;
|
|
174
171
|
table_id?: number | null | undefined;
|
|
172
|
+
database_id?: number | null | undefined;
|
|
173
|
+
schema?: string | null | undefined;
|
|
174
|
+
table?: string | null | undefined;
|
|
175
175
|
}[];
|
|
176
176
|
"source-database"?: number | undefined;
|
|
177
177
|
"source-incremental-strategy"?: {
|