@synnaxlabs/client 0.55.0 → 0.56.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.
Files changed (196) hide show
  1. package/.turbo/turbo-build.log +10 -13
  2. package/dist/client.cjs +60 -36
  3. package/dist/client.js +6362 -4738
  4. package/dist/src/access/policy/client.d.ts +70 -80
  5. package/dist/src/access/policy/client.d.ts.map +1 -1
  6. package/dist/src/access/policy/types.gen.d.ts +18 -20
  7. package/dist/src/access/policy/types.gen.d.ts.map +1 -1
  8. package/dist/src/access/role/client.d.ts.map +1 -1
  9. package/dist/src/access/role/types.gen.d.ts +2 -2
  10. package/dist/src/actions/actions.d.ts +68 -0
  11. package/dist/src/actions/actions.d.ts.map +1 -0
  12. package/dist/src/actions/actions.spec.d.ts +2 -0
  13. package/dist/src/actions/actions.spec.d.ts.map +1 -0
  14. package/dist/src/actions/external.d.ts +2 -0
  15. package/dist/src/actions/external.d.ts.map +1 -0
  16. package/dist/src/actions/index.d.ts +2 -0
  17. package/dist/src/actions/index.d.ts.map +1 -0
  18. package/dist/src/arc/client.d.ts.map +1 -1
  19. package/dist/src/arc/compiler/types.gen.d.ts +1 -1
  20. package/dist/src/arc/compiler/types.gen.d.ts.map +1 -1
  21. package/dist/src/arc/graph/types.gen.d.ts +29 -29
  22. package/dist/src/arc/graph/types.gen.d.ts.map +1 -1
  23. package/dist/src/arc/ir/types.gen.d.ts +123 -123
  24. package/dist/src/arc/ir/types.gen.d.ts.map +1 -1
  25. package/dist/src/arc/module/types.gen.d.ts +45 -45
  26. package/dist/src/arc/program/types.gen.d.ts +45 -45
  27. package/dist/src/arc/types/types.gen.d.ts +11 -11
  28. package/dist/src/arc/types/types.gen.d.ts.map +1 -1
  29. package/dist/src/arc/types.gen.d.ts +99 -99
  30. package/dist/src/auth/auth.d.ts +3 -3
  31. package/dist/src/auth/auth.d.ts.map +1 -1
  32. package/dist/src/channel/client.d.ts +2 -2
  33. package/dist/src/channel/client.d.ts.map +1 -1
  34. package/dist/src/channel/retriever.d.ts +5 -8
  35. package/dist/src/channel/retriever.d.ts.map +1 -1
  36. package/dist/src/channel/types.gen.d.ts +3 -3
  37. package/dist/src/channel/writer.d.ts.map +1 -1
  38. package/dist/src/connection/checker.d.ts +1 -1
  39. package/dist/src/connection/checker.d.ts.map +1 -1
  40. package/dist/src/device/client.d.ts.map +1 -1
  41. package/dist/src/device/types.gen.d.ts +6 -8
  42. package/dist/src/device/types.gen.d.ts.map +1 -1
  43. package/dist/src/errors.d.ts +2 -0
  44. package/dist/src/errors.d.ts.map +1 -1
  45. package/dist/src/framer/adapter.d.ts.map +1 -1
  46. package/dist/src/framer/client.d.ts +2 -2
  47. package/dist/src/framer/codec.d.ts +9 -1
  48. package/dist/src/framer/codec.d.ts.map +1 -1
  49. package/dist/src/framer/deleter.d.ts.map +1 -1
  50. package/dist/src/framer/frame.d.ts +1 -1
  51. package/dist/src/framer/iterator.d.ts +84 -3
  52. package/dist/src/framer/iterator.d.ts.map +1 -1
  53. package/dist/src/framer/streamProxy.d.ts.map +1 -1
  54. package/dist/src/framer/streamer.d.ts +1 -3
  55. package/dist/src/framer/streamer.d.ts.map +1 -1
  56. package/dist/src/framer/types.gen.d.ts +18 -0
  57. package/dist/src/framer/types.gen.d.ts.map +1 -1
  58. package/dist/src/framer/writer.d.ts +8 -8
  59. package/dist/src/framer/writer.d.ts.map +1 -1
  60. package/dist/src/group/client.d.ts +1 -2
  61. package/dist/src/group/client.d.ts.map +1 -1
  62. package/dist/src/group/types.gen.d.ts +2 -2
  63. package/dist/src/index.d.ts +2 -1
  64. package/dist/src/index.d.ts.map +1 -1
  65. package/dist/src/label/client.d.ts +5 -8
  66. package/dist/src/label/client.d.ts.map +1 -1
  67. package/dist/src/lineplot/client.d.ts.map +1 -1
  68. package/dist/src/lineplot/types.gen.d.ts +2 -2
  69. package/dist/src/log/client.d.ts.map +1 -1
  70. package/dist/src/log/types.gen.d.ts +2 -2
  71. package/dist/src/ontology/client.d.ts +1 -3
  72. package/dist/src/ontology/client.d.ts.map +1 -1
  73. package/dist/src/ontology/payload.d.ts +12 -16
  74. package/dist/src/ontology/payload.d.ts.map +1 -1
  75. package/dist/src/ontology/types.gen.d.ts +1 -2
  76. package/dist/src/ontology/types.gen.d.ts.map +1 -1
  77. package/dist/src/ontology/writer.d.ts +5 -10
  78. package/dist/src/ontology/writer.d.ts.map +1 -1
  79. package/dist/src/rack/client.d.ts.map +1 -1
  80. package/dist/src/rack/types.gen.d.ts +3 -3
  81. package/dist/src/ranger/alias/client.d.ts.map +1 -1
  82. package/dist/src/ranger/client.d.ts.map +1 -1
  83. package/dist/src/ranger/kv/client.d.ts.map +1 -1
  84. package/dist/src/ranger/types.gen.d.ts +6 -6
  85. package/dist/src/ranger/types.gen.d.ts.map +1 -1
  86. package/dist/src/ranger/writer.d.ts +2 -3
  87. package/dist/src/ranger/writer.d.ts.map +1 -1
  88. package/dist/src/schematic/actions.d.ts +147 -0
  89. package/dist/src/schematic/actions.d.ts.map +1 -0
  90. package/dist/src/schematic/actions.gen.d.ts +484 -0
  91. package/dist/src/schematic/actions.gen.d.ts.map +1 -0
  92. package/dist/src/schematic/actions.spec.d.ts +2 -0
  93. package/dist/src/schematic/actions.spec.d.ts.map +1 -0
  94. package/dist/src/schematic/client.d.ts +53 -2
  95. package/dist/src/schematic/client.d.ts.map +1 -1
  96. package/dist/src/schematic/external.d.ts +2 -0
  97. package/dist/src/schematic/external.d.ts.map +1 -1
  98. package/dist/src/schematic/symbol/client.d.ts.map +1 -1
  99. package/dist/src/schematic/symbol/types.gen.d.ts +48 -58
  100. package/dist/src/schematic/symbol/types.gen.d.ts.map +1 -1
  101. package/dist/src/schematic/types.gen.d.ts +131 -5
  102. package/dist/src/schematic/types.gen.d.ts.map +1 -1
  103. package/dist/src/status/client.d.ts.map +1 -1
  104. package/dist/src/status/payload.d.ts +3 -3
  105. package/dist/src/table/actions.d.ts +156 -0
  106. package/dist/src/table/actions.d.ts.map +1 -0
  107. package/dist/src/table/actions.gen.d.ts +587 -0
  108. package/dist/src/table/actions.gen.d.ts.map +1 -0
  109. package/dist/src/table/client.d.ts +28 -2
  110. package/dist/src/table/client.d.ts.map +1 -1
  111. package/dist/src/table/external.d.ts +2 -0
  112. package/dist/src/table/external.d.ts.map +1 -1
  113. package/dist/src/table/types.gen.d.ts +71 -4
  114. package/dist/src/table/types.gen.d.ts.map +1 -1
  115. package/dist/src/task/client.d.ts.map +1 -1
  116. package/dist/src/task/types.gen.d.ts +7 -7
  117. package/dist/src/task/types.gen.d.ts.map +1 -1
  118. package/dist/src/user/client.d.ts +2 -2
  119. package/dist/src/user/client.d.ts.map +1 -1
  120. package/dist/src/user/types.gen.d.ts +2 -2
  121. package/dist/src/view/client.d.ts.map +1 -1
  122. package/dist/src/view/types.gen.d.ts +2 -2
  123. package/dist/src/workspace/client.d.ts.map +1 -1
  124. package/dist/src/workspace/types.gen.d.ts +3 -3
  125. package/dist/src/workspace/types.gen.d.ts.map +1 -1
  126. package/package.json +10 -9
  127. package/src/access/policy/client.ts +4 -7
  128. package/src/access/role/client.ts +6 -26
  129. package/src/actions/actions.spec.ts +229 -0
  130. package/src/actions/actions.ts +104 -0
  131. package/src/actions/external.ts +10 -0
  132. package/src/actions/index.ts +10 -0
  133. package/src/arc/client.ts +3 -7
  134. package/src/arc/compiler/types.gen.ts +2 -1
  135. package/src/arc/ir/types.gen.ts +2 -2
  136. package/src/arc/lsp.spec.ts +3 -7
  137. package/src/arc/types/types.gen.ts +3 -3
  138. package/src/auth/auth.spec.ts +12 -13
  139. package/src/auth/auth.ts +35 -33
  140. package/src/channel/batchRetriever.spec.ts +13 -4
  141. package/src/channel/client.ts +8 -6
  142. package/src/channel/retriever.ts +7 -16
  143. package/src/channel/writer.ts +4 -20
  144. package/src/connection/checker.ts +4 -5
  145. package/src/connection/connection.spec.ts +5 -8
  146. package/src/device/client.ts +5 -8
  147. package/src/device/types.gen.ts +4 -4
  148. package/src/errors.ts +8 -9
  149. package/src/framer/adapter.ts +2 -4
  150. package/src/framer/codec.spec.ts +53 -3
  151. package/src/framer/codec.ts +58 -25
  152. package/src/framer/deleter.ts +2 -8
  153. package/src/framer/iterator.ts +42 -39
  154. package/src/framer/streamProxy.ts +11 -12
  155. package/src/framer/streamer.spec.ts +1 -1
  156. package/src/framer/streamer.ts +2 -7
  157. package/src/framer/types.gen.ts +20 -0
  158. package/src/framer/writer.spec.ts +77 -0
  159. package/src/framer/writer.ts +53 -28
  160. package/src/group/client.ts +4 -7
  161. package/src/index.ts +3 -2
  162. package/src/label/client.ts +6 -16
  163. package/src/lineplot/client.ts +6 -21
  164. package/src/log/client.ts +6 -21
  165. package/src/ontology/client.ts +2 -3
  166. package/src/ontology/types.gen.ts +0 -1
  167. package/src/ontology/writer.ts +4 -7
  168. package/src/rack/client.ts +4 -7
  169. package/src/ranger/alias/client.ts +6 -11
  170. package/src/ranger/client.ts +2 -3
  171. package/src/ranger/kv/client.ts +4 -7
  172. package/src/ranger/writer.ts +4 -17
  173. package/src/schematic/access.spec.ts +6 -6
  174. package/src/schematic/actions.gen.ts +200 -0
  175. package/src/schematic/actions.spec.ts +699 -0
  176. package/src/schematic/actions.ts +168 -0
  177. package/src/schematic/client.ts +34 -30
  178. package/src/schematic/external.ts +2 -0
  179. package/src/schematic/schematic.spec.ts +233 -69
  180. package/src/schematic/symbol/client.ts +6 -11
  181. package/src/schematic/symbol/types.gen.ts +1 -10
  182. package/src/schematic/types.gen.ts +55 -6
  183. package/src/status/client.ts +4 -10
  184. package/src/table/access.spec.ts +0 -6
  185. package/src/table/actions.gen.ts +243 -0
  186. package/src/table/actions.ts +255 -0
  187. package/src/table/client.ts +21 -25
  188. package/src/table/external.ts +2 -0
  189. package/src/table/table.spec.ts +588 -43
  190. package/src/table/types.gen.ts +58 -5
  191. package/src/task/client.ts +7 -11
  192. package/src/task/types.gen.ts +8 -6
  193. package/src/user/client.ts +6 -11
  194. package/src/view/client.ts +4 -7
  195. package/src/workspace/client.ts +6 -16
  196. package/src/workspace/types.gen.ts +2 -1
