@milaboratories/pl-model-middle-layer 1.18.2 → 1.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,23 +18,23 @@ declare const ContentExplicitBase64: z.ZodObject<{
18
18
  content: z.ZodString;
19
19
  }, "strict", z.ZodTypeAny, {
20
20
  type: "explicit-base64";
21
- mimeType: string;
22
21
  content: string;
22
+ mimeType: string;
23
23
  }, {
24
24
  type: "explicit-base64";
25
- mimeType: string;
26
25
  content: string;
26
+ mimeType: string;
27
27
  }>;
28
28
  type ContentExplicitBase64 = z.infer<typeof ContentExplicitBase64>;
29
29
  declare const ContentRelative: z.ZodObject<{
30
30
  type: z.ZodLiteral<"relative">;
31
31
  path: z.ZodString;
32
32
  }, "strict", z.ZodTypeAny, {
33
- type: "relative";
34
33
  path: string;
35
- }, {
36
34
  type: "relative";
35
+ }, {
37
36
  path: string;
37
+ type: "relative";
38
38
  }>;
39
39
  type ContentRelative = z.infer<typeof ContentRelative>;
40
40
  declare const ContentAbsoluteFile: z.ZodObject<{
@@ -65,12 +65,12 @@ declare const ContentExplicitBytes: z.ZodObject<{
65
65
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
66
66
  }, "strict", z.ZodTypeAny, {
67
67
  type: "explicit-bytes";
68
- mimeType: string;
69
68
  content: Uint8Array<ArrayBuffer>;
69
+ mimeType: string;
70
70
  }, {
71
71
  type: "explicit-bytes";
72
- mimeType: string;
73
72
  content: Uint8Array<ArrayBuffer>;
73
+ mimeType: string;
74
74
  }>;
75
75
  type ContentExplicitBytes = z.infer<typeof ContentExplicitBytes>;
76
76
  declare const ContentAbsoluteFolder: z.ZodObject<{
@@ -99,21 +99,21 @@ declare const ContentAny: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
99
99
  content: z.ZodString;
100
100
  }, "strict", z.ZodTypeAny, {
101
101
  type: "explicit-base64";
102
- mimeType: string;
103
102
  content: string;
103
+ mimeType: string;
104
104
  }, {
105
105
  type: "explicit-base64";
106
- mimeType: string;
107
106
  content: string;
107
+ mimeType: string;
108
108
  }>, z.ZodObject<{
109
109
  type: z.ZodLiteral<"relative">;
110
110
  path: z.ZodString;
111
111
  }, "strict", z.ZodTypeAny, {
112
- type: "relative";
113
112
  path: string;
114
- }, {
115
113
  type: "relative";
114
+ }, {
116
115
  path: string;
116
+ type: "relative";
117
117
  }>, z.ZodObject<{
118
118
  type: z.ZodLiteral<"absolute-file">;
119
119
  file: z.ZodString;
@@ -149,21 +149,21 @@ declare const ContentExplicitOrRelative: z.ZodDiscriminatedUnion<"type", [z.ZodO
149
149
  content: z.ZodString;
150
150
  }, "strict", z.ZodTypeAny, {
151
151
  type: "explicit-base64";
152
- mimeType: string;
153
152
  content: string;
153
+ mimeType: string;
154
154
  }, {
155
155
  type: "explicit-base64";
156
- mimeType: string;
157
156
  content: string;
157
+ mimeType: string;
158
158
  }>, z.ZodObject<{
159
159
  type: z.ZodLiteral<"relative">;
160
160
  path: z.ZodString;
161
161
  }, "strict", z.ZodTypeAny, {
162
- type: "relative";
163
162
  path: string;
164
- }, {
165
163
  type: "relative";
164
+ }, {
166
165
  path: string;
166
+ type: "relative";
167
167
  }>]>;
168
168
  type ContentExplicitOrRelative = z.infer<typeof ContentExplicitOrRelative>;
169
169
  declare const ContentAnyLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -181,21 +181,21 @@ declare const ContentAnyLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
181
181
  content: z.ZodString;
182
182
  }, "strict", z.ZodTypeAny, {
183
183
  type: "explicit-base64";
184
- mimeType: string;
185
184
  content: string;
185
+ mimeType: string;
186
186
  }, {
187
187
  type: "explicit-base64";
188
- mimeType: string;
189
188
  content: string;
189
+ mimeType: string;
190
190
  }>, z.ZodObject<{
191
191
  type: z.ZodLiteral<"relative">;
192
192
  path: z.ZodString;
193
193
  }, "strict", z.ZodTypeAny, {
194
- type: "relative";
195
194
  path: string;
196
- }, {
197
195
  type: "relative";
196
+ }, {
198
197
  path: string;
198
+ type: "relative";
199
199
  }>, z.ZodObject<{
200
200
  type: z.ZodLiteral<"absolute-file">;
201
201
  file: z.ZodString;
@@ -222,21 +222,21 @@ declare const ContentAnyRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
222
222
  content: z.ZodString;
223
223
  }, "strict", z.ZodTypeAny, {
224
224
  type: "explicit-base64";
225
- mimeType: string;
226
225
  content: string;
226
+ mimeType: string;
227
227
  }, {
228
228
  type: "explicit-base64";
229
- mimeType: string;
230
229
  content: string;
230
+ mimeType: string;
231
231
  }>, z.ZodObject<{
232
232
  type: z.ZodLiteral<"relative">;
233
233
  path: z.ZodString;
234
234
  }, "strict", z.ZodTypeAny, {
235
- type: "relative";
236
235
  path: string;
237
- }, {
238
236
  type: "relative";
237
+ }, {
239
238
  path: string;
239
+ type: "relative";
240
240
  }>, z.ZodObject<{
241
241
  type: z.ZodLiteral<"absolute-url">;
242
242
  url: z.ZodString;
@@ -254,21 +254,21 @@ declare const ContentAnyBinaryLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
254
254
  content: z.ZodString;
255
255
  }, "strict", z.ZodTypeAny, {
256
256
  type: "explicit-base64";
257
- mimeType: string;
258
257
  content: string;
258
+ mimeType: string;
259
259
  }, {
260
260
  type: "explicit-base64";
261
- mimeType: string;
262
261
  content: string;
262
+ mimeType: string;
263
263
  }>, z.ZodObject<{
264
264
  type: z.ZodLiteral<"relative">;
265
265
  path: z.ZodString;
266
266
  }, "strict", z.ZodTypeAny, {
267
- type: "relative";
268
267
  path: string;
269
- }, {
270
268
  type: "relative";
269
+ }, {
271
270
  path: string;
271
+ type: "relative";
272
272
  }>, z.ZodObject<{
273
273
  type: z.ZodLiteral<"absolute-file">;
274
274
  file: z.ZodString;
@@ -293,11 +293,11 @@ declare const ContentAnyTextLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
293
293
  type: z.ZodLiteral<"relative">;
294
294
  path: z.ZodString;
295
295
  }, "strict", z.ZodTypeAny, {
296
- type: "relative";
297
296
  path: string;
298
- }, {
299
297
  type: "relative";
298
+ }, {
300
299
  path: string;
300
+ type: "relative";
301
301
  }>, z.ZodObject<{
302
302
  type: z.ZodLiteral<"absolute-file">;
303
303
  file: z.ZodString;
@@ -315,12 +315,12 @@ declare const ContentAbsoluteBinaryRemote: z.ZodDiscriminatedUnion<"type", [z.Zo
315
315
  content: z.ZodString;
316
316
  }, "strict", z.ZodTypeAny, {
317
317
  type: "explicit-base64";
318
- mimeType: string;
319
318
  content: string;
319
+ mimeType: string;
320
320
  }, {
321
321
  type: "explicit-base64";
322
- mimeType: string;
323
322
  content: string;
323
+ mimeType: string;
324
324
  }>, z.ZodObject<{
325
325
  type: z.ZodLiteral<"absolute-url">;
326
326
  url: z.ZodString;
@@ -338,12 +338,12 @@ declare const ContentAbsoluteBinaryLocal: z.ZodDiscriminatedUnion<"type", [z.Zod
338
338
  content: z.ZodString;
339
339
  }, "strict", z.ZodTypeAny, {
340
340
  type: "explicit-base64";
341
- mimeType: string;
342
341
  content: string;
342
+ mimeType: string;
343
343
  }, {
344
344
  type: "explicit-base64";
345
- mimeType: string;
346
345
  content: string;
346
+ mimeType: string;
347
347
  }>, z.ZodObject<{
348
348
  type: z.ZodLiteral<"absolute-file">;
349
349
  file: z.ZodString;
@@ -401,21 +401,21 @@ declare const ContentRelativeBinary: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
401
401
  content: z.ZodString;
402
402
  }, "strict", z.ZodTypeAny, {
403
403
  type: "explicit-base64";
404
- mimeType: string;
405
404
  content: string;
405
+ mimeType: string;
406
406
  }, {
407
407
  type: "explicit-base64";
408
- mimeType: string;
409
408
  content: string;
409
+ mimeType: string;
410
410
  }>, z.ZodObject<{
411
411
  type: z.ZodLiteral<"relative">;
412
412
  path: z.ZodString;
413
413
  }, "strict", z.ZodTypeAny, {
414
- type: "relative";
415
414
  path: string;
416
- }, {
417
415
  type: "relative";
416
+ }, {
418
417
  path: string;
418
+ type: "relative";
419
419
  }>]>;
420
420
  type ContentRelativeBinary = z.infer<typeof ContentRelativeBinary>;
421
421
  declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -431,41 +431,41 @@ declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
431
431
  type: z.ZodLiteral<"relative">;
432
432
  path: z.ZodString;
433
433
  }, "strict", z.ZodTypeAny, {
434
- type: "relative";
435
434
  path: string;
436
- }, {
437
435
  type: "relative";
436
+ }, {
438
437
  path: string;
438
+ type: "relative";
439
439
  }>]>;
