@synnaxlabs/client 0.53.1 → 0.54.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 (390) hide show
  1. package/.turbo/turbo-build.log +14 -8
  2. package/dist/client.cjs +48 -54
  3. package/dist/client.js +12361 -15508
  4. package/dist/src/access/action/index.d.ts +2 -0
  5. package/dist/src/access/action/index.d.ts.map +1 -0
  6. package/dist/src/access/{payload.d.ts → action/types.gen.d.ts} +2 -1
  7. package/dist/src/access/action/types.gen.d.ts.map +1 -0
  8. package/dist/src/access/enforce.d.ts +2 -2
  9. package/dist/src/access/enforce.d.ts.map +1 -1
  10. package/dist/src/access/external.d.ts +1 -1
  11. package/dist/src/access/external.d.ts.map +1 -1
  12. package/dist/src/access/policy/client.d.ts +233 -389
  13. package/dist/src/access/policy/client.d.ts.map +1 -1
  14. package/dist/src/access/policy/external.d.ts +1 -1
  15. package/dist/src/access/policy/external.d.ts.map +1 -1
  16. package/dist/src/access/policy/types.gen.d.ts +120 -0
  17. package/dist/src/access/policy/types.gen.d.ts.map +1 -0
  18. package/dist/src/access/role/client.d.ts +1 -1
  19. package/dist/src/access/role/client.d.ts.map +1 -1
  20. package/dist/src/access/role/external.d.ts +1 -1
  21. package/dist/src/access/role/external.d.ts.map +1 -1
  22. package/dist/src/access/role/types.gen.d.ts +34 -0
  23. package/dist/src/access/role/types.gen.d.ts.map +1 -0
  24. package/dist/src/arc/client.d.ts +2 -2
  25. package/dist/src/arc/client.d.ts.map +1 -1
  26. package/dist/src/arc/compiler/index.d.ts +2 -0
  27. package/dist/src/arc/compiler/index.d.ts.map +1 -0
  28. package/dist/src/arc/compiler/types.gen.d.ts +12 -0
  29. package/dist/src/arc/compiler/types.gen.d.ts.map +1 -0
  30. package/dist/src/arc/external.d.ts +6 -1
  31. package/dist/src/arc/external.d.ts.map +1 -1
  32. package/dist/src/arc/graph/index.d.ts +2 -0
  33. package/dist/src/arc/graph/index.d.ts.map +1 -0
  34. package/dist/src/arc/graph/types.gen.d.ts +644 -0
  35. package/dist/src/arc/graph/types.gen.d.ts.map +1 -0
  36. package/dist/src/arc/ir/index.d.ts +2 -0
  37. package/dist/src/arc/ir/index.d.ts.map +1 -0
  38. package/dist/src/arc/ir/types.gen.d.ts +2988 -0
  39. package/dist/src/arc/ir/types.gen.d.ts.map +1 -0
  40. package/dist/src/arc/module/index.d.ts +2 -0
  41. package/dist/src/arc/module/index.d.ts.map +1 -0
  42. package/dist/src/arc/module/types.gen.d.ts +1138 -0
  43. package/dist/src/arc/module/types.gen.d.ts.map +1 -0
  44. package/dist/src/arc/program/index.d.ts +2 -0
  45. package/dist/src/arc/program/index.d.ts.map +1 -0
  46. package/dist/src/arc/program/types.gen.d.ts +1138 -0
  47. package/dist/src/arc/program/types.gen.d.ts.map +1 -0
  48. package/dist/src/arc/text/index.d.ts +2 -0
  49. package/dist/src/arc/text/index.d.ts.map +1 -0
  50. package/dist/src/arc/text/types.gen.d.ts +8 -0
  51. package/dist/src/arc/text/types.gen.d.ts.map +1 -0
  52. package/dist/src/arc/types/index.d.ts +2 -0
  53. package/dist/src/arc/types/index.d.ts.map +1 -0
  54. package/dist/src/arc/types/types.gen.d.ts +237 -0
  55. package/dist/src/arc/types/types.gen.d.ts.map +1 -0
  56. package/dist/src/arc/types.gen.d.ts +2394 -0
  57. package/dist/src/arc/types.gen.d.ts.map +1 -0
  58. package/dist/src/channel/client.d.ts +5 -4
  59. package/dist/src/channel/client.d.ts.map +1 -1
  60. package/dist/src/channel/external.d.ts +1 -0
  61. package/dist/src/channel/external.d.ts.map +1 -1
  62. package/dist/src/channel/payload.d.ts +95 -178
  63. package/dist/src/channel/payload.d.ts.map +1 -1
  64. package/dist/src/channel/retriever.d.ts +3 -2
  65. package/dist/src/channel/retriever.d.ts.map +1 -1
  66. package/dist/src/channel/types.gen.d.ts +155 -0
  67. package/dist/src/channel/types.gen.d.ts.map +1 -0
  68. package/dist/src/channel/writer.d.ts +1 -1
  69. package/dist/src/channel/writer.d.ts.map +1 -1
  70. package/dist/src/client.d.ts.map +1 -1
  71. package/dist/src/cluster/index.d.ts +2 -0
  72. package/dist/src/cluster/index.d.ts.map +1 -0
  73. package/dist/src/cluster/types.gen.d.ts +4 -0
  74. package/dist/src/cluster/types.gen.d.ts.map +1 -0
  75. package/dist/src/control/state.d.ts +14 -9
  76. package/dist/src/control/state.d.ts.map +1 -1
  77. package/dist/src/device/client.d.ts +7 -12
  78. package/dist/src/device/client.d.ts.map +1 -1
  79. package/dist/src/device/external.d.ts +1 -1
  80. package/dist/src/device/external.d.ts.map +1 -1
  81. package/dist/src/device/types.gen.d.ts +163 -0
  82. package/dist/src/device/types.gen.d.ts.map +1 -0
  83. package/dist/src/framer/adapter.d.ts +2 -2
  84. package/dist/src/framer/adapter.d.ts.map +1 -1
  85. package/dist/src/framer/client.d.ts +7 -7
  86. package/dist/src/framer/client.d.ts.map +1 -1
  87. package/dist/src/framer/codec.d.ts +5 -5
  88. package/dist/src/framer/codec.d.ts.map +1 -1
  89. package/dist/src/framer/external.d.ts +1 -1
  90. package/dist/src/framer/external.d.ts.map +1 -1
  91. package/dist/src/framer/frame.d.ts +18 -18
  92. package/dist/src/framer/frame.d.ts.map +1 -1
  93. package/dist/src/framer/reader.d.ts +1 -1
  94. package/dist/src/framer/reader.d.ts.map +1 -1
  95. package/dist/src/framer/streamer.d.ts +181 -114
  96. package/dist/src/framer/streamer.d.ts.map +1 -1
  97. package/dist/src/framer/types.gen.d.ts +9 -0
  98. package/dist/src/framer/types.gen.d.ts.map +1 -0
  99. package/dist/src/framer/writer.d.ts +196 -128
  100. package/dist/src/framer/writer.d.ts.map +1 -1
  101. package/dist/src/group/client.d.ts +17 -17
  102. package/dist/src/group/client.d.ts.map +1 -1
  103. package/dist/src/group/external.d.ts +1 -1
  104. package/dist/src/group/external.d.ts.map +1 -1
  105. package/dist/src/group/types.gen.d.ts +23 -0
  106. package/dist/src/group/types.gen.d.ts.map +1 -0
  107. package/dist/src/label/client.d.ts +51 -72
  108. package/dist/src/label/client.d.ts.map +1 -1
  109. package/dist/src/label/payload.d.ts +30 -8
  110. package/dist/src/label/payload.d.ts.map +1 -1
  111. package/dist/src/lineplot/client.d.ts +2 -11
  112. package/dist/src/lineplot/client.d.ts.map +1 -1
  113. package/dist/src/lineplot/external.d.ts +1 -1
  114. package/dist/src/lineplot/external.d.ts.map +1 -1
  115. package/dist/src/lineplot/types.gen.d.ts +33 -0
  116. package/dist/src/lineplot/types.gen.d.ts.map +1 -0
  117. package/dist/src/log/client.d.ts +2 -11
  118. package/dist/src/log/client.d.ts.map +1 -1
  119. package/dist/src/log/external.d.ts +1 -1
  120. package/dist/src/log/external.d.ts.map +1 -1
  121. package/dist/src/log/types.gen.d.ts +33 -0
  122. package/dist/src/log/types.gen.d.ts.map +1 -0
  123. package/dist/src/ontology/client.d.ts +31 -31
  124. package/dist/src/ontology/payload.d.ts +74 -99
  125. package/dist/src/ontology/payload.d.ts.map +1 -1
  126. package/dist/src/ontology/types.gen.d.ts +30 -0
  127. package/dist/src/ontology/types.gen.d.ts.map +1 -0
  128. package/dist/src/ontology/writer.d.ts +80 -80
  129. package/dist/src/rack/client.d.ts +22 -11
  130. package/dist/src/rack/client.d.ts.map +1 -1
  131. package/dist/src/rack/external.d.ts +1 -1
  132. package/dist/src/rack/external.d.ts.map +1 -1
  133. package/dist/src/rack/types.gen.d.ts +72 -0
  134. package/dist/src/rack/types.gen.d.ts.map +1 -0
  135. package/dist/src/range/alias/types.gen.d.ts +14 -0
  136. package/dist/src/range/alias/types.gen.d.ts.map +1 -0
  137. package/dist/src/range/kv/types.gen.d.ts +13 -0
  138. package/dist/src/range/kv/types.gen.d.ts.map +1 -0
  139. package/dist/src/ranger/alias/client.d.ts +1 -1
  140. package/dist/src/ranger/alias/client.d.ts.map +1 -1
  141. package/dist/src/ranger/alias/external.d.ts +3 -1
  142. package/dist/src/ranger/alias/external.d.ts.map +1 -1
  143. package/dist/src/ranger/alias/payload.d.ts +5 -9
  144. package/dist/src/ranger/alias/payload.d.ts.map +1 -1
  145. package/dist/src/ranger/alias/payload.spec.d.ts +2 -0
  146. package/dist/src/ranger/alias/payload.spec.d.ts.map +1 -0
  147. package/dist/src/ranger/alias/types.gen.d.ts +14 -0
  148. package/dist/src/ranger/alias/types.gen.d.ts.map +1 -0
  149. package/dist/src/ranger/client.d.ts +10 -15
  150. package/dist/src/ranger/client.d.ts.map +1 -1
  151. package/dist/src/ranger/external.d.ts +4 -4
  152. package/dist/src/ranger/external.d.ts.map +1 -1
  153. package/dist/src/ranger/kv/client.d.ts +1 -1
  154. package/dist/src/ranger/kv/client.d.ts.map +1 -1
  155. package/dist/src/ranger/kv/external.d.ts +3 -1
  156. package/dist/src/ranger/kv/external.d.ts.map +1 -1
  157. package/dist/src/ranger/kv/payload.d.ts +6 -13
  158. package/dist/src/ranger/kv/payload.d.ts.map +1 -1
  159. package/dist/src/ranger/kv/types.gen.d.ts +13 -0
  160. package/dist/src/ranger/kv/types.gen.d.ts.map +1 -0
  161. package/dist/src/ranger/payload.d.ts +2 -97
  162. package/dist/src/ranger/payload.d.ts.map +1 -1
  163. package/dist/src/ranger/types.gen.d.ts +219 -0
  164. package/dist/src/ranger/types.gen.d.ts.map +1 -0
  165. package/dist/src/ranger/writer.d.ts +25 -25
  166. package/dist/src/ranger/writer.d.ts.map +1 -1
  167. package/dist/src/schematic/client.d.ts +2 -11
  168. package/dist/src/schematic/client.d.ts.map +1 -1
  169. package/dist/src/schematic/external.d.ts +1 -1
  170. package/dist/src/schematic/external.d.ts.map +1 -1
  171. package/dist/src/schematic/symbol/client.d.ts +1 -2
  172. package/dist/src/schematic/symbol/client.d.ts.map +1 -1
  173. package/dist/src/schematic/symbol/external.d.ts +1 -1
  174. package/dist/src/schematic/symbol/external.d.ts.map +1 -1
  175. package/dist/src/schematic/symbol/types.gen.d.ts +277 -0
  176. package/dist/src/schematic/symbol/types.gen.d.ts.map +1 -0
  177. package/dist/src/schematic/types.gen.d.ts +35 -0
  178. package/dist/src/schematic/types.gen.d.ts.map +1 -0
  179. package/dist/src/status/client.d.ts +2 -0
  180. package/dist/src/status/client.d.ts.map +1 -1
  181. package/dist/src/status/payload.d.ts +25 -54
  182. package/dist/src/status/payload.d.ts.map +1 -1
  183. package/dist/src/table/client.d.ts +2 -11
  184. package/dist/src/table/client.d.ts.map +1 -1
  185. package/dist/src/table/external.d.ts +1 -1
  186. package/dist/src/table/external.d.ts.map +1 -1
  187. package/dist/src/table/types.gen.d.ts +33 -0
  188. package/dist/src/table/types.gen.d.ts.map +1 -0
  189. package/dist/src/task/client.d.ts +15 -20
  190. package/dist/src/task/client.d.ts.map +1 -1
  191. package/dist/src/task/external.d.ts +1 -1
  192. package/dist/src/task/external.d.ts.map +1 -1
  193. package/dist/src/task/types.gen.d.ts +155 -0
  194. package/dist/src/task/types.gen.d.ts.map +1 -0
  195. package/dist/src/user/client.d.ts +3 -3
  196. package/dist/src/user/client.d.ts.map +1 -1
  197. package/dist/src/user/external.d.ts +1 -1
  198. package/dist/src/user/external.d.ts.map +1 -1
  199. package/dist/src/user/types.gen.d.ts +35 -0
  200. package/dist/src/user/types.gen.d.ts.map +1 -0
  201. package/dist/src/util/decodeJSONString.d.ts.map +1 -1
  202. package/dist/src/view/client.d.ts +1 -10
  203. package/dist/src/view/client.d.ts.map +1 -1
  204. package/dist/src/view/external.d.ts +1 -1
  205. package/dist/src/view/external.d.ts.map +1 -1
  206. package/dist/src/view/types.gen.d.ts +35 -0
  207. package/dist/src/view/types.gen.d.ts.map +1 -0
  208. package/dist/src/workspace/client.d.ts +2 -11
  209. package/dist/src/workspace/client.d.ts.map +1 -1
  210. package/dist/src/workspace/external.d.ts +1 -1
  211. package/dist/src/workspace/external.d.ts.map +1 -1
  212. package/dist/src/workspace/types.gen.d.ts +34 -0
  213. package/dist/src/workspace/types.gen.d.ts.map +1 -0
  214. package/package.json +11 -11
  215. package/src/access/action/index.ts +11 -0
  216. package/src/access/{payload.ts → action/types.gen.ts} +4 -1
  217. package/src/access/enforce.spec.ts +1 -2
  218. package/src/access/enforce.ts +2 -2
  219. package/src/access/external.ts +1 -1
  220. package/src/access/policy/client.ts +2 -2
  221. package/src/access/policy/external.ts +1 -1
  222. package/src/access/policy/types.gen.ts +44 -0
  223. package/src/access/role/client.ts +2 -2
  224. package/src/access/role/external.ts +1 -1
  225. package/src/access/role/types.gen.ts +46 -0
  226. package/src/arc/access.spec.ts +18 -6
  227. package/src/arc/client.ts +3 -3
  228. package/src/{framer/payload.ts → arc/compiler/index.ts} +1 -6
  229. package/src/arc/compiler/types.gen.ts +27 -0
  230. package/src/arc/external.ts +6 -1
  231. package/src/arc/graph/index.ts +10 -0
  232. package/src/arc/graph/types.gen.ts +59 -0
  233. package/src/arc/ir/index.ts +10 -0
  234. package/src/arc/ir/types.gen.ts +166 -0
  235. package/src/arc/module/index.ts +10 -0
  236. package/src/arc/module/types.gen.ts +18 -0
  237. package/src/arc/program/index.ts +10 -0
  238. package/src/arc/program/types.gen.ts +18 -0
  239. package/src/arc/text/index.ts +10 -0
  240. package/src/arc/text/types.gen.ts +19 -0
  241. package/src/arc/types/index.ts +10 -0
  242. package/src/arc/types/types.gen.ts +132 -0
  243. package/src/arc/types.gen.ts +85 -0
  244. package/src/channel/client.ts +14 -15
  245. package/src/channel/external.ts +1 -0
  246. package/src/channel/payload.spec.ts +19 -16
  247. package/src/channel/payload.ts +14 -82
  248. package/src/channel/retriever.ts +9 -18
  249. package/src/channel/types.gen.ts +137 -0
  250. package/src/channel/writer.ts +2 -2
  251. package/src/client.ts +4 -0
  252. package/src/cluster/index.ts +10 -0
  253. package/src/cluster/types.gen.ts +16 -0
  254. package/src/control/state.ts +8 -6
  255. package/src/device/client.ts +14 -11
  256. package/src/device/device.spec.ts +95 -1
  257. package/src/device/external.ts +1 -1
  258. package/src/device/payload.spec.ts +26 -2
  259. package/src/device/types.gen.ts +100 -0
  260. package/src/framer/adapter.ts +7 -4
  261. package/src/framer/client.ts +15 -9
  262. package/src/framer/codec.spec.ts +25 -5
  263. package/src/framer/codec.ts +11 -9
  264. package/src/framer/deleter.spec.ts +0 -15
  265. package/src/framer/external.ts +1 -1
  266. package/src/framer/frame.ts +44 -36
  267. package/src/framer/reader.spec.ts +2 -2
  268. package/src/framer/reader.ts +6 -6
  269. package/src/framer/streamer.spec.ts +98 -0
  270. package/src/framer/streamer.ts +10 -0
  271. package/src/framer/types.gen.ts +20 -0
  272. package/src/framer/writer.ts +14 -8
  273. package/src/group/client.ts +1 -1
  274. package/src/group/external.ts +1 -1
  275. package/src/group/group.spec.ts +1 -1
  276. package/src/{access/role/payload.ts → group/types.gen.ts} +11 -11
  277. package/src/label/client.ts +2 -5
  278. package/src/label/label.spec.ts +12 -3
  279. package/src/label/payload.ts +3 -1
  280. package/src/lineplot/client.ts +9 -11
  281. package/src/lineplot/external.ts +1 -1
  282. package/src/lineplot/lineplot.spec.ts +40 -0
  283. package/src/lineplot/types.gen.ts +42 -0
  284. package/src/log/client.ts +9 -18
  285. package/src/log/external.ts +1 -1
  286. package/src/log/log.spec.ts +38 -0
  287. package/src/log/types.gen.ts +42 -0
  288. package/src/ontology/payload.ts +5 -29
  289. package/src/ontology/types.gen.ts +41 -0
  290. package/src/rack/client.ts +26 -10
  291. package/src/rack/external.ts +1 -1
  292. package/src/rack/rack.spec.ts +37 -0
  293. package/src/rack/types.gen.ts +62 -0
  294. package/src/range/alias/types.gen.ts +30 -0
  295. package/src/range/kv/types.gen.ts +28 -0
  296. package/src/ranger/alias/client.ts +1 -1
  297. package/src/ranger/alias/external.ts +3 -10
  298. package/src/ranger/alias/payload.spec.ts +52 -0
  299. package/src/ranger/alias/payload.ts +11 -10
  300. package/src/ranger/alias/types.gen.ts +30 -0
  301. package/src/ranger/client.ts +34 -45
  302. package/src/ranger/external.ts +3 -3
  303. package/src/ranger/kv/client.ts +3 -3
  304. package/src/ranger/kv/external.ts +3 -7
  305. package/src/ranger/kv/payload.ts +1 -6
  306. package/src/ranger/kv/types.gen.ts +28 -0
  307. package/src/ranger/payload.ts +2 -46
  308. package/src/ranger/ranger.spec.ts +2 -4
  309. package/src/ranger/types.gen.ts +66 -0
  310. package/src/ranger/writer.ts +2 -1
  311. package/src/schematic/client.ts +11 -14
  312. package/src/schematic/external.ts +1 -1
  313. package/src/schematic/schematic.spec.ts +54 -2
  314. package/src/schematic/symbol/client.ts +2 -4
  315. package/src/schematic/symbol/external.ts +1 -1
  316. package/src/schematic/symbol/types.gen.ts +124 -0
  317. package/src/schematic/types.gen.ts +44 -0
  318. package/src/status/client.ts +4 -3
  319. package/src/status/payload.ts +5 -4
  320. package/src/status/status.spec.ts +106 -11
  321. package/src/table/client.ts +10 -19
  322. package/src/table/external.ts +1 -1
  323. package/src/table/table.spec.ts +38 -0
  324. package/src/table/types.gen.ts +42 -0
  325. package/src/task/client.ts +29 -24
  326. package/src/task/external.ts +1 -1
  327. package/src/task/payload.spec.ts +19 -19
  328. package/src/task/task.spec.ts +127 -9
  329. package/src/task/types.gen.ts +169 -0
  330. package/src/user/client.ts +2 -2
  331. package/src/user/external.ts +1 -1
  332. package/src/user/types.gen.ts +49 -0
  333. package/src/util/decodeJSONString.ts +1 -1
  334. package/src/util/retrieve.ts +2 -2
  335. package/src/view/client.ts +2 -7
  336. package/src/view/external.ts +1 -1
  337. package/src/view/types.gen.ts +44 -0
  338. package/src/workspace/client.ts +10 -14
  339. package/src/workspace/external.ts +1 -1
  340. package/src/workspace/types.gen.ts +45 -0
  341. package/src/workspace/workspace.spec.ts +37 -0
  342. package/tsconfig.json +1 -3
  343. package/vite.config.ts +9 -2
  344. package/dist/src/access/payload.d.ts.map +0 -1
  345. package/dist/src/access/policy/payload.d.ts +0 -156
  346. package/dist/src/access/policy/payload.d.ts.map +0 -1
  347. package/dist/src/access/role/payload.d.ts +0 -27
  348. package/dist/src/access/role/payload.d.ts.map +0 -1
  349. package/dist/src/arc/payload.d.ts +0 -167
  350. package/dist/src/arc/payload.d.ts.map +0 -1
  351. package/dist/src/device/payload.d.ts +0 -281
  352. package/dist/src/device/payload.d.ts.map +0 -1
  353. package/dist/src/framer/payload.d.ts +0 -7
  354. package/dist/src/framer/payload.d.ts.map +0 -1
  355. package/dist/src/group/payload.d.ts +0 -16
  356. package/dist/src/group/payload.d.ts.map +0 -1
  357. package/dist/src/lineplot/payload.d.ts +0 -28
  358. package/dist/src/lineplot/payload.d.ts.map +0 -1
  359. package/dist/src/log/payload.d.ts +0 -28
  360. package/dist/src/log/payload.d.ts.map +0 -1
  361. package/dist/src/rack/payload.d.ts +0 -243
  362. package/dist/src/rack/payload.d.ts.map +0 -1
  363. package/dist/src/schematic/payload.d.ts +0 -38
  364. package/dist/src/schematic/payload.d.ts.map +0 -1
  365. package/dist/src/schematic/symbol/payload.d.ts +0 -169
  366. package/dist/src/schematic/symbol/payload.d.ts.map +0 -1
  367. package/dist/src/table/payload.d.ts +0 -33
  368. package/dist/src/table/payload.d.ts.map +0 -1
  369. package/dist/src/task/payload.d.ts +0 -123
  370. package/dist/src/task/payload.d.ts.map +0 -1
  371. package/dist/src/user/payload.d.ts +0 -22
  372. package/dist/src/user/payload.d.ts.map +0 -1
  373. package/dist/src/view/payload.d.ts +0 -20
  374. package/dist/src/view/payload.d.ts.map +0 -1
  375. package/dist/src/workspace/payload.d.ts +0 -33
  376. package/dist/src/workspace/payload.d.ts.map +0 -1
  377. package/src/access/policy/payload.ts +0 -37
  378. package/src/arc/payload.ts +0 -73
  379. package/src/device/payload.ts +0 -83
  380. package/src/group/payload.ts +0 -24
  381. package/src/lineplot/payload.ts +0 -29
  382. package/src/log/payload.ts +0 -29
  383. package/src/rack/payload.ts +0 -30
  384. package/src/schematic/payload.ts +0 -34
  385. package/src/schematic/symbol/payload.ts +0 -70
  386. package/src/table/payload.ts +0 -33
  387. package/src/task/payload.ts +0 -127
  388. package/src/user/payload.ts +0 -29
  389. package/src/view/payload.ts +0 -25
  390. package/src/workspace/payload.ts +0 -33