@@ -38,7 +38,7 @@ export interface Body extends z.infer<typeof bodyZ> {
38
38
  export declare const nodeZ: z.ZodObject<{
39
39
  key: z.ZodString;
40
40
  type: z.ZodString;
41
- config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
41
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
42
42
  name: string;
43
43
  type: {
44
44
  kind: types.Kind;
@@ -111,7 +111,7 @@ export declare const nodeZ: z.ZodObject<{
111
111
  chanDirection?: types.ChanDirection | undefined;
112
112
  };
113
113
  value?: unknown;
114
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
114
+ }[], null>>, z.ZodArray<z.ZodObject<{
115
115
  name: z.ZodString;
116
116
  type: z.ZodObject<{
117
117
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -119,7 +119,7 @@ export declare const nodeZ: z.ZodObject<{
119
119
  config: z.ZodOptional<typeof types.paramsZ>;
120
120
  kind: z.ZodEnum<typeof types.Kind>;
121
121
  name: z.ZodString;
122
- readonly elem: z.ZodOptional<typeof types.typeZ>;
122
+ elem: z.ZodOptional<typeof types.typeZ>;
123
123
  unit: z.ZodOptional<z.ZodObject<{
124
124
  dimensions: z.ZodObject<{
125
125
  length: z.ZodInt;
@@ -134,12 +134,12 @@ export declare const nodeZ: z.ZodObject<{
134
134
  scale: z.ZodNumber;
135
135
  name: z.ZodString;
136
136
  }, z.core.$strip>>;
137
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
137
+ constraint: z.ZodOptional<typeof types.typeZ>;
138
138
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
139
139
  }, z.core.$strip>;
140
140
  value: z.ZodOptional<z.ZodUnknown>;
141
- }, z.core.$strip>>]>;
142
- inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
141
+ }, z.core.$strip>>]>>;
142
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
143
143
  name: string;
144
144
  type: {
145
145
  kind: types.Kind;
@@ -212,7 +212,7 @@ export declare const nodeZ: z.ZodObject<{
212
212
  chanDirection?: types.ChanDirection | undefined;
213
213
  };
214
214
  value?: unknown;
215
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
215
+ }[], null>>, z.ZodArray<z.ZodObject<{
216
216
  name: z.ZodString;
217
217
  type: z.ZodObject<{
218
218
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -220,7 +220,7 @@ export declare const nodeZ: z.ZodObject<{
220
220
  config: z.ZodOptional<typeof types.paramsZ>;
221
221
  kind: z.ZodEnum<typeof types.Kind>;
222
222
  name: z.ZodString;
223
- readonly elem: z.ZodOptional<typeof types.typeZ>;
223
+ elem: z.ZodOptional<typeof types.typeZ>;
224
224
  unit: z.ZodOptional<z.ZodObject<{
225
225
  dimensions: z.ZodObject<{
226
226
  length: z.ZodInt;
@@ -235,12 +235,12 @@ export declare const nodeZ: z.ZodObject<{
235
235
  scale: z.ZodNumber;
236
236
  name: z.ZodString;
237
237
  }, z.core.$strip>>;
238
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
238
+ constraint: z.ZodOptional<typeof types.typeZ>;
239
239
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
240
240
  }, z.core.$strip>;
241
241
  value: z.ZodOptional<z.ZodUnknown>;
242
- }, z.core.$strip>>]>;
243
- outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
242
+ }, z.core.$strip>>]>>;
243
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
244
244
  name: string;
245
245
  type: {
246
246
  kind: types.Kind;
@@ -313,7 +313,7 @@ export declare const nodeZ: z.ZodObject<{
313
313
  chanDirection?: types.ChanDirection | undefined;
314
314
  };
315
315
  value?: unknown;
316
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
316
+ }[], null>>, z.ZodArray<z.ZodObject<{
317
317
  name: z.ZodString;
318
318
  type: z.ZodObject<{
319
319
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -321,7 +321,7 @@ export declare const nodeZ: z.ZodObject<{
321
321
  config: z.ZodOptional<typeof types.paramsZ>;
322
322
  kind: z.ZodEnum<typeof types.Kind>;
323
323
  name: z.ZodString;
324
- readonly elem: z.ZodOptional<typeof types.typeZ>;
324
+ elem: z.ZodOptional<typeof types.typeZ>;
325
325
  unit: z.ZodOptional<z.ZodObject<{
326
326
  dimensions: z.ZodObject<{
327
327
  length: z.ZodInt;
@@ -336,14 +336,14 @@ export declare const nodeZ: z.ZodObject<{
336
336
  scale: z.ZodNumber;
337
337
  name: z.ZodString;
338
338
  }, z.core.$strip>>;
339
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
339
+ constraint: z.ZodOptional<typeof types.typeZ>;
340
340
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
341
341
  }, z.core.$strip>;
342
342
  value: z.ZodOptional<z.ZodUnknown>;
343
- }, z.core.$strip>>]>;
343
+ }, z.core.$strip>>]>>;
344
344
  channels: z.ZodObject<{
345
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
346
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
345
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
346
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
347
347
  }, z.core.$strip>;
348
348
  }, z.core.$strip>;
349
349
  export interface Node extends z.infer<typeof nodeZ> {
@@ -351,7 +351,7 @@ export interface Node extends z.infer<typeof nodeZ> {
351
351
  /** Authorities holds the static authority declarations from an Arc program. */
352
352
  export declare const authoritiesZ: z.ZodObject<{
353
353
  default: z.ZodOptional<z.ZodInt>;
354
- channels: z.ZodRecord<z.ZodUInt32, z.ZodInt>;
354
+ channels: z.ZodType<Record<number, number>, unknown, z.core.$ZodTypeInternals<Record<number, number>, unknown>>;
355
355
  }, z.core.$strip>;
356
356
  export interface Authorities extends z.infer<typeof authoritiesZ> {
357
357
  }
@@ -388,7 +388,7 @@ export declare const functionZ: z.ZodObject<{
388
388
  body: z.ZodOptional<z.ZodObject<{
389
389
  raw: z.ZodString;
390
390
  }, z.core.$strip>>;
391
- config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
391
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
392
392
  name: string;
393
393
  type: {
394
394
  kind: types.Kind;
@@ -461,7 +461,7 @@ export declare const functionZ: z.ZodObject<{
461
461
  chanDirection?: types.ChanDirection | undefined;
462
462
  };
463
463
  value?: unknown;
464
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
464
+ }[], null>>, z.ZodArray<z.ZodObject<{
465
465
  name: z.ZodString;
466
466
  type: z.ZodObject<{
467
467
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -469,7 +469,7 @@ export declare const functionZ: z.ZodObject<{
469
469
  config: z.ZodOptional<typeof types.paramsZ>;
470
470
  kind: z.ZodEnum<typeof types.Kind>;
471
471
  name: z.ZodString;
472
- readonly elem: z.ZodOptional<typeof types.typeZ>;
472
+ elem: z.ZodOptional<typeof types.typeZ>;
473
473
  unit: z.ZodOptional<z.ZodObject<{
474
474
  dimensions: z.ZodObject<{
475
475
  length: z.ZodInt;
@@ -484,12 +484,12 @@ export declare const functionZ: z.ZodObject<{
484
484
  scale: z.ZodNumber;
485
485
  name: z.ZodString;
486
486
  }, z.core.$strip>>;
487
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
487
+ constraint: z.ZodOptional<typeof types.typeZ>;
488
488
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
489
489
  }, z.core.$strip>;
490
490
  value: z.ZodOptional<z.ZodUnknown>;
491
- }, z.core.$strip>>]>;
492
- inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
491
+ }, z.core.$strip>>]>>;
492
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
493
493
  name: string;
494
494
  type: {
495
495
  kind: types.Kind;
@@ -562,7 +562,7 @@ export declare const functionZ: z.ZodObject<{
562
562
  chanDirection?: types.ChanDirection | undefined;
563
563
  };
564
564
  value?: unknown;
565
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
565
+ }[], null>>, z.ZodArray<z.ZodObject<{
566
566
  name: z.ZodString;
567
567
  type: z.ZodObject<{
568
568
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -570,7 +570,7 @@ export declare const functionZ: z.ZodObject<{
570
570
  config: z.ZodOptional<typeof types.paramsZ>;
571
571
  kind: z.ZodEnum<typeof types.Kind>;
572
572
  name: z.ZodString;
573
- readonly elem: z.ZodOptional<typeof types.typeZ>;
573
+ elem: z.ZodOptional<typeof types.typeZ>;
574
574
  unit: z.ZodOptional<z.ZodObject<{
575
575
  dimensions: z.ZodObject<{
576
576
  length: z.ZodInt;
@@ -585,12 +585,12 @@ export declare const functionZ: z.ZodObject<{
585
585
  scale: z.ZodNumber;
586
586
  name: z.ZodString;
587
587
  }, z.core.$strip>>;
588
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
588
+ constraint: z.ZodOptional<typeof types.typeZ>;
589
589
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
590
590
  }, z.core.$strip>;
591
591
  value: z.ZodOptional<z.ZodUnknown>;
592
- }, z.core.$strip>>]>;
593
- outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
592
+ }, z.core.$strip>>]>>;
593
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
594
594
  name: string;
595
595
  type: {
596
596
  kind: types.Kind;
@@ -663,7 +663,7 @@ export declare const functionZ: z.ZodObject<{
663
663
  chanDirection?: types.ChanDirection | undefined;
664
664
  };
665
665
  value?: unknown;
666
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
666
+ }[], null>>, z.ZodArray<z.ZodObject<{
667
667
  name: z.ZodString;
668
668
  type: z.ZodObject<{
669
669
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -671,7 +671,7 @@ export declare const functionZ: z.ZodObject<{
671
671
  config: z.ZodOptional<typeof types.paramsZ>;
672
672
  kind: z.ZodEnum<typeof types.Kind>;
673
673
  name: z.ZodString;
674
- readonly elem: z.ZodOptional<typeof types.typeZ>;
674
+ elem: z.ZodOptional<typeof types.typeZ>;
675
675
  unit: z.ZodOptional<z.ZodObject<{
676
676
  dimensions: z.ZodObject<{
677
677
  length: z.ZodInt;
@@ -686,19 +686,19 @@ export declare const functionZ: z.ZodObject<{
686
686
  scale: z.ZodNumber;
687
687
  name: z.ZodString;
688
688
  }, z.core.$strip>>;
689
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
689
+ constraint: z.ZodOptional<typeof types.typeZ>;
690
690
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
691
691
  }, z.core.$strip>;
692
692
  value: z.ZodOptional<z.ZodUnknown>;
693
- }, z.core.$strip>>]>;
693
+ }, z.core.$strip>>]>>;
694
694
  channels: z.ZodObject<{
695
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
696
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
695
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
696
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
697
697
  }, z.core.$strip>;
698
698
  }, z.core.$strip>;
699
699
  export interface Function extends z.infer<typeof functionZ> {
700
700
  }
701
- export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
701
+ export declare const nodesZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
702
702
  key: string;
703
703
  type: string;
704
704
  config: {
@@ -927,10 +927,10 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
927
927
  read: Record<number, string>;
928
928
  write: Record<number, string>;
929
929
  };
930
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
930
+ }[], null>>, z.ZodArray<z.ZodObject<{
931
931
  key: z.ZodString;
932
932
  type: z.ZodString;
933
- config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
933
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
934
934
  name: string;
935
935
  type: {
936
936
  kind: types.Kind;
@@ -1003,7 +1003,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1003
1003
  chanDirection?: types.ChanDirection | undefined;
1004
1004
  };
1005
1005
  value?: unknown;
1006
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1006
+ }[], null>>, z.ZodArray<z.ZodObject<{
1007
1007
  name: z.ZodString;
1008
1008
  type: z.ZodObject<{
1009
1009
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1011,7 +1011,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1011
1011
  config: z.ZodOptional<typeof types.paramsZ>;
1012
1012
  kind: z.ZodEnum<typeof types.Kind>;
1013
1013
  name: z.ZodString;
1014
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1014
+ elem: z.ZodOptional<typeof types.typeZ>;
1015
1015
  unit: z.ZodOptional<z.ZodObject<{
1016
1016
  dimensions: z.ZodObject<{
1017
1017
  length: z.ZodInt;
@@ -1026,12 +1026,12 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1026
1026
  scale: z.ZodNumber;
1027
1027
  name: z.ZodString;
1028
1028
  }, z.core.$strip>>;
1029
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1029
+ constraint: z.ZodOptional<typeof types.typeZ>;
1030
1030
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1031
1031
  }, z.core.$strip>;
1032
1032
  value: z.ZodOptional<z.ZodUnknown>;
1033
- }, z.core.$strip>>]>;
1034
- inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1033
+ }, z.core.$strip>>]>>;
1034
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1035
1035
  name: string;
