@synnaxlabs/client 0.56.2 → 0.57.1

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 (741) hide show
  1. package/dist/client-DDACDVZ-.js +14505 -0
  2. package/dist/client-DDACDVZ-.js.map +1 -0
  3. package/dist/client.js +1128 -14876
  4. package/dist/client.js.map +1 -0
  5. package/dist/src/access/client.d.ts +10 -1
  6. package/dist/src/access/client.d.ts.map +1 -1
  7. package/dist/src/access/enforce.d.ts.map +1 -1
  8. package/dist/src/access/external.d.ts +1 -0
  9. package/dist/src/access/external.d.ts.map +1 -1
  10. package/dist/src/access/granted.d.ts +39 -0
  11. package/dist/src/access/granted.d.ts.map +1 -0
  12. package/dist/src/access/policy/client.d.ts +136 -147
  13. package/dist/src/access/policy/client.d.ts.map +1 -1
  14. package/dist/src/access/policy/types.gen.d.ts +15 -68
  15. package/dist/src/access/policy/types.gen.d.ts.map +1 -1
  16. package/dist/src/access/role/client.d.ts +77 -58
  17. package/dist/src/access/role/client.d.ts.map +1 -1
  18. package/dist/src/access/role/types.gen.d.ts +8 -14
  19. package/dist/src/access/role/types.gen.d.ts.map +1 -1
  20. package/dist/src/actions/actions.d.ts +5 -6
  21. package/dist/src/actions/actions.d.ts.map +1 -1
  22. package/dist/src/actions/controller.d.ts +194 -0
  23. package/dist/src/actions/controller.d.ts.map +1 -0
  24. package/dist/src/actions/external.d.ts +1 -0
  25. package/dist/src/actions/external.d.ts.map +1 -1
  26. package/dist/src/arc/actions.d.ts +575 -0
  27. package/dist/src/arc/actions.d.ts.map +1 -0
  28. package/dist/src/arc/actions.gen.d.ts +1439 -0
  29. package/dist/src/arc/actions.gen.d.ts.map +1 -0
  30. package/dist/src/arc/client.d.ts +97 -13
  31. package/dist/src/arc/client.d.ts.map +1 -1
  32. package/dist/src/arc/compiler/types.gen.d.ts +3 -3
  33. package/dist/src/arc/compiler/types.gen.d.ts.map +1 -1
  34. package/dist/src/arc/external.d.ts +2 -0
  35. package/dist/src/arc/external.d.ts.map +1 -1
  36. package/dist/src/arc/graph/types.gen.d.ts +45 -597
  37. package/dist/src/arc/graph/types.gen.d.ts.map +1 -1
  38. package/dist/src/arc/ir/index.d.ts +1 -1
  39. package/dist/src/arc/ir/index.d.ts.map +1 -1
  40. package/dist/src/arc/ir/ir.d.ts +2 -0
  41. package/dist/src/arc/ir/ir.d.ts.map +1 -0
  42. package/dist/src/arc/ir/types.gen.d.ts +58 -2807
  43. package/dist/src/arc/ir/types.gen.d.ts.map +1 -1
  44. package/dist/src/arc/module/types.gen.d.ts +18 -1090
  45. package/dist/src/arc/module/types.gen.d.ts.map +1 -1
  46. package/dist/src/arc/program/types.gen.d.ts +18 -1090
  47. package/dist/src/arc/program/types.gen.d.ts.map +1 -1
  48. package/dist/src/arc/text/types.gen.d.ts +54 -1
  49. package/dist/src/arc/text/types.gen.d.ts.map +1 -1
  50. package/dist/src/arc/types/types.gen.d.ts +35 -153
  51. package/dist/src/arc/types/types.gen.d.ts.map +1 -1
  52. package/dist/src/arc/types.gen.d.ts +98 -2278
  53. package/dist/src/arc/types.gen.d.ts.map +1 -1
  54. package/dist/src/auth/auth.d.ts +14 -2
  55. package/dist/src/auth/auth.d.ts.map +1 -1
  56. package/dist/src/channel/client.d.ts +113 -75
  57. package/dist/src/channel/client.d.ts.map +1 -1
  58. package/dist/src/channel/external.d.ts +0 -1
  59. package/dist/src/channel/external.d.ts.map +1 -1
  60. package/dist/src/channel/payload.d.ts +65 -56
  61. package/dist/src/channel/payload.d.ts.map +1 -1
  62. package/dist/src/channel/types.gen.d.ts +26 -73
  63. package/dist/src/channel/types.gen.d.ts.map +1 -1
  64. package/dist/src/channel/writer.d.ts +1 -3
  65. package/dist/src/channel/writer.d.ts.map +1 -1
  66. package/dist/src/client.d.ts +55 -27
  67. package/dist/src/client.d.ts.map +1 -1
  68. package/dist/src/connection/client.d.ts +146 -0
  69. package/dist/src/connection/client.d.ts.map +1 -0
  70. package/dist/src/connection/external.d.ts +3 -0
  71. package/dist/src/connection/external.d.ts.map +1 -0
  72. package/dist/src/connection/index.d.ts +1 -1
  73. package/dist/src/connection/index.d.ts.map +1 -1
  74. package/dist/src/connection/status.d.ts +252 -0
  75. package/dist/src/connection/status.d.ts.map +1 -0
  76. package/dist/src/control/client.d.ts +31 -7
  77. package/dist/src/control/client.d.ts.map +1 -1
  78. package/dist/src/control/state.d.ts +47 -16
  79. package/dist/src/control/state.d.ts.map +1 -1
  80. package/dist/src/device/client.d.ts +59 -17
  81. package/dist/src/device/client.d.ts.map +1 -1
  82. package/dist/src/device/types.gen.d.ts +17 -67
  83. package/dist/src/device/types.gen.d.ts.map +1 -1
  84. package/dist/src/errors.d.ts +17 -20
  85. package/dist/src/errors.d.ts.map +1 -1
  86. package/dist/src/ethercat/external.d.ts +2 -0
  87. package/dist/src/ethercat/external.d.ts.map +1 -0
  88. package/dist/src/ethercat/index.d.ts +2 -0
  89. package/dist/src/ethercat/index.d.ts.map +1 -0
  90. package/dist/src/ethercat/types.gen.d.ts +243 -0
  91. package/dist/src/ethercat/types.gen.d.ts.map +1 -0
  92. package/dist/src/framer/adapter.d.ts +8 -5
  93. package/dist/src/framer/adapter.d.ts.map +1 -1
  94. package/dist/src/framer/benchutil.d.ts +19 -0
  95. package/dist/src/framer/benchutil.d.ts.map +1 -0
  96. package/dist/src/framer/cache/cache.d.ts +38 -0
  97. package/dist/src/framer/cache/cache.d.ts.map +1 -0
  98. package/dist/src/framer/cache/dynamic.d.ts +91 -0
  99. package/dist/src/framer/cache/dynamic.d.ts.map +1 -0
  100. package/dist/src/framer/cache/reader.d.ts +57 -0
  101. package/dist/src/framer/cache/reader.d.ts.map +1 -0
  102. package/dist/src/framer/cache/static.d.ts +66 -0
  103. package/dist/src/framer/cache/static.d.ts.map +1 -0
  104. package/dist/src/framer/cache/streamer.d.ts +86 -0
  105. package/dist/src/framer/cache/streamer.d.ts.map +1 -0
  106. package/dist/src/framer/cache/transform.d.ts +18 -0
  107. package/dist/src/framer/cache/transform.d.ts.map +1 -0
  108. package/dist/src/framer/cache/unary.d.ts +39 -0
  109. package/dist/src/framer/cache/unary.d.ts.map +1 -0
  110. package/dist/src/framer/client.d.ts +35 -14
  111. package/dist/src/framer/client.d.ts.map +1 -1
  112. package/dist/src/framer/codec.d.ts.map +1 -1
  113. package/dist/src/framer/deleter.d.ts +3 -2
  114. package/dist/src/framer/deleter.d.ts.map +1 -1
  115. package/dist/src/framer/external.d.ts +6 -0
  116. package/dist/src/framer/external.d.ts.map +1 -1
  117. package/dist/src/framer/feed.d.ts +40 -0
  118. package/dist/src/framer/feed.d.ts.map +1 -0
  119. package/dist/src/framer/frame.d.ts +16 -20
  120. package/dist/src/framer/frame.d.ts.map +1 -1
  121. package/dist/src/framer/hardened.d.ts +70 -0
  122. package/dist/src/framer/hardened.d.ts.map +1 -0
  123. package/dist/src/framer/iterator.d.ts +36 -43
  124. package/dist/src/framer/iterator.d.ts.map +1 -1
  125. package/dist/src/framer/reader.d.ts +3 -2
  126. package/dist/src/framer/reader.d.ts.map +1 -1
  127. package/dist/src/framer/streamer.d.ts +132 -205
  128. package/dist/src/framer/streamer.d.ts.map +1 -1
  129. package/dist/src/framer/writer.d.ts +130 -161
  130. package/dist/src/framer/writer.d.ts.map +1 -1
  131. package/dist/src/group/client.d.ts +66 -9
  132. package/dist/src/group/client.d.ts.map +1 -1
  133. package/dist/src/group/types.gen.d.ts +2 -2
  134. package/dist/src/http/external.d.ts +2 -0
  135. package/dist/src/http/external.d.ts.map +1 -0
  136. package/dist/src/http/index.d.ts +2 -0
  137. package/dist/src/http/index.d.ts.map +1 -0
  138. package/dist/src/http/types.gen.d.ts +451 -0
  139. package/dist/src/http/types.gen.d.ts.map +1 -0
  140. package/dist/src/imex/client.d.ts +88 -0
  141. package/dist/src/imex/client.d.ts.map +1 -0
  142. package/dist/src/imex/index.d.ts +2 -0
  143. package/dist/src/imex/index.d.ts.map +1 -0
  144. package/dist/src/index.d.ts +18 -5
  145. package/dist/src/index.d.ts.map +1 -1
  146. package/dist/src/label/client.d.ts +55 -36
  147. package/dist/src/label/client.d.ts.map +1 -1
  148. package/dist/src/label/external.d.ts +2 -0
  149. package/dist/src/label/external.d.ts.map +1 -1
  150. package/dist/src/label/payload.d.ts +4 -46
  151. package/dist/src/label/payload.d.ts.map +1 -1
  152. package/dist/src/label/store.d.ts +8 -0
  153. package/dist/src/label/store.d.ts.map +1 -0
  154. package/dist/src/label/types.gen.d.ts +45 -0
  155. package/dist/src/label/types.gen.d.ts.map +1 -0
  156. package/dist/src/labjack/external.d.ts +2 -0
  157. package/dist/src/labjack/external.d.ts.map +1 -0
  158. package/dist/src/labjack/index.d.ts +2 -0
  159. package/dist/src/labjack/index.d.ts.map +1 -0
  160. package/dist/src/labjack/types.gen.d.ts +442 -0
  161. package/dist/src/labjack/types.gen.d.ts.map +1 -0
  162. package/dist/src/lineplot/actions.d.ts +914 -0
  163. package/dist/src/lineplot/actions.d.ts.map +1 -0
  164. package/dist/src/lineplot/actions.gen.d.ts +4208 -0
  165. package/dist/src/lineplot/actions.gen.d.ts.map +1 -0
  166. package/dist/src/lineplot/client.d.ts +66 -16
  167. package/dist/src/lineplot/client.d.ts.map +1 -1
  168. package/dist/src/lineplot/external.d.ts +3 -0
  169. package/dist/src/lineplot/external.d.ts.map +1 -1
  170. package/dist/src/lineplot/line.d.ts +16 -0
  171. package/dist/src/lineplot/line.d.ts.map +1 -0
  172. package/dist/src/lineplot/types.gen.d.ts +837 -14
  173. package/dist/src/lineplot/types.gen.d.ts.map +1 -1
  174. package/dist/src/log/actions.d.ts +271 -0
  175. package/dist/src/log/actions.d.ts.map +1 -0
  176. package/dist/src/log/actions.gen.d.ts +1529 -0
  177. package/dist/src/log/actions.gen.d.ts.map +1 -0
  178. package/dist/src/log/client.d.ts +66 -16
  179. package/dist/src/log/client.d.ts.map +1 -1
  180. package/dist/src/log/external.d.ts +2 -0
  181. package/dist/src/log/external.d.ts.map +1 -1
  182. package/dist/src/log/types.gen.d.ts +139 -14
  183. package/dist/src/log/types.gen.d.ts.map +1 -1
  184. package/dist/src/modbus/external.d.ts +2 -0
  185. package/dist/src/modbus/external.d.ts.map +1 -0
  186. package/dist/src/modbus/index.d.ts +2 -0
  187. package/dist/src/modbus/index.d.ts.map +1 -0
  188. package/dist/src/modbus/types.gen.d.ts +280 -0
  189. package/dist/src/modbus/types.gen.d.ts.map +1 -0
  190. package/dist/src/ni/external.d.ts +2 -0
  191. package/dist/src/ni/external.d.ts.map +1 -0
  192. package/dist/src/ni/index.d.ts +2 -0
  193. package/dist/src/ni/index.d.ts.map +1 -0
  194. package/dist/src/ni/types.gen.d.ts +21029 -0
  195. package/dist/src/ni/types.gen.d.ts.map +1 -0
  196. package/dist/src/node/index.d.ts +2 -0
  197. package/dist/src/node/index.d.ts.map +1 -0
  198. package/dist/src/node/types.gen.d.ts +4 -0
  199. package/dist/src/node/types.gen.d.ts.map +1 -0
  200. package/dist/src/ontology/client.d.ts +314 -67
  201. package/dist/src/ontology/client.d.ts.map +1 -1
  202. package/dist/src/ontology/external.d.ts +1 -0
  203. package/dist/src/ontology/external.d.ts.map +1 -1
  204. package/dist/src/ontology/payload.d.ts +60 -18
  205. package/dist/src/ontology/payload.d.ts.map +1 -1
  206. package/dist/src/ontology/store.d.ts +32 -0
  207. package/dist/src/ontology/store.d.ts.map +1 -0
  208. package/dist/src/ontology/types.gen.d.ts +3 -2
  209. package/dist/src/ontology/types.gen.d.ts.map +1 -1
  210. package/dist/src/ontology/writer.d.ts +16 -10
  211. package/dist/src/ontology/writer.d.ts.map +1 -1
  212. package/dist/src/opcua/external.d.ts +2 -0
  213. package/dist/src/opcua/external.d.ts.map +1 -0
  214. package/dist/src/opcua/index.d.ts +2 -0
  215. package/dist/src/opcua/index.d.ts.map +1 -0
  216. package/dist/src/opcua/types.gen.d.ts +82 -0
  217. package/dist/src/opcua/types.gen.d.ts.map +1 -0
  218. package/dist/src/pagerduty/external.d.ts +2 -0
  219. package/dist/src/pagerduty/external.d.ts.map +1 -0
  220. package/dist/src/pagerduty/index.d.ts +2 -0
  221. package/dist/src/pagerduty/index.d.ts.map +1 -0
  222. package/dist/src/pagerduty/types.gen.d.ts +30 -0
  223. package/dist/src/pagerduty/types.gen.d.ts.map +1 -0
  224. package/dist/src/panel/actions.d.ts +273 -0
  225. package/dist/src/panel/actions.d.ts.map +1 -0
  226. package/dist/src/panel/actions.gen.d.ts +1255 -0
  227. package/dist/src/panel/actions.gen.d.ts.map +1 -0
  228. package/dist/src/panel/client.d.ts +148 -0
  229. package/dist/src/panel/client.d.ts.map +1 -0
  230. package/dist/src/panel/external.d.ts +6 -0
  231. package/dist/src/panel/external.d.ts.map +1 -0
  232. package/dist/src/panel/index.d.ts +2 -0
  233. package/dist/src/panel/index.d.ts.map +1 -0
  234. package/dist/src/panel/tree.d.ts +50 -0
  235. package/dist/src/panel/tree.d.ts.map +1 -0
  236. package/dist/src/panel/types.gen.d.ts +370 -0
  237. package/dist/src/panel/types.gen.d.ts.map +1 -0
  238. package/dist/src/project/client.d.ts +89 -0
  239. package/dist/src/project/client.d.ts.map +1 -0
  240. package/dist/src/project/external.d.ts.map +1 -0
  241. package/dist/src/project/index.d.ts +2 -0
  242. package/dist/src/project/index.d.ts.map +1 -0
  243. package/dist/src/project/types.gen.d.ts +27 -0
  244. package/dist/src/project/types.gen.d.ts.map +1 -0
  245. package/dist/src/query/cache.d.ts +132 -0
  246. package/dist/src/query/cache.d.ts.map +1 -0
  247. package/dist/src/query/deleted.d.ts +20 -0
  248. package/dist/src/query/deleted.d.ts.map +1 -0
  249. package/dist/src/query/derived.d.ts +33 -0
  250. package/dist/src/query/derived.d.ts.map +1 -0
  251. package/dist/src/query/external.d.ts +10 -0
  252. package/dist/src/query/external.d.ts.map +1 -0
  253. package/dist/src/query/index.d.ts +2 -0
  254. package/dist/src/query/index.d.ts.map +1 -0
  255. package/dist/src/query/query.d.ts +235 -0
  256. package/dist/src/query/query.d.ts.map +1 -0
  257. package/dist/src/query/retriever.d.ts +135 -0
  258. package/dist/src/query/retriever.d.ts.map +1 -0
  259. package/dist/src/query/streamer.d.ts +67 -0
  260. package/dist/src/query/streamer.d.ts.map +1 -0
  261. package/dist/src/query/table.d.ts +219 -0
  262. package/dist/src/query/table.d.ts.map +1 -0
  263. package/dist/src/query/types.d.ts +35 -0
  264. package/dist/src/query/types.d.ts.map +1 -0
  265. package/dist/src/query/write.d.ts +21 -0
  266. package/dist/src/query/write.d.ts.map +1 -0
  267. package/dist/src/rack/client.d.ts +58 -20
  268. package/dist/src/rack/client.d.ts.map +1 -1
  269. package/dist/src/rack/types.gen.d.ts +11 -12
  270. package/dist/src/rack/types.gen.d.ts.map +1 -1
  271. package/dist/src/range/alias/types.gen.d.ts +2 -3
  272. package/dist/src/range/alias/types.gen.d.ts.map +1 -1
  273. package/dist/src/ranger/client.d.ts +138 -27
  274. package/dist/src/ranger/client.d.ts.map +1 -1
  275. package/dist/src/ranger/kv/client.d.ts +7 -4
  276. package/dist/src/ranger/kv/client.d.ts.map +1 -1
  277. package/dist/src/ranger/payload.d.ts +3 -0
  278. package/dist/src/ranger/payload.d.ts.map +1 -1
  279. package/dist/src/ranger/types.gen.d.ts +45 -101
  280. package/dist/src/ranger/types.gen.d.ts.map +1 -1
  281. package/dist/src/ranger/writer.d.ts +2 -74
  282. package/dist/src/ranger/writer.d.ts.map +1 -1
  283. package/dist/src/schematic/actions.d.ts +90 -33
  284. package/dist/src/schematic/actions.d.ts.map +1 -1
  285. package/dist/src/schematic/actions.gen.d.ts +207 -114
  286. package/dist/src/schematic/actions.gen.d.ts.map +1 -1
  287. package/dist/src/schematic/client.d.ts +70 -68
  288. package/dist/src/schematic/client.d.ts.map +1 -1
  289. package/dist/src/schematic/symbol/client.d.ts +133 -27
  290. package/dist/src/schematic/symbol/client.d.ts.map +1 -1
  291. package/dist/src/schematic/symbol/types.gen.d.ts +258 -153
  292. package/dist/src/schematic/symbol/types.gen.d.ts.map +1 -1
  293. package/dist/src/schematic/types.gen.d.ts +17 -96
  294. package/dist/src/schematic/types.gen.d.ts.map +1 -1
  295. package/dist/src/status/client.d.ts +69 -14
  296. package/dist/src/status/client.d.ts.map +1 -1
  297. package/dist/src/status/external.d.ts +2 -0
  298. package/dist/src/status/external.d.ts.map +1 -1
  299. package/dist/src/status/payload.d.ts +2 -36
  300. package/dist/src/status/payload.d.ts.map +1 -1
  301. package/dist/src/status/status.d.ts +65 -0
  302. package/dist/src/status/status.d.ts.map +1 -0
  303. package/dist/src/status/types.gen.d.ts +58 -0
  304. package/dist/src/status/types.gen.d.ts.map +1 -0
  305. package/dist/src/table/actions.d.ts +72 -13
  306. package/dist/src/table/actions.d.ts.map +1 -1
  307. package/dist/src/table/actions.gen.d.ts +221 -137
  308. package/dist/src/table/actions.gen.d.ts.map +1 -1
  309. package/dist/src/table/client.d.ts +64 -40
  310. package/dist/src/table/client.d.ts.map +1 -1
  311. package/dist/src/table/types.gen.d.ts +20 -55
  312. package/dist/src/table/types.gen.d.ts.map +1 -1
  313. package/dist/src/task/client.d.ts +149 -28
  314. package/dist/src/task/client.d.ts.map +1 -1
  315. package/dist/src/task/types.gen.d.ts +71 -89
  316. package/dist/src/task/types.gen.d.ts.map +1 -1
  317. package/dist/src/testutil/access.d.ts +27 -1
  318. package/dist/src/testutil/access.d.ts.map +1 -1
  319. package/dist/src/testutil/channels.d.ts +2 -0
  320. package/dist/src/testutil/channels.d.ts.map +1 -1
  321. package/dist/src/testutil/client.d.ts +5 -0
  322. package/dist/src/testutil/client.d.ts.map +1 -1
  323. package/dist/src/testutil/connection.d.ts +10 -0
  324. package/dist/src/testutil/connection.d.ts.map +1 -0
  325. package/dist/src/testutil/index.d.ts +9 -0
  326. package/dist/src/testutil/index.d.ts.map +1 -0
  327. package/dist/src/testutil/panels.d.ts +8 -0
  328. package/dist/src/testutil/panels.d.ts.map +1 -0
  329. package/dist/src/testutil/proxy.d.ts +29 -0
  330. package/dist/src/testutil/proxy.d.ts.map +1 -0
  331. package/dist/src/testutil/query.d.ts +7 -0
  332. package/dist/src/testutil/query.d.ts.map +1 -0
  333. package/dist/src/testutil/telem.d.ts +4 -0
  334. package/dist/src/testutil/telem.d.ts.map +1 -1
  335. package/dist/src/transport.d.ts +10 -4
  336. package/dist/src/transport.d.ts.map +1 -1
  337. package/dist/src/user/client.d.ts +29 -28
  338. package/dist/src/user/client.d.ts.map +1 -1
  339. package/dist/src/user/external.d.ts +1 -1
  340. package/dist/src/user/external.d.ts.map +1 -1
  341. package/dist/src/user/types.gen.d.ts +4 -4
  342. package/dist/src/util/retrieve.d.ts +2 -2
  343. package/dist/src/util/retrieve.d.ts.map +1 -1
  344. package/dist/src/util/telem.d.ts.map +1 -1
  345. package/dist/src/view/client.d.ts +30 -14
  346. package/dist/src/view/client.d.ts.map +1 -1
  347. package/dist/src/view/types.gen.d.ts +7 -15
  348. package/dist/src/view/types.gen.d.ts.map +1 -1
  349. package/dist/testutil.js +189 -0
  350. package/dist/testutil.js.map +1 -0
  351. package/package.json +39 -16
  352. package/src/access/client.ts +14 -3
  353. package/src/access/enforce.ts +0 -3
  354. package/src/access/external.ts +1 -0
  355. package/src/access/granted.ts +114 -0
  356. package/src/access/policy/client.ts +135 -43
  357. package/src/access/policy/types.gen.ts +9 -11
  358. package/src/access/role/client.ts +160 -38
  359. package/src/access/role/types.gen.ts +8 -12
  360. package/src/actions/actions.ts +5 -6
  361. package/src/actions/controller.ts +626 -0
  362. package/src/actions/external.ts +11 -0
  363. package/src/arc/actions.gen.ts +313 -0
  364. package/src/arc/actions.ts +192 -0
  365. package/src/arc/client.ts +424 -41
  366. package/src/arc/compiler/types.gen.ts +5 -6
  367. package/src/arc/external.ts +2 -0
  368. package/src/arc/graph/types.gen.ts +24 -22
  369. package/src/arc/ir/index.ts +1 -1
  370. package/{eslint.config.ts → src/arc/ir/ir.ts} +1 -4
  371. package/src/arc/ir/types.gen.ts +42 -41
  372. package/src/arc/text/types.gen.ts +21 -2
  373. package/src/arc/types/types.gen.ts +40 -32
  374. package/src/arc/types.gen.ts +31 -29
  375. package/src/auth/auth.ts +40 -8
  376. package/src/channel/client.ts +529 -132
  377. package/src/channel/external.ts +0 -1
  378. package/src/channel/payload.ts +30 -3
  379. package/src/channel/types.gen.ts +37 -48
  380. package/src/channel/writer.ts +2 -11
  381. package/src/client.ts +215 -91
  382. package/src/connection/client.ts +495 -0
  383. package/src/connection/external.ts +34 -0
  384. package/src/connection/index.ts +1 -1
  385. package/src/connection/status.ts +442 -0
  386. package/src/control/client.ts +84 -12
  387. package/src/control/state.ts +17 -36
  388. package/src/device/client.ts +293 -41
  389. package/src/device/types.gen.ts +15 -26
  390. package/src/errors.ts +45 -22
  391. package/src/{workspace → ethercat}/external.ts +1 -2
  392. package/src/{workspace → ethercat}/index.ts +1 -1
  393. package/src/ethercat/types.gen.ts +151 -0
  394. package/src/framer/adapter.ts +60 -37
  395. package/src/framer/benchutil.ts +67 -0
  396. package/src/framer/cache/cache.ts +115 -0
  397. package/src/framer/cache/dynamic.ts +340 -0
  398. package/src/framer/cache/reader.ts +231 -0
  399. package/src/framer/cache/static.ts +215 -0
  400. package/src/framer/cache/streamer.ts +391 -0
  401. package/src/framer/cache/transform.ts +31 -0
  402. package/src/framer/cache/unary.ts +108 -0
  403. package/src/framer/client.ts +71 -43
  404. package/src/framer/codec.ts +55 -18
  405. package/src/framer/deleter.ts +4 -6
  406. package/src/framer/external.ts +10 -0
  407. package/src/framer/feed.ts +108 -0
  408. package/src/framer/frame.ts +13 -23
  409. package/src/framer/hardened.ts +283 -0
  410. package/src/framer/iterator.ts +31 -42
  411. package/src/framer/reader.ts +11 -11
  412. package/src/framer/streamer.ts +18 -178
  413. package/src/framer/writer.ts +39 -59
  414. package/src/group/client.ts +158 -23
  415. package/src/http/external.ts +10 -0
  416. package/src/{cluster → http}/index.ts +1 -1
  417. package/src/http/types.gen.ts +245 -0
  418. package/src/imex/client.ts +125 -0
  419. package/src/imex/index.ts +10 -0
  420. package/src/index.ts +19 -6
  421. package/src/label/client.ts +193 -54
  422. package/src/label/external.ts +2 -0
  423. package/src/label/payload.ts +4 -9
  424. package/src/label/store.ts +28 -0
  425. package/src/label/types.gen.ts +31 -0
  426. package/src/labjack/external.ts +10 -0
  427. package/src/labjack/index.ts +10 -0
  428. package/src/labjack/types.gen.ts +251 -0
  429. package/src/lineplot/actions.gen.ts +880 -0
  430. package/src/lineplot/actions.ts +535 -0
  431. package/src/lineplot/client.ts +224 -52
  432. package/src/lineplot/external.ts +3 -0
  433. package/src/lineplot/line.ts +80 -0
  434. package/src/lineplot/types.gen.ts +225 -12
  435. package/src/log/actions.gen.ts +474 -0
  436. package/src/log/actions.ts +242 -0
  437. package/src/log/client.ts +223 -52
  438. package/src/log/external.ts +2 -0
  439. package/src/log/types.gen.ts +45 -14
  440. package/src/modbus/external.ts +10 -0
  441. package/src/modbus/index.ts +10 -0
  442. package/src/modbus/types.gen.ts +185 -0
  443. package/src/ni/external.ts +10 -0
  444. package/src/ni/index.ts +10 -0
  445. package/src/ni/types.gen.ts +1632 -0
  446. package/src/node/index.ts +10 -0
  447. package/src/{cluster → node}/types.gen.ts +2 -2
  448. package/src/ontology/client.ts +408 -99
  449. package/src/ontology/external.ts +7 -0
  450. package/src/ontology/payload.ts +48 -7
  451. package/src/ontology/store.ts +83 -0
  452. package/src/ontology/types.gen.ts +2 -1
  453. package/src/ontology/writer.ts +1 -0
  454. package/src/opcua/external.ts +10 -0
  455. package/src/opcua/index.ts +10 -0
  456. package/src/opcua/types.gen.ts +65 -0
  457. package/src/pagerduty/external.ts +10 -0
  458. package/src/pagerduty/index.ts +10 -0
  459. package/src/pagerduty/types.gen.ts +41 -0
  460. package/src/panel/actions.gen.ts +267 -0
  461. package/src/panel/actions.ts +357 -0
  462. package/src/panel/client.ts +327 -0
  463. package/src/panel/external.ts +14 -0
  464. package/src/panel/index.ts +10 -0
  465. package/src/panel/tree.ts +163 -0
  466. package/src/panel/types.gen.ts +164 -0
  467. package/src/project/client.ts +273 -0
  468. package/src/project/external.ts +11 -0
  469. package/src/project/index.ts +10 -0
  470. package/src/project/types.gen.ts +40 -0
  471. package/src/query/cache.ts +326 -0
  472. package/src/query/deleted.ts +38 -0
  473. package/src/query/derived.ts +101 -0
  474. package/src/query/external.ts +51 -0
  475. package/src/query/index.ts +10 -0
  476. package/src/query/query.ts +865 -0
  477. package/src/query/retriever.ts +308 -0
  478. package/src/query/streamer.ts +207 -0
  479. package/src/query/table.ts +625 -0
  480. package/src/query/types.ts +54 -0
  481. package/src/query/write.ts +42 -0
  482. package/src/rack/client.ts +233 -45
  483. package/src/rack/types.gen.ts +15 -16
  484. package/src/range/alias/types.gen.ts +2 -3
  485. package/src/ranger/client.ts +581 -70
  486. package/src/ranger/kv/client.ts +52 -21
  487. package/src/ranger/payload.ts +3 -0
  488. package/src/ranger/types.gen.ts +21 -23
  489. package/src/ranger/writer.ts +4 -8
  490. package/src/schematic/actions.gen.ts +62 -53
  491. package/src/schematic/actions.ts +44 -42
  492. package/src/schematic/client.ts +226 -70
  493. package/src/schematic/symbol/client.ts +277 -48
  494. package/src/schematic/symbol/types.gen.ts +22 -34
  495. package/src/schematic/types.gen.ts +22 -29
  496. package/src/status/client.ts +321 -44
  497. package/src/status/external.ts +2 -0
  498. package/src/status/payload.ts +1 -23
  499. package/src/status/status.ts +241 -0
  500. package/src/status/types.gen.ts +108 -0
  501. package/src/table/actions.gen.ts +96 -63
  502. package/src/table/actions.ts +44 -19
  503. package/src/table/client.ts +220 -56
  504. package/src/table/types.gen.ts +24 -31
  505. package/src/task/client.ts +580 -101
  506. package/src/task/types.gen.ts +68 -75
  507. package/src/testutil/access.ts +102 -6
  508. package/src/testutil/channels.ts +29 -0
  509. package/src/testutil/client.ts +27 -2
  510. package/src/testutil/connection.ts +47 -0
  511. package/src/testutil/index.ts +17 -0
  512. package/src/testutil/panels.ts +26 -0
  513. package/src/testutil/proxy.ts +106 -0
  514. package/src/testutil/query.ts +28 -0
  515. package/src/testutil/telem.ts +17 -1
  516. package/src/transport.ts +18 -7
  517. package/src/user/client.ts +165 -64
  518. package/src/user/external.ts +1 -1
  519. package/src/user/types.gen.ts +5 -5
  520. package/src/util/retrieve.ts +4 -4
  521. package/src/util/telem.ts +0 -1
  522. package/src/view/client.ts +120 -37
  523. package/src/view/types.gen.ts +8 -11
  524. package/.turbo/turbo-build.log +0 -20
  525. package/.vscode/settings.json +0 -3
  526. package/CONTRIBUTING.md +0 -47
  527. package/dist/client.cjs +0 -118
  528. package/dist/eslint.config.d.ts +0 -4
  529. package/dist/eslint.config.d.ts.map +0 -1
  530. package/dist/src/access/enforce.spec.d.ts +0 -2
  531. package/dist/src/access/enforce.spec.d.ts.map +0 -1
  532. package/dist/src/access/policy/access.spec.d.ts +0 -2
  533. package/dist/src/access/policy/access.spec.d.ts.map +0 -1
  534. package/dist/src/access/role/role.spec.d.ts +0 -2
  535. package/dist/src/access/role/role.spec.d.ts.map +0 -1
  536. package/dist/src/actions/actions.spec.d.ts +0 -2
  537. package/dist/src/actions/actions.spec.d.ts.map +0 -1
  538. package/dist/src/arc/access.spec.d.ts +0 -2
  539. package/dist/src/arc/access.spec.d.ts.map +0 -1
  540. package/dist/src/arc/arc.spec.d.ts +0 -2
  541. package/dist/src/arc/arc.spec.d.ts.map +0 -1
  542. package/dist/src/arc/lsp.spec.d.ts +0 -2
  543. package/dist/src/arc/lsp.spec.d.ts.map +0 -1
  544. package/dist/src/auth/auth.spec.d.ts +0 -2
  545. package/dist/src/auth/auth.spec.d.ts.map +0 -1
  546. package/dist/src/channel/access.spec.d.ts +0 -2
  547. package/dist/src/channel/access.spec.d.ts.map +0 -1
  548. package/dist/src/channel/batchRetriever.spec.d.ts +0 -2
  549. package/dist/src/channel/batchRetriever.spec.d.ts.map +0 -1
  550. package/dist/src/channel/channel.spec.d.ts +0 -2
  551. package/dist/src/channel/channel.spec.d.ts.map +0 -1
  552. package/dist/src/channel/payload.spec.d.ts +0 -2
  553. package/dist/src/channel/payload.spec.d.ts.map +0 -1
  554. package/dist/src/channel/retriever.d.ts +0 -64
  555. package/dist/src/channel/retriever.d.ts.map +0 -1
  556. package/dist/src/cluster/index.d.ts +0 -2
  557. package/dist/src/cluster/index.d.ts.map +0 -1
  558. package/dist/src/cluster/types.gen.d.ts +0 -4
  559. package/dist/src/cluster/types.gen.d.ts.map +0 -1
  560. package/dist/src/connection/checker.d.ts +0 -86
  561. package/dist/src/connection/checker.d.ts.map +0 -1
  562. package/dist/src/connection/connection.spec.d.ts +0 -2
  563. package/dist/src/connection/connection.spec.d.ts.map +0 -1
  564. package/dist/src/connection.spec.d.ts +0 -2
  565. package/dist/src/connection.spec.d.ts.map +0 -1
  566. package/dist/src/control/state.spec.d.ts +0 -2
  567. package/dist/src/control/state.spec.d.ts.map +0 -1
  568. package/dist/src/device/access.spec.d.ts +0 -2
  569. package/dist/src/device/access.spec.d.ts.map +0 -1
  570. package/dist/src/device/device.spec.d.ts +0 -2
  571. package/dist/src/device/device.spec.d.ts.map +0 -1
  572. package/dist/src/device/payload.spec.d.ts +0 -2
  573. package/dist/src/device/payload.spec.d.ts.map +0 -1
  574. package/dist/src/errors.spec.d.ts +0 -2
  575. package/dist/src/errors.spec.d.ts.map +0 -1
  576. package/dist/src/framer/adapter.spec.d.ts +0 -2
  577. package/dist/src/framer/adapter.spec.d.ts.map +0 -1
  578. package/dist/src/framer/client.spec.d.ts +0 -2
  579. package/dist/src/framer/client.spec.d.ts.map +0 -1
  580. package/dist/src/framer/codec.spec.d.ts +0 -2
  581. package/dist/src/framer/codec.spec.d.ts.map +0 -1
  582. package/dist/src/framer/deleter.spec.d.ts +0 -2
  583. package/dist/src/framer/deleter.spec.d.ts.map +0 -1
  584. package/dist/src/framer/frame.spec.d.ts +0 -2
  585. package/dist/src/framer/frame.spec.d.ts.map +0 -1
  586. package/dist/src/framer/iterator.spec.d.ts +0 -2
  587. package/dist/src/framer/iterator.spec.d.ts.map +0 -1
  588. package/dist/src/framer/reader.spec.d.ts +0 -2
  589. package/dist/src/framer/reader.spec.d.ts.map +0 -1
  590. package/dist/src/framer/streamer.spec.d.ts +0 -2
  591. package/dist/src/framer/streamer.spec.d.ts.map +0 -1
  592. package/dist/src/framer/writer.spec.d.ts +0 -2
  593. package/dist/src/framer/writer.spec.d.ts.map +0 -1
  594. package/dist/src/group/access.spec.d.ts +0 -2
  595. package/dist/src/group/access.spec.d.ts.map +0 -1
  596. package/dist/src/group/group.spec.d.ts +0 -2
  597. package/dist/src/group/group.spec.d.ts.map +0 -1
  598. package/dist/src/label/access.spec.d.ts +0 -2
  599. package/dist/src/label/access.spec.d.ts.map +0 -1
  600. package/dist/src/label/label.spec.d.ts +0 -2
  601. package/dist/src/label/label.spec.d.ts.map +0 -1
  602. package/dist/src/lineplot/access.spec.d.ts +0 -2
  603. package/dist/src/lineplot/access.spec.d.ts.map +0 -1
  604. package/dist/src/lineplot/lineplot.spec.d.ts +0 -2
  605. package/dist/src/lineplot/lineplot.spec.d.ts.map +0 -1
  606. package/dist/src/log/access.spec.d.ts +0 -2
  607. package/dist/src/log/access.spec.d.ts.map +0 -1
  608. package/dist/src/log/log.spec.d.ts +0 -2
  609. package/dist/src/log/log.spec.d.ts.map +0 -1
  610. package/dist/src/ontology/ontology.spec.d.ts +0 -2
  611. package/dist/src/ontology/ontology.spec.d.ts.map +0 -1
  612. package/dist/src/rack/access.spec.d.ts +0 -2
  613. package/dist/src/rack/access.spec.d.ts.map +0 -1
  614. package/dist/src/rack/rack.spec.d.ts +0 -2
  615. package/dist/src/rack/rack.spec.d.ts.map +0 -1
  616. package/dist/src/ranger/access.spec.d.ts +0 -2
  617. package/dist/src/ranger/access.spec.d.ts.map +0 -1
  618. package/dist/src/ranger/alias/payload.spec.d.ts +0 -2
  619. package/dist/src/ranger/alias/payload.spec.d.ts.map +0 -1
  620. package/dist/src/ranger/ranger.spec.d.ts +0 -2
  621. package/dist/src/ranger/ranger.spec.d.ts.map +0 -1
  622. package/dist/src/schematic/access.spec.d.ts +0 -2
  623. package/dist/src/schematic/access.spec.d.ts.map +0 -1
  624. package/dist/src/schematic/actions.spec.d.ts +0 -2
  625. package/dist/src/schematic/actions.spec.d.ts.map +0 -1
  626. package/dist/src/schematic/schematic.spec.d.ts +0 -2
  627. package/dist/src/schematic/schematic.spec.d.ts.map +0 -1
  628. package/dist/src/schematic/symbol/access.spec.d.ts +0 -2
  629. package/dist/src/schematic/symbol/access.spec.d.ts.map +0 -1
  630. package/dist/src/schematic/symbol/client.spec.d.ts +0 -2
  631. package/dist/src/schematic/symbol/client.spec.d.ts.map +0 -1
  632. package/dist/src/status/access.spec.d.ts +0 -2
  633. package/dist/src/status/access.spec.d.ts.map +0 -1
  634. package/dist/src/status/status.spec.d.ts +0 -2
  635. package/dist/src/status/status.spec.d.ts.map +0 -1
  636. package/dist/src/table/access.spec.d.ts +0 -2
  637. package/dist/src/table/access.spec.d.ts.map +0 -1
  638. package/dist/src/table/table.spec.d.ts +0 -2
  639. package/dist/src/table/table.spec.d.ts.map +0 -1
  640. package/dist/src/task/access.spec.d.ts +0 -2
  641. package/dist/src/task/access.spec.d.ts.map +0 -1
  642. package/dist/src/task/payload.spec.d.ts +0 -2
  643. package/dist/src/task/payload.spec.d.ts.map +0 -1
  644. package/dist/src/task/task.spec.d.ts +0 -2
  645. package/dist/src/task/task.spec.d.ts.map +0 -1
  646. package/dist/src/user/access.spec.d.ts +0 -2
  647. package/dist/src/user/access.spec.d.ts.map +0 -1
  648. package/dist/src/user/user.spec.d.ts +0 -2
  649. package/dist/src/user/user.spec.d.ts.map +0 -1
  650. package/dist/src/util/retrieve.spec.d.ts +0 -2
  651. package/dist/src/util/retrieve.spec.d.ts.map +0 -1
  652. package/dist/src/view/view.spec.d.ts +0 -2
  653. package/dist/src/view/view.spec.d.ts.map +0 -1
  654. package/dist/src/workspace/access.spec.d.ts +0 -2
  655. package/dist/src/workspace/access.spec.d.ts.map +0 -1
  656. package/dist/src/workspace/client.d.ts +0 -36
  657. package/dist/src/workspace/client.d.ts.map +0 -1
  658. package/dist/src/workspace/external.d.ts.map +0 -1
  659. package/dist/src/workspace/index.d.ts +0 -2
  660. package/dist/src/workspace/index.d.ts.map +0 -1
  661. package/dist/src/workspace/types.gen.d.ts +0 -34
  662. package/dist/src/workspace/types.gen.d.ts.map +0 -1
  663. package/dist/src/workspace/workspace.spec.d.ts +0 -2
  664. package/dist/src/workspace/workspace.spec.d.ts.map +0 -1
  665. package/examples/node/basicReadWrite.js +0 -86
  666. package/examples/node/createChannels.js +0 -50
  667. package/examples/node/createRange.js +0 -67
  668. package/examples/node/package-lock.json +0 -133
  669. package/examples/node/package.json +0 -17
  670. package/examples/node/readLatest.js +0 -76
  671. package/examples/node/seriesAndFrames.js +0 -173
  672. package/examples/node/streamRead.js +0 -50
  673. package/examples/node/streamWrite.js +0 -87
  674. package/src/access/enforce.spec.ts +0 -188
  675. package/src/access/policy/access.spec.ts +0 -147
  676. package/src/access/role/role.spec.ts +0 -95
  677. package/src/actions/actions.spec.ts +0 -229
  678. package/src/arc/access.spec.ts +0 -149
  679. package/src/arc/arc.spec.ts +0 -44
  680. package/src/arc/lsp.spec.ts +0 -717
  681. package/src/auth/auth.spec.ts +0 -101
  682. package/src/channel/access.spec.ts +0 -116
  683. package/src/channel/batchRetriever.spec.ts +0 -115
  684. package/src/channel/channel.spec.ts +0 -352
  685. package/src/channel/payload.spec.ts +0 -117
  686. package/src/channel/retriever.ts +0 -252
  687. package/src/connection/checker.ts +0 -203
  688. package/src/connection/connection.spec.ts +0 -152
  689. package/src/connection.spec.ts +0 -145
  690. package/src/control/state.spec.ts +0 -22
  691. package/src/device/access.spec.ts +0 -159
  692. package/src/device/device.spec.ts +0 -461
  693. package/src/device/payload.spec.ts +0 -142
  694. package/src/errors.spec.ts +0 -71
  695. package/src/framer/adapter.spec.ts +0 -620
  696. package/src/framer/client.spec.ts +0 -180
  697. package/src/framer/codec.spec.ts +0 -383
  698. package/src/framer/deleter.spec.ts +0 -103
  699. package/src/framer/frame.spec.ts +0 -973
  700. package/src/framer/iterator.spec.ts +0 -169
  701. package/src/framer/reader.spec.ts +0 -865
  702. package/src/framer/streamer.spec.ts +0 -871
  703. package/src/framer/writer.spec.ts +0 -486
  704. package/src/group/access.spec.ts +0 -77
  705. package/src/group/group.spec.ts +0 -65
  706. package/src/label/access.spec.ts +0 -109
  707. package/src/label/label.spec.ts +0 -83
  708. package/src/lineplot/access.spec.ts +0 -134
  709. package/src/lineplot/lineplot.spec.ts +0 -120
  710. package/src/log/access.spec.ts +0 -132
  711. package/src/log/log.spec.ts +0 -106
  712. package/src/ontology/ontology.spec.ts +0 -521
  713. package/src/rack/access.spec.ts +0 -102
  714. package/src/rack/rack.spec.ts +0 -171
  715. package/src/ranger/access.spec.ts +0 -115
  716. package/src/ranger/alias/payload.spec.ts +0 -52
  717. package/src/ranger/ranger.spec.ts +0 -343
  718. package/src/schematic/access.spec.ts +0 -134
  719. package/src/schematic/actions.spec.ts +0 -699
  720. package/src/schematic/schematic.spec.ts +0 -340
  721. package/src/schematic/symbol/access.spec.ts +0 -172
  722. package/src/schematic/symbol/client.spec.ts +0 -160
  723. package/src/status/access.spec.ts +0 -129
  724. package/src/status/status.spec.ts +0 -448
  725. package/src/table/access.spec.ts +0 -128
  726. package/src/table/table.spec.ts +0 -651
  727. package/src/task/access.spec.ts +0 -131
  728. package/src/task/payload.spec.ts +0 -113
  729. package/src/task/task.spec.ts +0 -657
  730. package/src/user/access.spec.ts +0 -107
  731. package/src/user/user.spec.ts +0 -290
  732. package/src/util/retrieve.spec.ts +0 -49
  733. package/src/view/view.spec.ts +0 -165
  734. package/src/workspace/access.spec.ts +0 -108
  735. package/src/workspace/client.ts +0 -112
  736. package/src/workspace/types.gen.ts +0 -46
  737. package/src/workspace/workspace.spec.ts +0 -111
  738. package/tsconfig.json +0 -5
  739. package/tsconfig.vite.json +0 -4
  740. package/vite.config.ts +0 -29
  741. /package/dist/src/{workspace → project}/external.d.ts +0 -0