@@ -0,0 +1,49 @@
1
+ // Copyright 2026 Synnax Labs, Inc.
2
+ //
3
+ // Use of this software is governed by the Business Source License included in the file
4
+ // licenses/BSL.txt.
5
+ //
6
+ // As of the Change Date specified in that file, in accordance with the Business Source
7
+ // License, use of this software will be governed by the Apache License, Version 2.0,
8
+ // included in the file licenses/APL.txt.
9
+
10
+ // Code generated by Oracle. DO NOT EDIT.
11
+
12
+ import { z } from "zod";
13
+
14
+ import { ontology } from "@/ontology";
15
+
16
+ export const keyZ = z.uuid();
17
+ export type Key = z.infer<typeof keyZ>;
18
+
19
+ /**
20
+ * User is an account entity representing a person accessing the Synnax system.
21
+ * Users can have roles assigned for permission management.
22
+ */
23
+ export const userZ = z.object({
24
+ /** key is the unique identifier for this user. */
25
+ key: keyZ,
26
+ /** username is the unique login name for the user. */
27
+ username: z.string().min(1, "Username is required"),
28
+ /** firstName is the user's first name. */
29
+ firstName: z.string(),
30
+ /** lastName is the user's last name. */
31
+ lastName: z.string(),
32
+ /**
33
+ * rootUser is true if this is a root/admin user with full system access. Root
34
+ * users cannot be deleted.
35
+ */
36
+ rootUser: z.boolean().default(false),
37
+ });
38
+ export interface User extends z.infer<typeof userZ> {}
39
+
40
+ export const newZ = userZ
41
+ .omit({ rootUser: true })
42
+ .partial({ key: true, firstName: true, lastName: true })
43
+ .extend({
44
+ password: z.string().min(1),
45
+ });
46
+ export interface New extends z.input<typeof newZ> {}
47
+
48
+ export const ontologyID = ontology.createIDFactory<Key>("user");
49
+ export const TYPE_ONTOLOGY_ID = ontologyID("");
@@ -10,4 +10,4 @@
10
10
  import { binary, record } from "@synnaxlabs/x";