1036
1036
  type: {
1037
1037
  kind: types.Kind;
@@ -1104,7 +1104,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1104
1104
  chanDirection?: types.ChanDirection | undefined;
1105
1105
  };
1106
1106
  value?: unknown;
1107
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1107
+ }[], null>>, z.ZodArray<z.ZodObject<{
1108
1108
  name: z.ZodString;
1109
1109
  type: z.ZodObject<{
1110
1110
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1112,7 +1112,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1112
1112
  config: z.ZodOptional<typeof types.paramsZ>;
1113
1113
  kind: z.ZodEnum<typeof types.Kind>;
1114
1114
  name: z.ZodString;
1115
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1115
+ elem: z.ZodOptional<typeof types.typeZ>;
1116
1116
  unit: z.ZodOptional<z.ZodObject<{
1117
1117
  dimensions: z.ZodObject<{
1118
1118
  length: z.ZodInt;
@@ -1127,12 +1127,12 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1127
1127
  scale: z.ZodNumber;
1128
1128
  name: z.ZodString;
1129
1129
  }, z.core.$strip>>;
1130
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1130
+ constraint: z.ZodOptional<typeof types.typeZ>;
1131
1131
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1132
1132
  }, z.core.$strip>;
1133
1133
  value: z.ZodOptional<z.ZodUnknown>;
1134
- }, z.core.$strip>>]>;
1135
- outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1134
+ }, z.core.$strip>>]>>;
1135
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1136
1136
  name: string;