@@ -1,12 +1,22 @@
1
- import { status } from '@synnaxlabs/x';
2
1
  import { z } from 'zod';
3
2
  import { ontology } from '../ontology';
3
+ import { status } from '../status';
4
4
  export declare const MODES: readonly ["text", "graph"];
5
5
  export declare const modeZ: z.ZodEnum<{
6
6
  text: "text";
7
7
  graph: "graph";
8
8
  }>;
9
9
  export type Mode = z.infer<typeof modeZ>;
10
+ export declare const EXECUTION_MODES: readonly ["AUTO", "BUSY_WAIT", "HIGH_RATE", "RT_EVENT", "HYBRID", "EVENT_DRIVEN"];
11
+ export declare const executionModeZ: z.ZodEnum<{
12
+ AUTO: "AUTO";
13
+ BUSY_WAIT: "BUSY_WAIT";
14
+ HIGH_RATE: "HIGH_RATE";
15
+ RT_EVENT: "RT_EVENT";
16
+ HYBRID: "HYBRID";
17
+ EVENT_DRIVEN: "EVENT_DRIVEN";
18
+ }>;
19
+ export type ExecutionMode = z.infer<typeof executionModeZ>;
10
20
  /** StatusDetails contains Arc-specific status details for execution state. */
11
21
  export declare const statusDetailsZ: z.ZodObject<{
12
22
  running: z.ZodBoolean;
@@ -18,1194 +28,59 @@ export type Key = z.infer<typeof keyZ>;
18
28
  export declare const statusZ: status.StatusZodObject<z.ZodObject<{
19
29
  running: z.ZodBoolean;
20
30
  }, z.core.$strip>, z.ZodEnum<{
21
- success: "success";
22
31
  error: "error";
32
+ success: "success";
23
33
  info: "info";
24
34
  warning: "warning";
25
35
  loading: "loading";
26
36
  disabled: "disabled";
27
37
  }>>;
28
38
  export type Status = z.infer<typeof statusZ>;
29
- /** New contains parameters for creating a new Arc module. */
30
- export declare const newZ: z.ZodObject<{
31
- key: z.ZodOptional<z.ZodUUID>;
32
- name: z.ZodString;
33
- mode: z.ZodEnum<{
34
- text: "text";
35
- graph: "graph";
36
- }>;
37
- graph: z.ZodObject<{
38
- viewport: z.ZodObject<{
39
- position: z.ZodObject<{
40
- x: z.ZodNumber;
41
- y: z.ZodNumber;
42
- }, z.core.$strip>;
43
- zoom: z.ZodNumber;
44
- }, z.core.$strip>;
45
- functions: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
46
- key: string;
47
- config: {
48
- name: string;
49
- type: {
50
- kind: import('./types/types.gen').Kind;
51
- name: string;
52
- inputs?: /*elided*/ any[] | undefined;
53
- outputs?: /*elided*/ any[] | undefined;
54
- config?: /*elided*/ any[] | undefined;
55
- elem?: {
56
- kind: import('./types/types.gen').Kind;
57
- name: string;
58
- inputs?: /*elided*/ any[] | undefined;
59
- outputs?: /*elided*/ any[] | undefined;
60
- config?: /*elided*/ any[] | undefined;
61
- elem?: /*elided*/ any | undefined;
62
- unit?: {
63
- dimensions: {
64
- length: number;
65
- mass: number;
66
- time: number;
67
- current: number;
68
- temperature: number;
69
- angle: number;
70
- count: number;
71
- data: number;
72
- };
73
- scale: number;
74
- name: string;
75
- } | undefined;
76
- constraint?: /*elided*/ any | undefined;
77
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
78
- } | undefined;
79
- unit?: {
80
- dimensions: {
81
- length: number;
82
- mass: number;
83
- time: number;
84
- current: number;
85
- temperature: number;
86
- angle: number;
87
- count: number;
88
- data: number;
89
- };
90
- scale: number;
91
- name: string;
92
- } | undefined;
93
- constraint?: {
94
- kind: import('./types/types.gen').Kind;
95
- name: string;
96
- inputs?: /*elided*/ any[] | undefined;
97
- outputs?: /*elided*/ any[] | undefined;
98
- config?: /*elided*/ any[] | undefined;
99
- elem?: /*elided*/ any | undefined;
100
- unit?: {
101
- dimensions: {
102
- length: number;
103
- mass: number;
104
- time: number;
105
- current: number;
106
- temperature: number;
107
- angle: number;
108
- count: number;
109
- data: number;
110
- };
111
- scale: number;
112
- name: string;
113
- } | undefined;
114
- constraint?: /*elided*/ any | undefined;
115
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
116
- } | undefined;
117
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
118
- };
119
- value?: unknown;
120
- }[];
121
- inputs: {
122
- name: string;
123
- type: {
124
- kind: import('./types/types.gen').Kind;
125
- name: string;
126
- inputs?: /*elided*/ any[] | undefined;
127
- outputs?: /*elided*/ any[] | undefined;
128
- config?: /*elided*/ any[] | undefined;
129
- elem?: {
130
- kind: import('./types/types.gen').Kind;
131
- name: string;
132
- inputs?: /*elided*/ any[] | undefined;
133
- outputs?: /*elided*/ any[] | undefined;
134
- config?: /*elided*/ any[] | undefined;
135
- elem?: /*elided*/ any | undefined;
136
- unit?: {
137
- dimensions: {
138
- length: number;
139
- mass: number;
140
- time: number;
141
- current: number;
142
- temperature: number;
143
- angle: number;
144
- count: number;
145
- data: number;
146
- };
147
- scale: number;
148
- name: string;
149
- } | undefined;
150
- constraint?: /*elided*/ any | undefined;
151
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
152
- } | undefined;
153
- unit?: {
154
- dimensions: {
155
- length: number;
156
- mass: number;
157
- time: number;
158
- current: number;
159
- temperature: number;
160
- angle: number;
161
- count: number;
162
- data: number;
163
- };
164
- scale: number;
165
- name: string;
166
- } | undefined;
167
- constraint?: {
168
- kind: import('./types/types.gen').Kind;
169
- name: string;
170
- inputs?: /*elided*/ any[] | undefined;
171
- outputs?: /*elided*/ any[] | undefined;
172
- config?: /*elided*/ any[] | undefined;
173
- elem?: /*elided*/ any | undefined;
174
- unit?: {
175
- dimensions: {
176
- length: number;
177
- mass: number;
178
- time: number;
179
- current: number;
180
- temperature: number;
181
- angle: number;
182
- count: number;
183
- data: number;
184
- };
185
- scale: number;
186
- name: string;
187
- } | undefined;
188
- constraint?: /*elided*/ any | undefined;
189
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
190
- } | undefined;
191
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
192
- };
193
- value?: unknown;
194
- }[];
195
- outputs: {
196
- name: string;
197
- type: {
198
- kind: import('./types/types.gen').Kind;
199
- name: string;
200
- inputs?: /*elided*/ any[] | undefined;
201
- outputs?: /*elided*/ any[] | undefined;
202
- config?: /*elided*/ any[] | undefined;
203
- elem?: {
204
- kind: import('./types/types.gen').Kind;
205
- name: string;
206
- inputs?: /*elided*/ any[] | undefined;
207
- outputs?: /*elided*/ any[] | undefined;
208
- config?: /*elided*/ any[] | undefined;
209
- elem?: /*elided*/ any | undefined;
210
- unit?: {
211
- dimensions: {
212
- length: number;
213
- mass: number;
214
- time: number;
215
- current: number;
216
- temperature: number;
217
- angle: number;
218
- count: number;
219
- data: number;
220
- };
221
- scale: number;
222
- name: string;
223
- } | undefined;
224
- constraint?: /*elided*/ any | undefined;
225
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
226
- } | undefined;
227
- unit?: {
228
- dimensions: {
229
- length: number;
230
- mass: number;
231
- time: number;
232
- current: number;
233
- temperature: number;
234
- angle: number;
235
- count: number;
236
- data: number;
237
- };
238
- scale: number;
239
- name: string;
240
- } | undefined;
241
- constraint?: {
242
- kind: import('./types/types.gen').Kind;
243
- name: string;
244
- inputs?: /*elided*/ any[] | undefined;
245
- outputs?: /*elided*/ any[] | undefined;
246
- config?: /*elided*/ any[] | undefined;
247
- elem?: /*elided*/ any | undefined;
248
- unit?: {
249
- dimensions: {
250
- length: number;
251
- mass: number;
252
- time: number;
253
- current: number;
254
- temperature: number;
255
- angle: number;
256
- count: number;
257
- data: number;
258
- };
259
- scale: number;
260
- name: string;
261
- } | undefined;
262
- constraint?: /*elided*/ any | undefined;
263
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
264
- } | undefined;
265
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
266
- };
267
- value?: unknown;
268
- }[];
269
- channels: {
270
- read: Record<number, string>;
271
- write: Record<number, string>;
272
- };
273
- body?: {
274
- raw: string;
275
- } | undefined;
276
- }[], null>>, z.ZodArray<z.ZodObject<{
277
- key: z.ZodString;
278
- body: z.ZodOptional<z.ZodObject<{
279
- raw: z.ZodString;
280
- }, z.core.$strip>>;
281
- config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
282
- name: string;
283
- type: {
284
- kind: import('./types/types.gen').Kind;
285
- name: string;
286
- inputs?: /*elided*/ any[] | undefined;
287
- outputs?: /*elided*/ any[] | undefined;
288
- config?: /*elided*/ any[] | undefined;
289
- elem?: {
290
- kind: import('./types/types.gen').Kind;
291
- name: string;
292
- inputs?: /*elided*/ any[] | undefined;
293
- outputs?: /*elided*/ any[] | undefined;
294
- config?: /*elided*/ any[] | undefined;
295
- elem?: /*elided*/ any | undefined;
296
- unit?: {
297
- dimensions: {
298
- length: number;
299
- mass: number;
300
- time: number;
301
- current: number;
302
- temperature: number;
303
- angle: number;
304
- count: number;
305
- data: number;
306
- };
307
- scale: number;
308
- name: string;
309
- } | undefined;
310
- constraint?: /*elided*/ any | undefined;
311
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
312
- } | undefined;
313
- unit?: {
314
- dimensions: {
315
- length: number;
316
- mass: number;
317
- time: number;
318
- current: number;
319
- temperature: number;
320
- angle: number;
321
- count: number;
322
- data: number;
323
- };
324
- scale: number;
325
- name: string;
326
- } | undefined;
327
- constraint?: {
328
- kind: import('./types/types.gen').Kind;
329
- name: string;
330
- inputs?: /*elided*/ any[] | undefined;
331
- outputs?: /*elided*/ any[] | undefined;
332
- config?: /*elided*/ any[] | undefined;
333
- elem?: /*elided*/ any | undefined;
334
- unit?: {
335
- dimensions: {
336
- length: number;
337
- mass: number;
338
- time: number;
339
- current: number;
340
- temperature: number;
341
- angle: number;
342
- count: number;
343
- data: number;
344
- };
345
- scale: number;
346
- name: string;
347
- } | undefined;
348
- constraint?: /*elided*/ any | undefined;
349
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
350
- } | undefined;
351
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
352
- };
353
- value?: unknown;
354
- }[], null>>, z.ZodArray<z.ZodObject<{
355
- name: z.ZodString;
356
- type: z.ZodObject<{
357
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
358
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
359
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
360
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
361
- name: z.ZodString;
362
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
363
- unit: z.ZodOptional<z.ZodObject<{
364
- dimensions: z.ZodObject<{
365
- length: z.ZodInt;
366
- mass: z.ZodInt;
367
- time: z.ZodInt;
368
- current: z.ZodInt;
369
- temperature: z.ZodInt;
370
- angle: z.ZodInt;
371
- count: z.ZodInt;
372
- data: z.ZodInt;
373
- }, z.core.$strip>;
374
- scale: z.ZodNumber;
375
- name: z.ZodString;
376
- }, z.core.$strip>>;
377
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
378
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
379
- }, z.core.$strip>;
380
- value: z.ZodOptional<z.ZodUnknown>;
381
- }, z.core.$strip>>]>>;
382
- inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
383
- name: string;
384
- type: {
385
- kind: import('./types/types.gen').Kind;
386
- name: string;
387
- inputs?: /*elided*/ any[] | undefined;
388
- outputs?: /*elided*/ any[] | undefined;
389
- config?: /*elided*/ any[] | undefined;
390
- elem?: {
391
- kind: import('./types/types.gen').Kind;
392
- name: string;
393
- inputs?: /*elided*/ any[] | undefined;
394
- outputs?: /*elided*/ any[] | undefined;
395
- config?: /*elided*/ any[] | undefined;
396
- elem?: /*elided*/ any | undefined;
397
- unit?: {
398
- dimensions: {
399
- length: number;
400
- mass: number;
401
- time: number;
402
- current: number;
403
- temperature: number;
404
- angle: number;
405
- count: number;
406
- data: number;
407
- };
408
- scale: number;
409
- name: string;
410
- } | undefined;
411
- constraint?: /*elided*/ any | undefined;
412
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
413
- } | undefined;
414
- unit?: {
415
- dimensions: {
416
- length: number;
417
- mass: number;
418
- time: number;
419
- current: number;
420
- temperature: number;
421
- angle: number;
422
- count: number;
423
- data: number;
424
- };
425
- scale: number;
426
- name: string;
427
- } | undefined;
428
- constraint?: {
429
- kind: import('./types/types.gen').Kind;
430
- name: string;
431
- inputs?: /*elided*/ any[] | undefined;
432
- outputs?: /*elided*/ any[] | undefined;
433
- config?: /*elided*/ any[] | undefined;
434
- elem?: /*elided*/ any | undefined;
435
- unit?: {
436
- dimensions: {
437
- length: number;
438
- mass: number;
439
- time: number;
440
- current: number;
441
- temperature: number;
442
- angle: number;
443
- count: number;
444
- data: number;
445
- };
446
- scale: number;
447
- name: string;
448
- } | undefined;
449
- constraint?: /*elided*/ any | undefined;
450
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
451
- } | undefined;
452
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
453
- };
454
- value?: unknown;
455
- }[], null>>, z.ZodArray<z.ZodObject<{
456
- name: z.ZodString;
457
- type: z.ZodObject<{
458
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
459
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
460
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
461
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
462
- name: z.ZodString;
463
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
464
- unit: z.ZodOptional<z.ZodObject<{
465
- dimensions: z.ZodObject<{
466
- length: z.ZodInt;
467
- mass: z.ZodInt;
468
- time: z.ZodInt;
469
- current: z.ZodInt;
470
- temperature: z.ZodInt;
471
- angle: z.ZodInt;
472
- count: z.ZodInt;
473
- data: z.ZodInt;
474
- }, z.core.$strip>;
475
- scale: z.ZodNumber;
476
- name: z.ZodString;
477
- }, z.core.$strip>>;
478
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
479
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
480
- }, z.core.$strip>;
481
- value: z.ZodOptional<z.ZodUnknown>;
482
- }, z.core.$strip>>]>>;
483
- outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
484
- name: string;
485
- type: {
486
- kind: import('./types/types.gen').Kind;
487
- name: string;
488
- inputs?: /*elided*/ any[] | undefined;
489
- outputs?: /*elided*/ any[] | undefined;
490
- config?: /*elided*/ any[] | undefined;
491
- elem?: {
492
- kind: import('./types/types.gen').Kind;
493
- name: string;
494
- inputs?: /*elided*/ any[] | undefined;
495
- outputs?: /*elided*/ any[] | undefined;
496
- config?: /*elided*/ any[] | undefined;
497
- elem?: /*elided*/ any | undefined;
498
- unit?: {
499
- dimensions: {
500
- length: number;
501
- mass: number;
502
- time: number;
503
- current: number;
504
- temperature: number;
505
- angle: number;
506
- count: number;
507
- data: number;
508
- };
509
- scale: number;
510
- name: string;
511
- } | undefined;
512
- constraint?: /*elided*/ any | undefined;
513
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
514
- } | undefined;
515
- unit?: {
516
- dimensions: {
517
- length: number;
518
- mass: number;
519
- time: number;
520
- current: number;
521
- temperature: number;
522
- angle: number;
523
- count: number;
524
- data: number;
525
- };
526
- scale: number;
527
- name: string;
528
- } | undefined;
529
- constraint?: {
530
- kind: import('./types/types.gen').Kind;
531
- name: string;
532
- inputs?: /*elided*/ any[] | undefined;
533
- outputs?: /*elided*/ any[] | undefined;
534
- config?: /*elided*/ any[] | undefined;
535
- elem?: /*elided*/ any | undefined;
536
- unit?: {
537
- dimensions: {
538
- length: number;
539
- mass: number;
540
- time: number;
541
- current: number;
542
- temperature: number;
543
- angle: number;
544
- count: number;
545
- data: number;
546
- };
547
- scale: number;
548
- name: string;
549
- } | undefined;
550
- constraint?: /*elided*/ any | undefined;
551
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
552
- } | undefined;
553
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
554
- };
555
- value?: unknown;
556
- }[], null>>, z.ZodArray<z.ZodObject<{
557
- name: z.ZodString;
558
- type: z.ZodObject<{
559
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
560
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
561
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
562
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
563
- name: z.ZodString;
564
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
565
- unit: z.ZodOptional<z.ZodObject<{
566
- dimensions: z.ZodObject<{
567
- length: z.ZodInt;
568
- mass: z.ZodInt;
569
- time: z.ZodInt;
570
- current: z.ZodInt;
571
- temperature: z.ZodInt;
572
- angle: z.ZodInt;
573
- count: z.ZodInt;
574
- data: z.ZodInt;
575
- }, z.core.$strip>;
576
- scale: z.ZodNumber;
577
- name: z.ZodString;
578
- }, z.core.$strip>>;
579
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
580
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
581
- }, z.core.$strip>;
582
- value: z.ZodOptional<z.ZodUnknown>;
583
- }, z.core.$strip>>]>>;
584
- channels: z.ZodObject<{
585
- read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
586
- write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
587
- }, z.core.$strip>;
588
- }, z.core.$strip>>]>>;
589
- edges: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
590
- source: {
591
- node: string;
592
- param: string;
593
- };
594
- target: {
595
- node: string;
596
- param: string;
597
- };
598
- kind: import('./ir/types.gen').EdgeKind;
599
- }[], null>>, z.ZodArray<z.ZodObject<{
600
- source: z.ZodObject<{
601
- node: z.ZodString;
602
- param: z.ZodString;
603
- }, z.core.$strip>;
604
- target: z.ZodObject<{
605
- node: z.ZodString;
606
- param: z.ZodString;
607
- }, z.core.$strip>;
608
- kind: z.ZodEnum<typeof import('./ir/types.gen').EdgeKind>;
609
- }, z.core.$strip>>]>>;
610
- nodes: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
611
- key: string;
612
- type: string;
613
- config: import('@synnaxlabs/x/dist/src/record/record').Unknown;
614
- position: {
615
- x: number;
616
- y: number;
617
- };
618
- }[], null>>, z.ZodArray<z.ZodObject<{
619
- key: z.ZodString;
620
- type: z.ZodString;
621
- config: z.ZodType<import('@synnaxlabs/x/dist/src/record/record').Unknown, unknown, z.core.$ZodTypeInternals<import('@synnaxlabs/x/dist/src/record/record').Unknown, unknown>>;
622
- position: z.ZodObject<{
623
- x: z.ZodNumber;
624
- y: z.ZodNumber;
625
- }, z.core.$strip>;
626
- }, z.core.$strip>>]>>;
627
- }, z.core.$strip>;
628
- text: z.ZodObject<{
629
- raw: z.ZodString;
630
- }, z.core.$strip>;
39
+ export declare const taskConfigZ: z.ZodObject<{
40
+ key: z.ZodDefault<z.ZodUUID>;
41
+ autoStart: z.ZodDefault<z.ZodBoolean>;
42
+ dataSavingDisabled: z.ZodDefault<z.ZodBoolean>;
43
+ arcKey: z.ZodUUID;
44
+ hash: z.ZodDefault<z.ZodString>;
45
+ executionMode: z.ZodDefault<z.ZodEnum<{
46
+ AUTO: "AUTO";
47
+ BUSY_WAIT: "BUSY_WAIT";
48
+ HIGH_RATE: "HIGH_RATE";
49
+ RT_EVENT: "RT_EVENT";
50
+ HYBRID: "HYBRID";
51
+ EVENT_DRIVEN: "EVENT_DRIVEN";
52
+ }>>;
53
+ rtPriority: z.ZodDefault<z.ZodInt32>;
54
+ cpuAffinity: z.ZodDefault<z.ZodInt32>;
55
+ memoryLocked: z.ZodDefault<z.ZodBoolean>;
631
56
  }, z.core.$strip>;