11
11
 
12
12
  export const decodeJSONString = (s: string): record.Unknown =>
13
- s ? binary.JSON_CODEC.decodeString(s, record.unknownZ) : {};
13
+ s ? binary.JSON_CODEC.decodeString(s, record.unknownZ()) : {};
@@ -64,9 +64,9 @@ export const analyzeParams = <
64
64
  const t = typeof first;
65
65
  let variant: K[keyof K];
66
66
  if (t === "string" && convertNumericStrings)
67
- if (!isNaN(parseInt(first as string)) && "number" in variantMap) {
67
+ if (!isNaN(parseInt(first as string, 10)) && "number" in variantMap) {
68
68
  variant = variantMap.number as K[keyof K];
69
- normal = normal.map((n) => parseInt(n as string));
69
+ normal = normal.map((n) => parseInt(n as string, 10));
70
70
  } else variant = variantMap[t as TypeName<T>];
71
71
  else variant = variantMap[t as TypeName<T>];
72
72
  return {
@@ -11,9 +11,8 @@ import { sendRequired, type UnaryClient } from "@synnaxlabs/freighter";
11
11
  import { array } from "@synnaxlabs/x";
12
12
  import { z } from "zod";
13
13
 
14
- import { type ontology } from "@/ontology";
15
14
  import { checkForMultipleOrNoResults } from "@/util/retrieve";
16
- import { type Key, keyZ, type New, newZ, type View, viewZ } from "@/view/payload";
15
+ import { type Key, keyZ, type New, newZ, type View, viewZ } from "@/view/types.gen";
17
16
 
18
17
  export const SET_CHANNEL_NAME = "sy_view_set";
19
18
  export const DELETE_CHANNEL_NAME = "sy_view_delete";
@@ -40,7 +39,7 @@ const retrieveArgsZ = z.union([singleRetrieveArgsZ, retrieveRequestZ]);
40
39
  export interface RetrieveSingleParams extends z.input<typeof singleRetrieveArgsZ> {}
41
40
  export interface RetrieveMultipleParams extends z.input<typeof retrieveRequestZ> {}
42
41
 
43
- const retrieveResponseZ = z.object({ views: array.nullableZ(viewZ) });
42
+ const retrieveResponseZ = z.object({ views: array.nullishToEmpty(viewZ) });
44
43
 
45
44
  export class Client {
46
45
  private readonly client: UnaryClient;
@@ -90,7 +89,3 @@ export class Client {
90
89
  );
91
90
  }
92
91
  }
93
-
94
- export const ontologyID = (key: Key): ontology.ID => ({ type: "view", key });
95
-
96
- export const TYPE_ONTOLOGY_ID = ontologyID("");
@@ -8,4 +8,4 @@
8
8
  // included in the file licenses/APL.txt.
9
9
 
10
10
  export * from "@/view/client";
11
- export * from "@/view/payload";
11
+ export * from "@/view/types.gen";
@@ -0,0 +1,44 @@
1
+ // Copyright 2026 Synnax Labs, Inc.
2
+ //
3
+ // Use of this software is governed by the Business Source License included in the file
4
+ // licenses/BSL.txt.
5
+ //
6
+ // As of the Change Date specified in that file, in accordance with the Business Source
7
+ // License, use of this software will be governed by the Apache License, Version 2.0,
8
+ // included in the file licenses/APL.txt.
9
+
10
+ // Code generated by Oracle. DO NOT EDIT.
11
+
12
+ import { record } from "@synnaxlabs/x";
13
+ import { z } from "zod";
14
+
15
+ import { ontology } from "@/ontology";
16
+
17
+ export const keyZ = z.uuid();
18
+ export type Key = z.infer<typeof keyZ>;
19
+
20
+ /**
21
+ * View is a persisted view configuration storing visualization settings and
22
+ * query parameters for line plots, tables, schematics, and other view
23
+ * types.
24
+ */
25
+ export const viewZ = z.object({
26
+ /** key is the unique identifier for this view. */
27
+ key: keyZ,
28
+ /** name is a human-readable name for the view. */
29
+ name: z.string(),
30
+ /** type is the view type identifier (e.g., 'lineplot', 'table', 'schematic'). */
31
+ type: z.string(),
32
+ /**
33
+ * query is a type-agnostic JSON object containing view-specific configuration
34
+ * and query parameters.
35
+ */
36
+ query: record.nullishToEmpty(),
37
+ });
38
+ export interface View extends z.infer<typeof viewZ> {}
39
+
40
+ export const newZ = viewZ.partial({ key: true });
41
+ export interface New extends z.input<typeof newZ> {}
42
+
43
+ export const ontologyID = ontology.createIDFactory<Key>("view");
44
+ export const TYPE_ONTOLOGY_ID = ontologyID("");
@@ -8,21 +8,18 @@
8
8
  // included in the file licenses/APL.txt.
9
9
 
10
10
  import { sendRequired, type UnaryClient } from "@synnaxlabs/freighter";
11
- import { array, record } from "@synnaxlabs/x";
11
+ import { array, caseconv, record } from "@synnaxlabs/x";
12
12
  import { z } from "zod";
13
13
 
14
- import { ontology } from "@/ontology";
15
- import { keyZ as userKeyZ } from "@/user/payload";
14
+ import { keyZ as userKeyZ } from "@/user/types.gen";
16
15
  import {
17
16
  type Key,
18
17
  keyZ,
19
18
  type New,
20
19
  newZ,
21
- type Params,
22
- remoteZ,
23
20
  type Workspace,
24
21
  workspaceZ,
25
- } from "@/workspace/payload";
22
+ } from "@/workspace/types.gen";
26
23
 