1137
1137
  type: {
1138
1138
  kind: types.Kind;
@@ -1205,7 +1205,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1205
1205
  chanDirection?: types.ChanDirection | undefined;
1206
1206
  };
1207
1207
  value?: unknown;
1208
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1208
+ }[], null>>, z.ZodArray<z.ZodObject<{
1209
1209
  name: z.ZodString;
1210
1210
  type: z.ZodObject<{
1211
1211
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1213,7 +1213,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1213
1213
  config: z.ZodOptional<typeof types.paramsZ>;
1214
1214
  kind: z.ZodEnum<typeof types.Kind>;
1215
1215
  name: z.ZodString;
1216
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1216
+ elem: z.ZodOptional<typeof types.typeZ>;
1217
1217
  unit: z.ZodOptional<z.ZodObject<{
1218
1218
  dimensions: z.ZodObject<{
1219
1219
  length: z.ZodInt;
@@ -1228,18 +1228,18 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1228
1228
  scale: z.ZodNumber;
1229
1229
  name: z.ZodString;
1230
1230
  }, z.core.$strip>>;
1231
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1231
+ constraint: z.ZodOptional<typeof types.typeZ>;
1232
1232
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1233
1233
  }, z.core.$strip>;
1234
1234
  value: z.ZodOptional<z.ZodUnknown>;
1235
- }, z.core.$strip>>]>;
1235
+ }, z.core.$strip>>]>>;
1236
1236
  channels: z.ZodObject<{
1237
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
1238
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
1237
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1238
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1239
1239
  }, z.core.$strip>;
