@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
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* Group is a named collection container for organizing related resources. Groups
|
|
7
|
+
* provide hierarchical organization through the ontology system.
|
|
8
|
+
*/
|
|
9
|
+
export declare const groupZ: z.ZodObject<{
|
|
10
|
+
key: z.ZodUUID;
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export interface Group extends z.infer<typeof groupZ> {
|
|
14
|
+
}
|
|
15
|
+
export declare const ontologyID: ontology.CreateID<string>;
|
|
16
|
+
export declare const TYPE_ONTOLOGY_ID: {
|
|
17
|
+
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";
|
|
18
|
+
key: string;
|
|
19
|
+
} | {
|
|
20
|
+
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";
|
|
21
|
+
key: string;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../src/group/types.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,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;;;GAGG;AACH,eAAO,MAAM,MAAM;;;iBAKjB,CAAC;AACH,MAAM,WAAW,KAAM,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC;CAAG;AAExD,eAAO,MAAM,UAAU,2BAAyC,CAAC;AACjE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -1,61 +1,40 @@
|
|
|
1
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
2
|
import { default as z } from 'zod';
|
|
3
|
-
import { Key, Label } from './payload';
|
|
3
|
+
import { Key, Label, New } from './payload';
|
|
4
4
|
import { ontology } from '../ontology';
|
|
5
5
|
export declare const SET_CHANNEL_NAME = "sy_label_set";
|
|
6
6
|
export declare const DELETE_CHANNEL_NAME = "sy_label_delete";
|
|
7
|
-
export declare const newZ: z.ZodObject<{
|
|
8
|
-
name: z.ZodString;
|
|
9
|
-
color: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
10
|
-
rgba255: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
11
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
12
|
-
r: z.ZodNumber;
|
|
13
|
-
g: z.ZodNumber;
|
|
14
|
-
b: z.ZodNumber;
|
|
15
|
-
a: z.ZodNumber;
|
|
16
|
-
}, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number] | {
|
|
17
|
-
r: number;
|
|
18
|
-
g: number;
|
|
19
|
-
b: number;
|
|
20
|
-
a: number;
|
|
21
|
-
} | [number, number, number, number] | {
|
|
22
|
-
rgba255: [number, number, number, number];
|
|
23
|
-
}>>;
|
|
24
|
-
key: z.ZodOptional<z.ZodUUID>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
export interface New extends z.input<typeof newZ> {
|
|
27
|
-
}
|
|
28
7
|
declare const setReqZ: z.ZodObject<{
|
|
29
8
|
id: z.ZodUnion<[z.ZodObject<{
|
|
30
9
|
type: z.ZodEnum<{
|
|
31
|
-
|
|
32
|
-
log: "log";
|
|
10
|
+
arc: "arc";
|
|
33
11
|
builtin: "builtin";
|
|
34
|
-
cluster: "cluster";
|
|
35
12
|
channel: "channel";
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
range: "range";
|
|
13
|
+
cluster: "cluster";
|
|
14
|
+
device: "device";
|
|
39
15
|
framer: "framer";
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
workspace: "workspace";
|
|
43
|
-
schematic: "schematic";
|
|
16
|
+
group: "group";
|
|
17
|
+
label: "label";
|
|
44
18
|
lineplot: "lineplot";
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
task: "task";
|
|
19
|
+
log: "log";
|
|
20
|
+
node: "node";
|
|
48
21
|
policy: "policy";
|
|
22
|
+
rack: "rack";
|
|
23
|
+
range: "range";
|
|
24
|
+
"range-alias": "range-alias";
|
|
49
25
|
role: "role";
|
|
50
|
-
|
|
51
|
-
arc: "arc";
|
|
26
|
+
schematic: "schematic";
|
|
52
27
|
schematic_symbol: "schematic_symbol";
|
|
53
28
|
status: "status";
|
|
29
|
+
table: "table";
|
|
30
|
+
task: "task";
|
|
31
|
+
user: "user";
|
|
54
32
|
view: "view";
|
|
33
|
+
workspace: "workspace";
|
|
55
34
|
}>;
|
|
56
35
|
key: z.ZodString;
|
|
57
36
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
58
|
-
type: "
|
|
37
|
+
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";
|
|
59
38
|
key: string;
|
|
60
39
|
}, string>>]>;
|
|
61
40
|
labels: z.ZodArray<z.ZodUUID>;
|
|
@@ -70,34 +49,34 @@ declare const retrieveRequestZ: z.ZodObject<{
|
|
|
70
49
|
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
50
|
for: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
72
51
|
type: z.ZodEnum<{
|
|
73
|
-
|
|
74
|
-
log: "log";
|
|
52
|
+
arc: "arc";
|
|
75
53
|
builtin: "builtin";
|
|
76
|
-
cluster: "cluster";
|
|
77
54
|
channel: "channel";
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
range: "range";
|
|
55
|
+
cluster: "cluster";
|
|
56
|
+
device: "device";
|
|
81
57
|
framer: "framer";
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
workspace: "workspace";
|
|
85
|
-
schematic: "schematic";
|
|
58
|
+
group: "group";
|
|
59
|
+
label: "label";
|
|
86
60
|
lineplot: "lineplot";
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
task: "task";
|
|
61
|
+
log: "log";
|
|
62
|
+
node: "node";
|
|
90
63
|
policy: "policy";
|
|
64
|
+
rack: "rack";
|
|
65
|
+
range: "range";
|
|
66
|
+
"range-alias": "range-alias";
|
|
91
67
|
role: "role";
|
|
92
|
-
|
|
93
|
-
arc: "arc";
|
|
68
|
+
schematic: "schematic";
|
|
94
69
|
schematic_symbol: "schematic_symbol";
|
|
95
70
|
status: "status";
|
|
71
|
+
table: "table";
|
|
72
|
+
task: "task";
|
|
73
|
+
user: "user";
|
|
96
74
|
view: "view";
|
|
75
|
+
workspace: "workspace";
|
|
97
76
|
}>;
|
|
98
77
|
key: z.ZodString;
|
|
99
78
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
100
|
-
type: "
|
|
79
|
+
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
80
|
key: string;
|
|
102
81
|
}, string>>]>>;
|
|
103
82
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
@@ -122,34 +101,34 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
122
101
|
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
102
|
for: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
124
103
|
type: z.ZodEnum<{
|
|
125
|
-
|
|
126
|
-
log: "log";
|
|
104
|
+
arc: "arc";
|
|
127
105
|
builtin: "builtin";
|
|
128
|
-
cluster: "cluster";
|
|
129
106
|
channel: "channel";
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
range: "range";
|
|
107
|
+
cluster: "cluster";
|
|
108
|
+
device: "device";
|
|
133
109
|
framer: "framer";
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
workspace: "workspace";
|
|
137
|
-
schematic: "schematic";
|
|
110
|
+
group: "group";
|
|
111
|
+
label: "label";
|
|
138
112
|
lineplot: "lineplot";
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
task: "task";
|
|
113
|
+
log: "log";
|
|
114
|
+
node: "node";
|
|
142
115
|
policy: "policy";
|
|
116
|
+
rack: "rack";
|
|
117
|
+
range: "range";
|
|
118
|
+
"range-alias": "range-alias";
|
|
143
119
|
role: "role";
|
|
144
|
-
|
|
145
|
-
arc: "arc";
|
|
120
|
+
schematic: "schematic";
|
|
146
121
|
schematic_symbol: "schematic_symbol";
|
|
147
122
|
status: "status";
|
|
123
|
+
table: "table";
|
|
124
|
+
task: "task";
|
|
125
|
+
user: "user";
|
|
148
126
|
view: "view";
|
|
127
|
+
workspace: "workspace";
|
|
149
128
|
}>;
|
|
150
129
|
key: z.ZodString;
|
|
151
130
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
152
|
-
type: "
|
|
131
|
+
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";
|
|
153
132
|
key: string;
|
|
154
133
|
}, string>>]>>;
|
|
155
134
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
@@ -173,10 +152,10 @@ export declare class Client {
|
|
|
173
152
|
}
|
|
174
153
|
export declare const ontologyID: ontology.CreateID<string>;
|
|
175
154
|
export declare const TYPE_ONTOLOGY_ID: {
|
|
176
|
-
type: "
|
|
155
|
+
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";
|
|
177
156
|
key: string;
|
|
178
157
|
} | {
|
|
179
|
-
type: "
|
|
158
|
+
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";
|
|
180
159
|
key: string;
|
|
181
160
|
};
|
|
182
161
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/label/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,KAAK,GAAG,EAAQ,KAAK,KAAK,EAAU,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/label/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,KAAK,GAAG,EAAQ,KAAK,KAAK,EAAU,KAAK,GAAG,EAAQ,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AAKrD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIX,CAAC;AAEH,UAAU,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC;CAAG;AACnD,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;CAAG;AAK9D,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOpB,CAAC;AAEH,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAmD,CAAC;AAEvE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAItE,qBAAa,MAAM;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAW;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC;IACpD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IAcxD,KAAK,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,IAAI,GAAE,UAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAU3E,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAUrD,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC;IAClC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IAavC,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAS/C;AAED,eAAO,MAAM,UAAU,2BAAyC,CAAC;AACjE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -5,22 +5,44 @@ export type Key = label.Key;
|
|
|
5
5
|
export declare const labelZ: import('zod').ZodObject<{
|
|
6
6
|
key: import('zod').ZodUUID;
|
|
7
7
|
name: import('zod').ZodString;
|
|
8
|
-
color: import('zod').ZodPipe<import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodTuple<[import('zod').
|
|
9
|
-
rgba255: import('zod').ZodTuple<[import('zod').
|
|
8
|
+
color: import('zod').ZodPipe<import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodTuple<[import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodInt], null>, import('zod').ZodTuple<[import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodNumber], null>, import('zod').ZodTuple<[import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber], null>, import('zod').ZodObject<{
|
|
9
|
+
rgba255: import('zod').ZodTuple<[import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodNumber], null>;
|
|
10
10
|
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
11
|
-
r: import('zod').
|
|
12
|
-
g: import('zod').
|
|
13
|
-
b: import('zod').
|
|
11
|
+
r: import('zod').ZodInt;
|
|
12
|
+
g: import('zod').ZodInt;
|
|
13
|
+
b: import('zod').ZodInt;
|
|
14
14
|
a: import('zod').ZodNumber;
|
|
15
|
-
}, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number] | {
|
|
15
|
+
}, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number, number] | {
|
|
16
|
+
rgba255: [number, number, number, number];
|
|
17
|
+
} | {
|
|
16
18
|
r: number;
|
|
17
19
|
g: number;
|
|
18
20
|
b: number;
|
|
19
21
|
a: number;
|
|
20
|
-
}
|
|
22
|
+
}>>;
|
|
23
|
+
}, import('zod/v4/core').$strip>;
|
|
24
|
+
export interface Label extends label.Label {
|
|
25
|
+
}
|
|
26
|
+
export declare const newZ: import('zod').ZodObject<{
|
|
27
|
+
key: import('zod').ZodOptional<import('zod').ZodUUID>;
|
|
28
|
+
name: import('zod').ZodString;
|
|
29
|
+
color: import('zod').ZodPipe<import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodTuple<[import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodInt], null>, import('zod').ZodTuple<[import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodNumber], null>, import('zod').ZodTuple<[import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber], null>, import('zod').ZodObject<{
|
|
30
|
+
rgba255: import('zod').ZodTuple<[import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodInt, import('zod').ZodNumber], null>;
|
|
31
|
+
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
32
|
+
r: import('zod').ZodInt;
|
|
33
|
+
g: import('zod').ZodInt;
|
|
34
|
+
b: import('zod').ZodInt;
|
|
35
|
+
a: import('zod').ZodNumber;
|
|
36
|
+
}, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number, number] | {
|
|
21
37
|
rgba255: [number, number, number, number];
|
|
38
|
+
} | {
|
|
39
|
+
r: number;
|
|
40
|
+
g: number;
|
|
41
|
+
b: number;
|
|
42
|
+
a: number;
|
|
22
43
|
}>>;
|
|
23
44
|
}, import('zod/v4/core').$strip>;
|
|
24
|
-
export
|
|
45
|
+
export interface New extends label.New {
|
|
46
|
+
}
|
|
25
47
|
export declare const LABELED_BY_ONTOLOGY_RELATIONSHIP_TYPE = "labeled_by";
|
|
26
48
|
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/label/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;AAE7C,eAAO,MAAM,IAAI,uBAAa,CAAC;AAC/B,MAAM,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC;AAC5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;gCAAe,CAAC;AACnC,MAAM,
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/label/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;AAE7C,eAAO,MAAM,IAAI,uBAAa,CAAC;AAC/B,MAAM,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC;AAC5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;gCAAe,CAAC;AACnC,MAAM,WAAW,KAAM,SAAQ,KAAK,CAAC,KAAK;CAAG;AAC7C,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;gCAAa,CAAC;AAC/B,MAAM,WAAW,GAAI,SAAQ,KAAK,CAAC,GAAG;CAAG;AAEzC,eAAO,MAAM,qCAAqC,eAAe,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
2
|
import { record } from '@synnaxlabs/x';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { Key, LinePlot, New
|
|
5
|
-
import { ontology } from '../ontology';
|
|
4
|
+
import { Key, LinePlot, New } from './types.gen';
|
|
6
5
|
import { workspace } from '../workspace';
|
|
7
6
|
declare const retrieveReqZ: z.ZodObject<{
|
|
8
7
|
keys: z.ZodArray<z.ZodUUID>;
|
|
@@ -35,15 +34,7 @@ export declare class Client {
|
|
|
35
34
|
setData(key: Key, data: record.Unknown): Promise<void>;
|
|
36
35
|
retrieve(args: RetrieveSingleParams): Promise<LinePlot>;
|
|
37
36
|
retrieve(args: RetrieveMultipleParams): Promise<LinePlot[]>;
|
|
38
|
-
delete(keys:
|
|
37
|
+
delete(keys: Key | Key[]): Promise<void>;
|
|
39
38
|
}
|
|
40
|
-
export declare const ontologyID: ontology.CreateID<string>;
|
|
41
|
-
export declare const TYPE_ONTOLOGY_ID: {
|
|
42
|
-
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";
|
|
43
|
-
key: string;
|
|
44
|
-
} | {
|
|
45
|
-
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";
|
|
46
|
-
key: string;
|
|
47
|
-
};
|
|
48
39
|
export {};
|
|
49
40
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/lineplot/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/lineplot/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAmB,MAAM,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAER,KAAK,QAAQ,EAEb,KAAK,GAAG,EAET,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAUxC,QAAA,MAAM,YAAY;;iBAAmC,CAAC;AACtD,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C,eAAO,MAAM,aAAa;;;;;;;;mBAA+C,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AASlE,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC;IAClE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAgBvE,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7C,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAUtD,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC;IACvD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAgB3D,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAS/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/lineplot/external.ts"],"names":[],"mappings":"AASA,cAAc,mBAAmB,CAAC;AAClC,cAAc,
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/lineplot/external.ts"],"names":[],"mappings":"AASA,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { record } from '@synnaxlabs/x';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { ontology } from '../ontology';
|
|
4
|
+
export declare const keyZ: z.ZodUUID;
|
|
5
|
+
export type Key = z.infer<typeof keyZ>;
|
|
6
|
+
/**
|
|
7
|
+
* LinePlot is a time-series visualization component for plotting telemetry data.
|
|
8
|
+
* Line plots support multiple channels, real-time streaming, and historical
|
|
9
|
+
* data display with zoom and pan capabilities.
|
|
10
|
+
*/
|
|
11
|
+
export declare const linePlotZ: z.ZodObject<{
|
|
12
|
+
key: z.ZodUUID;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
data: z.ZodType<record.Unknown, unknown, z.core.$ZodTypeInternals<record.Unknown, unknown>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export interface LinePlot extends z.infer<typeof linePlotZ> {
|
|
17
|
+
}
|
|
18
|
+
export declare const newZ: z.ZodObject<{
|
|
19
|
+
key: z.ZodOptional<z.ZodUUID>;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
data: z.ZodType<record.Unknown, unknown, z.core.$ZodTypeInternals<record.Unknown, unknown>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export interface New extends z.input<typeof newZ> {
|
|
24
|
+
}
|
|
25
|
+
export declare const ontologyID: ontology.CreateID<string>;
|
|
26
|
+
export declare const TYPE_ONTOLOGY_ID: {
|
|
27
|
+
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";
|
|
28
|
+
key: string;
|
|
29
|
+
} | {
|
|
30
|
+
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";
|
|
31
|
+
key: string;
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../src/lineplot/types.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAY,MAAM,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,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;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;iBAUpB,CAAC;AACH,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC;CAAG;AAE9D,eAAO,MAAM,IAAI;;;;iBAAmC,CAAC;AACrD,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,UAAU,2BAA4C,CAAC;AACpE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
package/dist/src/log/client.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
2
|
import { record } from '@synnaxlabs/x';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { Key, Log, New
|
|
5
|
-
import { ontology } from '../ontology';
|
|
4
|
+
import { Key, Log, New } from './types.gen';
|
|
6
5
|
import { workspace } from '../workspace';
|
|
7
6
|
declare const retrieveReqZ: z.ZodObject<{
|
|
8
7
|
keys: z.ZodArray<z.ZodUUID>;
|
|
@@ -35,15 +34,7 @@ export declare class Client {
|
|
|
35
34
|
setData(key: Key, data: record.Unknown): Promise<void>;
|
|
36
35
|
retrieve(args: RetrieveSingleParams): Promise<Log>;
|
|
37
36
|
retrieve(args: RetrieveMultipleParams): Promise<Log[]>;
|
|
38
|
-
delete(keys:
|
|
37
|
+
delete(keys: Key | Key[]): Promise<void>;
|
|
39
38
|
}
|
|
40
|
-
export declare const ontologyID: ontology.CreateID<string>;
|
|
41
|
-
export declare const TYPE_ONTOLOGY_ID: {
|
|
42
|
-
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";
|
|
43
|
-
key: string;
|
|
44
|
-
} | {
|
|
45
|
-
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";
|
|
46
|
-
key: string;
|
|
47
|
-
};
|
|
48
39
|
export {};
|
|
49
40
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/log/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/log/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAmB,MAAM,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,GAAG,EAAQ,KAAK,GAAG,EAAQ,KAAK,GAAG,EAAQ,MAAM,iBAAiB,CAAC;AAEjF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAUxC,QAAA,MAAM,YAAY;;iBAAmC,CAAC;AACtD,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C,eAAO,MAAM,aAAa;;;;;;;;mBAA+C,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AASlE,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IACxD,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAa7D,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7C,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAUtD,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;IAClD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAgBtD,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAS/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/log/external.ts"],"names":[],"mappings":"AASA,cAAc,cAAc,CAAC;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/log/external.ts"],"names":[],"mappings":"AASA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { record } from '@synnaxlabs/x';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { ontology } from '../ontology';
|
|
4
|
+
export declare const keyZ: z.ZodUUID;
|
|
5
|
+
export type Key = z.infer<typeof keyZ>;
|
|
6
|
+
/**
|
|
7
|
+
* Log is a timestamped event and message logging component. Logs display
|
|
8
|
+
* chronological records of events, system messages, and audit trails with
|
|
9
|
+
* filtering and formatting capabilities.
|
|
10
|
+
*/
|
|
11
|
+
export declare const logZ: z.ZodObject<{
|
|
12
|
+
key: z.ZodUUID;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
data: z.ZodType<record.Unknown, unknown, z.core.$ZodTypeInternals<record.Unknown, unknown>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export interface Log extends z.infer<typeof logZ> {
|
|
17
|
+
}
|
|
18
|
+
export declare const newZ: z.ZodObject<{
|
|
19
|
+
key: z.ZodOptional<z.ZodUUID>;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
data: z.ZodType<record.Unknown, unknown, z.core.$ZodTypeInternals<record.Unknown, unknown>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export interface New extends z.input<typeof newZ> {
|
|
24
|
+
}
|
|
25
|
+
export declare const ontologyID: ontology.CreateID<string>;
|
|
26
|
+
export declare const TYPE_ONTOLOGY_ID: {
|
|
27
|
+
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";
|
|
28
|
+
key: string;
|
|
29
|
+
} | {
|
|
30
|
+
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";
|
|
31
|
+
key: string;
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../src/log/types.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAY,MAAM,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,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;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;;iBAUf,CAAC;AACH,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,IAAI;;;;iBAA8B,CAAC;AAChD,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,UAAU,2BAAuC,CAAC;AAC/D,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -4,64 +4,64 @@ import { ID, Resource } from './payload';
|
|
|
4
4
|
declare const retrieveReqZ: z.ZodObject<{
|
|
5
5
|
ids: z.ZodOptional<z.ZodArray<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.ZodOptional<z.ZodBoolean>;
|
|
38
38
|
parents: z.ZodOptional<z.ZodBoolean>;
|
|
39
39
|
excludeFieldData: z.ZodOptional<z.ZodBoolean>;
|
|
40
40
|
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
41
|
-
|
|
42
|
-
log: "log";
|
|
41
|
+
arc: "arc";
|
|
43
42
|
builtin: "builtin";
|
|
44
|
-
cluster: "cluster";
|
|
45
43
|
channel: "channel";
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
range: "range";
|
|
44
|
+
cluster: "cluster";
|
|
45
|
+
device: "device";
|
|
49
46
|
framer: "framer";
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
workspace: "workspace";
|
|
53
|
-
schematic: "schematic";
|
|
47
|
+
group: "group";
|
|
48
|
+
label: "label";
|
|
54
49
|
lineplot: "lineplot";
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
task: "task";
|
|
50
|
+
log: "log";
|
|
51
|
+
node: "node";
|
|
58
52
|
policy: "policy";
|
|
53
|
+
rack: "rack";
|
|
54
|
+
range: "range";
|
|
55
|
+
"range-alias": "range-alias";
|
|
59
56
|
role: "role";
|
|
60
|
-
|
|
61
|
-
arc: "arc";
|
|
57
|
+
schematic: "schematic";
|
|
62
58
|
schematic_symbol: "schematic_symbol";
|
|
63
59
|
status: "status";
|
|
60
|
+
table: "table";
|
|
61
|
+
task: "task";
|
|
62
|
+
user: "user";
|
|
64
63
|
view: "view";
|
|
64
|
+
workspace: "workspace";
|
|
65
65
|
}>>>;
|
|
66
66
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
67
67
|
limit: z.ZodOptional<z.ZodInt>;
|