632
- export interface New extends z.input<typeof newZ> {
57
+ export interface TaskConfig extends z.infer<typeof taskConfigZ> {
633
58
  }
634
59
  /**
635
- * Arc is an Arc module combining visual graph representation and text-based
636
- * source code for reactive control systems. Compiles to WebAssembly for
637
- * sandboxed execution.
60
+ * Arc is an Arc module combining visual graph representation and text-based source code
61
+ * for reactive control systems. Compiles to WebAssembly for sandboxed execution.
638
62
  */
639
63
  export declare const arcZ: z.ZodObject<{
640
- key: z.ZodUUID;
64
+ key: z.ZodDefault<z.ZodUUID>;
641
65
  name: z.ZodString;
642
66
  mode: z.ZodEnum<{
643
67
  text: "text";
644
68
  graph: "graph";
645
69
  }>;
646
- graph: z.ZodObject<{
647
- viewport: z.ZodObject<{
648
- position: z.ZodObject<{
649
- x: z.ZodNumber;
650
- y: z.ZodNumber;
651
- }, z.core.$strip>;
652
- zoom: z.ZodNumber;
653
- }, z.core.$strip>;
654
- functions: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
655
- key: string;
656
- config: {
657
- name: string;
658
- type: {
659
- kind: import('./types/types.gen').Kind;
660
- name: string;
661
- inputs?: /*elided*/ any[] | undefined;
662
- outputs?: /*elided*/ any[] | undefined;
663
- config?: /*elided*/ any[] | undefined;
664
- elem?: {
665
- kind: import('./types/types.gen').Kind;
666
- name: string;
667
- inputs?: /*elided*/ any[] | undefined;
668
- outputs?: /*elided*/ any[] | undefined;
669
- config?: /*elided*/ any[] | undefined;
670
- elem?: /*elided*/ any | undefined;
671
- unit?: {
672
- dimensions: {
673
- length: number;
674
- mass: number;
675
- time: number;
676
- current: number;
677
- temperature: number;
678
- angle: number;
679
- count: number;
680
- data: number;
681
- };
682
- scale: number;
683
- name: string;
684
- } | undefined;
685
- constraint?: /*elided*/ any | undefined;
686
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
687
- } | undefined;
688
- unit?: {
689
- dimensions: {
690
- length: number;
691
- mass: number;
692
- time: number;
693
- current: number;
694
- temperature: number;
695
- angle: number;
696
- count: number;
697
- data: number;
698
- };
699
- scale: number;
700
- name: string;
701
- } | undefined;
702
- constraint?: {
703
- kind: import('./types/types.gen').Kind;
704
- name: string;
705
- inputs?: /*elided*/ any[] | undefined;
706
- outputs?: /*elided*/ any[] | undefined;
707
- config?: /*elided*/ any[] | undefined;
708
- elem?: /*elided*/ any | undefined;
709
- unit?: {
710
- dimensions: {
711
- length: number;
712
- mass: number;
713
- time: number;
714
- current: number;
715
- temperature: number;
716
- angle: number;
717
- count: number;
718
- data: number;
719
- };
720
- scale: number;
721
- name: string;
722
- } | undefined;
723
- constraint?: /*elided*/ any | undefined;
724
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
725
- } | undefined;
726
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
727
- };
728
- value?: unknown;
729
- }[];
730
- inputs: {
731
- name: string;
732
- type: {
733
- kind: import('./types/types.gen').Kind;
734
- name: string;
735
- inputs?: /*elided*/ any[] | undefined;
736
- outputs?: /*elided*/ any[] | undefined;
737
- config?: /*elided*/ any[] | undefined;
738
- elem?: {
739
- kind: import('./types/types.gen').Kind;
740
- name: string;
741
- inputs?: /*elided*/ any[] | undefined;
742
- outputs?: /*elided*/ any[] | undefined;
743
- config?: /*elided*/ any[] | undefined;
744
- elem?: /*elided*/ any | undefined;
745
- unit?: {
746
- dimensions: {
747
- length: number;
748
- mass: number;
749
- time: number;
750
- current: number;
751
- temperature: number;
752
- angle: number;
753
- count: number;
754
- data: number;
755
- };
756
- scale: number;
757
- name: string;
758
- } | undefined;
759
- constraint?: /*elided*/ any | undefined;
760
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
761
- } | undefined;
762
- unit?: {
763
- dimensions: {
764
- length: number;
765
- mass: number;
766
- time: number;
767
- current: number;
768
- temperature: number;
769
- angle: number;
770
- count: number;
771
- data: number;
772
- };
773
- scale: number;
774
- name: string;
775
- } | undefined;
776
- constraint?: {
777
- kind: import('./types/types.gen').Kind;
778
- name: string;
779
- inputs?: /*elided*/ any[] | undefined;
780
- outputs?: /*elided*/ any[] | undefined;
781
- config?: /*elided*/ any[] | undefined;
782
- elem?: /*elided*/ any | undefined;
783
- unit?: {
784
- dimensions: {
785
- length: number;
786
- mass: number;
787
- time: number;
788
- current: number;
789
- temperature: number;
790
- angle: number;
791
- count: number;
792
- data: number;
793
- };
794
- scale: number;
795
- name: string;
796
- } | undefined;
797
- constraint?: /*elided*/ any | undefined;
798
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
799
- } | undefined;
800
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
801
- };
802
- value?: unknown;
803
- }[];
804
- outputs: {
805
- name: string;
806
- type: {
807
- kind: import('./types/types.gen').Kind;
808
- name: string;
809
- inputs?: /*elided*/ any[] | undefined;
810
- outputs?: /*elided*/ any[] | undefined;
811
- config?: /*elided*/ any[] | undefined;
812
- elem?: {
813
- kind: import('./types/types.gen').Kind;
814
- name: string;
815
- inputs?: /*elided*/ any[] | undefined;
816
- outputs?: /*elided*/ any[] | undefined;
817
- config?: /*elided*/ any[] | undefined;
818
- elem?: /*elided*/ any | undefined;
819
- unit?: {
820
- dimensions: {
821
- length: number;
822
- mass: number;
823
- time: number;
824
- current: number;
825
- temperature: number;
826
- angle: number;
827
- count: number;
828
- data: number;
829
- };
830
- scale: number;
831
- name: string;
832
- } | undefined;
833
- constraint?: /*elided*/ any | undefined;
834
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
835
- } | undefined;
836
- unit?: {
837
- dimensions: {
838
- length: number;
839
- mass: number;
840
- time: number;
841
- current: number;
842
- temperature: number;
843
- angle: number;
844
- count: number;
845
- data: number;
846
- };
847
- scale: number;
848
- name: string;
849
- } | undefined;
850
- constraint?: {
851
- kind: import('./types/types.gen').Kind;
852
- name: string;
853
- inputs?: /*elided*/ any[] | undefined;
854
- outputs?: /*elided*/ any[] | undefined;
855
- config?: /*elided*/ any[] | undefined;
856
- elem?: /*elided*/ any | undefined;
857
- unit?: {
858
- dimensions: {
859
- length: number;
860
- mass: number;
861
- time: number;
862
- current: number;
863
- temperature: number;
864
- angle: number;
865
- count: number;
866
- data: number;
867
- };
868
- scale: number;
869
- name: string;
870
- } | undefined;
871
- constraint?: /*elided*/ any | undefined;
872
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
873
- } | undefined;
874
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
875
- };
876
- value?: unknown;
877
- }[];
878
- channels: {
879
- read: Record<number, string>;
880
- write: Record<number, string>;
881
- };
882
- body?: {
883
- raw: string;
884
- } | undefined;
885
- }[], null>>, z.ZodArray<z.ZodObject<{
70
+ graph: z.ZodPrefault<z.ZodObject<{
71
+ functions: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodObject<{
886
72
  key: z.ZodString;
887
- body: z.ZodOptional<z.ZodObject<{
73
+ body: z.ZodObject<{
888
74
  raw: z.ZodString;
889
- }, z.core.$strip>>;
890
- config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
891
- name: string;
892
- type: {
893
- kind: import('./types/types.gen').Kind;
894
- name: string;
895
- inputs?: /*elided*/ any[] | undefined;
896
- outputs?: /*elided*/ any[] | undefined;
897
- config?: /*elided*/ any[] | undefined;
898
- elem?: {
899
- kind: import('./types/types.gen').Kind;
900
- name: string;
901
- inputs?: /*elided*/ any[] | undefined;
902
- outputs?: /*elided*/ any[] | undefined;
903
- config?: /*elided*/ any[] | undefined;
904
- elem?: /*elided*/ any | undefined;
905
- unit?: {
906
- dimensions: {
907
- length: number;
908
- mass: number;
909
- time: number;
910
- current: number;
911
- temperature: number;
912
- angle: number;
913
- count: number;
914
- data: number;
915
- };
916
- scale: number;
917
- name: string;
918
- } | undefined;
919
- constraint?: /*elided*/ any | undefined;
920
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
921
- } | undefined;
922
- unit?: {
923
- dimensions: {
924
- length: number;
925
- mass: number;
926
- time: number;
927
- current: number;
928
- temperature: number;
929
- angle: number;
930
- count: number;
931
- data: number;
932
- };
933
- scale: number;
934
- name: string;
935
- } | undefined;
936
- constraint?: {
937
- kind: import('./types/types.gen').Kind;
938
- name: string;
939
- inputs?: /*elided*/ any[] | undefined;
940
- outputs?: /*elided*/ any[] | undefined;
941
- config?: /*elided*/ any[] | undefined;
942
- elem?: /*elided*/ any | undefined;
943
- unit?: {
944
- dimensions: {
945
- length: number;
946
- mass: number;
947
- time: number;
948
- current: number;
949
- temperature: number;
950
- angle: number;
951
- count: number;
952
- data: number;
953
- };
954
- scale: number;
955
- name: string;
956
- } | undefined;
957
- constraint?: /*elided*/ any | undefined;
958
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
959
- } | undefined;
960
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
961
- };
962
- value?: unknown;
963
- }[], null>>, z.ZodArray<z.ZodObject<{
964
- name: z.ZodString;
965
- type: z.ZodObject<{
966
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
967
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
968
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
969
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
970
- name: z.ZodString;
971
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
972
- unit: z.ZodOptional<z.ZodObject<{
973
- dimensions: z.ZodObject<{
974
- length: z.ZodInt;
975
- mass: z.ZodInt;
976
- time: z.ZodInt;
977
- current: z.ZodInt;
978
- temperature: z.ZodInt;
979
- angle: z.ZodInt;
980
- count: z.ZodInt;
981
- data: z.ZodInt;
982
- }, z.core.$strip>;
983
- scale: z.ZodNumber;
984
- name: z.ZodString;
985
- }, z.core.$strip>>;
986
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
987
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
988
- }, z.core.$strip>;
989
- value: z.ZodOptional<z.ZodUnknown>;
990
- }, z.core.$strip>>]>>;
991
- inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
992
- name: string;
993
- type: {
994
- kind: import('./types/types.gen').Kind;
995
- name: string;
996
- inputs?: /*elided*/ any[] | undefined;
997
- outputs?: /*elided*/ any[] | undefined;
998
- config?: /*elided*/ any[] | undefined;
999
- elem?: {
1000
- kind: import('./types/types.gen').Kind;
1001
- name: string;
1002
- inputs?: /*elided*/ any[] | undefined;
1003
- outputs?: /*elided*/ any[] | undefined;
1004
- config?: /*elided*/ any[] | undefined;
1005
- elem?: /*elided*/ any | undefined;
1006
- unit?: {
1007
- dimensions: {
1008
- length: number;
1009
- mass: number;
1010
- time: number;
1011
- current: number;
1012
- temperature: number;
1013
- angle: number;
1014
- count: number;
1015
- data: number;
1016
- };
1017
- scale: number;
1018
- name: string;
1019
- } | undefined;
1020
- constraint?: /*elided*/ any | undefined;
1021
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1022
- } | undefined;
1023
- unit?: {
1024
- dimensions: {
1025
- length: number;
1026
- mass: number;
1027
- time: number;
1028
- current: number;
1029
- temperature: number;
1030
- angle: number;
1031
- count: number;
1032
- data: number;
1033
- };
1034
- scale: number;
1035
- name: string;
1036
- } | undefined;
1037
- constraint?: {
1038
- kind: import('./types/types.gen').Kind;
1039
- name: string;
1040
- inputs?: /*elided*/ any[] | undefined;
1041
- outputs?: /*elided*/ any[] | undefined;
1042
- config?: /*elided*/ any[] | undefined;
1043
- elem?: /*elided*/ any | undefined;
1044
- unit?: {
1045
- dimensions: {
1046
- length: number;
1047
- mass: number;
1048
- time: number;
1049
- current: number;
1050
- temperature: number;
1051
- angle: number;
1052
- count: number;
1053
- data: number;
1054
- };
1055
- scale: number;
1056
- name: string;
1057
- } | undefined;
1058
- constraint?: /*elided*/ any | undefined;
1059
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1060
- } | undefined;
1061
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1062
- };
1063
- value?: unknown;
1064
- }[], null>>, z.ZodArray<z.ZodObject<{
1065
- name: z.ZodString;
1066
- type: z.ZodObject<{
1067
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1068
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1069
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1070
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
1071
- name: z.ZodString;
1072
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1073
- unit: z.ZodOptional<z.ZodObject<{
1074
- dimensions: z.ZodObject<{
1075
- length: z.ZodInt;
1076
- mass: z.ZodInt;
1077
- time: z.ZodInt;
1078
- current: z.ZodInt;
1079
- temperature: z.ZodInt;
1080
- angle: z.ZodInt;
1081
- count: z.ZodInt;
1082
- data: z.ZodInt;
1083
- }, z.core.$strip>;
1084
- scale: z.ZodNumber;
1085
- name: z.ZodString;
1086
- }, z.core.$strip>>;
1087
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1088
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
1089
- }, z.core.$strip>;
1090
- value: z.ZodOptional<z.ZodUnknown>;
1091
- }, z.core.$strip>>]>>;
1092
- outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1093
- name: string;
1094
- type: {
1095
- kind: import('./types/types.gen').Kind;
1096
- name: string;
1097
- inputs?: /*elided*/ any[] | undefined;
1098
- outputs?: /*elided*/ any[] | undefined;
1099
- config?: /*elided*/ any[] | undefined;
1100
- elem?: {
1101
- kind: import('./types/types.gen').Kind;
1102
- name: string;
1103
- inputs?: /*elided*/ any[] | undefined;
1104
- outputs?: /*elided*/ any[] | undefined;
1105
- config?: /*elided*/ any[] | undefined;
1106
- elem?: /*elided*/ any | undefined;
1107
- unit?: {
1108
- dimensions: {
1109
- length: number;
1110
- mass: number;
1111
- time: number;
1112
- current: number;
1113
- temperature: number;
1114
- angle: number;
1115
- count: number;
1116
- data: number;
1117
- };
1118
- scale: number;
1119
- name: string;
1120
- } | undefined;
1121
- constraint?: /*elided*/ any | undefined;
1122
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1123
- } | undefined;
1124
- unit?: {
1125
- dimensions: {
1126
- length: number;
1127
- mass: number;
1128
- time: number;
1129
- current: number;
1130
- temperature: number;
1131
- angle: number;
1132
- count: number;
1133
- data: number;
1134
- };
1135
- scale: number;
1136
- name: string;
1137
- } | undefined;
1138
- constraint?: {
1139
- kind: import('./types/types.gen').Kind;
1140
- name: string;
1141
- inputs?: /*elided*/ any[] | undefined;
1142
- outputs?: /*elided*/ any[] | undefined;
1143
- config?: /*elided*/ any[] | undefined;
1144
- elem?: /*elided*/ any | undefined;
1145
- unit?: {
1146
- dimensions: {
1147
- length: number;
1148
- mass: number;
1149
- time: number;
1150
- current: number;
1151
- temperature: number;
1152
- angle: number;
1153
- count: number;
1154
- data: number;
1155
- };
1156
- scale: number;
1157
- name: string;
1158
- } | undefined;
1159
- constraint?: /*elided*/ any | undefined;
1160
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1161
- } | undefined;
1162
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1163
- };
1164
- value?: unknown;
1165
- }[], null>>, z.ZodArray<z.ZodObject<{
1166
- name: z.ZodString;
1167
- type: z.ZodObject<{
1168
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1169
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1170
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1171
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
1172
- name: z.ZodString;
1173
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1174
- unit: z.ZodOptional<z.ZodObject<{
1175
- dimensions: z.ZodObject<{
1176
- length: z.ZodInt;
1177
- mass: z.ZodInt;
1178
- time: z.ZodInt;
1179
- current: z.ZodInt;
1180
- temperature: z.ZodInt;
1181
- angle: z.ZodInt;
1182
- count: z.ZodInt;
1183
- data: z.ZodInt;
1184
- }, z.core.$strip>;
1185
- scale: z.ZodNumber;
1186
- name: z.ZodString;
1187
- }, z.core.$strip>>;
1188
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1189
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
1190
- }, z.core.$strip>;
1191
- value: z.ZodOptional<z.ZodUnknown>;
1192
- }, z.core.$strip>>]>>;
75
+ }, z.core.$strip>;
76
+ inputs: z.ZodDefault<z.ZodArray<z.ZodType<import('..').Param, unknown, z.core.$ZodTypeInternals<import('..').Param, unknown>>>>;
77
+ outputs: z.ZodDefault<z.ZodArray<z.ZodType<import('..').Param, unknown, z.core.$ZodTypeInternals<import('..').Param, unknown>>>>;
1193
78
  channels: z.ZodObject<{
1194
- read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1195
- write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
79
+ read: z.ZodDefault<z.ZodRecord<z.ZodUInt32, z.ZodString>>;
80
+ write: z.ZodDefault<z.ZodRecord<z.ZodUInt32, z.ZodString>>;
1196
81
  }, z.core.$strip>;
