@milaboratories/pl-model-middle-layer 1.20.0 → 1.21.0
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/block_meta/block_components.d.ts +69 -69
- package/dist/block_meta/block_description.d.ts +418 -418
- package/dist/block_meta/block_id.d.ts +4 -4
- package/dist/block_meta/block_manifest.d.ts +336 -336
- package/dist/block_meta/block_meta.d.ts +138 -138
- package/dist/block_meta/content_types.d.ts +29 -29
- package/dist/block_registry/block_pack_spec.d.ts +24 -24
- package/dist/block_registry/overview.d.ts +1716 -1716
- package/dist/block_registry/registry_spec.d.ts +12 -12
- package/dist/pframe/internal_api/api_factory.cjs.map +1 -1
- package/dist/pframe/internal_api/api_factory.d.ts +36 -2
- package/dist/pframe/internal_api/api_factory.d.ts.map +1 -1
- package/dist/pframe/internal_api/api_factory.js.map +1 -1
- package/dist/pframe/internal_api/api_read.d.ts +40 -3
- package/dist/pframe/internal_api/api_read.d.ts.map +1 -1
- package/dist/pframe/internal_api/index.d.ts +5 -5
- package/dist/pframe/internal_api/pframe.d.ts +21 -3
- package/dist/pframe/internal_api/pframe.d.ts.map +1 -1
- package/dist/pframe/internal_api/table.d.ts +51 -1
- package/dist/pframe/internal_api/table.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/pframe/internal_api/api_factory.ts +44 -0
- package/src/pframe/internal_api/api_read.ts +48 -1
- package/src/pframe/internal_api/pframe.ts +23 -2
- package/src/pframe/internal_api/table.ts +54 -0
|
@@ -18,12 +18,12 @@ 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<{
|
|
@@ -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,12 +99,12 @@ 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;
|
|
@@ -149,12 +149,12 @@ 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;
|
|
@@ -181,12 +181,12 @@ 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;
|
|
@@ -222,12 +222,12 @@ 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;
|
|
@@ -254,12 +254,12 @@ 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;
|
|
@@ -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,12 +401,12 @@ 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;
|
|
@@ -439,24 +439,24 @@ declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
439
439
|
}>]>;
|
|
440
440
|
type ContentRelativeText = z.infer<typeof ContentRelativeText>;
|
|
441
441
|
declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
442
|
-
type: "explicit-base64";
|
|
443
|
-
mimeType: string;
|
|
444
|
-
content: string;
|
|
445
|
-
} | {
|
|
446
442
|
type: "relative";
|
|
447
443
|
path: string;
|
|
444
|
+
} | {
|
|
445
|
+
type: "explicit-base64";
|
|
446
|
+
content: 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;
|
|
@@ -478,11 +478,11 @@ declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
|
478
478
|
}>]>]>;
|
|
479
479
|
type DescriptionContentBinary = z.infer<typeof DescriptionContentBinary>;
|
|
480
480
|
declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
481
|
-
type: "explicit-string";
|
|
482
|
-
content: string;
|
|
483
|
-
} | {
|
|
484
481
|
type: "relative";
|
|
485
482
|
path: string;
|
|
483
|
+
} | {
|
|
484
|
+
type: "explicit-string";
|
|
485
|
+
content: string;
|
|
486
486
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
487
487
|
type: z.ZodLiteral<"explicit-string">;
|
|
488
488
|
content: z.ZodString;
|
|
@@ -46,30 +46,30 @@ declare const BlockPackFromRegistryV1: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodString;
|
|
47
47
|
version: z.ZodString;
|
|
48
48
|
}, "strict", z.ZodTypeAny, {
|
|
49
|
-
organization: string;
|
|
50
49
|
name: string;
|
|
50
|
+
organization: string;
|
|
51
51
|
version: string;
|
|
52
52
|
}, {
|
|
53
|
-
organization: string;
|
|
54
53
|
name: string;
|
|
54
|
+
organization: string;
|
|
55
55
|
version: string;
|
|
56
56
|
}>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
type: "from-registry-v1";
|
|
59
|
-
registryUrl: string;
|
|
60
59
|
id: {
|
|
61
|
-
organization: string;
|
|
62
60
|
name: string;
|
|
61
|
+
organization: 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
|
-
organization: string;
|
|
70
68
|
name: string;
|
|
69
|
+
organization: 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>;
|
|
@@ -83,32 +83,32 @@ declare const BlockPackFromRegistryV2: z.ZodObject<{
|
|
|
83
83
|
name: z.ZodString;
|
|
84
84
|
version: z.ZodString;
|
|
85
85
|
}, "strict", z.ZodTypeAny, {
|
|
86
|
-
organization: string;
|
|
87
86
|
name: string;
|
|
87
|
+
organization: string;
|
|
88
88
|
version: string;
|
|
89
89
|
}, {
|
|
90
|
-
organization: string;
|
|
91
90
|
name: string;
|
|
91
|
+
organization: string;
|
|
92
92
|
version: string;
|
|
93
93
|
}>;
|
|
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
|
-
organization: string;
|
|
100
98
|
name: string;
|
|
99
|
+
organization: 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
|
-
organization: string;
|
|
109
107
|
name: string;
|
|
108
|
+
organization: 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>;
|
|
@@ -145,30 +145,30 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
145
145
|
name: z.ZodString;
|
|
146
146
|
version: z.ZodString;
|
|
147
147
|
}, "strict", z.ZodTypeAny, {
|
|
148
|
-
organization: string;
|
|
149
148
|
name: string;
|
|
149
|
+
organization: string;
|
|
150
150
|
version: string;
|
|
151
151
|
}, {
|
|
152
|
-
organization: string;
|
|
153
152
|
name: string;
|
|
153
|
+
organization: string;
|
|
154
154
|
version: string;
|
|
155
155
|
}>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
157
|
type: "from-registry-v1";
|
|
158
|
-
registryUrl: string;
|
|
159
158
|
id: {
|
|
160
|
-
organization: string;
|
|
161
159
|
name: string;
|
|
160
|
+
organization: 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
|
-
organization: string;
|
|
169
167
|
name: string;
|
|
168
|
+
organization: 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;
|
|
@@ -177,32 +177,32 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
177
177
|
name: z.ZodString;
|
|
178
178
|
version: z.ZodString;
|
|
179
179
|
}, "strict", z.ZodTypeAny, {
|
|
180
|
-
organization: string;
|
|
181
180
|
name: string;
|
|
181
|
+
organization: string;
|
|
182
182
|
version: string;
|
|
183
183
|
}, {
|
|
184
|
-
organization: string;
|
|
185
184
|
name: string;
|
|
185
|
+
organization: string;
|
|
186
186
|
version: string;
|
|
187
187
|
}>;
|
|
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
|
-
organization: string;
|
|
194
192
|
name: string;
|
|
193
|
+
organization: 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
|
-
organization: string;
|
|
203
201
|
name: string;
|
|
202
|
+
organization: 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>;
|