@synnaxlabs/client 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +14 -8
- package/dist/client.cjs +48 -54
- package/dist/client.js +12360 -15511
- package/dist/src/access/action/index.d.ts +2 -0
- package/dist/src/access/action/index.d.ts.map +1 -0
- package/dist/src/access/{payload.d.ts → action/types.gen.d.ts} +2 -1
- package/dist/src/access/action/types.gen.d.ts.map +1 -0
- package/dist/src/access/enforce.d.ts +2 -2
- package/dist/src/access/enforce.d.ts.map +1 -1
- package/dist/src/access/external.d.ts +1 -1
- package/dist/src/access/external.d.ts.map +1 -1
- package/dist/src/access/policy/client.d.ts +233 -389
- package/dist/src/access/policy/client.d.ts.map +1 -1
- package/dist/src/access/policy/external.d.ts +1 -1
- package/dist/src/access/policy/external.d.ts.map +1 -1
- package/dist/src/access/policy/types.gen.d.ts +120 -0
- package/dist/src/access/policy/types.gen.d.ts.map +1 -0
- package/dist/src/access/role/client.d.ts +1 -1
- package/dist/src/access/role/client.d.ts.map +1 -1
- package/dist/src/access/role/external.d.ts +1 -1
- package/dist/src/access/role/external.d.ts.map +1 -1
- package/dist/src/access/role/types.gen.d.ts +34 -0
- package/dist/src/access/role/types.gen.d.ts.map +1 -0
- package/dist/src/arc/client.d.ts +2 -2
- package/dist/src/arc/client.d.ts.map +1 -1
- package/dist/src/arc/compiler/index.d.ts +2 -0
- package/dist/src/arc/compiler/index.d.ts.map +1 -0
- package/dist/src/arc/compiler/types.gen.d.ts +12 -0
- package/dist/src/arc/compiler/types.gen.d.ts.map +1 -0
- package/dist/src/arc/external.d.ts +6 -1
- package/dist/src/arc/external.d.ts.map +1 -1
- package/dist/src/arc/graph/index.d.ts +2 -0
- package/dist/src/arc/graph/index.d.ts.map +1 -0
- package/dist/src/arc/graph/types.gen.d.ts +644 -0
- package/dist/src/arc/graph/types.gen.d.ts.map +1 -0
- package/dist/src/arc/ir/index.d.ts +2 -0
- package/dist/src/arc/ir/index.d.ts.map +1 -0
- package/dist/src/arc/ir/types.gen.d.ts +2988 -0
- package/dist/src/arc/ir/types.gen.d.ts.map +1 -0
- package/dist/src/arc/module/index.d.ts +2 -0
- package/dist/src/arc/module/index.d.ts.map +1 -0
- package/dist/src/arc/module/types.gen.d.ts +1138 -0
- package/dist/src/arc/module/types.gen.d.ts.map +1 -0
- package/dist/src/arc/program/index.d.ts +2 -0
- package/dist/src/arc/program/index.d.ts.map +1 -0
- package/dist/src/arc/program/types.gen.d.ts +1138 -0
- package/dist/src/arc/program/types.gen.d.ts.map +1 -0
- package/dist/src/arc/text/index.d.ts +2 -0
- package/dist/src/arc/text/index.d.ts.map +1 -0
- package/dist/src/arc/text/types.gen.d.ts +8 -0
- package/dist/src/arc/text/types.gen.d.ts.map +1 -0
- package/dist/src/arc/types/index.d.ts +2 -0
- package/dist/src/arc/types/index.d.ts.map +1 -0
- package/dist/src/arc/types/types.gen.d.ts +237 -0
- package/dist/src/arc/types/types.gen.d.ts.map +1 -0
- package/dist/src/arc/types.gen.d.ts +2394 -0
- package/dist/src/arc/types.gen.d.ts.map +1 -0
- package/dist/src/channel/client.d.ts +5 -4
- package/dist/src/channel/client.d.ts.map +1 -1
- package/dist/src/channel/external.d.ts +1 -0
- package/dist/src/channel/external.d.ts.map +1 -1
- package/dist/src/channel/payload.d.ts +93 -178
- package/dist/src/channel/payload.d.ts.map +1 -1
- package/dist/src/channel/retriever.d.ts +3 -2
- package/dist/src/channel/retriever.d.ts.map +1 -1
- package/dist/src/channel/types.gen.d.ts +151 -0
- package/dist/src/channel/types.gen.d.ts.map +1 -0
- package/dist/src/channel/writer.d.ts +1 -1
- package/dist/src/channel/writer.d.ts.map +1 -1
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/cluster/index.d.ts +2 -0
- package/dist/src/cluster/index.d.ts.map +1 -0
- package/dist/src/cluster/types.gen.d.ts +4 -0
- package/dist/src/cluster/types.gen.d.ts.map +1 -0
- package/dist/src/control/state.d.ts +14 -9
- package/dist/src/control/state.d.ts.map +1 -1
- package/dist/src/device/client.d.ts +7 -12
- package/dist/src/device/client.d.ts.map +1 -1
- package/dist/src/device/external.d.ts +1 -1
- package/dist/src/device/external.d.ts.map +1 -1
- package/dist/src/device/types.gen.d.ts +163 -0
- package/dist/src/device/types.gen.d.ts.map +1 -0
- package/dist/src/framer/adapter.d.ts +2 -2
- package/dist/src/framer/adapter.d.ts.map +1 -1
- package/dist/src/framer/client.d.ts +7 -7
- package/dist/src/framer/client.d.ts.map +1 -1
- package/dist/src/framer/codec.d.ts +5 -5
- package/dist/src/framer/codec.d.ts.map +1 -1
- package/dist/src/framer/external.d.ts +1 -1
- package/dist/src/framer/external.d.ts.map +1 -1
- package/dist/src/framer/frame.d.ts +18 -18
- package/dist/src/framer/frame.d.ts.map +1 -1
- package/dist/src/framer/reader.d.ts +1 -1
- package/dist/src/framer/reader.d.ts.map +1 -1
- package/dist/src/framer/streamer.d.ts +177 -114
- package/dist/src/framer/streamer.d.ts.map +1 -1
- package/dist/src/framer/types.gen.d.ts +9 -0
- package/dist/src/framer/types.gen.d.ts.map +1 -0
- package/dist/src/framer/writer.d.ts +192 -128
- package/dist/src/framer/writer.d.ts.map +1 -1
- package/dist/src/group/client.d.ts +17 -17
- package/dist/src/group/client.d.ts.map +1 -1
- package/dist/src/group/external.d.ts +1 -1
- package/dist/src/group/external.d.ts.map +1 -1
- package/dist/src/group/types.gen.d.ts +23 -0
- package/dist/src/group/types.gen.d.ts.map +1 -0
- package/dist/src/label/client.d.ts +51 -72
- package/dist/src/label/client.d.ts.map +1 -1
- package/dist/src/label/payload.d.ts +30 -8
- package/dist/src/label/payload.d.ts.map +1 -1
- package/dist/src/lineplot/client.d.ts +2 -11
- package/dist/src/lineplot/client.d.ts.map +1 -1
- package/dist/src/lineplot/external.d.ts +1 -1
- package/dist/src/lineplot/external.d.ts.map +1 -1
- package/dist/src/lineplot/types.gen.d.ts +33 -0
- package/dist/src/lineplot/types.gen.d.ts.map +1 -0
- package/dist/src/log/client.d.ts +2 -11
- package/dist/src/log/client.d.ts.map +1 -1
- package/dist/src/log/external.d.ts +1 -1
- package/dist/src/log/external.d.ts.map +1 -1
- package/dist/src/log/types.gen.d.ts +33 -0
- package/dist/src/log/types.gen.d.ts.map +1 -0
- package/dist/src/ontology/client.d.ts +31 -31
- package/dist/src/ontology/payload.d.ts +74 -99
- package/dist/src/ontology/payload.d.ts.map +1 -1
- package/dist/src/ontology/types.gen.d.ts +30 -0
- package/dist/src/ontology/types.gen.d.ts.map +1 -0
- package/dist/src/ontology/writer.d.ts +80 -80
- package/dist/src/rack/client.d.ts +22 -11
- package/dist/src/rack/client.d.ts.map +1 -1
- package/dist/src/rack/external.d.ts +1 -1
- package/dist/src/rack/external.d.ts.map +1 -1
- package/dist/src/rack/types.gen.d.ts +72 -0
- package/dist/src/rack/types.gen.d.ts.map +1 -0
- package/dist/src/range/alias/types.gen.d.ts +14 -0
- package/dist/src/range/alias/types.gen.d.ts.map +1 -0
- package/dist/src/range/kv/types.gen.d.ts +13 -0
- package/dist/src/range/kv/types.gen.d.ts.map +1 -0
- package/dist/src/ranger/alias/client.d.ts +1 -1
- package/dist/src/ranger/alias/client.d.ts.map +1 -1
- package/dist/src/ranger/alias/external.d.ts +3 -1
- package/dist/src/ranger/alias/external.d.ts.map +1 -1
- package/dist/src/ranger/alias/payload.d.ts +5 -9
- package/dist/src/ranger/alias/payload.d.ts.map +1 -1
- package/dist/src/ranger/alias/payload.spec.d.ts +2 -0
- package/dist/src/ranger/alias/payload.spec.d.ts.map +1 -0
- package/dist/src/ranger/alias/types.gen.d.ts +14 -0
- package/dist/src/ranger/alias/types.gen.d.ts.map +1 -0
- package/dist/src/ranger/client.d.ts +10 -15
- package/dist/src/ranger/client.d.ts.map +1 -1
- package/dist/src/ranger/external.d.ts +4 -4
- package/dist/src/ranger/external.d.ts.map +1 -1
- package/dist/src/ranger/kv/client.d.ts +1 -1
- package/dist/src/ranger/kv/client.d.ts.map +1 -1
- package/dist/src/ranger/kv/external.d.ts +3 -1
- package/dist/src/ranger/kv/external.d.ts.map +1 -1
- package/dist/src/ranger/kv/payload.d.ts +6 -13
- package/dist/src/ranger/kv/payload.d.ts.map +1 -1
- package/dist/src/ranger/kv/types.gen.d.ts +13 -0
- package/dist/src/ranger/kv/types.gen.d.ts.map +1 -0
- package/dist/src/ranger/payload.d.ts +2 -97
- package/dist/src/ranger/payload.d.ts.map +1 -1
- package/dist/src/ranger/types.gen.d.ts +219 -0
- package/dist/src/ranger/types.gen.d.ts.map +1 -0
- package/dist/src/ranger/writer.d.ts +25 -25
- package/dist/src/ranger/writer.d.ts.map +1 -1
- package/dist/src/schematic/client.d.ts +2 -11
- package/dist/src/schematic/client.d.ts.map +1 -1
- package/dist/src/schematic/external.d.ts +1 -1
- package/dist/src/schematic/external.d.ts.map +1 -1
- package/dist/src/schematic/symbol/client.d.ts +1 -2
- package/dist/src/schematic/symbol/client.d.ts.map +1 -1
- package/dist/src/schematic/symbol/external.d.ts +1 -1
- package/dist/src/schematic/symbol/external.d.ts.map +1 -1
- package/dist/src/schematic/symbol/types.gen.d.ts +277 -0
- package/dist/src/schematic/symbol/types.gen.d.ts.map +1 -0
- package/dist/src/schematic/types.gen.d.ts +35 -0
- package/dist/src/schematic/types.gen.d.ts.map +1 -0
- package/dist/src/status/client.d.ts +2 -0
- package/dist/src/status/client.d.ts.map +1 -1
- package/dist/src/status/payload.d.ts +25 -54
- package/dist/src/status/payload.d.ts.map +1 -1
- package/dist/src/table/client.d.ts +2 -11
- package/dist/src/table/client.d.ts.map +1 -1
- package/dist/src/table/external.d.ts +1 -1
- package/dist/src/table/external.d.ts.map +1 -1
- package/dist/src/table/types.gen.d.ts +33 -0
- package/dist/src/table/types.gen.d.ts.map +1 -0
- package/dist/src/task/client.d.ts +15 -20
- package/dist/src/task/client.d.ts.map +1 -1
- package/dist/src/task/external.d.ts +1 -1
- package/dist/src/task/external.d.ts.map +1 -1
- package/dist/src/task/types.gen.d.ts +155 -0
- package/dist/src/task/types.gen.d.ts.map +1 -0
- package/dist/src/user/client.d.ts +3 -3
- package/dist/src/user/client.d.ts.map +1 -1
- package/dist/src/user/external.d.ts +1 -1
- package/dist/src/user/external.d.ts.map +1 -1
- package/dist/src/user/types.gen.d.ts +35 -0
- package/dist/src/user/types.gen.d.ts.map +1 -0
- package/dist/src/util/decodeJSONString.d.ts.map +1 -1
- package/dist/src/view/client.d.ts +1 -10
- package/dist/src/view/client.d.ts.map +1 -1
- package/dist/src/view/external.d.ts +1 -1
- package/dist/src/view/external.d.ts.map +1 -1
- package/dist/src/view/types.gen.d.ts +35 -0
- package/dist/src/view/types.gen.d.ts.map +1 -0
- package/dist/src/workspace/client.d.ts +2 -11
- package/dist/src/workspace/client.d.ts.map +1 -1
- package/dist/src/workspace/external.d.ts +1 -1
- package/dist/src/workspace/external.d.ts.map +1 -1
- package/dist/src/workspace/types.gen.d.ts +34 -0
- package/dist/src/workspace/types.gen.d.ts.map +1 -0
- package/package.json +11 -11
- package/src/access/action/index.ts +11 -0
- package/src/access/{payload.ts → action/types.gen.ts} +4 -1
- package/src/access/enforce.spec.ts +1 -2
- package/src/access/enforce.ts +2 -2
- package/src/access/external.ts +1 -1
- package/src/access/policy/client.ts +2 -2
- package/src/access/policy/external.ts +1 -1
- package/src/access/policy/types.gen.ts +44 -0
- package/src/access/role/client.ts +2 -2
- package/src/access/role/external.ts +1 -1
- package/src/access/role/types.gen.ts +46 -0
- package/src/arc/access.spec.ts +18 -6
- package/src/arc/client.ts +3 -3
- package/src/{framer/payload.ts → arc/compiler/index.ts} +1 -6
- package/src/arc/compiler/types.gen.ts +27 -0
- package/src/arc/external.ts +6 -1
- package/src/arc/graph/index.ts +10 -0
- package/src/arc/graph/types.gen.ts +59 -0
- package/src/arc/ir/index.ts +10 -0
- package/src/arc/ir/types.gen.ts +166 -0
- package/src/arc/module/index.ts +10 -0
- package/src/arc/module/types.gen.ts +18 -0
- package/src/arc/program/index.ts +10 -0
- package/src/arc/program/types.gen.ts +18 -0
- package/src/arc/text/index.ts +10 -0
- package/src/arc/text/types.gen.ts +19 -0
- package/src/arc/types/index.ts +10 -0
- package/src/arc/types/types.gen.ts +132 -0
- package/src/arc/types.gen.ts +85 -0
- package/src/channel/client.ts +14 -15
- package/src/channel/external.ts +1 -0
- package/src/channel/payload.spec.ts +19 -16
- package/src/channel/payload.ts +14 -82
- package/src/channel/retriever.ts +9 -18
- package/src/channel/types.gen.ts +137 -0
- package/src/channel/writer.ts +2 -2
- package/src/client.ts +4 -0
- package/src/cluster/index.ts +10 -0
- package/src/cluster/types.gen.ts +16 -0
- package/src/control/state.ts +8 -6
- package/src/device/client.ts +14 -11
- package/src/device/device.spec.ts +95 -1
- package/src/device/external.ts +1 -1
- package/src/device/payload.spec.ts +26 -2
- package/src/device/types.gen.ts +100 -0
- package/src/framer/adapter.ts +7 -4
- package/src/framer/client.ts +15 -9
- package/src/framer/codec.spec.ts +25 -5
- package/src/framer/codec.ts +11 -9
- package/src/framer/deleter.spec.ts +0 -15
- package/src/framer/external.ts +1 -1
- package/src/framer/frame.ts +44 -36
- package/src/framer/reader.spec.ts +2 -2
- package/src/framer/reader.ts +6 -6
- package/src/framer/streamer.spec.ts +98 -0
- package/src/framer/streamer.ts +10 -0
- package/src/framer/types.gen.ts +20 -0
- package/src/framer/writer.ts +14 -8
- package/src/group/client.ts +1 -1
- package/src/group/external.ts +1 -1
- package/src/group/group.spec.ts +1 -1
- package/src/{access/role/payload.ts → group/types.gen.ts} +11 -11
- package/src/label/client.ts +2 -5
- package/src/label/label.spec.ts +12 -3
- package/src/label/payload.ts +3 -1
- package/src/lineplot/client.ts +9 -11
- package/src/lineplot/external.ts +1 -1
- package/src/lineplot/lineplot.spec.ts +40 -0
- package/src/lineplot/types.gen.ts +42 -0
- package/src/log/client.ts +9 -18
- package/src/log/external.ts +1 -1
- package/src/log/log.spec.ts +38 -0
- package/src/log/types.gen.ts +42 -0
- package/src/ontology/payload.ts +5 -29
- package/src/ontology/types.gen.ts +41 -0
- package/src/rack/client.ts +26 -10
- package/src/rack/external.ts +1 -1
- package/src/rack/rack.spec.ts +37 -0
- package/src/rack/types.gen.ts +62 -0
- package/src/range/alias/types.gen.ts +30 -0
- package/src/range/kv/types.gen.ts +28 -0
- package/src/ranger/alias/client.ts +1 -1
- package/src/ranger/alias/external.ts +3 -10
- package/src/ranger/alias/payload.spec.ts +52 -0
- package/src/ranger/alias/payload.ts +11 -10
- package/src/ranger/alias/types.gen.ts +30 -0
- package/src/ranger/client.ts +34 -45
- package/src/ranger/external.ts +3 -3
- package/src/ranger/kv/client.ts +3 -3
- package/src/ranger/kv/external.ts +3 -7
- package/src/ranger/kv/payload.ts +1 -6
- package/src/ranger/kv/types.gen.ts +28 -0
- package/src/ranger/payload.ts +2 -46
- package/src/ranger/ranger.spec.ts +2 -4
- package/src/ranger/types.gen.ts +66 -0
- package/src/ranger/writer.ts +2 -1
- package/src/schematic/client.ts +11 -14
- package/src/schematic/external.ts +1 -1
- package/src/schematic/schematic.spec.ts +54 -2
- package/src/schematic/symbol/client.ts +2 -4
- package/src/schematic/symbol/external.ts +1 -1
- package/src/schematic/symbol/types.gen.ts +124 -0
- package/src/schematic/types.gen.ts +44 -0
- package/src/status/client.ts +4 -3
- package/src/status/payload.ts +5 -4
- package/src/status/status.spec.ts +106 -11
- package/src/table/client.ts +10 -19
- package/src/table/external.ts +1 -1
- package/src/table/table.spec.ts +38 -0
- package/src/table/types.gen.ts +42 -0
- package/src/task/client.ts +30 -28
- package/src/task/external.ts +1 -1
- package/src/task/payload.spec.ts +19 -19
- package/src/task/task.spec.ts +127 -9
- package/src/task/types.gen.ts +169 -0
- package/src/user/client.ts +2 -2
- package/src/user/external.ts +1 -1
- package/src/user/types.gen.ts +49 -0
- package/src/util/decodeJSONString.ts +1 -1
- package/src/util/retrieve.ts +2 -2
- package/src/view/client.ts +2 -7
- package/src/view/external.ts +1 -1
- package/src/view/types.gen.ts +44 -0
- package/src/workspace/client.ts +10 -14
- package/src/workspace/external.ts +1 -1
- package/src/workspace/types.gen.ts +45 -0
- package/src/workspace/workspace.spec.ts +37 -0
- package/tsconfig.json +1 -3
- package/vite.config.ts +9 -2
- package/dist/src/access/payload.d.ts.map +0 -1
- package/dist/src/access/policy/payload.d.ts +0 -156
- package/dist/src/access/policy/payload.d.ts.map +0 -1
- package/dist/src/access/role/payload.d.ts +0 -27
- package/dist/src/access/role/payload.d.ts.map +0 -1
- package/dist/src/arc/payload.d.ts +0 -167
- package/dist/src/arc/payload.d.ts.map +0 -1
- package/dist/src/device/payload.d.ts +0 -281
- package/dist/src/device/payload.d.ts.map +0 -1
- package/dist/src/framer/payload.d.ts +0 -7
- package/dist/src/framer/payload.d.ts.map +0 -1
- package/dist/src/group/payload.d.ts +0 -16
- package/dist/src/group/payload.d.ts.map +0 -1
- package/dist/src/lineplot/payload.d.ts +0 -28
- package/dist/src/lineplot/payload.d.ts.map +0 -1
- package/dist/src/log/payload.d.ts +0 -28
- package/dist/src/log/payload.d.ts.map +0 -1
- package/dist/src/rack/payload.d.ts +0 -243
- package/dist/src/rack/payload.d.ts.map +0 -1
- package/dist/src/schematic/payload.d.ts +0 -38
- package/dist/src/schematic/payload.d.ts.map +0 -1
- package/dist/src/schematic/symbol/payload.d.ts +0 -169
- package/dist/src/schematic/symbol/payload.d.ts.map +0 -1
- package/dist/src/table/payload.d.ts +0 -33
- package/dist/src/table/payload.d.ts.map +0 -1
- package/dist/src/task/payload.d.ts +0 -123
- package/dist/src/task/payload.d.ts.map +0 -1
- package/dist/src/user/payload.d.ts +0 -22
- package/dist/src/user/payload.d.ts.map +0 -1
- package/dist/src/view/payload.d.ts +0 -20
- package/dist/src/view/payload.d.ts.map +0 -1
- package/dist/src/workspace/payload.d.ts +0 -33
- package/dist/src/workspace/payload.d.ts.map +0 -1
- package/src/access/policy/payload.ts +0 -37
- package/src/arc/payload.ts +0 -73
- package/src/device/payload.ts +0 -83
- package/src/group/payload.ts +0 -24
- package/src/lineplot/payload.ts +0 -29
- package/src/log/payload.ts +0 -29
- package/src/rack/payload.ts +0 -30
- package/src/schematic/payload.ts +0 -34
- package/src/schematic/symbol/payload.ts +0 -70
- package/src/table/payload.ts +0 -33
- package/src/task/payload.ts +0 -127
- package/src/user/payload.ts +0 -29
- package/src/view/payload.ts +0 -25
- package/src/workspace/payload.ts +0 -33
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { change, record } from '@synnaxlabs/x';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
import { RESOURCE_TYPES, ResourceType, resourceTypeZ } from './types.gen';
|
|
4
|
+
export { RESOURCE_TYPES, type ResourceType, resourceTypeZ };
|
|
3
5
|
export type ResourceChange = change.Change<ID, Resource>;
|
|
4
6
|
export interface ResourceSet extends change.Set<ID, Resource> {
|
|
5
7
|
}
|
|
@@ -12,63 +14,36 @@ export interface RelationshipDelete extends change.Delete<Relationship, undefine
|
|
|
12
14
|
}
|
|
13
15
|
export interface RelationshipDelete extends change.Delete<Relationship, undefined> {
|
|
14
16
|
}
|
|
15
|
-
export declare const resourceTypeZ: 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
|
-
export type ResourceType = z.infer<typeof resourceTypeZ>;
|
|
42
17
|
export declare const idZ: z.ZodUnion<[z.ZodObject<{
|
|
43
18
|
type: z.ZodEnum<{
|
|
44
|
-
|
|
45
|
-
log: "log";
|
|
19
|
+
arc: "arc";
|
|
46
20
|
builtin: "builtin";
|
|
47
|
-
cluster: "cluster";
|
|
48
21
|
channel: "channel";
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
range: "range";
|
|
22
|
+
cluster: "cluster";
|
|
23
|
+
device: "device";
|
|
52
24
|
framer: "framer";
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
workspace: "workspace";
|
|
56
|
-
schematic: "schematic";
|
|
25
|
+
group: "group";
|
|
26
|
+
label: "label";
|
|
57
27
|
lineplot: "lineplot";
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
task: "task";
|
|
28
|
+
log: "log";
|
|
29
|
+
node: "node";
|
|
61
30
|
policy: "policy";
|
|
31
|
+
rack: "rack";
|
|
32
|
+
range: "range";
|
|
33
|
+
"range-alias": "range-alias";
|
|
62
34
|
role: "role";
|
|
63
|
-
|
|
64
|
-
arc: "arc";
|
|
35
|
+
schematic: "schematic";
|
|
65
36
|
schematic_symbol: "schematic_symbol";
|
|
66
37
|
status: "status";
|
|
38
|
+
table: "table";
|
|
39
|
+
task: "task";
|
|
40
|
+
user: "user";
|
|
67
41
|
view: "view";
|
|
42
|
+
workspace: "workspace";
|
|
68
43
|
}>;
|
|
69
44
|
key: z.ZodString;
|
|
70
45
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
71
|
-
type: "
|
|
46
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
72
47
|
key: string;
|
|
73
48
|
}, string>>]>;
|
|
74
49
|
export type ID = z.infer<typeof idZ>;
|
|
@@ -89,44 +64,44 @@ export declare const parseIDs: (ids: ID | string | Resource | (ID | string | Res
|
|
|
89
64
|
export declare const resourceZ: z.ZodPipe<z.ZodObject<{
|
|
90
65
|
id: z.ZodUnion<[z.ZodObject<{
|
|
91
66
|
type: z.ZodEnum<{
|
|
92
|
-
|
|
93
|
-
log: "log";
|
|
67
|
+
arc: "arc";
|
|
94
68
|
builtin: "builtin";
|
|
95
|
-
cluster: "cluster";
|
|
96
69
|
channel: "channel";
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
range: "range";
|
|
70
|
+
cluster: "cluster";
|
|
71
|
+
device: "device";
|
|
100
72
|
framer: "framer";
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
workspace: "workspace";
|
|
104
|
-
schematic: "schematic";
|
|
73
|
+
group: "group";
|
|
74
|
+
label: "label";
|
|
105
75
|
lineplot: "lineplot";
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
task: "task";
|
|
76
|
+
log: "log";
|
|
77
|
+
node: "node";
|
|
109
78
|
policy: "policy";
|
|
79
|
+
rack: "rack";
|
|
80
|
+
range: "range";
|
|
81
|
+
"range-alias": "range-alias";
|
|
110
82
|
role: "role";
|
|
111
|
-
|
|
112
|
-
arc: "arc";
|
|
83
|
+
schematic: "schematic";
|
|
113
84
|
schematic_symbol: "schematic_symbol";
|
|
114
85
|
status: "status";
|
|
86
|
+
table: "table";
|
|
87
|
+
task: "task";
|
|
88
|
+
user: "user";
|
|
115
89
|
view: "view";
|
|
90
|
+
workspace: "workspace";
|
|
116
91
|
}>;
|
|
117
92
|
key: z.ZodString;
|
|
118
93
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
119
|
-
type: "
|
|
94
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
120
95
|
key: string;
|
|
121
96
|
}, string>>]>;
|
|
122
97
|
name: z.ZodString;
|
|
123
98
|
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>>;
|
|
124
99
|
}, z.core.$strip>, z.ZodTransform<{
|
|
125
100
|
id: {
|
|
126
|
-
type: "
|
|
101
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
127
102
|
key: string;
|
|
128
103
|
} | {
|
|
129
|
-
type: "
|
|
104
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
130
105
|
key: string;
|
|
131
106
|
};
|
|
132
107
|
name: string;
|
|
@@ -134,10 +109,10 @@ export declare const resourceZ: z.ZodPipe<z.ZodObject<{
|
|
|
134
109
|
key: string;
|
|
135
110
|
}, {
|
|
136
111
|
id: {
|
|
137
|
-
type: "
|
|
112
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
138
113
|
key: string;
|
|
139
114
|
} | {
|
|
140
|
-
type: "
|
|
115
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
141
116
|
key: string;
|
|
142
117
|
};
|
|
143
118
|
name: string;
|
|
@@ -151,83 +126,83 @@ export declare const oppositeRelationshipDirection: (direction: RelationshipDire
|
|
|
151
126
|
export declare const relationshipZ: z.ZodUnion<[z.ZodObject<{
|
|
152
127
|
from: z.ZodUnion<[z.ZodObject<{
|
|
153
128
|
type: z.ZodEnum<{
|
|
154
|
-
|
|
155
|
-
log: "log";
|
|
129
|
+
arc: "arc";
|
|
156
130
|
builtin: "builtin";
|
|
157
|
-
cluster: "cluster";
|
|
158
131
|
channel: "channel";
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
range: "range";
|
|
132
|
+
cluster: "cluster";
|
|
133
|
+
device: "device";
|
|
162
134
|
framer: "framer";
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
workspace: "workspace";
|
|
166
|
-
schematic: "schematic";
|
|
135
|
+
group: "group";
|
|
136
|
+
label: "label";
|
|
167
137
|
lineplot: "lineplot";
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
task: "task";
|
|
138
|
+
log: "log";
|
|
139
|
+
node: "node";
|
|
171
140
|
policy: "policy";
|
|
141
|
+
rack: "rack";
|
|
142
|
+
range: "range";
|
|
143
|
+
"range-alias": "range-alias";
|
|
172
144
|
role: "role";
|
|
173
|
-
|
|
174
|
-
arc: "arc";
|
|
145
|
+
schematic: "schematic";
|
|
175
146
|
schematic_symbol: "schematic_symbol";
|
|
176
147
|
status: "status";
|
|
148
|
+
table: "table";
|
|
149
|
+
task: "task";
|
|
150
|
+
user: "user";
|
|
177
151
|
view: "view";
|
|
152
|
+
workspace: "workspace";
|
|
178
153
|
}>;
|
|
179
154
|
key: z.ZodString;
|
|
180
155
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
181
|
-
type: "
|
|
156
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
182
157
|
key: string;
|
|
183
158
|
}, string>>]>;
|
|
184
159
|
type: z.ZodString;
|
|
185
160
|
to: z.ZodUnion<[z.ZodObject<{
|
|
186
161
|
type: z.ZodEnum<{
|
|
187
|
-
|
|
188
|
-
log: "log";
|
|
162
|
+
arc: "arc";
|
|
189
163
|
builtin: "builtin";
|
|
190
|
-
cluster: "cluster";
|
|
191
164
|
channel: "channel";
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
range: "range";
|
|
165
|
+
cluster: "cluster";
|
|
166
|
+
device: "device";
|
|
195
167
|
framer: "framer";
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
workspace: "workspace";
|
|
199
|
-
schematic: "schematic";
|
|
168
|
+
group: "group";
|
|
169
|
+
label: "label";
|
|
200
170
|
lineplot: "lineplot";
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
task: "task";
|
|
171
|
+
log: "log";
|
|
172
|
+
node: "node";
|
|
204
173
|
policy: "policy";
|
|
174
|
+
rack: "rack";
|
|
175
|
+
range: "range";
|
|
176
|
+
"range-alias": "range-alias";
|
|
205
177
|
role: "role";
|
|
206
|
-
|
|
207
|
-
arc: "arc";
|
|
178
|
+
schematic: "schematic";
|
|
208
179
|
schematic_symbol: "schematic_symbol";
|
|
209
180
|
status: "status";
|
|
181
|
+
table: "table";
|
|
182
|
+
task: "task";
|
|
183
|
+
user: "user";
|
|
210
184
|
view: "view";
|
|
185
|
+
workspace: "workspace";
|
|
211
186
|
}>;
|
|
212
187
|
key: z.ZodString;
|
|
213
188
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
214
|
-
type: "
|
|
189
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
215
190
|
key: string;
|
|
216
191
|
}, string>>]>;
|
|
217
192
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
218
193
|
from: {
|
|
219
|
-
type: "
|
|
194
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
220
195
|
key: string;
|
|
221
196
|
} | {
|
|
222
|
-
type: "
|
|
197
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
223
198
|
key: string;
|
|
224
199
|
};
|
|
225
200
|
type: string;
|
|
226
201
|
to: {
|
|
227
|
-
type: "
|
|
202
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
228
203
|
key: string;
|
|
229
204
|
} | {
|
|
230
|
-
type: "
|
|
205
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
231
206
|
key: string;
|
|
232
207
|
};
|
|
233
208
|
}, string>>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/ontology/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAS,KAAK,MAAM,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;AACzD,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,QAAQ,CAAC;CAAG;AAChE,MAAM,WAAW,cAAe,SAAQ,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC;CAAG;AACtE,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;AACxE,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,GAAG,CAAC,YAAY,EAAE,SAAS,CAAC;CAAG;AAC/E,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,SAAS,CAAC;CAAG;AAErF,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,SAAS,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/ontology/payload.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const RESOURCE_TYPES: readonly ["arc", "builtin", "channel", "cluster", "device", "framer", "group", "label", "lineplot", "log", "node", "policy", "rack", "range", "range-alias", "role", "schematic", "schematic_symbol", "status", "table", "task", "user", "view", "workspace"];
|
|
3
|
+
export declare const resourceTypeZ: z.ZodEnum<{
|
|
4
|
+
arc: "arc";
|
|
5
|
+
builtin: "builtin";
|
|
6
|
+
channel: "channel";
|
|
7
|
+
cluster: "cluster";
|
|
8
|
+
device: "device";
|
|
9
|
+
framer: "framer";
|
|
10
|
+
group: "group";
|
|
11
|
+
label: "label";
|
|
12
|
+
lineplot: "lineplot";
|
|
13
|
+
log: "log";
|
|
14
|
+
node: "node";
|
|
15
|
+
policy: "policy";
|
|
16
|
+
rack: "rack";
|
|
17
|
+
range: "range";
|
|
18
|
+
"range-alias": "range-alias";
|
|
19
|
+
role: "role";
|
|
20
|
+
schematic: "schematic";
|
|
21
|
+
schematic_symbol: "schematic_symbol";
|
|
22
|
+
status: "status";
|
|
23
|
+
table: "table";
|
|
24
|
+
task: "task";
|
|
25
|
+
user: "user";
|
|
26
|
+
view: "view";
|
|
27
|
+
workspace: "workspace";
|
|
28
|
+
}>;
|
|
29
|
+
export type ResourceType = z.infer<typeof resourceTypeZ>;
|
|
30
|
+
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../src/ontology/types.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,+PAyBjB,CAAC;AACX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;EAAyB,CAAC;AACpD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -4,164 +4,164 @@ import { ID } from './payload';
|
|
|
4
4
|
export declare const addRemoveChildrenReqZ: z.ZodObject<{
|
|
5
5
|
id: z.ZodUnion<[z.ZodObject<{
|
|
6
6
|
type: z.ZodEnum<{
|
|
7
|
-
|
|
8
|
-
log: "log";
|
|
7
|
+
arc: "arc";
|
|
9
8
|
builtin: "builtin";
|
|
10
|
-
cluster: "cluster";
|
|
11
9
|
channel: "channel";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
range: "range";
|
|
10
|
+
cluster: "cluster";
|
|
11
|
+
device: "device";
|
|
15
12
|
framer: "framer";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
workspace: "workspace";
|
|
19
|
-
schematic: "schematic";
|
|
13
|
+
group: "group";
|
|
14
|
+
label: "label";
|
|
20
15
|
lineplot: "lineplot";
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
task: "task";
|
|
16
|
+
log: "log";
|
|
17
|
+
node: "node";
|
|
24
18
|
policy: "policy";
|
|
19
|
+
rack: "rack";
|
|
20
|
+
range: "range";
|
|
21
|
+
"range-alias": "range-alias";
|
|
25
22
|
role: "role";
|
|
26
|
-
|
|
27
|
-
arc: "arc";
|
|
23
|
+
schematic: "schematic";
|
|
28
24
|
schematic_symbol: "schematic_symbol";
|
|
29
25
|
status: "status";
|
|
26
|
+
table: "table";
|
|
27
|
+
task: "task";
|
|
28
|
+
user: "user";
|
|
30
29
|
view: "view";
|
|
30
|
+
workspace: "workspace";
|
|
31
31
|
}>;
|
|
32
32
|
key: z.ZodString;
|
|
33
33
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
34
|
-
type: "
|
|
34
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
35
35
|
key: string;
|
|
36
36
|
}, string>>]>;
|
|
37
37
|
children: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
38
38
|
type: z.ZodEnum<{
|
|
39
|
-
|
|
40
|
-
log: "log";
|
|
39
|
+
arc: "arc";
|
|
41
40
|
builtin: "builtin";
|
|
42
|
-
cluster: "cluster";
|
|
43
41
|
channel: "channel";
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
range: "range";
|
|
42
|
+
cluster: "cluster";
|
|
43
|
+
device: "device";
|
|
47
44
|
framer: "framer";
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
workspace: "workspace";
|
|
51
|
-
schematic: "schematic";
|
|
45
|
+
group: "group";
|
|
46
|
+
label: "label";
|
|
52
47
|
lineplot: "lineplot";
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
task: "task";
|
|
48
|
+
log: "log";
|
|
49
|
+
node: "node";
|
|
56
50
|
policy: "policy";
|
|
51
|
+
rack: "rack";
|
|
52
|
+
range: "range";
|
|
53
|
+
"range-alias": "range-alias";
|
|
57
54
|
role: "role";
|
|
58
|
-
|
|
59
|
-
arc: "arc";
|
|
55
|
+
schematic: "schematic";
|
|
60
56
|
schematic_symbol: "schematic_symbol";
|
|
61
57
|
status: "status";
|
|
58
|
+
table: "table";
|
|
59
|
+
task: "task";
|
|
60
|
+
user: "user";
|
|
62
61
|
view: "view";
|
|
62
|
+
workspace: "workspace";
|
|
63
63
|
}>;
|
|
64
64
|
key: z.ZodString;
|
|
65
65
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
66
|
-
type: "
|
|
66
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
67
67
|
key: string;
|
|
68
68
|
}, string>>]>>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
70
|
export declare const moveChildrenReqZ: z.ZodObject<{
|
|
71
71
|
from: z.ZodUnion<[z.ZodObject<{
|
|
72
72
|
type: z.ZodEnum<{
|
|
73
|
-
|
|
74
|
-
log: "log";
|
|
73
|
+
arc: "arc";
|
|
75
74
|
builtin: "builtin";
|
|
76
|
-
cluster: "cluster";
|
|
77
75
|
channel: "channel";
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
range: "range";
|
|
76
|
+
cluster: "cluster";
|
|
77
|
+
device: "device";
|
|
81
78
|
framer: "framer";
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
workspace: "workspace";
|
|
85
|
-
schematic: "schematic";
|
|
79
|
+
group: "group";
|
|
80
|
+
label: "label";
|
|
86
81
|
lineplot: "lineplot";
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
task: "task";
|
|
82
|
+
log: "log";
|
|
83
|
+
node: "node";
|
|
90
84
|
policy: "policy";
|
|
85
|
+
rack: "rack";
|
|
86
|
+
range: "range";
|
|
87
|
+
"range-alias": "range-alias";
|
|
91
88
|
role: "role";
|
|
92
|
-
|
|
93
|
-
arc: "arc";
|
|
89
|
+
schematic: "schematic";
|
|
94
90
|
schematic_symbol: "schematic_symbol";
|
|
95
91
|
status: "status";
|
|
92
|
+
table: "table";
|
|
93
|
+
task: "task";
|
|
94
|
+
user: "user";
|
|
96
95
|
view: "view";
|
|
96
|
+
workspace: "workspace";
|
|
97
97
|
}>;
|
|
98
98
|
key: z.ZodString;
|
|
99
99
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
100
|
-
type: "
|
|
100
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
101
101
|
key: string;
|
|
102
102
|
}, string>>]>;
|
|
103
103
|
to: z.ZodUnion<[z.ZodObject<{
|
|
104
104
|
type: z.ZodEnum<{
|
|
105
|
-
|
|
106
|
-
log: "log";
|
|
105
|
+
arc: "arc";
|
|
107
106
|
builtin: "builtin";
|
|
108
|
-
cluster: "cluster";
|
|
109
107
|
channel: "channel";
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
range: "range";
|
|
108
|
+
cluster: "cluster";
|
|
109
|
+
device: "device";
|
|
113
110
|
framer: "framer";
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
workspace: "workspace";
|
|
117
|
-
schematic: "schematic";
|
|
111
|
+
group: "group";
|
|
112
|
+
label: "label";
|
|
118
113
|
lineplot: "lineplot";
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
task: "task";
|
|
114
|
+
log: "log";
|
|
115
|
+
node: "node";
|
|
122
116
|
policy: "policy";
|
|
117
|
+
rack: "rack";
|
|
118
|
+
range: "range";
|
|
119
|
+
"range-alias": "range-alias";
|
|
123
120
|
role: "role";
|
|
124
|
-
|
|
125
|
-
arc: "arc";
|
|
121
|
+
schematic: "schematic";
|
|
126
122
|
schematic_symbol: "schematic_symbol";
|
|
127
123
|
status: "status";
|
|
124
|
+
table: "table";
|
|
125
|
+
task: "task";
|
|
126
|
+
user: "user";
|
|
128
127
|
view: "view";
|
|
128
|
+
workspace: "workspace";
|
|
129
129
|
}>;
|
|
130
130
|
key: z.ZodString;
|
|
131
131
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
132
|
-
type: "
|
|
132
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
133
133
|
key: string;
|
|
134
134
|
}, string>>]>;
|
|
135
135
|
children: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
136
136
|
type: z.ZodEnum<{
|
|
137
|
-
|
|
138
|
-
log: "log";
|
|
137
|
+
arc: "arc";
|
|
139
138
|
builtin: "builtin";
|
|
140
|
-
cluster: "cluster";
|
|
141
139
|
channel: "channel";
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
range: "range";
|
|
140
|
+
cluster: "cluster";
|
|
141
|
+
device: "device";
|
|
145
142
|
framer: "framer";
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
workspace: "workspace";
|
|
149
|
-
schematic: "schematic";
|
|
143
|
+
group: "group";
|
|
144
|
+
label: "label";
|
|
150
145
|
lineplot: "lineplot";
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
task: "task";
|
|
146
|
+
log: "log";
|
|
147
|
+
node: "node";
|
|
154
148
|
policy: "policy";
|
|
149
|
+
rack: "rack";
|
|
150
|
+
range: "range";
|
|
151
|
+
"range-alias": "range-alias";
|
|
155
152
|
role: "role";
|
|
156
|
-
|
|
157
|
-
arc: "arc";
|
|
153
|
+
schematic: "schematic";
|
|
158
154
|
schematic_symbol: "schematic_symbol";
|
|
159
155
|
status: "status";
|
|
156
|
+
table: "table";
|
|
157
|
+
task: "task";
|
|
158
|
+
user: "user";
|
|
160
159
|
view: "view";
|
|
160
|
+
workspace: "workspace";
|
|
161
161
|
}>;
|
|
162
162
|
key: z.ZodString;
|
|
163
163
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
164
|
-
type: "
|
|
164
|
+
type: "arc" | "builtin" | "channel" | "cluster" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
165
165
|
key: string;
|
|
166
166
|
}, string>>]>>;
|
|
167
167
|
}, z.core.$strip>;
|