1197
- }, z.core.$strip>>]>>;
1198
- edges: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1199
- source: {
1200
- node: string;
1201
- param: string;
1202
- };
1203
- target: {
1204
- node: string;
1205
- param: string;
1206
- };
1207
- kind: import('./ir/types.gen').EdgeKind;
1208
- }[], null>>, z.ZodArray<z.ZodObject<{
82
+ }, z.core.$strip>>>>;
83
+ edges: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodObject<{
1209
84
  source: z.ZodObject<{
1210
85
  node: z.ZodString;
1211
86
  param: z.ZodString;
@@ -1215,1124 +90,67 @@ export declare const arcZ: z.ZodObject<{
1215
90
  param: z.ZodString;
1216
91
  }, z.core.$strip>;
1217
92
  kind: z.ZodEnum<typeof import('./ir/types.gen').EdgeKind>;
1218
- }, z.core.$strip>>]>>;
1219
- nodes: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1220
- key: string;
1221
- type: string;
1222
- config: import('@synnaxlabs/x/dist/src/record/record').Unknown;
1223
- position: {
1224
- x: number;
1225
- y: number;
1226
- };
1227
- }[], null>>, z.ZodArray<z.ZodObject<{
1228
93
  key: z.ZodString;
1229
- type: z.ZodString;
1230
- config: z.ZodType<import('@synnaxlabs/x/dist/src/record/record').Unknown, unknown, z.core.$ZodTypeInternals<import('@synnaxlabs/x/dist/src/record/record').Unknown, unknown>>;
94
+ }, z.core.$strip>>>>;
95
+ nodes: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodObject<{
96
+ key: z.ZodString;
1231
97
  position: z.ZodObject<{
1232
98
  x: z.ZodNumber;
1233
99
  y: z.ZodNumber;
1234
100
  }, z.core.$strip>;
1235
- }, z.core.$strip>>]>>;
1236
- }, z.core.$strip>;
1237
- text: z.ZodObject<{
1238
- raw: z.ZodString;
1239
- }, z.core.$strip>;
1240
- program: z.ZodOptional<z.ZodObject<{
1241
- functions: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1242
- key: string;
1243
- config: {
1244
- name: string;
1245
- type: {
1246
- kind: import('./types/types.gen').Kind;
1247
- name: string;
1248
- inputs?: /*elided*/ any[] | undefined;
1249
- outputs?: /*elided*/ any[] | undefined;
1250
- config?: /*elided*/ any[] | undefined;
1251
- elem?: {
1252
- kind: import('./types/types.gen').Kind;
1253
- name: string;
1254
- inputs?: /*elided*/ any[] | undefined;
1255
- outputs?: /*elided*/ any[] | undefined;
1256
- config?: /*elided*/ any[] | undefined;
1257
- elem?: /*elided*/ any | undefined;
1258
- unit?: {
1259
- dimensions: {
1260
- length: number;
1261
- mass: number;
1262
- time: number;
1263
- current: number;
1264
- temperature: number;
1265
- angle: number;
1266
- count: number;
1267
- data: number;
1268
- };
1269
- scale: number;
1270
- name: string;
1271
- } | undefined;
1272
- constraint?: /*elided*/ any | undefined;
1273
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1274
- } | undefined;
1275
- unit?: {
1276
- dimensions: {
1277
- length: number;
1278
- mass: number;
1279
- time: number;
1280
- current: number;
1281
- temperature: number;
1282
- angle: number;
1283
- count: number;
1284
- data: number;
1285
- };
1286
- scale: number;
1287
- name: string;
1288
- } | undefined;
1289
- constraint?: {
1290
- kind: import('./types/types.gen').Kind;
1291
- name: string;
1292
- inputs?: /*elided*/ any[] | undefined;
1293
- outputs?: /*elided*/ any[] | undefined;
1294
- config?: /*elided*/ any[] | undefined;
1295
- elem?: /*elided*/ any | undefined;
1296
- unit?: {
1297
- dimensions: {
1298
- length: number;
1299
- mass: number;
1300
- time: number;
1301
- current: number;
1302
- temperature: number;
1303
- angle: number;
1304
- count: number;
1305
- data: number;
1306
- };
1307
- scale: number;
1308
- name: string;
1309
- } | undefined;
1310
- constraint?: /*elided*/ any | undefined;
1311
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1312
- } | undefined;
1313
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1314
- };
1315
- value?: unknown;
1316
- }[];
1317
- inputs: {
1318
- name: string;
1319
- type: {
1320
- kind: import('./types/types.gen').Kind;
1321
- name: string;
1322
- inputs?: /*elided*/ any[] | undefined;
1323
- outputs?: /*elided*/ any[] | undefined;
1324
- config?: /*elided*/ any[] | undefined;
1325
- elem?: {
1326
- kind: import('./types/types.gen').Kind;
1327
- name: string;
1328
- inputs?: /*elided*/ any[] | undefined;
1329
- outputs?: /*elided*/ any[] | undefined;
1330
- config?: /*elided*/ any[] | undefined;
1331
- elem?: /*elided*/ any | undefined;
1332
- unit?: {
1333
- dimensions: {
1334
- length: number;
1335
- mass: number;
1336
- time: number;
1337
- current: number;
1338
- temperature: number;
1339
- angle: number;
1340
- count: number;
1341
- data: number;
1342
- };
1343
- scale: number;
1344
- name: string;
1345
- } | undefined;
1346
- constraint?: /*elided*/ any | undefined;
1347
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1348
- } | undefined;
1349
- unit?: {
1350
- dimensions: {
1351
- length: number;
1352
- mass: number;
1353
- time: number;
1354
- current: number;
1355
- temperature: number;
1356
- angle: number;
1357
- count: number;
1358
- data: number;
1359
- };
1360
- scale: number;
1361
- name: string;
1362
- } | undefined;
1363
- constraint?: {
1364
- kind: import('./types/types.gen').Kind;
1365
- name: string;
1366
- inputs?: /*elided*/ any[] | undefined;
1367
- outputs?: /*elided*/ any[] | undefined;
1368
- config?: /*elided*/ any[] | undefined;
1369
- elem?: /*elided*/ any | undefined;
1370
- unit?: {
1371
- dimensions: {
1372
- length: number;
1373
- mass: number;
1374
- time: number;
1375
- current: number;
1376
- temperature: number;
1377
- angle: number;
1378
- count: number;
1379
- data: number;
1380
- };
1381
- scale: number;
1382
- name: string;
1383
- } | undefined;
1384
- constraint?: /*elided*/ any | undefined;
1385
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1386
- } | undefined;
1387
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1388
- };
1389
- value?: unknown;
1390
- }[];
1391
- outputs: {
1392
- name: string;
1393
- type: {
1394
- kind: import('./types/types.gen').Kind;
1395
- name: string;
1396
- inputs?: /*elided*/ any[] | undefined;
1397
- outputs?: /*elided*/ any[] | undefined;
1398
- config?: /*elided*/ any[] | undefined;
1399
- elem?: {
1400
- kind: import('./types/types.gen').Kind;
1401
- name: string;
1402
- inputs?: /*elided*/ any[] | undefined;
1403
- outputs?: /*elided*/ any[] | undefined;
1404
- config?: /*elided*/ any[] | undefined;
1405
- elem?: /*elided*/ any | undefined;
1406
- unit?: {
1407
- dimensions: {
1408
- length: number;
1409
- mass: number;
1410
- time: number;
1411
- current: number;
1412
- temperature: number;
1413
- angle: number;
1414
- count: number;
1415
- data: number;
1416
- };
1417
- scale: number;
1418
- name: string;
1419
- } | undefined;
1420
- constraint?: /*elided*/ any | undefined;
1421
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1422
- } | undefined;
1423
- unit?: {
1424
- dimensions: {
1425
- length: number;
1426
- mass: number;
1427
- time: number;
1428
- current: number;
1429
- temperature: number;
1430
- angle: number;
1431
- count: number;
1432
- data: number;
1433
- };
1434
- scale: number;
1435
- name: string;
1436
- } | undefined;
1437
- constraint?: {
1438
- kind: import('./types/types.gen').Kind;
1439
- name: string;
1440
- inputs?: /*elided*/ any[] | undefined;
1441
- outputs?: /*elided*/ any[] | undefined;
1442
- config?: /*elided*/ any[] | undefined;
1443
- elem?: /*elided*/ any | undefined;
1444
- unit?: {
1445
- dimensions: {
1446
- length: number;
1447
- mass: number;
1448
- time: number;
1449
- current: number;
1450
- temperature: number;
1451
- angle: number;
1452
- count: number;
1453
- data: number;
1454
- };
1455
- scale: number;
1456
- name: string;
1457
- } | undefined;
1458
- constraint?: /*elided*/ any | undefined;
1459
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1460
- } | undefined;
1461
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1462
- };
1463
- value?: unknown;
1464
- }[];
1465
- channels: {
1466
- read: Record<number, string>;
1467
- write: Record<number, string>;
1468
- };
1469
- body?: {
1470
- raw: string;
1471
- } | undefined;
1472
- }[], null>>, z.ZodArray<z.ZodObject<{
1473
- key: z.ZodString;
1474
- body: z.ZodOptional<z.ZodObject<{
1475
- raw: z.ZodString;
1476
- }, z.core.$strip>>;
1477
- config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1478
- name: string;
1479
- type: {
1480
- kind: import('./types/types.gen').Kind;
1481
- name: string;
1482
- inputs?: /*elided*/ any[] | undefined;
1483
- outputs?: /*elided*/ any[] | undefined;
1484
- config?: /*elided*/ any[] | undefined;
1485
- elem?: {
1486
- kind: import('./types/types.gen').Kind;
1487
- name: string;
1488
- inputs?: /*elided*/ any[] | undefined;
1489
- outputs?: /*elided*/ any[] | undefined;
1490
- config?: /*elided*/ any[] | undefined;
1491
- elem?: /*elided*/ any | undefined;
1492
- unit?: {
1493
- dimensions: {
1494
- length: number;
1495
- mass: number;
1496
- time: number;
1497
- current: number;
1498
- temperature: number;
1499
- angle: number;
1500
- count: number;
1501
- data: number;
1502
- };
1503
- scale: number;
1504
- name: string;
1505
- } | undefined;
1506
- constraint?: /*elided*/ any | undefined;
1507
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1508
- } | undefined;
1509
- unit?: {
1510
- dimensions: {
1511
- length: number;
1512
- mass: number;
1513
- time: number;
1514
- current: number;
1515
- temperature: number;
1516
- angle: number;
1517
- count: number;
1518
- data: number;
1519
- };
1520
- scale: number;
1521
- name: string;
1522
- } | undefined;
1523
- constraint?: {
1524
- kind: import('./types/types.gen').Kind;
1525
- name: string;
1526
- inputs?: /*elided*/ any[] | undefined;
1527
- outputs?: /*elided*/ any[] | undefined;
1528
- config?: /*elided*/ any[] | undefined;
1529
- elem?: /*elided*/ any | undefined;
1530
- unit?: {
1531
- dimensions: {
1532
- length: number;
1533
- mass: number;
1534
- time: number;
1535
- current: number;
1536
- temperature: number;
1537
- angle: number;
1538
- count: number;
1539
- data: number;
1540
- };
1541
- scale: number;
1542
- name: string;
1543
- } | undefined;
1544
- constraint?: /*elided*/ any | undefined;
1545
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1546
- } | undefined;
1547
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1548
- };
1549
- value?: unknown;
1550
- }[], null>>, z.ZodArray<z.ZodObject<{
1551
- name: z.ZodString;
1552
- type: z.ZodObject<{
1553
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1554
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1555
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1556
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
1557
- name: z.ZodString;
1558
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1559
- unit: z.ZodOptional<z.ZodObject<{
1560
- dimensions: z.ZodObject<{
1561
- length: z.ZodInt;
1562
- mass: z.ZodInt;
1563
- time: z.ZodInt;
1564
- current: z.ZodInt;
1565
- temperature: z.ZodInt;
1566
- angle: z.ZodInt;
1567
- count: z.ZodInt;
1568
- data: z.ZodInt;
1569
- }, z.core.$strip>;
1570
- scale: z.ZodNumber;
1571
- name: z.ZodString;
1572
- }, z.core.$strip>>;
1573
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1574
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
101
+ }, z.core.$strip>>>>;
102
+ inputs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>>;
103
+ }, z.core.$strip>>;
104
+ text: z.ZodPrefault<z.ZodObject<{
105
+ doc: z.ZodPrefault<z.ZodObject<{
106
+ inserts: z.ZodDefault<z.ZodArray<z.ZodObject<{
107
+ id: z.ZodObject<{
108
+ replica: z.ZodUInt32;
109
+ counter: z.ZodUInt32;
1575
110
  }, z.core.$strip>;
1576
- value: z.ZodOptional<z.ZodUnknown>;
1577
- }, z.core.$strip>>]>>;
1578
- inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1579
- name: string;
1580
- type: {
1581
- kind: import('./types/types.gen').Kind;
1582
- name: string;
1583
- inputs?: /*elided*/ any[] | undefined;
1584
- outputs?: /*elided*/ any[] | undefined;
1585
- config?: /*elided*/ any[] | undefined;
1586
- elem?: {
1587
- kind: import('./types/types.gen').Kind;
1588
- name: string;
1589
- inputs?: /*elided*/ any[] | undefined;
1590
- outputs?: /*elided*/ any[] | undefined;
1591
- config?: /*elided*/ any[] | undefined;
1592
- elem?: /*elided*/ any | undefined;
1593
- unit?: {
1594
- dimensions: {
1595
- length: number;
1596
- mass: number;
1597
- time: number;
1598
- current: number;
1599
- temperature: number;
1600
- angle: number;
1601
- count: number;
1602
- data: number;
1603
- };
1604
- scale: number;
1605
- name: string;
1606
- } | undefined;
1607
- constraint?: /*elided*/ any | undefined;
1608
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1609
- } | undefined;
1610
- unit?: {
1611
- dimensions: {
1612
- length: number;
1613
- mass: number;
1614
- time: number;
1615
- current: number;
1616
- temperature: number;
1617
- angle: number;
1618
- count: number;
1619
- data: number;
1620
- };
1621
- scale: number;
1622
- name: string;
1623
- } | undefined;
1624
- constraint?: {
1625
- kind: import('./types/types.gen').Kind;
1626
- name: string;
1627
- inputs?: /*elided*/ any[] | undefined;
1628
- outputs?: /*elided*/ any[] | undefined;
1629
- config?: /*elided*/ any[] | undefined;
1630
- elem?: /*elided*/ any | undefined;
1631
- unit?: {
1632
- dimensions: {
1633
- length: number;
1634
- mass: number;
1635
- time: number;
1636
- current: number;
1637
- temperature: number;
1638
- angle: number;
1639
- count: number;
1640
- data: number;
1641
- };
1642
- scale: number;
1643
- name: string;
1644
- } | undefined;
1645
- constraint?: /*elided*/ any | undefined;
1646
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1647
- } | undefined;
1648
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1649
- };
1650
- value?: unknown;
1651
- }[], null>>, z.ZodArray<z.ZodObject<{
1652
- name: z.ZodString;
1653
- type: z.ZodObject<{
1654
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1655
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1656
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1657
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
1658
- name: z.ZodString;
1659
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1660
- unit: z.ZodOptional<z.ZodObject<{
1661
- dimensions: z.ZodObject<{
1662
- length: z.ZodInt;
1663
- mass: z.ZodInt;
1664
- time: z.ZodInt;
1665
- current: z.ZodInt;
1666
- temperature: z.ZodInt;
1667
- angle: z.ZodInt;
1668
- count: z.ZodInt;
1669
- data: z.ZodInt;
1670
- }, z.core.$strip>;
1671
- scale: z.ZodNumber;
1672
- name: z.ZodString;
1673
- }, z.core.$strip>>;
1674
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1675
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
111
+ origin: z.ZodObject<{
112
+ replica: z.ZodUInt32;
113
+ counter: z.ZodUInt32;
1676
114
  }, z.core.$strip>;
1677
- value: z.ZodOptional<z.ZodUnknown>;
1678
- }, z.core.$strip>>]>>;
1679
- outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1680
- name: string;
1681
- type: {
1682
- kind: import('./types/types.gen').Kind;
1683
- name: string;
1684
- inputs?: /*elided*/ any[] | undefined;
1685
- outputs?: /*elided*/ any[] | undefined;
1686
- config?: /*elided*/ any[] | undefined;
1687
- elem?: {
1688
- kind: import('./types/types.gen').Kind;
1689
- name: string;
1690
- inputs?: /*elided*/ any[] | undefined;
1691
- outputs?: /*elided*/ any[] | undefined;
1692
- config?: /*elided*/ any[] | undefined;
1693
- elem?: /*elided*/ any | undefined;
1694
- unit?: {
1695
- dimensions: {
1696
- length: number;
1697
- mass: number;
1698
- time: number;
1699
- current: number;
1700
- temperature: number;
1701
- angle: number;
1702
- count: number;
1703
- data: number;
1704
- };
1705
- scale: number;
1706
- name: string;
1707
- } | undefined;
1708
- constraint?: /*elided*/ any | undefined;
1709
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1710
- } | undefined;
1711
- unit?: {
1712
- dimensions: {
1713
- length: number;
1714
- mass: number;
1715
- time: number;
1716
- current: number;
1717
- temperature: number;
1718
- angle: number;
1719
- count: number;
1720
- data: number;
1721
- };
1722
- scale: number;
1723
- name: string;
1724
- } | undefined;
1725
- constraint?: {
1726
- kind: import('./types/types.gen').Kind;
1727
- name: string;
1728
- inputs?: /*elided*/ any[] | undefined;
1729
- outputs?: /*elided*/ any[] | undefined;
1730
- config?: /*elided*/ any[] | undefined;
1731
- elem?: /*elided*/ any | undefined;
1732
- unit?: {
1733
- dimensions: {
1734
- length: number;
1735
- mass: number;
1736
- time: number;
1737
- current: number;
1738
- temperature: number;
1739
- angle: number;
1740
- count: number;
1741
- data: number;
1742
- };
1743
- scale: number;
1744
- name: string;
1745
- } | undefined;
1746
- constraint?: /*elided*/ any | undefined;
1747
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1748
- } | undefined;
1749
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1750
- };
1751
- value?: unknown;
1752
- }[], null>>, z.ZodArray<z.ZodObject<{
1753
- name: z.ZodString;
1754
- type: z.ZodObject<{
1755
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1756
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1757
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
1758
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
1759
- name: z.ZodString;
1760
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1761
- unit: z.ZodOptional<z.ZodObject<{
1762
- dimensions: z.ZodObject<{
1763
- length: z.ZodInt;
1764
- mass: z.ZodInt;
1765
- time: z.ZodInt;
1766
- current: z.ZodInt;
1767
- temperature: z.ZodInt;
1768
- angle: z.ZodInt;
1769
- count: z.ZodInt;
1770
- data: z.ZodInt;
1771
- }, z.core.$strip>;
1772
- scale: z.ZodNumber;
1773
- name: z.ZodString;
1774
- }, z.core.$strip>>;
1775
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
1776
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
115
+ side: z.ZodEnum<{
116
+ left: "left";
117
+ right: "right";
118
+ }>;
119
+ char: z.ZodInt32;
120
+ }, z.core.$strip>>>;
121
+ deletes: z.ZodDefault<z.ZodArray<z.ZodObject<{
122
+ id: z.ZodObject<{
123
+ replica: z.ZodUInt32;
124
+ counter: z.ZodUInt32;
1777
125
  }, z.core.$strip>;
1778
- value: z.ZodOptional<z.ZodUnknown>;
1779
- }, z.core.$strip>>]>>;
126
+ }, z.core.$strip>>>;
127
+ }, z.core.$strip>>;
128
+ raw: z.ZodDefault<z.ZodString>;
129
+ }, z.core.$strip>>;
130
+ program: z.ZodOptional<z.ZodObject<{
131
+ functions: z.ZodDefault<z.ZodArray<z.ZodObject<{
132
+ key: z.ZodString;
133
+ body: z.ZodObject<{
134
+ raw: z.ZodString;
135
+ }, z.core.$strip>;
136
+ inputs: z.ZodDefault<z.ZodArray<z.ZodType<import('..').Param, unknown, z.core.$ZodTypeInternals<import('..').Param, unknown>>>>;
137
+ outputs: z.ZodDefault<z.ZodArray<z.ZodType<import('..').Param, unknown, z.core.$ZodTypeInternals<import('..').Param, unknown>>>>;
1780
138
  channels: z.ZodObject<{
1781
- read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1782
- write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
139
+ read: z.ZodDefault<z.ZodRecord<z.ZodUInt32, z.ZodString>>;
140
+ write: z.ZodDefault<z.ZodRecord<z.ZodUInt32, z.ZodString>>;
1783
141
  }, z.core.$strip>;
1784
- }, z.core.$strip>>]>>;
1785
- nodes: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1786
- key: string;
1787
- type: string;
1788
- config: {
1789
- name: string;
1790
- type: {
1791
- kind: import('./types/types.gen').Kind;
1792
- name: string;
1793
- inputs?: /*elided*/ any[] | undefined;
1794
- outputs?: /*elided*/ any[] | undefined;
1795
- config?: /*elided*/ any[] | undefined;
1796
- elem?: {
1797
- kind: import('./types/types.gen').Kind;
1798
- name: string;
1799
- inputs?: /*elided*/ any[] | undefined;
1800
- outputs?: /*elided*/ any[] | undefined;
1801
- config?: /*elided*/ any[] | undefined;
1802
- elem?: /*elided*/ any | undefined;
1803
- unit?: {
1804
- dimensions: {
1805
- length: number;
1806
- mass: number;
1807
- time: number;
1808
- current: number;
1809
- temperature: number;
1810
- angle: number;
1811
- count: number;
1812
- data: number;
1813
- };
1814
- scale: number;
1815
- name: string;
1816
- } | undefined;
1817
- constraint?: /*elided*/ any | undefined;
1818
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1819
- } | undefined;
1820
- unit?: {
1821
- dimensions: {
1822
- length: number;
1823
- mass: number;
1824
- time: number;
1825
- current: number;
1826
- temperature: number;
1827
- angle: number;
1828
- count: number;
1829
- data: number;
1830
- };
1831
- scale: number;
1832
- name: string;
1833
- } | undefined;
1834
- constraint?: {
1835
- kind: import('./types/types.gen').Kind;
1836
- name: string;
1837
- inputs?: /*elided*/ any[] | undefined;
1838
- outputs?: /*elided*/ any[] | undefined;
1839
- config?: /*elided*/ any[] | undefined;
1840
- elem?: /*elided*/ any | undefined;
1841
- unit?: {
1842
- dimensions: {
1843
- length: number;
1844
- mass: number;
1845
- time: number;
1846
- current: number;
1847
- temperature: number;
1848
- angle: number;
1849
- count: number;
1850
- data: number;
1851
- };
1852
- scale: number;
1853
- name: string;
1854
- } | undefined;
1855
- constraint?: /*elided*/ any | undefined;
1856
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1857
- } | undefined;
1858
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1859
- };
1860
- value?: unknown;
1861
- }[];
1862
- inputs: {
1863
- name: string;
1864
- type: {
1865
- kind: import('./types/types.gen').Kind;
1866
- name: string;
1867
- inputs?: /*elided*/ any[] | undefined;
1868
- outputs?: /*elided*/ any[] | undefined;
1869
- config?: /*elided*/ any[] | undefined;
1870
- elem?: {
1871
- kind: import('./types/types.gen').Kind;
1872
- name: string;
1873
- inputs?: /*elided*/ any[] | undefined;
1874
- outputs?: /*elided*/ any[] | undefined;
1875
- config?: /*elided*/ any[] | undefined;
1876
- elem?: /*elided*/ any | undefined;
1877
- unit?: {
1878
- dimensions: {
1879
- length: number;
1880
- mass: number;
1881
- time: number;
1882
- current: number;
1883
- temperature: number;
1884
- angle: number;
1885
- count: number;
1886
- data: number;
1887
- };
1888
- scale: number;
1889
- name: string;
1890
- } | undefined;
1891
- constraint?: /*elided*/ any | undefined;
1892
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1893
- } | undefined;
1894
- unit?: {
1895
- dimensions: {
1896
- length: number;
1897
- mass: number;
1898
- time: number;
1899
- current: number;
1900
- temperature: number;
1901
- angle: number;
1902
- count: number;
1903
- data: number;
1904
- };
1905
- scale: number;
1906
- name: string;
1907
- } | undefined;
1908
- constraint?: {
1909
- kind: import('./types/types.gen').Kind;
1910
- name: string;
1911
- inputs?: /*elided*/ any[] | undefined;
1912
- outputs?: /*elided*/ any[] | undefined;
1913
- config?: /*elided*/ any[] | undefined;
1914
- elem?: /*elided*/ any | undefined;
1915
- unit?: {
1916
- dimensions: {
1917
- length: number;
1918
- mass: number;
1919
- time: number;
1920
- current: number;
1921
- temperature: number;
1922
- angle: number;
1923
- count: number;
1924
- data: number;
1925
- };
1926
- scale: number;
1927
- name: string;
1928
- } | undefined;
1929
- constraint?: /*elided*/ any | undefined;
1930
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1931
- } | undefined;
1932
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1933
- };
1934
- value?: unknown;
1935
- }[];
1936
- outputs: {
1937
- name: string;
1938
- type: {
1939
- kind: import('./types/types.gen').Kind;
1940
- name: string;
1941
- inputs?: /*elided*/ any[] | undefined;
1942
- outputs?: /*elided*/ any[] | undefined;
1943
- config?: /*elided*/ any[] | undefined;
1944
- elem?: {
1945
- kind: import('./types/types.gen').Kind;
1946
- name: string;
1947
- inputs?: /*elided*/ any[] | undefined;
1948
- outputs?: /*elided*/ any[] | undefined;
1949
- config?: /*elided*/ any[] | undefined;
1950
- elem?: /*elided*/ any | undefined;
1951
- unit?: {
1952
- dimensions: {
1953
- length: number;
1954
- mass: number;
1955
- time: number;
1956
- current: number;
1957
- temperature: number;
1958
- angle: number;
1959
- count: number;
1960
- data: number;
1961
- };
1962
- scale: number;
1963
- name: string;
1964
- } | undefined;
1965
- constraint?: /*elided*/ any | undefined;
1966
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
1967
- } | undefined;
1968
- unit?: {
1969
- dimensions: {
1970
- length: number;
1971
- mass: number;
1972
- time: number;
1973
- current: number;
1974
- temperature: number;
1975
- angle: number;
1976
- count: number;
1977
- data: number;
1978
- };
1979
- scale: number;
1980
- name: string;
1981
- } | undefined;
1982
- constraint?: {
1983
- kind: import('./types/types.gen').Kind;
1984
- name: string;
1985
- inputs?: /*elided*/ any[] | undefined;
1986
- outputs?: /*elided*/ any[] | undefined;
1987
- config?: /*elided*/ any[] | undefined;
1988
- elem?: /*elided*/ any | undefined;
1989
- unit?: {
1990
- dimensions: {
1991
- length: number;
1992
- mass: number;
1993
- time: number;
1994
- current: number;
1995
- temperature: number;
1996
- angle: number;
1997
- count: number;
1998
- data: number;
1999
- };
2000
- scale: number;
2001
- name: string;
2002
- } | undefined;
2003
- constraint?: /*elided*/ any | undefined;
2004
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2005
- } | undefined;
2006
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2007
- };
2008
- value?: unknown;
2009
- }[];
2010
- channels: {
2011
- read: Record<number, string>;
2012
- write: Record<number, string>;
2013
- };
2014
- }[], null>>, z.ZodArray<z.ZodObject<{
142
+ }, z.core.$strip>>>;
143
+ nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
2015
144
  key: z.ZodString;