1240
- }, z.core.$strip>>]>;
1240
+ }, z.core.$strip>>]>>;
1241
1241
  export type Nodes = z.infer<typeof nodesZ>;
1242
- export declare const edgesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1242
+ export declare const edgesZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1243
1243
  source: {
1244
1244
  node: string;
1245
1245
  param: string;
@@ -1249,7 +1249,7 @@ export declare const edgesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1249
1249
  param: string;
1250
1250
  };
1251
1251
  kind: EdgeKind;
1252
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1252
+ }[], null>>, z.ZodArray<z.ZodObject<{
1253
1253
  source: z.ZodObject<{
1254
1254
  node: z.ZodString;
1255
1255
  param: z.ZodString;
@@ -1259,9 +1259,9 @@ export declare const edgesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1259
1259
  param: z.ZodString;
1260
1260
  }, z.core.$strip>;
1261
1261
  kind: z.ZodEnum<typeof EdgeKind>;
1262
- }, z.core.$strip>>]>;
1262
+ }, z.core.$strip>>]>>;
1263
1263
  export type Edges = z.infer<typeof edgesZ>;
1264
- export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1264
+ export declare const functionsZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1265
1265
  key: string;
1266
1266
  config: {
1267
1267
  name: string;
@@ -1492,12 +1492,12 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1492
1492
  body?: {
1493
1493
  raw: string;
1494
1494
  } | undefined;
1495
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1495
+ }[], null>>, z.ZodArray<z.ZodObject<{
1496
1496
  key: z.ZodString;
1497
1497
  body: z.ZodOptional<z.ZodObject<{
1498
1498
  raw: z.ZodString;
1499
1499
  }, z.core.$strip>>;
1500
- config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1500
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1501
1501
  name: string;
1502
1502
  type: {
1503
1503
  kind: types.Kind;
@@ -1570,7 +1570,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1570
1570
  chanDirection?: types.ChanDirection | undefined;
1571
1571
  };
1572
1572
  value?: unknown;
1573
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1573
+ }[], null>>, z.ZodArray<z.ZodObject<{
1574
1574
  name: z.ZodString;
1575
1575
  type: z.ZodObject<{
1576
1576
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1578,7 +1578,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1578
1578
  config: z.ZodOptional<typeof types.paramsZ>;
1579
1579
  kind: z.ZodEnum<typeof types.Kind>;
1580
1580
  name: z.ZodString;
1581
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1581
+ elem: z.ZodOptional<typeof types.typeZ>;
1582
1582
  unit: z.ZodOptional<z.ZodObject<{
1583
1583
  dimensions: z.ZodObject<{
1584
1584
  length: z.ZodInt;
@@ -1593,12 +1593,12 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1593
1593
  scale: z.ZodNumber;
1594
1594
  name: z.ZodString;
1595
1595
  }, z.core.$strip>>;
1596
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1596
+ constraint: z.ZodOptional<typeof types.typeZ>;
1597
1597
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1598
1598
  }, z.core.$strip>;
1599
1599
  value: z.ZodOptional<z.ZodUnknown>;
1600
- }, z.core.$strip>>]>;
1601
- inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1600
+ }, z.core.$strip>>]>>;
1601
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1602
1602
  name: string;
