@superatomai/sdk-node 0.0.32 → 0.0.33
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/index.d.mts +61 -9
- package/dist/index.d.ts +61 -9
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1520,6 +1520,13 @@ var UIElementSchema = z.lazy(
|
|
|
1520
1520
|
}).optional()
|
|
1521
1521
|
})
|
|
1522
1522
|
);
|
|
1523
|
+
var PageSchema = z.object({
|
|
1524
|
+
id: z.string(),
|
|
1525
|
+
name: z.string(),
|
|
1526
|
+
order: z.number(),
|
|
1527
|
+
icon: z.string().optional(),
|
|
1528
|
+
render: UIElementSchema
|
|
1529
|
+
});
|
|
1523
1530
|
var UIComponentSchema = z.object({
|
|
1524
1531
|
id: z.string(),
|
|
1525
1532
|
name: z.string().optional(),
|
|
@@ -1539,7 +1546,9 @@ var UIComponentSchema = z.object({
|
|
|
1539
1546
|
})
|
|
1540
1547
|
).optional(),
|
|
1541
1548
|
data: z.record(z.string(), z.any()).optional(),
|
|
1542
|
-
render: UIElementSchema,
|
|
1549
|
+
render: UIElementSchema.optional(),
|
|
1550
|
+
pages: z.array(PageSchema).optional(),
|
|
1551
|
+
defaultPageId: z.string().optional(),
|
|
1543
1552
|
query: QuerySpecSchema.optional()
|
|
1544
1553
|
});
|
|
1545
1554
|
var DSLRendererPropsSchema = z.object({
|