@milaboratories/pl-model-middle-layer 1.2.16 → 1.2.18
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/dist/author_marker.d.ts +10 -0
- package/dist/author_marker.d.ts.map +1 -0
- package/dist/block_meta/block_components.d.ts +277 -0
- package/dist/block_meta/block_components.d.ts.map +1 -0
- package/dist/block_meta/block_pack_id.d.ts +29 -0
- package/dist/block_meta/block_pack_id.d.ts.map +1 -0
- package/dist/block_meta/common.d.ts +3 -0
- package/dist/block_meta/common.d.ts.map +1 -0
- package/dist/block_meta/content_conversion.d.ts +3 -0
- package/dist/block_meta/content_conversion.d.ts.map +1 -0
- package/dist/block_meta/content_types.d.ts +478 -0
- package/dist/block_meta/content_types.d.ts.map +1 -0
- package/dist/block_meta/index.d.ts +1669 -0
- package/dist/block_meta/index.d.ts.map +1 -0
- package/dist/block_meta/meta.d.ts +656 -0
- package/dist/block_meta/meta.d.ts.map +1 -0
- package/dist/block_meta/semver.d.ts +3 -0
- package/dist/block_meta/semver.d.ts.map +1 -0
- package/dist/block_pack.d.ts +24 -0
- package/dist/block_pack.d.ts.map +1 -0
- package/dist/block_state.d.ts +9 -0
- package/dist/block_state.d.ts.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -209
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +213 -0
- package/dist/index.mjs.map +1 -0
- package/dist/pframe/index.d.ts +2 -0
- package/dist/pframe/index.d.ts.map +1 -0
- package/dist/pframe/internal_api/api_factory.d.ts +52 -0
- package/dist/pframe/internal_api/api_factory.d.ts.map +1 -0
- package/dist/pframe/internal_api/api_read.d.ts +28 -0
- package/dist/pframe/internal_api/api_read.d.ts.map +1 -0
- package/dist/pframe/internal_api/common.d.ts +19 -0
- package/dist/pframe/internal_api/common.d.ts.map +1 -0
- package/dist/pframe/internal_api/create_table.d.ts +26 -0
- package/dist/pframe/internal_api/create_table.d.ts.map +1 -0
- package/dist/pframe/internal_api/delete_column.d.ts +10 -0
- package/dist/pframe/internal_api/delete_column.d.ts.map +1 -0
- package/dist/pframe/internal_api/find_columns.d.ts +23 -0
- package/dist/pframe/internal_api/find_columns.d.ts.map +1 -0
- package/dist/pframe/internal_api/index.d.ts +9 -0
- package/dist/pframe/internal_api/index.d.ts.map +1 -0
- package/dist/pframe/internal_api/pframe.d.ts +4 -0
- package/dist/pframe/internal_api/pframe.d.ts.map +1 -0
- package/dist/pframe/internal_api/table.d.ts +37 -0
- package/dist/pframe/internal_api/table.d.ts.map +1 -0
- package/dist/project.d.ts +5 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project_list.d.ts +17 -0
- package/dist/project_list.d.ts.map +1 -0
- package/dist/project_overview.d.ts +103 -0
- package/dist/project_overview.d.ts.map +1 -0
- package/package.json +13 -10
- package/src/block_meta/index.ts +27 -21
- package/dist/index.cjs +0 -249
- package/dist/index.cjs.map +0 -1
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ContentExplicitString: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
4
|
+
content: z.ZodString;
|
|
5
|
+
}, "strict", z.ZodTypeAny, {
|
|
6
|
+
type: "explicit-string";
|
|
7
|
+
content: string;
|
|
8
|
+
}, {
|
|
9
|
+
type: "explicit-string";
|
|
10
|
+
content: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type ContentExplicitString = z.infer<typeof ContentExplicitString>;
|
|
13
|
+
export declare const ContentExplicitBase64: z.ZodObject<{
|
|
14
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
15
|
+
mimeType: z.ZodString;
|
|
16
|
+
content: z.ZodString;
|
|
17
|
+
}, "strict", z.ZodTypeAny, {
|
|
18
|
+
type: "explicit-base64";
|
|
19
|
+
content: string;
|
|
20
|
+
mimeType: string;
|
|
21
|
+
}, {
|
|
22
|
+
type: "explicit-base64";
|
|
23
|
+
content: string;
|
|
24
|
+
mimeType: string;
|
|
25
|
+
}>;
|
|
26
|
+
export type ContentExplicitBase64 = z.infer<typeof ContentExplicitBase64>;
|
|
27
|
+
export declare const ContentRelative: z.ZodObject<{
|
|
28
|
+
type: z.ZodLiteral<"relative">;
|
|
29
|
+
path: z.ZodString;
|
|
30
|
+
}, "strict", z.ZodTypeAny, {
|
|
31
|
+
type: "relative";
|
|
32
|
+
path: string;
|
|
33
|
+
}, {
|
|
34
|
+
type: "relative";
|
|
35
|
+
path: string;
|
|
36
|
+
}>;
|
|
37
|
+
export type ContentRelative = z.infer<typeof ContentRelative>;
|
|
38
|
+
export declare const ContentAbsoluteFile: z.ZodObject<{
|
|
39
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
40
|
+
file: z.ZodString;
|
|
41
|
+
}, "strict", z.ZodTypeAny, {
|
|
42
|
+
type: "absolute-file";
|
|
43
|
+
file: string;
|
|
44
|
+
}, {
|
|
45
|
+
type: "absolute-file";
|
|
46
|
+
file: string;
|
|
47
|
+
}>;
|
|
48
|
+
export type ContentAbsoluteFile = z.infer<typeof ContentAbsoluteFile>;
|
|
49
|
+
export declare const ContentAbsoluteUrl: z.ZodObject<{
|
|
50
|
+
type: z.ZodLiteral<"absolute-url">;
|
|
51
|
+
url: z.ZodString;
|
|
52
|
+
}, "strict", z.ZodTypeAny, {
|
|
53
|
+
type: "absolute-url";
|
|
54
|
+
url: string;
|
|
55
|
+
}, {
|
|
56
|
+
type: "absolute-url";
|
|
57
|
+
url: string;
|
|
58
|
+
}>;
|
|
59
|
+
export type ContentAbsoluteUrl = z.infer<typeof ContentAbsoluteUrl>;
|
|
60
|
+
export declare const ContentExplicit: z.ZodObject<{
|
|
61
|
+
type: z.ZodLiteral<"explicit">;
|
|
62
|
+
content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
|
|
63
|
+
}, "strict", z.ZodTypeAny, {
|
|
64
|
+
type: "explicit";
|
|
65
|
+
content: Uint8Array;
|
|
66
|
+
}, {
|
|
67
|
+
type: "explicit";
|
|
68
|
+
content: Uint8Array;
|
|
69
|
+
}>;
|
|
70
|
+
export type ContentExplicit = z.infer<typeof ContentExplicit>;
|
|
71
|
+
export declare const ContentAbsoluteFolder: z.ZodObject<{
|
|
72
|
+
type: z.ZodLiteral<"absolute-folder">;
|
|
73
|
+
folder: z.ZodString;
|
|
74
|
+
}, "strict", z.ZodTypeAny, {
|
|
75
|
+
type: "absolute-folder";
|
|
76
|
+
folder: string;
|
|
77
|
+
}, {
|
|
78
|
+
type: "absolute-folder";
|
|
79
|
+
folder: string;
|
|
80
|
+
}>;
|
|
81
|
+
export type ContentAbsoluteFolder = z.infer<typeof ContentAbsoluteFolder>;
|
|
82
|
+
export declare const ContentAny: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
83
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
84
|
+
content: z.ZodString;
|
|
85
|
+
}, "strict", z.ZodTypeAny, {
|
|
86
|
+
type: "explicit-string";
|
|
87
|
+
content: string;
|
|
88
|
+
}, {
|
|
89
|
+
type: "explicit-string";
|
|
90
|
+
content: string;
|
|
91
|
+
}>, z.ZodObject<{
|
|
92
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
93
|
+
mimeType: z.ZodString;
|
|
94
|
+
content: z.ZodString;
|
|
95
|
+
}, "strict", z.ZodTypeAny, {
|
|
96
|
+
type: "explicit-base64";
|
|
97
|
+
content: string;
|
|
98
|
+
mimeType: string;
|
|
99
|
+
}, {
|
|
100
|
+
type: "explicit-base64";
|
|
101
|
+
content: string;
|
|
102
|
+
mimeType: string;
|
|
103
|
+
}>, z.ZodObject<{
|
|
104
|
+
type: z.ZodLiteral<"relative">;
|
|
105
|
+
path: z.ZodString;
|
|
106
|
+
}, "strict", z.ZodTypeAny, {
|
|
107
|
+
type: "relative";
|
|
108
|
+
path: string;
|
|
109
|
+
}, {
|
|
110
|
+
type: "relative";
|
|
111
|
+
path: string;
|
|
112
|
+
}>, z.ZodObject<{
|
|
113
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
114
|
+
file: z.ZodString;
|
|
115
|
+
}, "strict", z.ZodTypeAny, {
|
|
116
|
+
type: "absolute-file";
|
|
117
|
+
file: string;
|
|
118
|
+
}, {
|
|
119
|
+
type: "absolute-file";
|
|
120
|
+
file: string;
|
|
121
|
+
}>, z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<"absolute-url">;
|
|
123
|
+
url: z.ZodString;
|
|
124
|
+
}, "strict", z.ZodTypeAny, {
|
|
125
|
+
type: "absolute-url";
|
|
126
|
+
url: string;
|
|
127
|
+
}, {
|
|
128
|
+
type: "absolute-url";
|
|
129
|
+
url: string;
|
|
130
|
+
}>]>;
|
|
131
|
+
export type ContentAny = z.infer<typeof ContentAny>;
|
|
132
|
+
export declare const ContentAnyLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
133
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
134
|
+
content: z.ZodString;
|
|
135
|
+
}, "strict", z.ZodTypeAny, {
|
|
136
|
+
type: "explicit-string";
|
|
137
|
+
content: string;
|
|
138
|
+
}, {
|
|
139
|
+
type: "explicit-string";
|
|
140
|
+
content: string;
|
|
141
|
+
}>, z.ZodObject<{
|
|
142
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
143
|
+
mimeType: z.ZodString;
|
|
144
|
+
content: z.ZodString;
|
|
145
|
+
}, "strict", z.ZodTypeAny, {
|
|
146
|
+
type: "explicit-base64";
|
|
147
|
+
content: string;
|
|
148
|
+
mimeType: string;
|
|
149
|
+
}, {
|
|
150
|
+
type: "explicit-base64";
|
|
151
|
+
content: string;
|
|
152
|
+
mimeType: string;
|
|
153
|
+
}>, z.ZodObject<{
|
|
154
|
+
type: z.ZodLiteral<"relative">;
|
|
155
|
+
path: z.ZodString;
|
|
156
|
+
}, "strict", z.ZodTypeAny, {
|
|
157
|
+
type: "relative";
|
|
158
|
+
path: string;
|
|
159
|
+
}, {
|
|
160
|
+
type: "relative";
|
|
161
|
+
path: string;
|
|
162
|
+
}>, z.ZodObject<{
|
|
163
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
164
|
+
file: z.ZodString;
|
|
165
|
+
}, "strict", z.ZodTypeAny, {
|
|
166
|
+
type: "absolute-file";
|
|
167
|
+
file: string;
|
|
168
|
+
}, {
|
|
169
|
+
type: "absolute-file";
|
|
170
|
+
file: string;
|
|
171
|
+
}>]>;
|
|
172
|
+
export type ContentAnyLocal = z.infer<typeof ContentAnyLocal>;
|
|
173
|
+
export declare const ContentAnyRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
174
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
175
|
+
content: z.ZodString;
|
|
176
|
+
}, "strict", z.ZodTypeAny, {
|
|
177
|
+
type: "explicit-string";
|
|
178
|
+
content: string;
|
|
179
|
+
}, {
|
|
180
|
+
type: "explicit-string";
|
|
181
|
+
content: string;
|
|
182
|
+
}>, z.ZodObject<{
|
|
183
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
184
|
+
mimeType: z.ZodString;
|
|
185
|
+
content: z.ZodString;
|
|
186
|
+
}, "strict", z.ZodTypeAny, {
|
|
187
|
+
type: "explicit-base64";
|
|
188
|
+
content: string;
|
|
189
|
+
mimeType: string;
|
|
190
|
+
}, {
|
|
191
|
+
type: "explicit-base64";
|
|
192
|
+
content: string;
|
|
193
|
+
mimeType: string;
|
|
194
|
+
}>, z.ZodObject<{
|
|
195
|
+
type: z.ZodLiteral<"relative">;
|
|
196
|
+
path: z.ZodString;
|
|
197
|
+
}, "strict", z.ZodTypeAny, {
|
|
198
|
+
type: "relative";
|
|
199
|
+
path: string;
|
|
200
|
+
}, {
|
|
201
|
+
type: "relative";
|
|
202
|
+
path: string;
|
|
203
|
+
}>, z.ZodObject<{
|
|
204
|
+
type: z.ZodLiteral<"absolute-url">;
|
|
205
|
+
url: z.ZodString;
|
|
206
|
+
}, "strict", z.ZodTypeAny, {
|
|
207
|
+
type: "absolute-url";
|
|
208
|
+
url: string;
|
|
209
|
+
}, {
|
|
210
|
+
type: "absolute-url";
|
|
211
|
+
url: string;
|
|
212
|
+
}>]>;
|
|
213
|
+
export type ContentAnyRemote = z.infer<typeof ContentAnyRemote>;
|
|
214
|
+
export declare const ContentAnyBinaryLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
215
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
216
|
+
mimeType: z.ZodString;
|
|
217
|
+
content: z.ZodString;
|
|
218
|
+
}, "strict", z.ZodTypeAny, {
|
|
219
|
+
type: "explicit-base64";
|
|
220
|
+
content: string;
|
|
221
|
+
mimeType: string;
|
|
222
|
+
}, {
|
|
223
|
+
type: "explicit-base64";
|
|
224
|
+
content: string;
|
|
225
|
+
mimeType: string;
|
|
226
|
+
}>, z.ZodObject<{
|
|
227
|
+
type: z.ZodLiteral<"relative">;
|
|
228
|
+
path: z.ZodString;
|
|
229
|
+
}, "strict", z.ZodTypeAny, {
|
|
230
|
+
type: "relative";
|
|
231
|
+
path: string;
|
|
232
|
+
}, {
|
|
233
|
+
type: "relative";
|
|
234
|
+
path: string;
|
|
235
|
+
}>, z.ZodObject<{
|
|
236
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
237
|
+
file: z.ZodString;
|
|
238
|
+
}, "strict", z.ZodTypeAny, {
|
|
239
|
+
type: "absolute-file";
|
|
240
|
+
file: string;
|
|
241
|
+
}, {
|
|
242
|
+
type: "absolute-file";
|
|
243
|
+
file: string;
|
|
244
|
+
}>]>;
|
|
245
|
+
export type ContentAnyBinaryLocal = z.infer<typeof ContentAnyBinaryLocal>;
|
|
246
|
+
export declare const ContentAnyTextLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
247
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
248
|
+
content: z.ZodString;
|
|
249
|
+
}, "strict", z.ZodTypeAny, {
|
|
250
|
+
type: "explicit-string";
|
|
251
|
+
content: string;
|
|
252
|
+
}, {
|
|
253
|
+
type: "explicit-string";
|
|
254
|
+
content: string;
|
|
255
|
+
}>, z.ZodObject<{
|
|
256
|
+
type: z.ZodLiteral<"relative">;
|
|
257
|
+
path: z.ZodString;
|
|
258
|
+
}, "strict", z.ZodTypeAny, {
|
|
259
|
+
type: "relative";
|
|
260
|
+
path: string;
|
|
261
|
+
}, {
|
|
262
|
+
type: "relative";
|
|
263
|
+
path: string;
|
|
264
|
+
}>, z.ZodObject<{
|
|
265
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
266
|
+
file: z.ZodString;
|
|
267
|
+
}, "strict", z.ZodTypeAny, {
|
|
268
|
+
type: "absolute-file";
|
|
269
|
+
file: string;
|
|
270
|
+
}, {
|
|
271
|
+
type: "absolute-file";
|
|
272
|
+
file: string;
|
|
273
|
+
}>]>;
|
|
274
|
+
export type ContentAnyTextLocal = z.infer<typeof ContentAnyTextLocal>;
|
|
275
|
+
export declare const ContentAbsoluteBinaryRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
276
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
277
|
+
mimeType: z.ZodString;
|
|
278
|
+
content: z.ZodString;
|
|
279
|
+
}, "strict", z.ZodTypeAny, {
|
|
280
|
+
type: "explicit-base64";
|
|
281
|
+
content: string;
|
|
282
|
+
mimeType: string;
|
|
283
|
+
}, {
|
|
284
|
+
type: "explicit-base64";
|
|
285
|
+
content: string;
|
|
286
|
+
mimeType: string;
|
|
287
|
+
}>, z.ZodObject<{
|
|
288
|
+
type: z.ZodLiteral<"absolute-url">;
|
|
289
|
+
url: z.ZodString;
|
|
290
|
+
}, "strict", z.ZodTypeAny, {
|
|
291
|
+
type: "absolute-url";
|
|
292
|
+
url: string;
|
|
293
|
+
}, {
|
|
294
|
+
type: "absolute-url";
|
|
295
|
+
url: string;
|
|
296
|
+
}>]>;
|
|
297
|
+
export type ContentAbsoluteBinaryRemote = z.infer<typeof ContentAbsoluteBinaryRemote>;
|
|
298
|
+
export declare const ContentAbsoluteBinaryLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
299
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
300
|
+
mimeType: z.ZodString;
|
|
301
|
+
content: z.ZodString;
|
|
302
|
+
}, "strict", z.ZodTypeAny, {
|
|
303
|
+
type: "explicit-base64";
|
|
304
|
+
content: string;
|
|
305
|
+
mimeType: string;
|
|
306
|
+
}, {
|
|
307
|
+
type: "explicit-base64";
|
|
308
|
+
content: string;
|
|
309
|
+
mimeType: string;
|
|
310
|
+
}>, z.ZodObject<{
|
|
311
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
312
|
+
file: z.ZodString;
|
|
313
|
+
}, "strict", z.ZodTypeAny, {
|
|
314
|
+
type: "absolute-file";
|
|
315
|
+
file: string;
|
|
316
|
+
}, {
|
|
317
|
+
type: "absolute-file";
|
|
318
|
+
file: string;
|
|
319
|
+
}>]>;
|
|
320
|
+
export type ContentAbsoluteBinaryLocal = z.infer<typeof ContentAbsoluteBinaryLocal>;
|
|
321
|
+
export declare const ContentAbsoluteTextRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
322
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
323
|
+
content: z.ZodString;
|
|
324
|
+
}, "strict", z.ZodTypeAny, {
|
|
325
|
+
type: "explicit-string";
|
|
326
|
+
content: string;
|
|
327
|
+
}, {
|
|
328
|
+
type: "explicit-string";
|
|
329
|
+
content: string;
|
|
330
|
+
}>, z.ZodObject<{
|
|
331
|
+
type: z.ZodLiteral<"absolute-url">;
|
|
332
|
+
url: z.ZodString;
|
|
333
|
+
}, "strict", z.ZodTypeAny, {
|
|
334
|
+
type: "absolute-url";
|
|
335
|
+
url: string;
|
|
336
|
+
}, {
|
|
337
|
+
type: "absolute-url";
|
|
338
|
+
url: string;
|
|
339
|
+
}>]>;
|
|
340
|
+
export type ContentAbsoluteTextRemote = z.infer<typeof ContentAbsoluteTextRemote>;
|
|
341
|
+
export declare const ContentAbsoluteTextLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
342
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
343
|
+
content: z.ZodString;
|
|
344
|
+
}, "strict", z.ZodTypeAny, {
|
|
345
|
+
type: "explicit-string";
|
|
346
|
+
content: string;
|
|
347
|
+
}, {
|
|
348
|
+
type: "explicit-string";
|
|
349
|
+
content: string;
|
|
350
|
+
}>, z.ZodObject<{
|
|
351
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
352
|
+
file: z.ZodString;
|
|
353
|
+
}, "strict", z.ZodTypeAny, {
|
|
354
|
+
type: "absolute-file";
|
|
355
|
+
file: string;
|
|
356
|
+
}, {
|
|
357
|
+
type: "absolute-file";
|
|
358
|
+
file: string;
|
|
359
|
+
}>]>;
|
|
360
|
+
export type ContentAbsoluteTextLocal = z.infer<typeof ContentAbsoluteTextLocal>;
|
|
361
|
+
export declare const ContentRelativeBinary: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
362
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
363
|
+
mimeType: z.ZodString;
|
|
364
|
+
content: z.ZodString;
|
|
365
|
+
}, "strict", z.ZodTypeAny, {
|
|
366
|
+
type: "explicit-base64";
|
|
367
|
+
content: string;
|
|
368
|
+
mimeType: string;
|
|
369
|
+
}, {
|
|
370
|
+
type: "explicit-base64";
|
|
371
|
+
content: string;
|
|
372
|
+
mimeType: string;
|
|
373
|
+
}>, z.ZodObject<{
|
|
374
|
+
type: z.ZodLiteral<"relative">;
|
|
375
|
+
path: z.ZodString;
|
|
376
|
+
}, "strict", z.ZodTypeAny, {
|
|
377
|
+
type: "relative";
|
|
378
|
+
path: string;
|
|
379
|
+
}, {
|
|
380
|
+
type: "relative";
|
|
381
|
+
path: string;
|
|
382
|
+
}>]>;
|
|
383
|
+
export type ContentRelativeBinary = z.infer<typeof ContentRelativeBinary>;
|
|
384
|
+
export declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
385
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
386
|
+
content: z.ZodString;
|
|
387
|
+
}, "strict", z.ZodTypeAny, {
|
|
388
|
+
type: "explicit-string";
|
|
389
|
+
content: string;
|
|
390
|
+
}, {
|
|
391
|
+
type: "explicit-string";
|
|
392
|
+
content: string;
|
|
393
|
+
}>, z.ZodObject<{
|
|
394
|
+
type: z.ZodLiteral<"relative">;
|
|
395
|
+
path: z.ZodString;
|
|
396
|
+
}, "strict", z.ZodTypeAny, {
|
|
397
|
+
type: "relative";
|
|
398
|
+
path: string;
|
|
399
|
+
}, {
|
|
400
|
+
type: "relative";
|
|
401
|
+
path: string;
|
|
402
|
+
}>]>;
|
|
403
|
+
export type ContentRelativeText = z.infer<typeof ContentRelativeText>;
|
|
404
|
+
export declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
405
|
+
type: "explicit-base64";
|
|
406
|
+
content: string;
|
|
407
|
+
mimeType: string;
|
|
408
|
+
} | {
|
|
409
|
+
type: "relative";
|
|
410
|
+
path: string;
|
|
411
|
+
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
412
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
413
|
+
mimeType: z.ZodString;
|
|
414
|
+
content: z.ZodString;
|
|
415
|
+
}, "strict", z.ZodTypeAny, {
|
|
416
|
+
type: "explicit-base64";
|
|
417
|
+
content: string;
|
|
418
|
+
mimeType: string;
|
|
419
|
+
}, {
|
|
420
|
+
type: "explicit-base64";
|
|
421
|
+
content: string;
|
|
422
|
+
mimeType: string;
|
|
423
|
+
}>, z.ZodObject<{
|
|
424
|
+
type: z.ZodLiteral<"relative">;
|
|
425
|
+
path: z.ZodString;
|
|
426
|
+
}, "strict", z.ZodTypeAny, {
|
|
427
|
+
type: "relative";
|
|
428
|
+
path: string;
|
|
429
|
+
}, {
|
|
430
|
+
type: "relative";
|
|
431
|
+
path: string;
|
|
432
|
+
}>, z.ZodObject<{
|
|
433
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
434
|
+
file: z.ZodString;
|
|
435
|
+
}, "strict", z.ZodTypeAny, {
|
|
436
|
+
type: "absolute-file";
|
|
437
|
+
file: string;
|
|
438
|
+
}, {
|
|
439
|
+
type: "absolute-file";
|
|
440
|
+
file: string;
|
|
441
|
+
}>]>]>;
|
|
442
|
+
export type DescriptionContentBinary = z.infer<typeof DescriptionContentBinary>;
|
|
443
|
+
export declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
444
|
+
type: "explicit-string";
|
|
445
|
+
content: string;
|
|
446
|
+
} | {
|
|
447
|
+
type: "relative";
|
|
448
|
+
path: string;
|
|
449
|
+
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
450
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
451
|
+
content: z.ZodString;
|
|
452
|
+
}, "strict", z.ZodTypeAny, {
|
|
453
|
+
type: "explicit-string";
|
|
454
|
+
content: string;
|
|
455
|
+
}, {
|
|
456
|
+
type: "explicit-string";
|
|
457
|
+
content: string;
|
|
458
|
+
}>, z.ZodObject<{
|
|
459
|
+
type: z.ZodLiteral<"relative">;
|
|
460
|
+
path: z.ZodString;
|
|
461
|
+
}, "strict", z.ZodTypeAny, {
|
|
462
|
+
type: "relative";
|
|
463
|
+
path: string;
|
|
464
|
+
}, {
|
|
465
|
+
type: "relative";
|
|
466
|
+
path: string;
|
|
467
|
+
}>, z.ZodObject<{
|
|
468
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
469
|
+
file: z.ZodString;
|
|
470
|
+
}, "strict", z.ZodTypeAny, {
|
|
471
|
+
type: "absolute-file";
|
|
472
|
+
file: string;
|
|
473
|
+
}, {
|
|
474
|
+
type: "absolute-file";
|
|
475
|
+
file: string;
|
|
476
|
+
}>]>]>;
|
|
477
|
+
export type DescriptionContentText = z.infer<typeof DescriptionContentText>;
|
|
478
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