1603
1603
  type: {
1604
1604
  kind: types.Kind;
@@ -1671,7 +1671,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1671
1671
  chanDirection?: types.ChanDirection | undefined;
1672
1672
  };
1673
1673
  value?: unknown;
1674
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1674
+ }[], null>>, z.ZodArray<z.ZodObject<{
1675
1675
  name: z.ZodString;
1676
1676
  type: z.ZodObject<{
1677
1677
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1679,7 +1679,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1679
1679
  config: z.ZodOptional<typeof types.paramsZ>;
1680
1680
  kind: z.ZodEnum<typeof types.Kind>;
1681
1681
  name: z.ZodString;
1682
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1682
+ elem: z.ZodOptional<typeof types.typeZ>;
1683
1683
  unit: z.ZodOptional<z.ZodObject<{
1684
1684
  dimensions: z.ZodObject<{
1685
1685
  length: z.ZodInt;
@@ -1694,12 +1694,12 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1694
1694
  scale: z.ZodNumber;
1695
1695
  name: z.ZodString;
1696
1696
  }, z.core.$strip>>;
1697
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1697
+ constraint: z.ZodOptional<typeof types.typeZ>;
1698
1698
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1699
1699
  }, z.core.$strip>;
1700
1700
  value: z.ZodOptional<z.ZodUnknown>;
1701
- }, z.core.$strip>>]>;
1702
- outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1701
+ }, z.core.$strip>>]>>;
1702
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1703
1703
  name: string;
1704
1704
  type: {
1705
1705
  kind: types.Kind;
@@ -1772,7 +1772,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1772
1772
  chanDirection?: types.ChanDirection | undefined;
1773
1773
  };
1774
1774
  value?: unknown;
1775
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1775
+ }[], null>>, z.ZodArray<z.ZodObject<{
1776
1776
  name: z.ZodString;
1777
1777
  type: z.ZodObject<{
1778
1778
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1780,7 +1780,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1780
1780
  config: z.ZodOptional<typeof types.paramsZ>;
1781
1781
  kind: z.ZodEnum<typeof types.Kind>;
1782
1782
  name: z.ZodString;
1783
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1783
+ elem: z.ZodOptional<typeof types.typeZ>;
1784
1784
  unit: z.ZodOptional<z.ZodObject<{
1785
1785
  dimensions: z.ZodObject<{
1786
1786
  length: z.ZodInt;
@@ -1795,16 +1795,16 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1795
1795
  scale: z.ZodNumber;
1796
1796
  name: z.ZodString;
1797
1797
  }, z.core.$strip>>;
1798
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1798
+ constraint: z.ZodOptional<typeof types.typeZ>;
1799
1799
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1800
1800
  }, z.core.$strip>;
1801
1801
  value: z.ZodOptional<z.ZodUnknown>;
1802
- }, z.core.$strip>>]>;
1802
+ }, z.core.$strip>>]>>;
1803
1803
  channels: z.ZodObject<{
1804
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
1805
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
1804
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1805
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1806
1806
  }, z.core.$strip>;
1807
- }, z.core.$strip>>]>;
1807
+ }, z.core.$strip>>]>>;
1808
1808
  export type Functions = z.infer<typeof functionsZ>;
1809
1809
  /**
1810
1810
  * Member is a tagged union representing a single child of a Scope. Exactly one
@@ -1839,7 +1839,7 @@ export declare const scopeZ: z.ZodType<Scope>;
1839
1839
  * compilation.
1840
1840
  */