440
440
  type ContentRelativeText = z.infer<typeof ContentRelativeText>;
441
441
  declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
442
+ path: string;
443
+ type: "relative";
444
+ } | {
442
445
  type: "explicit-base64";
443
- mimeType: string;
444
446
  content: string;
445
- } | {
446
- type: "relative";
447
- path: string;
447
+ mimeType: string;
448
448
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
449
449
  type: z.ZodLiteral<"explicit-base64">;
450
450
  mimeType: z.ZodString;
451
451
  content: z.ZodString;
452
452
  }, "strict", z.ZodTypeAny, {
453
453
  type: "explicit-base64";
454
- mimeType: string;
455
454
  content: string;
455
+ mimeType: string;
456
456
  }, {
457
457
  type: "explicit-base64";
458
- mimeType: string;
459
458
  content: string;
459
+ mimeType: string;
460
460
  }>, z.ZodObject<{
461
461
  type: z.ZodLiteral<"relative">;
462
462
  path: z.ZodString;
463
463
  }, "strict", z.ZodTypeAny, {
464
- type: "relative";
465
464
  path: string;
466
- }, {
467
465
  type: "relative";
466
+ }, {
468
467
  path: string;
468
+ type: "relative";
469
469
  }>, z.ZodObject<{
470
470
  type: z.ZodLiteral<"absolute-file">;
471
471
  file: z.ZodString;
@@ -481,8 +481,8 @@ declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, {
481
481
  type: "explicit-string";
482
482
  content: string;
483
483
  } | {
484
- type: "relative";
485
484
  path: string;
485
+ type: "relative";
486
486
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
487
487
  type: z.ZodLiteral<"explicit-string">;
488
488
  content: z.ZodString;
@@ -496,11 +496,11 @@ declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, {
496
496
  type: z.ZodLiteral<"relative">;
497
497
  path: z.ZodString;
498
498
  }, "strict", z.ZodTypeAny, {
499
- type: "relative";
500
499
  path: string;
501
- }, {
502
500
  type: "relative";
501
+ }, {
503
502
  path: string;
503
+ type: "relative";
504
504
  }>, z.ZodObject<{
505
505
  type: z.ZodLiteral<"absolute-file">;
506
506
  file: z.ZodString;
@@ -56,20 +56,20 @@ declare const BlockPackFromRegistryV1: z.ZodObject<{
56
56
  }>;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  type: "from-registry-v1";
59
- registryUrl: string;
60
59
  id: {
61
60
  organization: string;
62
61
  name: string;
63
62
  version: string;
64
63
  };
64
+ registryUrl: string;
65
65
  }, {
66
66
  type: "from-registry-v1";
67
- registryUrl: string;
68
67
  id: {
69
68
  organization: string;
70
69
  name: string;
71
70
  version: string;
72
71
  };
72
+ registryUrl: string;
73
73
  }>;
74
74
  /** @deprecated don't use */
75
75
  type BlockPackFromRegistryV1 = z.infer<typeof BlockPackFromRegistryV1>;
@@ -94,21 +94,21 @@ declare const BlockPackFromRegistryV2: z.ZodObject<{
94
94
  channel: z.ZodOptional<z.ZodString>;
95
95
  }, "strip", z.ZodTypeAny, {
96
96
  type: "from-registry-v2";
97
- registryUrl: string;
98
97
  id: {
99
98
  organization: string;
100
99
  name: string;
101
100
  version: string;
102
101
  };
102
+ registryUrl: string;
103
103
  channel?: string | undefined;
104
104
  }, {
105
105
  type: "from-registry-v2";
106
- registryUrl: string;
107
106
  id: {
108
107
  organization: string;
109
108
  name: string;
110
109
  version: string;
111
110
  };
111
+ registryUrl: string;
112
112
  channel?: string | undefined;
113
113
  }>;
114
114
  type BlockPackFromRegistryV2 = z.infer<typeof BlockPackFromRegistryV2>;
@@ -155,20 +155,20 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
155
155
  }>;
156
156
  }, "strip", z.ZodTypeAny, {
157
157
  type: "from-registry-v1";
158
- registryUrl: string;
159
158
  id: {
160
159
  organization: string;
161
160
  name: string;
162
161
  version: string;
163
162
  };
163
+ registryUrl: string;
164
164
  }, {
165
165
  type: "from-registry-v1";
166
- registryUrl: string;
167
166
  id: {
168
167
  organization: string;
169
168
  name: string;
170
169
  version: string;
171
170
  };
171
+ registryUrl: string;
172
172
  }>, z.ZodObject<{
173
173
  type: z.ZodLiteral<"from-registry-v2">;
174
174
  registryUrl: z.ZodString;
@@ -188,21 +188,21 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
188
188
  channel: z.ZodOptional<z.ZodString>;
189
189
  }, "strip", z.ZodTypeAny, {
190
190
  type: "from-registry-v2";
191
- registryUrl: string;
192
191
  id: {
193
192
  organization: string;
194
193
  name: string;
195
194
  version: string;
196
195
  };
196
+ registryUrl: string;
197
197
  channel?: string | undefined;
198
198
  }, {
199
199
  type: "from-registry-v2";
200
- registryUrl: string;
201
200
  id: {
202
201
  organization: string;
203
202
  name: string;
204
203
  version: string;
205
204
  };
205
+ registryUrl: string;
206
206
  channel?: string | undefined;
207
207
  }>]>;
208
208
  type BlockPackSpec = z.infer<typeof BlockPackSpec>;