2016
145
  type: z.ZodString;
2017
- config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2018
- name: string;
2019
- type: {
2020
- kind: import('./types/types.gen').Kind;
2021
- name: string;
2022
- inputs?: /*elided*/ any[] | undefined;
2023
- outputs?: /*elided*/ any[] | undefined;
2024
- config?: /*elided*/ any[] | undefined;
2025
- elem?: {
2026
- kind: import('./types/types.gen').Kind;
2027
- name: string;
2028
- inputs?: /*elided*/ any[] | undefined;
2029
- outputs?: /*elided*/ any[] | undefined;
2030
- config?: /*elided*/ any[] | undefined;
2031
- elem?: /*elided*/ any | undefined;
2032
- unit?: {
2033
- dimensions: {
2034
- length: number;
2035
- mass: number;
2036
- time: number;
2037
- current: number;
2038
- temperature: number;
2039
- angle: number;
2040
- count: number;
2041
- data: number;
2042
- };
2043
- scale: number;
2044
- name: string;
2045
- } | undefined;
2046
- constraint?: /*elided*/ any | undefined;
2047
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2048
- } | undefined;
2049
- unit?: {
2050
- dimensions: {
2051
- length: number;
2052
- mass: number;
2053
- time: number;
2054
- current: number;
2055
- temperature: number;
2056
- angle: number;
2057
- count: number;
2058
- data: number;
2059
- };
2060
- scale: number;
2061
- name: string;
2062
- } | undefined;
2063
- constraint?: {
2064
- kind: import('./types/types.gen').Kind;
2065
- name: string;
2066
- inputs?: /*elided*/ any[] | undefined;
2067
- outputs?: /*elided*/ any[] | undefined;
2068
- config?: /*elided*/ any[] | undefined;
2069
- elem?: /*elided*/ any | undefined;
2070
- unit?: {
2071
- dimensions: {
2072
- length: number;
2073
- mass: number;
2074
- time: number;
2075
- current: number;
2076
- temperature: number;
2077
- angle: number;
2078
- count: number;
2079
- data: number;
2080
- };
2081
- scale: number;
2082
- name: string;
2083
- } | undefined;
2084
- constraint?: /*elided*/ any | undefined;
2085
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2086
- } | undefined;
2087
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2088
- };
2089
- value?: unknown;
2090
- }[], null>>, z.ZodArray<z.ZodObject<{
2091
- name: z.ZodString;
2092
- type: z.ZodObject<{
2093
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2094
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2095
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2096
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
2097
- name: z.ZodString;
2098
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
2099
- unit: z.ZodOptional<z.ZodObject<{
2100
- dimensions: z.ZodObject<{
2101
- length: z.ZodInt;
2102
- mass: z.ZodInt;
2103
- time: z.ZodInt;
2104
- current: z.ZodInt;
2105
- temperature: z.ZodInt;
2106
- angle: z.ZodInt;
2107
- count: z.ZodInt;
2108
- data: z.ZodInt;
2109
- }, z.core.$strip>;
2110
- scale: z.ZodNumber;
2111
- name: z.ZodString;
2112
- }, z.core.$strip>>;
2113
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
2114
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
2115
- }, z.core.$strip>;
2116
- value: z.ZodOptional<z.ZodUnknown>;
2117
- }, z.core.$strip>>]>>;
2118
- inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2119
- name: string;
2120
- type: {
2121
- kind: import('./types/types.gen').Kind;
2122
- name: string;
2123
- inputs?: /*elided*/ any[] | undefined;
2124
- outputs?: /*elided*/ any[] | undefined;
2125
- config?: /*elided*/ any[] | undefined;
2126
- elem?: {
2127
- kind: import('./types/types.gen').Kind;
2128
- name: string;
2129
- inputs?: /*elided*/ any[] | undefined;
2130
- outputs?: /*elided*/ any[] | undefined;
2131
- config?: /*elided*/ any[] | undefined;
2132
- elem?: /*elided*/ any | undefined;
2133
- unit?: {
2134
- dimensions: {
2135
- length: number;
2136
- mass: number;
2137
- time: number;
2138
- current: number;
2139
- temperature: number;
2140
- angle: number;
2141
- count: number;
2142
- data: number;
2143
- };
2144
- scale: number;
2145
- name: string;
2146
- } | undefined;
2147
- constraint?: /*elided*/ any | undefined;
2148
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2149
- } | undefined;
2150
- unit?: {
2151
- dimensions: {
2152
- length: number;
2153
- mass: number;
2154
- time: number;
2155
- current: number;
2156
- temperature: number;
2157
- angle: number;
2158
- count: number;
2159
- data: number;
2160
- };
2161
- scale: number;
2162
- name: string;
2163
- } | undefined;
2164
- constraint?: {
2165
- kind: import('./types/types.gen').Kind;
2166
- name: string;
2167
- inputs?: /*elided*/ any[] | undefined;
2168
- outputs?: /*elided*/ any[] | undefined;
2169
- config?: /*elided*/ any[] | undefined;
2170
- elem?: /*elided*/ any | undefined;
2171
- unit?: {
2172
- dimensions: {
2173
- length: number;
2174
- mass: number;
2175
- time: number;
2176
- current: number;
2177
- temperature: number;
2178
- angle: number;
2179
- count: number;
2180
- data: number;
2181
- };
2182
- scale: number;
2183
- name: string;
2184
- } | undefined;
2185
- constraint?: /*elided*/ any | undefined;
2186
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2187
- } | undefined;
2188
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2189
- };
2190
- value?: unknown;
2191
- }[], null>>, z.ZodArray<z.ZodObject<{
2192
- name: z.ZodString;
2193
- type: z.ZodObject<{
2194
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2195
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2196
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2197
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
2198
- name: z.ZodString;
2199
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
2200
- unit: z.ZodOptional<z.ZodObject<{
2201
- dimensions: z.ZodObject<{
2202
- length: z.ZodInt;
2203
- mass: z.ZodInt;
2204
- time: z.ZodInt;
2205
- current: z.ZodInt;
2206
- temperature: z.ZodInt;
2207
- angle: z.ZodInt;
2208
- count: z.ZodInt;
2209
- data: z.ZodInt;
2210
- }, z.core.$strip>;
2211
- scale: z.ZodNumber;
2212
- name: z.ZodString;
2213
- }, z.core.$strip>>;
2214
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
2215
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
2216
- }, z.core.$strip>;
2217
- value: z.ZodOptional<z.ZodUnknown>;
2218
- }, z.core.$strip>>]>>;
2219
- outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2220
- name: string;
2221
- type: {
2222
- kind: import('./types/types.gen').Kind;
2223
- name: string;
2224
- inputs?: /*elided*/ any[] | undefined;
2225
- outputs?: /*elided*/ any[] | undefined;
2226
- config?: /*elided*/ any[] | undefined;
2227
- elem?: {
2228
- kind: import('./types/types.gen').Kind;
2229
- name: string;
2230
- inputs?: /*elided*/ any[] | undefined;
2231
- outputs?: /*elided*/ any[] | undefined;
2232
- config?: /*elided*/ any[] | undefined;
2233
- elem?: /*elided*/ any | undefined;
2234
- unit?: {
2235
- dimensions: {
2236
- length: number;
2237
- mass: number;
2238
- time: number;
2239
- current: number;
2240
- temperature: number;
2241
- angle: number;
2242
- count: number;
2243
- data: number;
2244
- };
2245
- scale: number;
2246
- name: string;
2247
- } | undefined;
2248
- constraint?: /*elided*/ any | undefined;
2249
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2250
- } | undefined;
2251
- unit?: {
2252
- dimensions: {
2253
- length: number;
2254
- mass: number;
2255
- time: number;
2256
- current: number;
2257
- temperature: number;
2258
- angle: number;
2259
- count: number;
2260
- data: number;
2261
- };
2262
- scale: number;
2263
- name: string;
2264
- } | undefined;
2265
- constraint?: {
2266
- kind: import('./types/types.gen').Kind;
2267
- name: string;
2268
- inputs?: /*elided*/ any[] | undefined;
2269
- outputs?: /*elided*/ any[] | undefined;
2270
- config?: /*elided*/ any[] | undefined;
2271
- elem?: /*elided*/ any | undefined;
2272
- unit?: {
2273
- dimensions: {
2274
- length: number;
2275
- mass: number;
2276
- time: number;
2277
- current: number;
2278
- temperature: number;
2279
- angle: number;
2280
- count: number;
2281
- data: number;
2282
- };
2283
- scale: number;
2284
- name: string;
2285
- } | undefined;
2286
- constraint?: /*elided*/ any | undefined;
2287
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2288
- } | undefined;
2289
- chanDirection?: import('./types/types.gen').ChanDirection | undefined;
2290
- };
2291
- value?: unknown;
2292
- }[], null>>, z.ZodArray<z.ZodObject<{
2293
- name: z.ZodString;
2294
- type: z.ZodObject<{
2295
- inputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2296
- outputs: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2297
- config: z.ZodOptional<typeof import('./types/types.gen').paramsZ>;
2298
- kind: z.ZodEnum<typeof import('./types/types.gen').Kind>;
2299
- name: z.ZodString;
2300
- elem: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
2301
- unit: z.ZodOptional<z.ZodObject<{
2302
- dimensions: z.ZodObject<{
2303
- length: z.ZodInt;
2304
- mass: z.ZodInt;
2305
- time: z.ZodInt;
2306
- current: z.ZodInt;
2307
- temperature: z.ZodInt;
2308
- angle: z.ZodInt;
2309
- count: z.ZodInt;
2310
- data: z.ZodInt;
2311
- }, z.core.$strip>;
2312
- scale: z.ZodNumber;
2313
- name: z.ZodString;
2314
- }, z.core.$strip>>;
2315
- constraint: z.ZodOptional<typeof import('./types/types.gen').typeZ>;
2316
- chanDirection: z.ZodOptional<z.ZodEnum<typeof import('./types/types.gen').ChanDirection>>;
2317
- }, z.core.$strip>;
2318
- value: z.ZodOptional<z.ZodUnknown>;
2319
- }, z.core.$strip>>]>>;
146
+ inputs: z.ZodDefault<z.ZodArray<z.ZodType<import('..').Param, unknown, z.core.$ZodTypeInternals<import('..').Param, unknown>>>>;
147
+ outputs: z.ZodDefault<z.ZodArray<z.ZodType<import('..').Param, unknown, z.core.$ZodTypeInternals<import('..').Param, unknown>>>>;
2320
148
  channels: z.ZodObject<{
2321
- read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2322
- write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
149
+ read: z.ZodDefault<z.ZodRecord<z.ZodUInt32, z.ZodString>>;
150
+ write: z.ZodDefault<z.ZodRecord<z.ZodUInt32, z.ZodString>>;
2323
151
  }, z.core.$strip>;