1841
1841
  export declare const irZ: z.ZodObject<{
1842
- functions: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1842
+ functions: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1843
1843
  key: string;
1844
1844
  config: {
1845
1845
  name: string;
@@ -2070,12 +2070,12 @@ export declare const irZ: z.ZodObject<{
2070
2070
  body?: {
2071
2071
  raw: string;
2072
2072
  } | undefined;
2073
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2073
+ }[], null>>, z.ZodArray<z.ZodObject<{
2074
2074
  key: z.ZodString;
2075
2075
  body: z.ZodOptional<z.ZodObject<{
2076
2076
  raw: z.ZodString;
2077
2077
  }, z.core.$strip>>;
2078
- config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2078
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2079
2079
  name: string;
2080
2080
  type: {
2081
2081
  kind: types.Kind;
@@ -2148,7 +2148,7 @@ export declare const irZ: z.ZodObject<{
2148
2148
  chanDirection?: types.ChanDirection | undefined;
2149
2149
  };
2150
2150
  value?: unknown;
2151
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2151
+ }[], null>>, z.ZodArray<z.ZodObject<{
2152
2152
  name: z.ZodString;
2153
2153
  type: z.ZodObject<{
2154
2154
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2156,7 +2156,7 @@ export declare const irZ: z.ZodObject<{
2156
2156
  config: z.ZodOptional<typeof types.paramsZ>;
2157
2157
  kind: z.ZodEnum<typeof types.Kind>;
2158
2158
  name: z.ZodString;
2159
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2159
+ elem: z.ZodOptional<typeof types.typeZ>;
2160
2160
  unit: z.ZodOptional<z.ZodObject<{
2161
2161
  dimensions: z.ZodObject<{
2162
2162
  length: z.ZodInt;
@@ -2171,12 +2171,12 @@ export declare const irZ: z.ZodObject<{
2171
2171
  scale: z.ZodNumber;
2172
2172
  name: z.ZodString;
2173
2173
  }, z.core.$strip>>;
2174
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2174
+ constraint: z.ZodOptional<typeof types.typeZ>;
2175
2175
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2176
2176
  }, z.core.$strip>;
2177
2177
  value: z.ZodOptional<z.ZodUnknown>;
2178
- }, z.core.$strip>>]>;
2179
- inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2178
+ }, z.core.$strip>>]>>;
2179
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2180
2180
  name: string;
2181
2181
  type: {
2182
2182
  kind: types.Kind;
@@ -2249,7 +2249,7 @@ export declare const irZ: z.ZodObject<{
2249
2249
  chanDirection?: types.ChanDirection | undefined;
2250
2250
  };
2251
2251
  value?: unknown;
2252
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2252
+ }[], null>>, z.ZodArray<z.ZodObject<{
2253
2253
  name: z.ZodString;
2254
2254
  type: z.ZodObject<{
2255
2255
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2257,7 +2257,7 @@ export declare const irZ: z.ZodObject<{
2257
2257
  config: z.ZodOptional<typeof types.paramsZ>;
2258
2258
  kind: z.ZodEnum<typeof types.Kind>;
2259
2259
  name: z.ZodString;
2260
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2260
+ elem: z.ZodOptional<typeof types.typeZ>;
2261
2261
  unit: z.ZodOptional<z.ZodObject<{
2262
2262
  dimensions: z.ZodObject<{
2263
2263
  length: z.ZodInt;
@@ -2272,12 +2272,12 @@ export declare const irZ: z.ZodObject<{
2272
2272
  scale: z.ZodNumber;
2273
2273
  name: z.ZodString;
2274
2274
  }, z.core.$strip>>;
2275
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2275
+ constraint: z.ZodOptional<typeof types.typeZ>;
2276
2276
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2277
2277
  }, z.core.$strip>;
2278
2278
  value: z.ZodOptional<z.ZodUnknown>;
2279
- }, z.core.$strip>>]>;
2280
- outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2279
+ }, z.core.$strip>>]>>;
2280
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2281
2281
  name: string;
2282
2282
  type: {
2283
2283
  kind: types.Kind;
@@ -2350,7 +2350,7 @@ export declare const irZ: z.ZodObject<{
2350
2350
  chanDirection?: types.ChanDirection | undefined;
2351
2351
  };
2352
2352
  value?: unknown;
2353
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2353
+ }[], null>>, z.ZodArray<z.ZodObject<{
2354
2354
  name: z.ZodString;
2355
2355
  type: z.ZodObject<{
2356
2356
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2358,7 +2358,7 @@ export declare const irZ: z.ZodObject<{
2358
2358
  config: z.ZodOptional<typeof types.paramsZ>;
2359
2359
  kind: z.ZodEnum<typeof types.Kind>;
2360
2360
  name: z.ZodString;
2361
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2361
+ elem: z.ZodOptional<typeof types.typeZ>;
2362
2362
  unit: z.ZodOptional<z.ZodObject<{
2363
2363
  dimensions: z.ZodObject<{
2364
2364
  length: z.ZodInt;
@@ -2373,17 +2373,17 @@ export declare const irZ: z.ZodObject<{
2373
2373
  scale: z.ZodNumber;
2374
2374
  name: z.ZodString;
2375
2375
  }, z.core.$strip>>;
2376
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2376
+ constraint: z.ZodOptional<typeof types.typeZ>;
2377
2377
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2378
2378
  }, z.core.$strip>;
2379
2379
  value: z.ZodOptional<z.ZodUnknown>;
2380
- }, z.core.$strip>>]>;
2380
+ }, z.core.$strip>>]>>;
2381
2381
  channels: z.ZodObject<{
2382
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
2383
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
2382
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2383
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2384
2384
  }, z.core.$strip>;
2385
- }, z.core.$strip>>]>;
2386
- nodes: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2385
+ }, z.core.$strip>>]>>;
2386
+ nodes: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2387
2387
  key: string;
2388
2388
  type: string;