27
24
  const retrieveReqZ = z.object({
28
25
  keys: keyZ.array().optional(),
@@ -36,12 +33,12 @@ const createReqZ = z.object({ workspaces: newZ.array() });
36
33
  const renameReqZ = z.object({ key: keyZ, name: z.string() });
37
34
  const setLayoutReqZ = z.object({
38
35
  key: keyZ,
39
- layout: record.unknownZ.transform((l) => JSON.stringify(l)),
36
+ layout: caseconv.preserveCase(record.unknownZ()),
40
37
  });
41
38
  const deleteReqZ = z.object({ keys: keyZ.array() });
42
39
 
43
- const retrieveResZ = z.object({ workspaces: array.nullableZ(workspaceZ) });
44
- const createResZ = z.object({ workspaces: remoteZ.array() });
40
+ const retrieveResZ = z.object({ workspaces: array.nullishToEmpty(workspaceZ) });
41
+ const createResZ = z.object({ workspaces: workspaceZ.array() });
45
42
  const emptyResZ = z.object({});
46
43
 
47
44
  export const SET_CHANNEL_NAME = "sy_workspace_set";
@@ -93,7 +90,9 @@ export class Client {
93
90
  async retrieve(key: Key): Promise<Workspace>;
94
91
  async retrieve(keys: Key[]): Promise<Workspace[]>;
95
92
  async retrieve(req: RetrieveRequest): Promise<Workspace[]>;
96
- async retrieve(keys: Params | RetrieveRequest): Promise<Workspace | Workspace[]> {
93
+ async retrieve(
94
+ keys: Key | Key[] | RetrieveRequest,
95
+ ): Promise<Workspace | Workspace[]> {
97
96
  let req: RetrieveRequest;
98
97
  const isMany: boolean = typeof keys !== "string";
99
98
  if (typeof keys === "string" || Array.isArray(keys))
@@ -111,7 +110,7 @@ export class Client {
111
110
 
112
111
  async delete(key: Key): Promise<void>;
113
112
  async delete(keys: Key[]): Promise<void>;
114
- async delete(keys: Params): Promise<void> {
113
+ async delete(keys: Key | Key[]): Promise<void> {
115
114
  await sendRequired(
116
115
  this.client,
117
116
  "/workspace/delete",
@@ -121,6 +120,3 @@ export class Client {
121
120
  );
122
121
  }
123
122
  }
124
-
125
- export const ontologyID = ontology.createIDFactory<Key>("workspace");
126
- export const TYPE_ONTOLOGY_ID = ontologyID("");
@@ -8,4 +8,4 @@
8
8
  // included in the file licenses/APL.txt.
9
9
 
10
10
  export * from "@/workspace/client";
11
- export * from "@/workspace/payload";
11
+ export * from "@/workspace/types.gen";
@@ -0,0 +1,45 @@
1
+ // Copyright 2026 Synnax Labs, Inc.
2
+ //
3
+ // Use of this software is governed by the Business Source License included in the file
4
+ // licenses/BSL.txt.
5
+ //
6
+ // As of the Change Date specified in that file, in accordance with the Business Source
7
+ // License, use of this software will be governed by the Apache License, Version 2.0,
8
+ // included in the file licenses/APL.txt.
9
+
10
+ // Code generated by Oracle. DO NOT EDIT.
11
+
12
+ import { caseconv, record } from "@synnaxlabs/x";
13
+ import { z } from "zod";
14
+
15
+ import { ontology } from "@/ontology";
16
+
17
+ export const keyZ = z.uuid();
18
+ export type Key = z.infer<typeof keyZ>;
19
+
20
+ /**
21
+ * Workspace is a named, persistable container that stores the layout and organization
22
+ * of the Console application. Workspaces allow users to save and restore
23
+ * custom arrangements of visualizations, tabs, and window configurations.
24
+ */
25
+ export const workspaceZ = z.object({
26
+ /** key is the unique identifier for this workspace. */
27
+ key: keyZ,
28
+ /** name is a human-readable name for the workspace. */
29
+ name: z.string().min(1, "Name is required"),
30
+ /** author is the UUID of the user who created this workspace. */
31
+ author: z.uuid().optional(),
32
+ /**
33
+ * layout is the mosaic tree structure that defines how visualizations are
34
+ * arranged. Contains tab layout, split configurations, and window
35
+ * positions.
36
+ */
37
+ layout: caseconv.preserveCase(record.nullishToEmpty()),
38
+ });
39
+ export interface Workspace extends z.infer<typeof workspaceZ> {}
40
+
41
+ export const newZ = workspaceZ.omit({ author: true }).partial({ key: true });
42
+ export interface New extends z.input<typeof newZ> {}
43
+
44
+ export const ontologyID = ontology.createIDFactory<Key>("workspace");
45
+ export const TYPE_ONTOLOGY_ID = ontologyID("");
@@ -58,4 +58,41 @@ describe("Workspace", () => {
58
58
  await expect(client.workspaces.retrieve(ws.key)).rejects.toThrow();
59
59
  });
60
60
  });
61
+ describe("case preservation", () => {
62
+ test("should preserve key casing in layout field on create/retrieve cycle", async () => {
63
+ const ws = await client.workspaces.create({
64
+ name: "CaseTest",
65
+ layout: {
66
+ camelCaseKey: "value1",
67
+ PascalCaseKey: "value2",
68
+ snake_case_key: "value3",
69
+ nested: {
70
+ innerCamelCase: 123,
71
+ InnerPascalCase: { deepKey: true },
72
+ },
73
+ },
74
+ });
75
+
76
+ const retrieved = await client.workspaces.retrieve(ws.key);
77
+
78
+ const layout = retrieved.layout as Record<string, unknown>;
79
+ expect(layout.camelCaseKey).toEqual("value1");
80
+ expect(layout.PascalCaseKey).toEqual("value2");
81
+ expect(layout.snake_case_key).toEqual("value3");
82
+ expect((layout.nested as Record<string, unknown>).innerCamelCase).toEqual(123);
83
+ expect(
84
+ (
85
+ (layout.nested as Record<string, unknown>).InnerPascalCase as Record<
86
+ string,
87
+ unknown
88
+ >
89
+ ).deepKey,
90
+ ).toEqual(true);
91
+ expect(Object.keys(layout)).toContain("camelCaseKey");
92
+ expect(Object.keys(layout)).toContain("PascalCaseKey");
93
+ expect(Object.keys(layout)).toContain("snake_case_key");
94
+ expect(Object.keys(layout)).not.toContain("camel_case_key");
95
+ expect(Object.keys(layout)).not.toContain("pascal_case_key");
96
+ });
97
+ });
61
98
  });
package/tsconfig.json CHANGED
@@ -1,7 +1,5 @@
1
1
  {
2
2
  "extends": "@synnaxlabs/tsconfig/base.json",
3
- "compilerOptions": {
4
- "baseUrl": "."
5
- },
3
+ "compilerOptions": { "types": ["node"], "paths": { "@/*": ["./src/*"] } },
6
4
  "include": ["src/**/*", "eslint.config.ts"]
7
5
  }
package/vite.config.ts CHANGED
@@ -17,6 +17,13 @@ import packageJSON from "./package.json";
17
17
  export default defineConfig({
18
18
  define: { __VERSION__: JSON.stringify(packageJSON.version) },
19
19
  plugins: [lib({ name: "client" })],
20
- build: { rollupOptions: { external: ["zod"] } },
21
- test: { globals: true, environment: "jsdom" },
20
+ build: { rolldownOptions: { external: ["zod"] } },
21
+ test: {
22
+ globals: true,
23
+ exclude: ["**/node_modules/**", "**/dist/**"],
24
+ coverage: {
25
+ include: ["src/**/*.ts", "src/**/*.tsx"],
26
+ exclude: ["src/**/*.spec.ts", "src/**/*.spec.tsx", "src/**/*.bench.ts"],
27
+ },
28
+ },
22
29
  });
@@ -1 +0,0 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/access/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,OAAO;;;;;EAAqD,CAAC;AAC1E,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC"}
@@ -1,156 +0,0 @@
1
- import { z } from 'zod';
2
- import { ontology } from '../../ontology';
3
- export declare const keyZ: z.ZodUUID;
4
- export type Key = z.infer<typeof keyZ>;
5
- export declare const policyZ: z.ZodObject<{
6
- key: z.ZodUUID;
7
- name: z.ZodString;
8
- objects: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<({
9
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
10
- key: string;
11
- } | {
12
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
13
- key: string;
14
- })[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
15
- type: z.ZodEnum<{
16
- label: "label";
17
- log: "log";
18
- builtin: "builtin";
19
- cluster: "cluster";
20
- channel: "channel";
21
- node: "node";
22
- group: "group";
23
- range: "range";
24
- framer: "framer";
25
- "range-alias": "range-alias";
26
- user: "user";
27
- workspace: "workspace";
28
- schematic: "schematic";
29
- lineplot: "lineplot";
30
- rack: "rack";
31
- device: "device";
32
- task: "task";
33
- policy: "policy";
34
- role: "role";
35
- table: "table";
36
- arc: "arc";
37
- schematic_symbol: "schematic_symbol";
38
- status: "status";
39
- view: "view";
40
- }>;
41
- key: z.ZodString;
42
- }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
43
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
44
- key: string;
45
- }, string>>]>>]>;
46
- actions: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<("create" | "delete" | "retrieve" | "update")[], null | undefined>>, z.ZodArray<z.ZodEnum<{
47
- create: "create";
48
- delete: "delete";
49
- retrieve: "retrieve";
50
- update: "update";
51
- }>>]>;
52
- internal: z.ZodBoolean;
53
- }, z.core.$strip>;
54
- export interface Policy extends z.infer<typeof policyZ> {
55
- }
56
- export declare const newZ: z.ZodObject<{
57
- key: z.ZodOptional<z.ZodUUID>;
58
- name: z.ZodString;
59
- objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
60
- type: z.ZodEnum<{
61
- label: "label";
62
- log: "log";
63
- builtin: "builtin";
64
- cluster: "cluster";
65
- channel: "channel";
66
- node: "node";
67
- group: "group";
68
- range: "range";
69
- framer: "framer";
70
- "range-alias": "range-alias";
71
- user: "user";
72
- workspace: "workspace";
73
- schematic: "schematic";
74
- lineplot: "lineplot";
75
- rack: "rack";
76
- device: "device";
77
- task: "task";
78
- policy: "policy";
79
- role: "role";
80
- table: "table";
81
- arc: "arc";
82
- schematic_symbol: "schematic_symbol";
83
- status: "status";
84
- view: "view";
85
- }>;
86
- key: z.ZodString;
87
- }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
88
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
89
- key: string;
90
- }, string>>]>>, z.ZodPipe<z.ZodUnion<[z.ZodObject<{
91
- type: z.ZodEnum<{
92
- label: "label";
93
- log: "log";
94
- builtin: "builtin";
95
- cluster: "cluster";
96
- channel: "channel";
97
- node: "node";
98
- group: "group";
99
- range: "range";
100
- framer: "framer";
101
- "range-alias": "range-alias";
102
- user: "user";
103
- workspace: "workspace";
104
- schematic: "schematic";
105
- lineplot: "lineplot";
106
- rack: "rack";
107
- device: "device";
108
- task: "task";
109
- policy: "policy";
110
- role: "role";
111
- table: "table";
112
- arc: "arc";
113
- schematic_symbol: "schematic_symbol";
114
- status: "status";
115
- view: "view";
116
- }>;
117
- key: z.ZodString;
118
- }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
119
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
120
- key: string;
121
- }, string>>]>, z.ZodTransform<({
122
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
123
- key: string;
124
- } | {
125
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
126
- key: string;
127
- })[], {
128
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
129
- key: string;
130
- } | {
131
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
132
- key: string;
133
- }>>]>;
134
- actions: z.ZodUnion<[z.ZodArray<z.ZodEnum<{
135
- create: "create";
136
- delete: "delete";
137
- retrieve: "retrieve";
138
- update: "update";
139
- }>>, z.ZodPipe<z.ZodEnum<{
140
- create: "create";
141
- delete: "delete";
142
- retrieve: "retrieve";
143
- update: "update";
144
- }>, z.ZodTransform<("create" | "delete" | "retrieve" | "update")[], "create" | "delete" | "retrieve" | "update">>]>;
145
- }, z.core.$strip>;
146
- export interface New extends z.input<typeof newZ> {
147
- }
148
- export declare const ontologyID: ontology.CreateID<string>;
149
- export declare const TYPE_ONTOLOGY_ID: {
150
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
151
- key: string;
152
- } | {
153
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
154
- key: string;
155
- };
156
- //# sourceMappingURL=payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/access/policy/payload.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMlB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC;CAAG;AAE1D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKf,CAAC;AACH,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,UAAU,2BAA0C,CAAC;AAClE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
@@ -1,27 +0,0 @@
1
- import { z } from 'zod';
2
- import { ontology } from '../../ontology';
3
- export declare const keyZ: z.ZodUUID;
4
- export type Key = z.infer<typeof keyZ>;
5
- export declare const roleZ: z.ZodObject<{
6
- key: z.ZodUUID;
7
- name: z.ZodString;
8
- description: z.ZodOptional<z.ZodString>;
9
- internal: z.ZodOptional<z.ZodBoolean>;
10
- }, z.core.$strip>;
11
- export type Role = z.infer<typeof roleZ>;
12
- export declare const newZ: z.ZodObject<{
13
- key: z.ZodOptional<z.ZodUUID>;
14
- name: z.ZodString;
15
- description: z.ZodOptional<z.ZodString>;
16
- internal: z.ZodOptional<z.ZodBoolean>;
17
- }, z.core.$strip>;
18
- export type New = z.infer<typeof newZ>;
19
- export declare const ontologyID: ontology.CreateID<string>;
20
- export declare const TYPE_ONTOLOGY_ID: {
21
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
22
- key: string;
23
- } | {
24
- type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
25
- key: string;
26
- };
27
- //# sourceMappingURL=payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/access/role/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,IAAI,WAAW,CAAC;AAE7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,KAAK;;;;;iBAKhB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,eAAO,MAAM,IAAI;;;;;iBAA+B,CAAC;AAEjD,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,UAAU,2BAAwC,CAAC;AAChE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}