2324
- }, z.core.$strip>>]>>;
2325
- edges: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2326
- source: {
2327
- node: string;
2328
- param: string;
2329
- };
2330
- target: {
2331
- node: string;
2332
- param: string;
2333
- };
2334
- kind: import('./ir/types.gen').EdgeKind;
2335
- }[], null>>, z.ZodArray<z.ZodObject<{
152
+ }, z.core.$strip>>>;
153
+ edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
2336
154
  source: z.ZodObject<{
2337
155
  node: z.ZodString;
2338
156
  param: z.ZodString;
@@ -2342,20 +160,20 @@ export declare const arcZ: z.ZodObject<{
2342
160
  param: z.ZodString;
2343
161
  }, z.core.$strip>;
2344
162
  kind: z.ZodEnum<typeof import('./ir/types.gen').EdgeKind>;
2345
- }, z.core.$strip>>]>>;
163
+ }, z.core.$strip>>>;
2346
164
  authorities: z.ZodObject<{
2347
165
  default: z.ZodOptional<z.ZodInt>;
2348
- channels: z.ZodType<Record<number, number>, unknown, z.core.$ZodTypeInternals<Record<number, number>, unknown>>;
166
+ channels: z.ZodDefault<z.ZodRecord<z.ZodUInt32, z.ZodInt>>;
2349
167
  }, z.core.$strip>;