2389
2389
  config: {
@@ -2612,10 +2612,10 @@ export declare const irZ: z.ZodObject<{
2612
2612
  read: Record<number, string>;
2613
2613
  write: Record<number, string>;
2614
2614
  };
2615
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2615
+ }[], null>>, z.ZodArray<z.ZodObject<{
2616
2616
  key: z.ZodString;
2617
2617
  type: z.ZodString;
2618
- config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2618
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2619
2619
  name: string;
2620
2620
  type: {
2621
2621
  kind: types.Kind;
@@ -2688,7 +2688,7 @@ export declare const irZ: z.ZodObject<{
2688
2688
  chanDirection?: types.ChanDirection | undefined;
2689
2689
  };
2690
2690
  value?: unknown;
2691
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2691
+ }[], null>>, z.ZodArray<z.ZodObject<{
2692
2692
  name: z.ZodString;
2693
2693
  type: z.ZodObject<{
2694
2694
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2696,7 +2696,7 @@ export declare const irZ: z.ZodObject<{
2696
2696
  config: z.ZodOptional<typeof types.paramsZ>;
2697
2697
  kind: z.ZodEnum<typeof types.Kind>;
2698
2698
  name: z.ZodString;
2699
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2699
+ elem: z.ZodOptional<typeof types.typeZ>;
2700
2700
  unit: z.ZodOptional<z.ZodObject<{
2701
2701
  dimensions: z.ZodObject<{
2702
2702
  length: z.ZodInt;
@@ -2711,12 +2711,12 @@ export declare const irZ: z.ZodObject<{
2711
2711
  scale: z.ZodNumber;
2712
2712
  name: z.ZodString;
2713
2713
  }, z.core.$strip>>;
2714
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2714
+ constraint: z.ZodOptional<typeof types.typeZ>;
2715
2715
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2716
2716
  }, z.core.$strip>;
2717
2717
  value: z.ZodOptional<z.ZodUnknown>;
2718
- }, z.core.$strip>>]>;
2719
- inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2718
+ }, z.core.$strip>>]>>;
2719
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2720
2720
  name: string;
2721
2721
  type: {
2722
2722
  kind: types.Kind;
@@ -2789,7 +2789,7 @@ export declare const irZ: z.ZodObject<{
2789
2789
  chanDirection?: types.ChanDirection | undefined;
2790
2790
  };
2791
2791
  value?: unknown;
2792
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2792
+ }[], null>>, z.ZodArray<z.ZodObject<{
2793
2793
  name: z.ZodString;
2794
2794
  type: z.ZodObject<{
2795
2795
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2797,7 +2797,7 @@ export declare const irZ: z.ZodObject<{
2797
2797
  config: z.ZodOptional<typeof types.paramsZ>;
2798
2798
  kind: z.ZodEnum<typeof types.Kind>;
2799
2799
  name: z.ZodString;
2800
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2800
+ elem: z.ZodOptional<typeof types.typeZ>;
2801
2801
  unit: z.ZodOptional<z.ZodObject<{
2802
2802
  dimensions: z.ZodObject<{
2803
2803
  length: z.ZodInt;
@@ -2812,12 +2812,12 @@ export declare const irZ: z.ZodObject<{
2812
2812
  scale: z.ZodNumber;
2813
2813
  name: z.ZodString;
2814
2814
  }, z.core.$strip>>;
2815
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2815
+ constraint: z.ZodOptional<typeof types.typeZ>;
2816
2816
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2817
2817
  }, z.core.$strip>;
2818
2818
  value: z.ZodOptional<z.ZodUnknown>;
2819
- }, z.core.$strip>>]>;
2820
- outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2819
+ }, z.core.$strip>>]>>;
2820
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2821
2821
  name: string;
2822
2822
  type: {
2823
2823
  kind: types.Kind;
@@ -2890,7 +2890,7 @@ export declare const irZ: z.ZodObject<{
2890
2890
  chanDirection?: types.ChanDirection | undefined;
2891
2891
  };
2892
2892
  value?: unknown;
2893
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2893
+ }[], null>>, z.ZodArray<z.ZodObject<{
2894
2894
  name: z.ZodString;
2895
2895
  type: z.ZodObject<{
2896
2896
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2898,7 +2898,7 @@ export declare const irZ: z.ZodObject<{
2898
2898
  config: z.ZodOptional<typeof types.paramsZ>;
2899
2899
  kind: z.ZodEnum<typeof types.Kind>;
2900
2900
  name: z.ZodString;
2901
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2901
+ elem: z.ZodOptional<typeof types.typeZ>;
2902
2902
  unit: z.ZodOptional<z.ZodObject<{
2903
2903
  dimensions: z.ZodObject<{
2904
2904
  length: z.ZodInt;
@@ -2913,17 +2913,17 @@ export declare const irZ: z.ZodObject<{
2913
2913
  scale: z.ZodNumber;
2914
2914
  name: z.ZodString;
2915
2915
  }, z.core.$strip>>;
2916
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2916
+ constraint: z.ZodOptional<typeof types.typeZ>;
2917
2917
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2918
2918
  }, z.core.$strip>;
2919
2919
  value: z.ZodOptional<z.ZodUnknown>;
2920
- }, z.core.$strip>>]>;
2920
+ }, z.core.$strip>>]>>;
2921
2921
  channels: z.ZodObject<{
2922
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
2923
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
2922
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2923
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2924
2924
  }, z.core.$strip>;
2925
- }, z.core.$strip>>]>;
2926
- edges: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2925
+ }, z.core.$strip>>]>>;
2926
+ edges: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2927
2927
  source: {
2928
2928
  node: string;
2929
2929
  param: string;
@@ -2933,7 +2933,7 @@ export declare const irZ: z.ZodObject<{
2933
2933
  param: string;
2934
2934
  };
2935
2935
  kind: EdgeKind;
2936
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2936
+ }[], null>>, z.ZodArray<z.ZodObject<{
2937
2937
  source: z.ZodObject<{
2938
2938
  node: z.ZodString;
2939
2939
  param: z.ZodString;
@@ -2943,15 +2943,15 @@ export declare const irZ: z.ZodObject<{
2943
2943
  param: z.ZodString;
2944
2944
  }, z.core.$strip>;
2945
2945
  kind: z.ZodEnum<typeof EdgeKind>;
2946
- }, z.core.$strip>>]>;
2946
+ }, z.core.$strip>>]>>;
2947
2947
  authorities: z.ZodObject<{
2948
2948
  default: z.ZodOptional<z.ZodInt>;
2949
- channels: z.ZodRecord<z.ZodUInt32, z.ZodInt>;
2949
+ channels: z.ZodType<Record<number, number>, unknown, z.core.$ZodTypeInternals<Record<number, number>, unknown>>;
2950
2950
  }, z.core.$strip>;
2951
2951
  root: z.ZodType<Scope, unknown, z.core.$ZodTypeInternals<Scope, unknown>>;
2952
2952
  }, z.core.$strip>;
2953
2953
  export interface IR extends z.infer<typeof irZ> {
2954
2954
  }
2955
- export declare const membersZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<Member[], null | undefined>>, z.ZodArray<z.ZodType<Member, unknown, z.core.$ZodTypeInternals<Member, unknown>>>]>;
2955
+ export declare const membersZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<Member[], null>>, z.ZodArray<z.ZodType<Member, unknown, z.core.$ZodTypeInternals<Member, unknown>>>]>>;
2956
2956
  export type Members = z.infer<typeof membersZ>;
2957
2957
  //# sourceMappingURL=types.gen.d.ts.map