@a2ui/web_core 0.9.1-alpha.0 → 0.9.1-alpha.2
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/.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/v0_8/types/types.d.ts +4 -1
- package/src/v0_8/types/types.d.ts.map +1 -1
- package/src/v0_9/basic_catalog/components/basic_components.d.ts +216 -216
- package/src/v0_9/basic_catalog/index.d.ts +1 -0
- package/src/v0_9/basic_catalog/index.d.ts.map +1 -1
- package/src/v0_9/basic_catalog/index.js +1 -0
- package/src/v0_9/basic_catalog/index.js.map +1 -1
- package/src/v0_9/basic_catalog/styles/default.d.ts +17 -0
- package/src/v0_9/basic_catalog/styles/default.d.ts.map +1 -0
- package/src/v0_9/basic_catalog/styles/default.js +136 -0
- package/src/v0_9/basic_catalog/styles/default.js.map +1 -0
- package/src/v0_9/processing/message-processor.d.ts +4 -4
- package/src/v0_9/processing/message-processor.d.ts.map +1 -1
- package/src/v0_9/processing/message-processor.js +4 -3
- package/src/v0_9/processing/message-processor.js.map +1 -1
- package/src/v0_9/processing/message-processor.test.js +24 -0
- package/src/v0_9/processing/message-processor.test.js.map +1 -1
- package/src/v0_9/schema/client-to-server.d.ts +260 -22
- package/src/v0_9/schema/client-to-server.d.ts.map +1 -1
- package/src/v0_9/schema/client-to-server.js +9 -0
- package/src/v0_9/schema/client-to-server.js.map +1 -1
- package/src/v0_9/schema/server-to-client.d.ts +350 -12
- package/src/v0_9/schema/server-to-client.d.ts.map +1 -1
- package/src/v0_9/schema/server-to-client.js +9 -0
- package/src/v0_9/schema/server-to-client.js.map +1 -1
- package/src/v0_9/schemas/client_to_server_list.json +4 -13
- package/src/v0_9/schemas/client_to_server_list_wrapper.json +16 -0
- package/src/v0_9/schemas/server_to_client_list.json +4 -13
- package/src/v0_9/schemas/server_to_client_list_wrapper.json +16 -0
|
@@ -11,16 +11,16 @@ export declare const A2uiClientActionSchema: z.ZodObject<{
|
|
|
11
11
|
context: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
12
12
|
}, "strict", z.ZodTypeAny, {
|
|
13
13
|
name: string;
|
|
14
|
-
context: Record<string, any>;
|
|
15
14
|
surfaceId: string;
|
|
16
15
|
sourceComponentId: string;
|
|
17
16
|
timestamp: string;
|
|
17
|
+
context: Record<string, any>;
|
|
18
18
|
}, {
|
|
19
19
|
name: string;
|
|
20
|
-
context: Record<string, any>;
|
|
21
20
|
surfaceId: string;
|
|
22
21
|
sourceComponentId: string;
|
|
23
22
|
timestamp: string;
|
|
23
|
+
context: Record<string, any>;
|
|
24
24
|
}>;
|
|
25
25
|
/**
|
|
26
26
|
* Reports a client-side validation failure.
|
|
@@ -31,15 +31,15 @@ export declare const A2uiValidationErrorSchema: z.ZodObject<{
|
|
|
31
31
|
path: z.ZodString;
|
|
32
32
|
message: z.ZodString;
|
|
33
33
|
}, "strict", z.ZodTypeAny, {
|
|
34
|
-
|
|
34
|
+
surfaceId: string;
|
|
35
35
|
code: "VALIDATION_FAILED";
|
|
36
|
+
path: string;
|
|
36
37
|
message: string;
|
|
37
|
-
surfaceId: string;
|
|
38
38
|
}, {
|
|
39
|
-
|
|
39
|
+
surfaceId: string;
|
|
40
40
|
code: "VALIDATION_FAILED";
|
|
41
|
+
path: string;
|
|
41
42
|
message: string;
|
|
42
|
-
surfaceId: string;
|
|
43
43
|
}>;
|
|
44
44
|
/**
|
|
45
45
|
* Reports a generic client-side error.
|
|
@@ -67,15 +67,15 @@ export declare const A2uiClientErrorSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
67
67
|
path: z.ZodString;
|
|
68
68
|
message: z.ZodString;
|
|
69
69
|
}, "strict", z.ZodTypeAny, {
|
|
70
|
-
|
|
70
|
+
surfaceId: string;
|
|
71
71
|
code: "VALIDATION_FAILED";
|
|
72
|
+
path: string;
|
|
72
73
|
message: string;
|
|
73
|
-
surfaceId: string;
|
|
74
74
|
}, {
|
|
75
|
-
|
|
75
|
+
surfaceId: string;
|
|
76
76
|
code: "VALIDATION_FAILED";
|
|
77
|
+
path: string;
|
|
77
78
|
message: string;
|
|
78
|
-
surfaceId: string;
|
|
79
79
|
}>, z.ZodObject<{
|
|
80
80
|
code: z.ZodEffects<z.ZodString, string, string>;
|
|
81
81
|
message: z.ZodString;
|
|
@@ -108,32 +108,32 @@ export declare const A2uiClientMessageSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
108
108
|
context: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
109
109
|
}, "strict", z.ZodTypeAny, {
|
|
110
110
|
name: string;
|
|
111
|
-
context: Record<string, any>;
|
|
112
111
|
surfaceId: string;
|
|
113
112
|
sourceComponentId: string;
|
|
114
113
|
timestamp: string;
|
|
114
|
+
context: Record<string, any>;
|
|
115
115
|
}, {
|
|
116
116
|
name: string;
|
|
117
|
-
context: Record<string, any>;
|
|
118
117
|
surfaceId: string;
|
|
119
118
|
sourceComponentId: string;
|
|
120
119
|
timestamp: string;
|
|
120
|
+
context: Record<string, any>;
|
|
121
121
|
}>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
123
|
action: {
|
|
124
124
|
name: string;
|
|
125
|
-
context: Record<string, any>;
|
|
126
125
|
surfaceId: string;
|
|
127
126
|
sourceComponentId: string;
|
|
128
127
|
timestamp: string;
|
|
128
|
+
context: Record<string, any>;
|
|
129
129
|
};
|
|
130
130
|
}, {
|
|
131
131
|
action: {
|
|
132
132
|
name: string;
|
|
133
|
-
context: Record<string, any>;
|
|
134
133
|
surfaceId: string;
|
|
135
134
|
sourceComponentId: string;
|
|
136
135
|
timestamp: string;
|
|
136
|
+
context: Record<string, any>;
|
|
137
137
|
};
|
|
138
138
|
}>, z.ZodObject<{
|
|
139
139
|
error: z.ZodUnion<[z.ZodObject<{
|
|
@@ -142,15 +142,15 @@ export declare const A2uiClientMessageSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
142
142
|
path: z.ZodString;
|
|
143
143
|
message: z.ZodString;
|
|
144
144
|
}, "strict", z.ZodTypeAny, {
|
|
145
|
-
|
|
145
|
+
surfaceId: string;
|
|
146
146
|
code: "VALIDATION_FAILED";
|
|
147
|
+
path: string;
|
|
147
148
|
message: string;
|
|
148
|
-
surfaceId: string;
|
|
149
149
|
}, {
|
|
150
|
-
|
|
150
|
+
surfaceId: string;
|
|
151
151
|
code: "VALIDATION_FAILED";
|
|
152
|
+
path: string;
|
|
152
153
|
message: string;
|
|
153
|
-
surfaceId: string;
|
|
154
154
|
}>, z.ZodObject<{
|
|
155
155
|
code: z.ZodEffects<z.ZodString, string, string>;
|
|
156
156
|
message: z.ZodString;
|
|
@@ -166,10 +166,10 @@ export declare const A2uiClientMessageSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
166
166
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
168
|
error: {
|
|
169
|
-
|
|
169
|
+
surfaceId: string;
|
|
170
170
|
code: "VALIDATION_FAILED";
|
|
171
|
+
path: string;
|
|
171
172
|
message: string;
|
|
172
|
-
surfaceId: string;
|
|
173
173
|
} | z.objectOutputType<{
|
|
174
174
|
code: z.ZodEffects<z.ZodString, string, string>;
|
|
175
175
|
message: z.ZodString;
|
|
@@ -177,10 +177,10 @@ export declare const A2uiClientMessageSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
177
177
|
}, z.ZodTypeAny, "passthrough">;
|
|
178
178
|
}, {
|
|
179
179
|
error: {
|
|
180
|
-
|
|
180
|
+
surfaceId: string;
|
|
181
181
|
code: "VALIDATION_FAILED";
|
|
182
|
+
path: string;
|
|
182
183
|
message: string;
|
|
183
|
-
surfaceId: string;
|
|
184
184
|
} | z.objectInputType<{
|
|
185
185
|
code: z.ZodEffects<z.ZodString, string, string>;
|
|
186
186
|
message: z.ZodString;
|
|
@@ -205,4 +205,242 @@ export type A2uiClientAction = z.infer<typeof A2uiClientActionSchema>;
|
|
|
205
205
|
export type A2uiClientError = z.infer<typeof A2uiClientErrorSchema>;
|
|
206
206
|
export type A2uiClientMessage = z.infer<typeof A2uiClientMessageSchema>;
|
|
207
207
|
export type A2uiClientDataModel = z.infer<typeof A2uiClientDataModelSchema>;
|
|
208
|
+
export declare const A2uiClientMessageListSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
209
|
+
version: z.ZodLiteral<"v0.9">;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
version: "v0.9";
|
|
212
|
+
}, {
|
|
213
|
+
version: "v0.9";
|
|
214
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
215
|
+
action: z.ZodObject<{
|
|
216
|
+
name: z.ZodString;
|
|
217
|
+
surfaceId: z.ZodString;
|
|
218
|
+
sourceComponentId: z.ZodString;
|
|
219
|
+
timestamp: z.ZodString;
|
|
220
|
+
context: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
221
|
+
}, "strict", z.ZodTypeAny, {
|
|
222
|
+
name: string;
|
|
223
|
+
surfaceId: string;
|
|
224
|
+
sourceComponentId: string;
|
|
225
|
+
timestamp: string;
|
|
226
|
+
context: Record<string, any>;
|
|
227
|
+
}, {
|
|
228
|
+
name: string;
|
|
229
|
+
surfaceId: string;
|
|
230
|
+
sourceComponentId: string;
|
|
231
|
+
timestamp: string;
|
|
232
|
+
context: Record<string, any>;
|
|
233
|
+
}>;
|
|
234
|
+
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
action: {
|
|
236
|
+
name: string;
|
|
237
|
+
surfaceId: string;
|
|
238
|
+
sourceComponentId: string;
|
|
239
|
+
timestamp: string;
|
|
240
|
+
context: Record<string, any>;
|
|
241
|
+
};
|
|
242
|
+
}, {
|
|
243
|
+
action: {
|
|
244
|
+
name: string;
|
|
245
|
+
surfaceId: string;
|
|
246
|
+
sourceComponentId: string;
|
|
247
|
+
timestamp: string;
|
|
248
|
+
context: Record<string, any>;
|
|
249
|
+
};
|
|
250
|
+
}>, z.ZodObject<{
|
|
251
|
+
error: z.ZodUnion<[z.ZodObject<{
|
|
252
|
+
code: z.ZodLiteral<"VALIDATION_FAILED">;
|
|
253
|
+
surfaceId: z.ZodString;
|
|
254
|
+
path: z.ZodString;
|
|
255
|
+
message: z.ZodString;
|
|
256
|
+
}, "strict", z.ZodTypeAny, {
|
|
257
|
+
surfaceId: string;
|
|
258
|
+
code: "VALIDATION_FAILED";
|
|
259
|
+
path: string;
|
|
260
|
+
message: string;
|
|
261
|
+
}, {
|
|
262
|
+
surfaceId: string;
|
|
263
|
+
code: "VALIDATION_FAILED";
|
|
264
|
+
path: string;
|
|
265
|
+
message: string;
|
|
266
|
+
}>, z.ZodObject<{
|
|
267
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
268
|
+
message: z.ZodString;
|
|
269
|
+
surfaceId: z.ZodString;
|
|
270
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
271
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
272
|
+
message: z.ZodString;
|
|
273
|
+
surfaceId: z.ZodString;
|
|
274
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
275
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
276
|
+
message: z.ZodString;
|
|
277
|
+
surfaceId: z.ZodString;
|
|
278
|
+
}, z.ZodTypeAny, "passthrough">>]>;
|
|
279
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
error: {
|
|
281
|
+
surfaceId: string;
|
|
282
|
+
code: "VALIDATION_FAILED";
|
|
283
|
+
path: string;
|
|
284
|
+
message: string;
|
|
285
|
+
} | z.objectOutputType<{
|
|
286
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
287
|
+
message: z.ZodString;
|
|
288
|
+
surfaceId: z.ZodString;
|
|
289
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
290
|
+
}, {
|
|
291
|
+
error: {
|
|
292
|
+
surfaceId: string;
|
|
293
|
+
code: "VALIDATION_FAILED";
|
|
294
|
+
path: string;
|
|
295
|
+
message: string;
|
|
296
|
+
} | z.objectInputType<{
|
|
297
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
298
|
+
message: z.ZodString;
|
|
299
|
+
surfaceId: z.ZodString;
|
|
300
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
301
|
+
}>]>>, "many">;
|
|
302
|
+
export type A2uiClientMessageList = z.infer<typeof A2uiClientMessageListSchema>;
|
|
303
|
+
export declare const A2uiClientMessageListWrapperSchema: z.ZodObject<{
|
|
304
|
+
messages: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
305
|
+
version: z.ZodLiteral<"v0.9">;
|
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
|
307
|
+
version: "v0.9";
|
|
308
|
+
}, {
|
|
309
|
+
version: "v0.9";
|
|
310
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
311
|
+
action: z.ZodObject<{
|
|
312
|
+
name: z.ZodString;
|
|
313
|
+
surfaceId: z.ZodString;
|
|
314
|
+
sourceComponentId: z.ZodString;
|
|
315
|
+
timestamp: z.ZodString;
|
|
316
|
+
context: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
317
|
+
}, "strict", z.ZodTypeAny, {
|
|
318
|
+
name: string;
|
|
319
|
+
surfaceId: string;
|
|
320
|
+
sourceComponentId: string;
|
|
321
|
+
timestamp: string;
|
|
322
|
+
context: Record<string, any>;
|
|
323
|
+
}, {
|
|
324
|
+
name: string;
|
|
325
|
+
surfaceId: string;
|
|
326
|
+
sourceComponentId: string;
|
|
327
|
+
timestamp: string;
|
|
328
|
+
context: Record<string, any>;
|
|
329
|
+
}>;
|
|
330
|
+
}, "strip", z.ZodTypeAny, {
|
|
331
|
+
action: {
|
|
332
|
+
name: string;
|
|
333
|
+
surfaceId: string;
|
|
334
|
+
sourceComponentId: string;
|
|
335
|
+
timestamp: string;
|
|
336
|
+
context: Record<string, any>;
|
|
337
|
+
};
|
|
338
|
+
}, {
|
|
339
|
+
action: {
|
|
340
|
+
name: string;
|
|
341
|
+
surfaceId: string;
|
|
342
|
+
sourceComponentId: string;
|
|
343
|
+
timestamp: string;
|
|
344
|
+
context: Record<string, any>;
|
|
345
|
+
};
|
|
346
|
+
}>, z.ZodObject<{
|
|
347
|
+
error: z.ZodUnion<[z.ZodObject<{
|
|
348
|
+
code: z.ZodLiteral<"VALIDATION_FAILED">;
|
|
349
|
+
surfaceId: z.ZodString;
|
|
350
|
+
path: z.ZodString;
|
|
351
|
+
message: z.ZodString;
|
|
352
|
+
}, "strict", z.ZodTypeAny, {
|
|
353
|
+
surfaceId: string;
|
|
354
|
+
code: "VALIDATION_FAILED";
|
|
355
|
+
path: string;
|
|
356
|
+
message: string;
|
|
357
|
+
}, {
|
|
358
|
+
surfaceId: string;
|
|
359
|
+
code: "VALIDATION_FAILED";
|
|
360
|
+
path: string;
|
|
361
|
+
message: string;
|
|
362
|
+
}>, z.ZodObject<{
|
|
363
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
364
|
+
message: z.ZodString;
|
|
365
|
+
surfaceId: z.ZodString;
|
|
366
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
367
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
368
|
+
message: z.ZodString;
|
|
369
|
+
surfaceId: z.ZodString;
|
|
370
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
371
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
372
|
+
message: z.ZodString;
|
|
373
|
+
surfaceId: z.ZodString;
|
|
374
|
+
}, z.ZodTypeAny, "passthrough">>]>;
|
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
|
376
|
+
error: {
|
|
377
|
+
surfaceId: string;
|
|
378
|
+
code: "VALIDATION_FAILED";
|
|
379
|
+
path: string;
|
|
380
|
+
message: string;
|
|
381
|
+
} | z.objectOutputType<{
|
|
382
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
383
|
+
message: z.ZodString;
|
|
384
|
+
surfaceId: z.ZodString;
|
|
385
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
386
|
+
}, {
|
|
387
|
+
error: {
|
|
388
|
+
surfaceId: string;
|
|
389
|
+
code: "VALIDATION_FAILED";
|
|
390
|
+
path: string;
|
|
391
|
+
message: string;
|
|
392
|
+
} | z.objectInputType<{
|
|
393
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
394
|
+
message: z.ZodString;
|
|
395
|
+
surfaceId: z.ZodString;
|
|
396
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
397
|
+
}>]>>, "many">;
|
|
398
|
+
}, "strict", z.ZodTypeAny, {
|
|
399
|
+
messages: ({
|
|
400
|
+
version: "v0.9";
|
|
401
|
+
} & ({
|
|
402
|
+
action: {
|
|
403
|
+
name: string;
|
|
404
|
+
surfaceId: string;
|
|
405
|
+
sourceComponentId: string;
|
|
406
|
+
timestamp: string;
|
|
407
|
+
context: Record<string, any>;
|
|
408
|
+
};
|
|
409
|
+
} | {
|
|
410
|
+
error: {
|
|
411
|
+
surfaceId: string;
|
|
412
|
+
code: "VALIDATION_FAILED";
|
|
413
|
+
path: string;
|
|
414
|
+
message: string;
|
|
415
|
+
} | z.objectOutputType<{
|
|
416
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
417
|
+
message: z.ZodString;
|
|
418
|
+
surfaceId: z.ZodString;
|
|
419
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
420
|
+
}))[];
|
|
421
|
+
}, {
|
|
422
|
+
messages: ({
|
|
423
|
+
version: "v0.9";
|
|
424
|
+
} & ({
|
|
425
|
+
action: {
|
|
426
|
+
name: string;
|
|
427
|
+
surfaceId: string;
|
|
428
|
+
sourceComponentId: string;
|
|
429
|
+
timestamp: string;
|
|
430
|
+
context: Record<string, any>;
|
|
431
|
+
};
|
|
432
|
+
} | {
|
|
433
|
+
error: {
|
|
434
|
+
surfaceId: string;
|
|
435
|
+
code: "VALIDATION_FAILED";
|
|
436
|
+
path: string;
|
|
437
|
+
message: string;
|
|
438
|
+
} | z.objectInputType<{
|
|
439
|
+
code: z.ZodEffects<z.ZodString, string, string>;
|
|
440
|
+
message: z.ZodString;
|
|
441
|
+
surfaceId: z.ZodString;
|
|
442
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
443
|
+
}))[];
|
|
444
|
+
}>;
|
|
445
|
+
export type A2uiClientMessageListWrapper = z.infer<typeof A2uiClientMessageListWrapperSchema>;
|
|
208
446
|
//# sourceMappingURL=client-to-server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-to-server.d.ts","sourceRoot":"","sources":["../../../../src/v0_9/schema/client-to-server.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAuBxB,CAAC;AAEZ;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;EAiB3B,CAAC;AAEZ;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;gCAYnB,CAAC;AAEjB;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAGhC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KASjC,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;EAO3B,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBA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;;;;;;;;;cAEC,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKa,CAAC;AAE7D,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC"}
|
|
@@ -101,4 +101,13 @@ export const A2uiClientDataModelSchema = z
|
|
|
101
101
|
.describe('A map of surface IDs to their current data models.'),
|
|
102
102
|
})
|
|
103
103
|
.strict();
|
|
104
|
+
export const A2uiClientMessageListSchema = z
|
|
105
|
+
.array(A2uiClientMessageSchema)
|
|
106
|
+
.describe('A list of client messages.');
|
|
107
|
+
export const A2uiClientMessageListWrapperSchema = z
|
|
108
|
+
.object({
|
|
109
|
+
messages: A2uiClientMessageListSchema,
|
|
110
|
+
})
|
|
111
|
+
.strict()
|
|
112
|
+
.describe('An object wrapping a list of client messages.');
|
|
104
113
|
//# sourceMappingURL=client-to-server.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-to-server.js","sourceRoot":"","sources":["../../../../src/v0_9/schema/client-to-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACP,gFAAgF,CACjF;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,mDAAmD,CAAC;IAChE,iBAAiB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