2350
168
  root: z.ZodType<import('./ir/types.gen').Scope, unknown, z.core.$ZodTypeInternals<import('./ir/types.gen').Scope, unknown>>;
2351
169
  wasm: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
2352
- outputMemoryBases: z.ZodType<Record<string, number>, unknown, z.core.$ZodTypeInternals<Record<string, number>, unknown>>;
170
+ outputMemoryBases: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUInt32>>;
2353
171
  }, z.core.$strip>>;
2354
172
  status: z.ZodOptional<status.StatusZodObject<z.ZodObject<{
2355
173
  running: z.ZodBoolean;
2356
174
  }, z.core.$strip>, z.ZodEnum<{
2357
- success: "success";
2358
175
  error: "error";
176
+ success: "success";
2359
177
  info: "info";
2360
178
  warning: "warning";
2361
179
  loading: "loading";
@@ -2364,12 +182,14 @@ export declare const arcZ: z.ZodObject<{
2364
182
  }, z.core.$strip>;
2365
183
  export interface Arc extends z.infer<typeof arcZ> {
2366
184
  }
185
+ export interface New extends z.input<typeof arcZ> {
186
+ }
2367
187
  export declare const ontologyID: ontology.CreateID<string>;
2368
188
  export declare const TYPE_ONTOLOGY_ID: {
2369
- type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
189
+ type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
2370
190
  key: string;
2371
191
  } | {
2372
- type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
192
+ type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
2373
193
  key: string;
2374
194
  };
2375
195
  //# sourceMappingURL=types.gen.d.ts.map