@synnaxlabs/client 0.49.3 → 0.52.3
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 +10 -10
- package/CONTRIBUTING.md +1 -2
- package/README.md +1 -1
- package/dist/client.cjs +58 -34
- package/dist/client.js +5256 -4528
- package/dist/eslint.config.d.ts +2 -2
- package/dist/eslint.config.d.ts.map +1 -1
- package/dist/src/access/policy/client.d.ts +90 -76
- package/dist/src/access/policy/client.d.ts.map +1 -1
- package/dist/src/access/policy/payload.d.ts +17 -14
- package/dist/src/access/policy/payload.d.ts.map +1 -1
- package/dist/src/access/role/payload.d.ts +2 -2
- package/dist/src/arc/payload.d.ts +21 -20
- package/dist/src/arc/payload.d.ts.map +1 -1
- package/dist/src/channel/client.d.ts +9 -15
- package/dist/src/channel/client.d.ts.map +1 -1
- package/dist/src/channel/payload.d.ts +18 -18
- package/dist/src/channel/payload.d.ts.map +1 -1
- package/dist/src/channel/retriever.d.ts.map +1 -1
- package/dist/src/client.d.ts +12 -0
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/device/client.d.ts +14 -7
- package/dist/src/device/client.d.ts.map +1 -1
- package/dist/src/device/payload.d.ts +65 -32
- package/dist/src/device/payload.d.ts.map +1 -1
- package/dist/src/device/payload.spec.d.ts +2 -0
- package/dist/src/device/payload.spec.d.ts.map +1 -0
- package/dist/src/framer/adapter.d.ts.map +1 -1
- package/dist/src/framer/client.d.ts +2 -2
- package/dist/src/framer/frame.d.ts +5 -5
- package/dist/src/framer/frame.d.ts.map +1 -1
- package/dist/src/framer/streamer.d.ts +7 -17
- package/dist/src/framer/streamer.d.ts.map +1 -1
- package/dist/src/framer/writer.d.ts +9 -19
- package/dist/src/framer/writer.d.ts.map +1 -1
- package/dist/src/group/access.spec.d.ts.map +1 -0
- package/dist/src/{ontology/group → group}/client.d.ts +3 -2
- package/dist/src/group/client.d.ts.map +1 -0
- package/dist/src/group/external.d.ts.map +1 -0
- package/dist/src/group/group.spec.d.ts.map +1 -0
- package/dist/src/group/index.d.ts.map +1 -0
- package/dist/src/{ontology/group → group}/payload.d.ts +1 -1
- package/dist/src/group/payload.d.ts.map +1 -0
- package/dist/src/index.d.ts +6 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/label/client.d.ts +27 -10
- package/dist/src/label/client.d.ts.map +1 -1
- package/dist/src/label/payload.d.ts +15 -1
- package/dist/src/label/payload.d.ts.map +1 -1
- package/dist/src/lineplot/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/lineplot → lineplot}/client.d.ts +6 -6
- package/dist/src/lineplot/client.d.ts.map +1 -0
- package/dist/src/lineplot/external.d.ts.map +1 -0
- package/dist/src/lineplot/index.d.ts.map +1 -0
- package/dist/src/lineplot/lineplot.spec.d.ts.map +1 -0
- package/dist/src/{workspace/lineplot → lineplot}/payload.d.ts +3 -3
- package/dist/src/lineplot/payload.d.ts.map +1 -0
- package/dist/src/log/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/log → log}/client.d.ts +6 -6
- package/dist/src/log/client.d.ts.map +1 -0
- package/dist/src/log/external.d.ts.map +1 -0
- package/dist/src/log/index.d.ts.map +1 -0
- package/dist/src/log/log.spec.d.ts.map +1 -0
- package/dist/src/{workspace/log → log}/payload.d.ts +3 -3
- package/dist/src/log/payload.d.ts.map +1 -0
- package/dist/src/ontology/client.d.ts +7 -9
- package/dist/src/ontology/client.d.ts.map +1 -1
- package/dist/src/ontology/payload.d.ts +25 -20
- package/dist/src/ontology/payload.d.ts.map +1 -1
- package/dist/src/ontology/writer.d.ts +15 -10
- package/dist/src/ontology/writer.d.ts.map +1 -1
- package/dist/src/rack/client.d.ts +2 -2
- package/dist/src/rack/payload.d.ts +44 -16
- package/dist/src/rack/payload.d.ts.map +1 -1
- package/dist/src/ranger/alias/client.d.ts +17 -0
- package/dist/src/ranger/alias/client.d.ts.map +1 -0
- package/dist/src/ranger/alias/external.d.ts +2 -0
- package/dist/src/ranger/alias/external.d.ts.map +1 -0
- package/dist/src/ranger/alias/index.d.ts +2 -0
- package/dist/src/ranger/alias/index.d.ts.map +1 -0
- package/dist/src/ranger/{alias.d.ts → alias/payload.d.ts} +14 -20
- package/dist/src/ranger/alias/payload.d.ts.map +1 -0
- package/dist/src/ranger/client.d.ts +10 -10
- package/dist/src/ranger/client.d.ts.map +1 -1
- package/dist/src/ranger/external.d.ts +20 -0
- package/dist/src/ranger/external.d.ts.map +1 -1
- package/dist/src/ranger/kv/client.d.ts +14 -0
- package/dist/src/ranger/kv/client.d.ts.map +1 -0
- package/dist/src/ranger/kv/external.d.ts +2 -0
- package/dist/src/ranger/kv/external.d.ts.map +1 -0
- package/dist/src/ranger/kv/index.d.ts +2 -0
- package/dist/src/ranger/kv/index.d.ts.map +1 -0
- package/dist/src/ranger/kv/payload.d.ts +26 -0
- package/dist/src/ranger/kv/payload.d.ts.map +1 -0
- package/dist/src/ranger/payload.d.ts +45 -3
- package/dist/src/ranger/payload.d.ts.map +1 -1
- package/dist/src/ranger/writer.d.ts +18 -3
- package/dist/src/ranger/writer.d.ts.map +1 -1
- package/dist/src/schematic/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/schematic → schematic}/client.d.ts +6 -6
- package/dist/src/schematic/client.d.ts.map +1 -0
- package/dist/src/schematic/external.d.ts.map +1 -0
- package/dist/src/schematic/index.d.ts.map +1 -0
- package/dist/src/{workspace/schematic → schematic}/payload.d.ts +3 -3
- package/dist/src/schematic/payload.d.ts.map +1 -0
- package/dist/src/schematic/schematic.spec.d.ts.map +1 -0
- package/dist/src/schematic/symbol/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/schematic → schematic}/symbol/client.d.ts +2 -2
- package/dist/src/schematic/symbol/client.d.ts.map +1 -0
- package/dist/src/schematic/symbol/client.spec.d.ts.map +1 -0
- package/dist/src/schematic/symbol/external.d.ts.map +1 -0
- package/dist/src/schematic/symbol/index.d.ts.map +1 -0
- package/dist/src/schematic/symbol/payload.d.ts.map +1 -0
- package/dist/src/status/payload.d.ts +43 -7
- package/dist/src/status/payload.d.ts.map +1 -1
- package/dist/src/table/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/table → table}/client.d.ts +6 -6
- package/dist/src/table/client.d.ts.map +1 -0
- package/dist/src/table/external.d.ts.map +1 -0
- package/dist/src/table/index.d.ts.map +1 -0
- package/dist/src/{workspace/table → table}/payload.d.ts +3 -3
- package/dist/src/table/payload.d.ts.map +1 -0
- package/dist/src/table/table.spec.d.ts.map +1 -0
- package/dist/src/task/client.d.ts +2 -2
- package/dist/src/task/client.d.ts.map +1 -1
- package/dist/src/task/payload.d.ts +5 -4
- package/dist/src/task/payload.d.ts.map +1 -1
- package/dist/src/task/payload.spec.d.ts +2 -0
- package/dist/src/task/payload.spec.d.ts.map +1 -0
- package/dist/src/user/client.d.ts +2 -2
- package/dist/src/view/client.d.ts +43 -0
- package/dist/src/view/client.d.ts.map +1 -0
- package/dist/src/view/external.d.ts +3 -0
- package/dist/src/view/external.d.ts.map +1 -0
- package/dist/src/view/index.d.ts +2 -0
- package/dist/src/view/index.d.ts.map +1 -0
- package/dist/src/view/payload.d.ts +20 -0
- package/dist/src/view/payload.d.ts.map +1 -0
- package/dist/src/view/view.spec.d.ts +2 -0
- package/dist/src/view/view.spec.d.ts.map +1 -0
- package/dist/src/workspace/client.d.ts +3 -11
- package/dist/src/workspace/client.d.ts.map +1 -1
- package/dist/src/workspace/payload.d.ts +3 -3
- package/eslint.config.ts +3 -4
- package/examples/node/basicReadWrite.js +1 -1
- package/examples/node/createChannels.js +50 -0
- package/examples/node/createRange.js +67 -0
- package/examples/node/readLatest.js +76 -0
- package/examples/node/seriesAndFrames.js +2 -2
- package/examples/node/{liveStream.js → streamRead.js} +1 -1
- package/examples/node/streamWrite.js +1 -1
- package/package.json +11 -10
- package/src/access/client.ts +1 -1
- package/src/access/enforce.spec.ts +1 -1
- package/src/access/enforce.ts +1 -1
- package/src/access/external.ts +1 -1
- package/src/access/index.ts +1 -1
- package/src/access/payload.ts +1 -1
- package/src/access/policy/access.spec.ts +1 -1
- package/src/access/policy/client.ts +1 -1
- package/src/access/policy/external.ts +1 -1
- package/src/access/policy/index.ts +1 -1
- package/src/access/policy/payload.ts +1 -1
- package/src/access/role/client.ts +1 -1
- package/src/access/role/external.ts +1 -1
- package/src/access/role/index.ts +1 -1
- package/src/access/role/payload.ts +1 -1
- package/src/access/role/role.spec.ts +1 -1
- package/src/arc/access.spec.ts +1 -7
- package/src/arc/client.ts +1 -1
- package/src/arc/external.ts +1 -1
- package/src/arc/index.ts +1 -1
- package/src/arc/lsp.spec.ts +156 -287
- package/src/arc/payload.ts +7 -12
- package/src/auth/auth.spec.ts +1 -1
- package/src/auth/auth.ts +1 -1
- package/src/auth/index.ts +1 -1
- package/src/channel/access.spec.ts +1 -1
- package/src/channel/batchRetriever.spec.ts +1 -3
- package/src/channel/channel.spec.ts +13 -20
- package/src/channel/client.ts +8 -41
- package/src/channel/external.ts +1 -1
- package/src/channel/index.ts +1 -1
- package/src/channel/payload.spec.ts +1 -58
- package/src/channel/payload.ts +19 -19
- package/src/channel/retriever.ts +7 -6
- package/src/channel/writer.ts +1 -1
- package/src/client.ts +24 -4
- package/src/connection/checker.ts +2 -2
- package/src/connection/connection.spec.ts +1 -1
- package/src/connection/index.ts +1 -1
- package/src/connection.spec.ts +1 -1
- package/src/control/client.ts +1 -1
- package/src/control/external.ts +1 -1
- package/src/control/index.ts +1 -1
- package/src/control/state.spec.ts +1 -1
- package/src/control/state.ts +1 -1
- package/src/device/access.spec.ts +1 -1
- package/src/device/client.ts +90 -44
- package/src/device/device.spec.ts +1 -1
- package/src/device/external.ts +1 -1
- package/src/device/index.ts +1 -1
- package/src/device/payload.spec.ts +118 -0
- package/src/device/payload.ts +56 -31
- package/src/errors.spec.ts +2 -2
- package/src/errors.ts +1 -1
- package/src/framer/adapter.spec.ts +1 -1
- package/src/framer/adapter.ts +6 -8
- package/src/framer/client.spec.ts +1 -1
- package/src/framer/client.ts +1 -1
- package/src/framer/codec.spec.ts +1 -1
- package/src/framer/codec.ts +1 -1
- package/src/framer/deleter.spec.ts +1 -1
- package/src/framer/deleter.ts +1 -1
- package/src/framer/external.ts +1 -1
- package/src/framer/frame.spec.ts +1 -1
- package/src/framer/frame.ts +9 -9
- package/src/framer/index.ts +1 -1
- package/src/framer/iterator.spec.ts +1 -1
- package/src/framer/iterator.ts +1 -1
- package/src/framer/payload.ts +1 -1
- package/src/framer/reader.spec.ts +1 -1
- package/src/framer/reader.ts +1 -1
- package/src/framer/streamProxy.ts +1 -1
- package/src/framer/streamer.spec.ts +1 -2
- package/src/framer/streamer.ts +4 -4
- package/src/framer/writer.spec.ts +1 -1
- package/src/framer/writer.ts +1 -1
- package/src/{ontology/group → group}/access.spec.ts +8 -8
- package/src/{ontology/group → group}/client.ts +2 -2
- package/src/group/external.ts +11 -0
- package/src/{ontology/group → group}/group.spec.ts +10 -10
- package/src/{workspace/log → group}/index.ts +2 -2
- package/src/{ontology/group → group}/payload.ts +1 -1
- package/src/index.ts +7 -6
- package/src/label/access.spec.ts +2 -2
- package/src/label/client.ts +2 -2
- package/src/label/external.ts +1 -1
- package/src/label/index.ts +1 -1
- package/src/label/label.spec.ts +5 -5
- package/src/label/payload.ts +1 -1
- package/src/{workspace/lineplot → lineplot}/access.spec.ts +15 -15
- package/src/{workspace/lineplot → lineplot}/client.ts +14 -14
- package/src/lineplot/external.ts +11 -0
- package/src/{ontology/group → lineplot}/index.ts +2 -2
- package/src/{workspace/lineplot → lineplot}/lineplot.spec.ts +13 -13
- package/src/{workspace/lineplot → lineplot}/payload.ts +1 -1
- package/src/{workspace/log → log}/access.spec.ts +17 -19
- package/src/{workspace/log → log}/client.ts +14 -14
- package/src/{workspace/schematic/index.ts → log/external.ts} +3 -2
- package/src/{workspace/table → log}/index.ts +2 -2
- package/src/{workspace/log → log}/log.spec.ts +11 -11
- package/src/{workspace/log → log}/payload.ts +1 -1
- package/src/ontology/client.ts +7 -14
- package/src/ontology/external.ts +1 -1
- package/src/ontology/index.ts +1 -1
- package/src/ontology/ontology.spec.ts +13 -13
- package/src/ontology/payload.ts +6 -3
- package/src/ontology/writer.ts +1 -1
- package/src/rack/access.spec.ts +1 -1
- package/src/rack/client.ts +1 -1
- package/src/rack/external.ts +1 -1
- package/src/rack/index.ts +1 -1
- package/src/rack/payload.ts +1 -1
- package/src/rack/rack.spec.ts +1 -1
- package/src/ranger/access.spec.ts +1 -1
- package/src/ranger/{alias.ts → alias/client.ts} +7 -38
- package/src/{workspace/lineplot → ranger/alias}/external.ts +11 -3
- package/src/{workspace/lineplot → ranger/alias}/index.ts +2 -2
- package/src/ranger/alias/payload.ts +50 -0
- package/src/ranger/client.ts +27 -20
- package/src/ranger/external.ts +23 -1
- package/src/ranger/index.ts +1 -1
- package/src/ranger/{kv.ts → kv/client.ts} +6 -20
- package/src/{workspace/schematic → ranger/kv}/external.ts +8 -4
- package/src/ranger/kv/index.ts +10 -0
- package/src/ranger/kv/payload.ts +32 -0
- package/src/ranger/payload.ts +3 -3
- package/src/ranger/ranger.spec.ts +2 -2
- package/src/ranger/writer.ts +1 -1
- package/src/{workspace/schematic → schematic}/access.spec.ts +15 -15
- package/src/{workspace/schematic → schematic}/client.ts +15 -15
- package/src/{workspace/log → schematic}/external.ts +4 -3
- package/src/schematic/index.ts +10 -0
- package/src/{workspace/schematic → schematic}/payload.ts +1 -1
- package/src/{workspace/schematic → schematic}/schematic.spec.ts +18 -18
- package/src/{workspace/schematic → schematic}/symbol/access.spec.ts +20 -20
- package/src/{workspace/schematic → schematic}/symbol/client.spec.ts +17 -17
- package/src/{workspace/schematic → schematic}/symbol/client.ts +9 -9
- package/src/{ontology/group → schematic/symbol}/external.ts +3 -3
- package/src/schematic/symbol/index.ts +10 -0
- package/src/{workspace/schematic → schematic}/symbol/payload.ts +1 -1
- package/src/status/access.spec.ts +1 -1
- package/src/status/client.ts +1 -1
- package/src/status/external.ts +1 -1
- package/src/status/index.ts +1 -1
- package/src/status/payload.ts +2 -2
- package/src/status/status.spec.ts +3 -3
- package/src/{workspace/table → table}/access.spec.ts +15 -15
- package/src/{workspace/table → table}/client.ts +16 -13
- package/src/table/external.ts +11 -0
- package/src/table/index.ts +10 -0
- package/src/{workspace/table → table}/payload.ts +1 -1
- package/src/{workspace/table → table}/table.spec.ts +13 -13
- package/src/task/access.spec.ts +1 -1
- package/src/task/client.ts +11 -6
- package/src/task/external.ts +1 -1
- package/src/task/index.ts +1 -1
- package/src/task/payload.spec.ts +113 -0
- package/src/task/payload.ts +14 -10
- package/src/task/task.spec.ts +1 -1
- package/src/testutil/access.ts +1 -1
- package/src/testutil/channels.ts +1 -1
- package/src/testutil/client.ts +1 -1
- package/src/testutil/telem.ts +1 -1
- package/src/transport.ts +1 -1
- package/src/user/access.spec.ts +1 -1
- package/src/user/client.ts +1 -1
- package/src/user/external.ts +1 -1
- package/src/user/index.ts +1 -1
- package/src/user/payload.ts +1 -1
- package/src/user/user.spec.ts +1 -1
- package/src/util/decodeJSONString.ts +1 -1
- package/src/util/parseWithoutKeyConversion.ts +1 -1
- package/src/util/retrieve.spec.ts +1 -1
- package/src/util/retrieve.ts +1 -1
- package/src/util/telem.ts +1 -1
- package/src/view/client.ts +96 -0
- package/src/view/external.ts +11 -0
- package/src/view/index.ts +10 -0
- package/src/view/payload.ts +25 -0
- package/src/view/view.spec.ts +161 -0
- package/src/vite-env.d.ts +1 -1
- package/src/workspace/access.spec.ts +1 -1
- package/src/workspace/client.ts +1 -13
- package/src/workspace/external.ts +1 -1
- package/src/workspace/index.ts +1 -1
- package/src/workspace/payload.ts +1 -1
- package/src/workspace/workspace.spec.ts +1 -1
- package/vite.config.ts +1 -1
- package/dist/src/ontology/group/access.spec.d.ts.map +0 -1
- package/dist/src/ontology/group/client.d.ts.map +0 -1
- package/dist/src/ontology/group/external.d.ts.map +0 -1
- package/dist/src/ontology/group/group.spec.d.ts.map +0 -1
- package/dist/src/ontology/group/index.d.ts.map +0 -1
- package/dist/src/ontology/group/payload.d.ts.map +0 -1
- package/dist/src/ranger/alias.d.ts.map +0 -1
- package/dist/src/ranger/kv.d.ts +0 -48
- package/dist/src/ranger/kv.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/client.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/external.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/index.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/lineplot.spec.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/payload.d.ts.map +0 -1
- package/dist/src/workspace/log/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/log/client.d.ts.map +0 -1
- package/dist/src/workspace/log/external.d.ts.map +0 -1
- package/dist/src/workspace/log/index.d.ts.map +0 -1
- package/dist/src/workspace/log/log.spec.d.ts.map +0 -1
- package/dist/src/workspace/log/payload.d.ts.map +0 -1
- package/dist/src/workspace/schematic/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/client.d.ts.map +0 -1
- package/dist/src/workspace/schematic/external.d.ts.map +0 -1
- package/dist/src/workspace/schematic/index.d.ts.map +0 -1
- package/dist/src/workspace/schematic/payload.d.ts.map +0 -1
- package/dist/src/workspace/schematic/schematic.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/client.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/client.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/external.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/index.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/payload.d.ts.map +0 -1
- package/dist/src/workspace/table/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/table/client.d.ts.map +0 -1
- package/dist/src/workspace/table/external.d.ts.map +0 -1
- package/dist/src/workspace/table/index.d.ts.map +0 -1
- package/dist/src/workspace/table/payload.d.ts.map +0 -1
- package/dist/src/workspace/table/table.spec.d.ts.map +0 -1
- package/src/workspace/schematic/symbol/external.ts +0 -11
- package/src/workspace/schematic/symbol/index.ts +0 -10
- package/src/workspace/table/external.ts +0 -11
- /package/dist/src/{ontology/group → group}/access.spec.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/external.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/group.spec.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/index.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/external.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/index.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/lineplot.spec.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/external.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/index.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/log.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/external.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/index.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/schematic.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/client.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/external.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/index.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/payload.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/external.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/index.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/table.spec.d.ts +0 -0
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { framer } from '../framer';
|
|
4
|
-
import { group } from './group';
|
|
5
3
|
import { ID, Resource } from './payload';
|
|
6
4
|
declare const retrieveReqZ: z.ZodObject<{
|
|
7
5
|
ids: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8
6
|
type: z.ZodEnum<{
|
|
9
|
-
status: "status";
|
|
10
7
|
label: "label";
|
|
11
8
|
log: "log";
|
|
12
9
|
builtin: "builtin";
|
|
@@ -29,17 +26,18 @@ declare const retrieveReqZ: z.ZodObject<{
|
|
|
29
26
|
table: "table";
|
|
30
27
|
arc: "arc";
|
|
31
28
|
schematic_symbol: "schematic_symbol";
|
|
29
|
+
status: "status";
|
|
30
|
+
view: "view";
|
|
32
31
|
}>;
|
|
33
32
|
key: z.ZodString;
|
|
34
33
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
35
|
-
type: "
|
|
34
|
+
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";
|
|
36
35
|
key: string;
|
|
37
36
|
}, string>>]>>>;
|
|
38
37
|
children: z.ZodOptional<z.ZodBoolean>;
|
|
39
38
|
parents: z.ZodOptional<z.ZodBoolean>;
|
|
40
39
|
excludeFieldData: z.ZodOptional<z.ZodBoolean>;
|
|
41
40
|
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
42
|
-
status: "status";
|
|
43
41
|
label: "label";
|
|
44
42
|
log: "log";
|
|
45
43
|
builtin: "builtin";
|
|
@@ -62,6 +60,8 @@ declare const retrieveReqZ: z.ZodObject<{
|
|
|
62
60
|
table: "table";
|
|
63
61
|
arc: "arc";
|
|
64
62
|
schematic_symbol: "schematic_symbol";
|
|
63
|
+
status: "status";
|
|
64
|
+
view: "view";
|
|
65
65
|
}>>>;
|
|
66
66
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
67
67
|
limit: z.ZodOptional<z.ZodInt>;
|
|
@@ -71,14 +71,12 @@ export interface RetrieveRequest extends z.infer<typeof retrieveReqZ> {
|
|
|
71
71
|
}
|
|
72
72
|
export interface RetrieveOptions extends Pick<RetrieveRequest, "excludeFieldData" | "types" | "children" | "parents"> {
|
|
73
73
|
}
|
|
74
|
-
/** The
|
|
74
|
+
/** The main client class for executing queries against a Synnax cluster ontology */
|
|
75
75
|
export declare class Client {
|
|
76
76
|
readonly type: string;
|
|
77
|
-
groups: group.Client;
|
|
78
77
|
private readonly client;
|
|
79
78
|
private readonly writer;
|
|
80
|
-
|
|
81
|
-
constructor(unary: UnaryClient, framer: framer.Client);
|
|
79
|
+
constructor(unary: UnaryClient);
|
|
82
80
|
/**
|
|
83
81
|
* Retrieves the resource in the ontology with the given ID.
|
|
84
82
|
* @param id - The ID of the resource to retrieve.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/ontology/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/ontology/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EACL,KAAK,EAAE,EAIP,KAAK,QAAQ,EAGd,MAAM,oBAAoB,CAAC;AAG5B,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAShB,CAAC;AACH,MAAM,WAAW,e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ACG,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,QAAQ,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;YAIxD,YAAY;CAU3B;AAED,eAAO,MAAM,yBAAyB,6BAA6B,CAAC;AACpE,eAAO,MAAM,4BAA4B,gCAAgC,CAAC;AAC1E,eAAO,MAAM,6BAA6B,iCAAiC,CAAC;AAC5E,eAAO,MAAM,gCAAgC,oCAAoC,CAAC"}
|
|
@@ -13,7 +13,6 @@ export interface RelationshipDelete extends change.Delete<Relationship, undefine
|
|
|
13
13
|
export interface RelationshipDelete extends change.Delete<Relationship, undefined> {
|
|
14
14
|
}
|
|
15
15
|
export declare const resourceTypeZ: z.ZodEnum<{
|
|
16
|
-
status: "status";
|
|
17
16
|
label: "label";
|
|
18
17
|
log: "log";
|
|
19
18
|
builtin: "builtin";
|
|
@@ -36,11 +35,12 @@ export declare const resourceTypeZ: z.ZodEnum<{
|
|
|
36
35
|
table: "table";
|
|
37
36
|
arc: "arc";
|
|
38
37
|
schematic_symbol: "schematic_symbol";
|
|
38
|
+
status: "status";
|
|
39
|
+
view: "view";
|
|
39
40
|
}>;
|
|
40
41
|
export type ResourceType = z.infer<typeof resourceTypeZ>;
|
|
41
42
|
export declare const idZ: z.ZodUnion<[z.ZodObject<{
|
|
42
43
|
type: z.ZodEnum<{
|
|
43
|
-
status: "status";
|
|
44
44
|
label: "label";
|
|
45
45
|
log: "log";
|
|
46
46
|
builtin: "builtin";
|
|
@@ -63,10 +63,12 @@ export declare const idZ: z.ZodUnion<[z.ZodObject<{
|
|
|
63
63
|
table: "table";
|
|
64
64
|
arc: "arc";
|
|
65
65
|
schematic_symbol: "schematic_symbol";
|
|
66
|
+
status: "status";
|
|
67
|
+
view: "view";
|
|
66
68
|
}>;
|
|
67
69
|
key: z.ZodString;
|
|
68
70
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
69
|
-
type: "
|
|
71
|
+
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";
|
|
70
72
|
key: string;
|
|
71
73
|
}, string>>]>;
|
|
72
74
|
export type ID = z.infer<typeof idZ>;
|
|
@@ -87,7 +89,6 @@ export declare const parseIDs: (ids: ID | string | Resource | (ID | string | Res
|
|
|
87
89
|
export declare const resourceZ: z.ZodPipe<z.ZodObject<{
|
|
88
90
|
id: z.ZodUnion<[z.ZodObject<{
|
|
89
91
|
type: z.ZodEnum<{
|
|
90
|
-
status: "status";
|
|
91
92
|
label: "label";
|
|
92
93
|
log: "log";
|
|
93
94
|
builtin: "builtin";
|
|
@@ -110,35 +111,37 @@ export declare const resourceZ: z.ZodPipe<z.ZodObject<{
|
|
|
110
111
|
table: "table";
|
|
111
112
|
arc: "arc";
|
|
112
113
|
schematic_symbol: "schematic_symbol";
|
|
114
|
+
status: "status";
|
|
115
|
+
view: "view";
|
|
113
116
|
}>;
|
|
114
117
|
key: z.ZodString;
|
|
115
118
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
116
|
-
type: "
|
|
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";
|
|
117
120
|
key: string;
|
|
118
121
|
}, string>>]>;
|
|
119
122
|
name: z.ZodString;
|
|
120
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.
|
|
123
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>>;
|
|
121
124
|
}, z.core.$strip>, z.ZodTransform<{
|
|
122
125
|
id: {
|
|
123
|
-
type: "
|
|
126
|
+
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";
|
|
124
127
|
key: string;
|
|
125
128
|
} | {
|
|
126
|
-
type: "
|
|
129
|
+
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";
|
|
127
130
|
key: string;
|
|
128
131
|
};
|
|
129
132
|
name: string;
|
|
130
|
-
data?: Record<string | number
|
|
133
|
+
data?: Record<string | number, unknown> | null | undefined;
|
|
131
134
|
key: string;
|
|
132
135
|
}, {
|
|
133
136
|
id: {
|
|
134
|
-
type: "
|
|
137
|
+
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";
|
|
135
138
|
key: string;
|
|
136
139
|
} | {
|
|
137
|
-
type: "
|
|
140
|
+
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";
|
|
138
141
|
key: string;
|
|
139
142
|
};
|
|
140
143
|
name: string;
|
|
141
|
-
data?: Record<string | number
|
|
144
|
+
data?: Record<string | number, unknown> | null | undefined;
|
|
142
145
|
}>>;
|
|
143
146
|
export interface Resource<T extends record.Unknown = record.Unknown> extends Omit<z.infer<typeof resourceZ>, "data"> {
|
|
144
147
|
data?: T | null;
|
|
@@ -148,7 +151,6 @@ export declare const oppositeRelationshipDirection: (direction: RelationshipDire
|
|
|
148
151
|
export declare const relationshipZ: z.ZodUnion<[z.ZodObject<{
|
|
149
152
|
from: z.ZodUnion<[z.ZodObject<{
|
|
150
153
|
type: z.ZodEnum<{
|
|
151
|
-
status: "status";
|
|
152
154
|
label: "label";
|
|
153
155
|
log: "log";
|
|
154
156
|
builtin: "builtin";
|
|
@@ -171,16 +173,17 @@ export declare const relationshipZ: z.ZodUnion<[z.ZodObject<{
|
|
|
171
173
|
table: "table";
|
|
172
174
|
arc: "arc";
|
|
173
175
|
schematic_symbol: "schematic_symbol";
|
|
176
|
+
status: "status";
|
|
177
|
+
view: "view";
|
|
174
178
|
}>;
|
|
175
179
|
key: z.ZodString;
|
|
176
180
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
177
|
-
type: "
|
|
181
|
+
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";
|
|
178
182
|
key: string;
|
|
179
183
|
}, string>>]>;
|
|
180
184
|
type: z.ZodString;
|
|
181
185
|
to: z.ZodUnion<[z.ZodObject<{
|
|
182
186
|
type: z.ZodEnum<{
|
|
183
|
-
status: "status";
|
|
184
187
|
label: "label";
|
|
185
188
|
log: "log";
|
|
186
189
|
builtin: "builtin";
|
|
@@ -203,26 +206,28 @@ export declare const relationshipZ: z.ZodUnion<[z.ZodObject<{
|
|
|
203
206
|
table: "table";
|
|
204
207
|
arc: "arc";
|
|
205
208
|
schematic_symbol: "schematic_symbol";
|
|
209
|
+
status: "status";
|
|
210
|
+
view: "view";
|
|
206
211
|
}>;
|
|
207
212
|
key: z.ZodString;
|
|
208
213
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
209
|
-
type: "
|
|
214
|
+
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";
|
|
210
215
|
key: string;
|
|
211
216
|
}, string>>]>;
|
|
212
217
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
213
218
|
from: {
|
|
214
|
-
type: "
|
|
219
|
+
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";
|
|
215
220
|
key: string;
|
|
216
221
|
} | {
|
|
217
|
-
type: "
|
|
222
|
+
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";
|
|
218
223
|
key: string;
|
|
219
224
|
};
|
|
220
225
|
type: string;
|
|
221
226
|
to: {
|
|
222
|
-
type: "
|
|
227
|
+
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";
|
|
223
228
|
key: string;
|
|
224
229
|
} | {
|
|
225
|
-
type: "
|
|
230
|
+
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";
|
|
226
231
|
key: string;
|
|
227
232
|
};
|
|
228
233
|
}, string>>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/ontology/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAS,KAAK,MAAM,EA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}
|
|
@@ -4,7 +4,6 @@ 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
|
-
status: "status";
|
|
8
7
|
label: "label";
|
|
9
8
|
log: "log";
|
|
10
9
|
builtin: "builtin";
|
|
@@ -27,15 +26,16 @@ export declare const addRemoveChildrenReqZ: z.ZodObject<{
|
|
|
27
26
|
table: "table";
|
|
28
27
|
arc: "arc";
|
|
29
28
|
schematic_symbol: "schematic_symbol";
|
|
29
|
+
status: "status";
|
|
30
|
+
view: "view";
|
|
30
31
|
}>;
|
|
31
32
|
key: z.ZodString;
|
|
32
33
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
33
|
-
type: "
|
|
34
|
+
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";
|
|
34
35
|
key: string;
|
|
35
36
|
}, string>>]>;
|
|
36
37
|
children: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
37
38
|
type: z.ZodEnum<{
|
|
38
|
-
status: "status";
|
|
39
39
|
label: "label";
|
|
40
40
|
log: "log";
|
|
41
41
|
builtin: "builtin";
|
|
@@ -58,17 +58,18 @@ export declare const addRemoveChildrenReqZ: z.ZodObject<{
|
|
|
58
58
|
table: "table";
|
|
59
59
|
arc: "arc";
|
|
60
60
|
schematic_symbol: "schematic_symbol";
|
|
61
|
+
status: "status";
|
|
62
|
+
view: "view";
|
|
61
63
|
}>;
|
|
62
64
|
key: z.ZodString;
|
|
63
65
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
64
|
-
type: "
|
|
66
|
+
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";
|
|
65
67
|
key: string;
|
|
66
68
|
}, string>>]>>;
|
|
67
69
|
}, z.core.$strip>;
|
|
68
70
|
export declare const moveChildrenReqZ: z.ZodObject<{
|
|
69
71
|
from: z.ZodUnion<[z.ZodObject<{
|
|
70
72
|
type: z.ZodEnum<{
|
|
71
|
-
status: "status";
|
|
72
73
|
label: "label";
|
|
73
74
|
log: "log";
|
|
74
75
|
builtin: "builtin";
|
|
@@ -91,15 +92,16 @@ export declare const moveChildrenReqZ: z.ZodObject<{
|
|
|
91
92
|
table: "table";
|
|
92
93
|
arc: "arc";
|
|
93
94
|
schematic_symbol: "schematic_symbol";
|
|
95
|
+
status: "status";
|
|
96
|
+
view: "view";
|
|
94
97
|
}>;
|
|
95
98
|
key: z.ZodString;
|
|
96
99
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
97
|
-
type: "
|
|
100
|
+
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";
|
|
98
101
|
key: string;
|
|
99
102
|
}, string>>]>;
|
|
100
103
|
to: z.ZodUnion<[z.ZodObject<{
|
|
101
104
|
type: z.ZodEnum<{
|
|
102
|
-
status: "status";
|
|
103
105
|
label: "label";
|
|
104
106
|
log: "log";
|
|
105
107
|
builtin: "builtin";
|
|
@@ -122,15 +124,16 @@ export declare const moveChildrenReqZ: z.ZodObject<{
|
|
|
122
124
|
table: "table";
|
|
123
125
|
arc: "arc";
|
|
124
126
|
schematic_symbol: "schematic_symbol";
|
|
127
|
+
status: "status";
|
|
128
|
+
view: "view";
|
|
125
129
|
}>;
|
|
126
130
|
key: z.ZodString;
|
|
127
131
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
128
|
-
type: "
|
|
132
|
+
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
133
|
key: string;
|
|
130
134
|
}, string>>]>;
|
|
131
135
|
children: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
132
136
|
type: z.ZodEnum<{
|
|
133
|
-
status: "status";
|
|
134
137
|
label: "label";
|
|
135
138
|
log: "log";
|
|
136
139
|
builtin: "builtin";
|
|
@@ -153,10 +156,12 @@ export declare const moveChildrenReqZ: z.ZodObject<{
|
|
|
153
156
|
table: "table";
|
|
154
157
|
arc: "arc";
|
|
155
158
|
schematic_symbol: "schematic_symbol";
|
|
159
|
+
status: "status";
|
|
160
|
+
view: "view";
|
|
156
161
|
}>;
|
|
157
162
|
key: z.ZodString;
|
|
158
163
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
159
|
-
type: "
|
|
164
|
+
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";
|
|
160
165
|
key: string;
|
|
161
166
|
}, string>>]>>;
|
|
162
167
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../../src/ontology/writer.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,EAAE,EAAO,MAAM,oBAAoB,CAAC;AAElD,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../../src/ontology/writer.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,EAAE,EAAO,MAAM,oBAAoB,CAAC;AAElD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA+C,CAAC;AAClF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA0D,CAAC;AACxF,eAAO,MAAM,SAAS,gCAAe,CAAC;AAEtC,qBAAa,MAAM;IACjB,MAAM,EAAE,WAAW,CAAC;gBAER,MAAM,EAAE,WAAW;IAIzB,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,QAAQ,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAUrD,cAAc,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,QAAQ,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAUxD,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,QAAQ,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CASvE"}
|
|
@@ -91,10 +91,10 @@ export declare class Rack {
|
|
|
91
91
|
}
|
|
92
92
|
export declare const ontologyID: ontology.CreateID<number>;
|
|
93
93
|
export declare const TYPE_ONTOLOGY_ID: {
|
|
94
|
-
type: "
|
|
94
|
+
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";
|
|
95
95
|
key: string;
|
|
96
96
|
} | {
|
|
97
|
-
type: "
|
|
97
|
+
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";
|
|
98
98
|
key: string;
|
|
99
99
|
};
|
|
100
100
|
export declare const statusKey: (key: Key) => string;
|
|
@@ -26,13 +26,13 @@ export declare const rackZ: z.ZodObject<{
|
|
|
26
26
|
labels?: {
|
|
27
27
|
key: string;
|
|
28
28
|
name: string;
|
|
29
|
-
color:
|
|
29
|
+
color: [number, number, number, number];
|
|
30
30
|
}[] | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
key: string;
|
|
33
33
|
variant: "error" | "success" | "info" | "warning" | "loading" | "disabled";
|
|
34
34
|
message: string;
|
|
35
|
-
time: string | number | bigint | import('@synnaxlabs/x').TimeSpan | import('@synnaxlabs/x').TimeStamp |
|
|
35
|
+
time: string | number | bigint | Date | import('@synnaxlabs/x').TimeSpan | import('@synnaxlabs/x').TimeStamp | [number, number, number] | [number, number] | [number] | {
|
|
36
36
|
value: bigint;
|
|
37
37
|
};
|
|
38
38
|
details: {
|
|
@@ -43,7 +43,14 @@ export declare const rackZ: z.ZodObject<{
|
|
|
43
43
|
labels?: {
|
|
44
44
|
key: string;
|
|
45
45
|
name: string;
|
|
46
|
-
color: string
|
|
46
|
+
color: string | [number, number, number, number] | [number, number, number] | {
|
|
47
|
+
rgba255: [number, number, number, number];
|
|
48
|
+
} | {
|
|
49
|
+
r: number;
|
|
50
|
+
g: number;
|
|
51
|
+
b: number;
|
|
52
|
+
a: number;
|
|
53
|
+
};
|
|
47
54
|
}[] | null | undefined;
|
|
48
55
|
}, z.core.$ZodTypeInternals<{
|
|
49
56
|
key: string;
|
|
@@ -58,13 +65,13 @@ export declare const rackZ: z.ZodObject<{
|
|
|
58
65
|
labels?: {
|
|
59
66
|
key: string;
|
|
60
67
|
name: string;
|
|
61
|
-
color:
|
|
68
|
+
color: [number, number, number, number];
|
|
62
69
|
}[] | undefined;
|
|
63
70
|
}, {
|
|
64
71
|
key: string;
|
|
65
72
|
variant: "error" | "success" | "info" | "warning" | "loading" | "disabled";
|
|
66
73
|
message: string;
|
|
67
|
-
time: string | number | bigint | import('@synnaxlabs/x').TimeSpan | import('@synnaxlabs/x').TimeStamp |
|
|
74
|
+
time: string | number | bigint | Date | import('@synnaxlabs/x').TimeSpan | import('@synnaxlabs/x').TimeStamp | [number, number, number] | [number, number] | [number] | {
|
|
68
75
|
value: bigint;
|
|
69
76
|
};
|
|
70
77
|
details: {
|
|
@@ -75,7 +82,14 @@ export declare const rackZ: z.ZodObject<{
|
|
|
75
82
|
labels?: {
|
|
76
83
|
key: string;
|
|
77
84
|
name: string;
|
|
78
|
-
color: string
|
|
85
|
+
color: string | [number, number, number, number] | [number, number, number] | {
|
|
86
|
+
rgba255: [number, number, number, number];
|
|
87
|
+
} | {
|
|
88
|
+
r: number;
|
|
89
|
+
g: number;
|
|
90
|
+
b: number;
|
|
91
|
+
a: number;
|
|
92
|
+
};
|
|
79
93
|
}[] | null | undefined;
|
|
80
94
|
}>>>, z.ZodTransform<{
|
|
81
95
|
key: string;
|
|
@@ -90,7 +104,7 @@ export declare const rackZ: z.ZodObject<{
|
|
|
90
104
|
labels?: {
|
|
91
105
|
key: string;
|
|
92
106
|
name: string;
|
|
93
|
-
color:
|
|
107
|
+
color: [number, number, number, number];
|
|
94
108
|
}[] | undefined;
|
|
95
109
|
} | undefined, {
|
|
96
110
|
key: string;
|
|
@@ -105,7 +119,7 @@ export declare const rackZ: z.ZodObject<{
|
|
|
105
119
|
labels?: {
|
|
106
120
|
key: string;
|
|
107
121
|
name: string;
|
|
108
|
-
color:
|
|
122
|
+
color: [number, number, number, number];
|
|
109
123
|
}[] | undefined;
|
|
110
124
|
} | null>>>;
|
|
111
125
|
}, z.core.$strip>;
|
|
@@ -127,13 +141,13 @@ export declare const newZ: z.ZodObject<{
|
|
|
127
141
|
labels?: {
|
|
128
142
|
key: string;
|
|
129
143
|
name: string;
|
|
130
|
-
color:
|
|
144
|
+
color: [number, number, number, number];
|
|
131
145
|
}[] | undefined;
|
|
132
146
|
}, {
|
|
133
147
|
key: string;
|
|
134
148
|
variant: "error" | "success" | "info" | "warning" | "loading" | "disabled";
|
|
135
149
|
message: string;
|
|
136
|
-
time: string | number | bigint | import('@synnaxlabs/x').TimeSpan | import('@synnaxlabs/x').TimeStamp |
|
|
150
|
+
time: string | number | bigint | Date | import('@synnaxlabs/x').TimeSpan | import('@synnaxlabs/x').TimeStamp | [number, number, number] | [number, number] | [number] | {
|
|
137
151
|
value: bigint;
|
|
138
152
|
};
|
|
139
153
|
details: {
|
|
@@ -144,7 +158,14 @@ export declare const newZ: z.ZodObject<{
|
|
|
144
158
|
labels?: {
|
|
145
159
|
key: string;
|
|
146
160
|
name: string;
|
|
147
|
-
color: string
|
|
161
|
+
color: string | [number, number, number, number] | [number, number, number] | {
|
|
162
|
+
rgba255: [number, number, number, number];
|
|
163
|
+
} | {
|
|
164
|
+
r: number;
|
|
165
|
+
g: number;
|
|
166
|
+
b: number;
|
|
167
|
+
a: number;
|
|
168
|
+
};
|
|
148
169
|
}[] | null | undefined;
|
|
149
170
|
}, z.core.$ZodTypeInternals<{
|
|
150
171
|
key: string;
|
|
@@ -159,13 +180,13 @@ export declare const newZ: z.ZodObject<{
|
|
|
159
180
|
labels?: {
|
|
160
181
|
key: string;
|
|
161
182
|
name: string;
|
|
162
|
-
color:
|
|
183
|
+
color: [number, number, number, number];
|
|
163
184
|
}[] | undefined;
|
|
164
185
|
}, {
|
|
165
186
|
key: string;
|
|
166
187
|
variant: "error" | "success" | "info" | "warning" | "loading" | "disabled";
|
|
167
188
|
message: string;
|
|
168
|
-
time: string | number | bigint | import('@synnaxlabs/x').TimeSpan | import('@synnaxlabs/x').TimeStamp |
|
|
189
|
+
time: string | number | bigint | Date | import('@synnaxlabs/x').TimeSpan | import('@synnaxlabs/x').TimeStamp | [number, number, number] | [number, number] | [number] | {
|
|
169
190
|
value: bigint;
|
|
170
191
|
};
|
|
171
192
|
details: {
|
|
@@ -176,7 +197,14 @@ export declare const newZ: z.ZodObject<{
|
|
|
176
197
|
labels?: {
|
|
177
198
|
key: string;
|
|
178
199
|
name: string;
|
|
179
|
-
color: string
|
|
200
|
+
color: string | [number, number, number, number] | [number, number, number] | {
|
|
201
|
+
rgba255: [number, number, number, number];
|
|
202
|
+
} | {
|
|
203
|
+
r: number;
|
|
204
|
+
g: number;
|
|
205
|
+
b: number;
|
|
206
|
+
a: number;
|
|
207
|
+
};
|
|
180
208
|
}[] | null | undefined;
|
|
181
209
|
}>>>, z.ZodTransform<{
|
|
182
210
|
key: string;
|
|
@@ -191,7 +219,7 @@ export declare const newZ: z.ZodObject<{
|
|
|
191
219
|
labels?: {
|
|
192
220
|
key: string;
|
|
193
221
|
name: string;
|
|
194
|
-
color:
|
|
222
|
+
color: [number, number, number, number];
|
|
195
223
|
}[] | undefined;
|
|
196
224
|
} | undefined, {
|
|
197
225
|
key: string;
|
|
@@ -206,7 +234,7 @@ export declare const newZ: z.ZodObject<{
|
|
|
206
234
|
labels?: {
|
|
207
235
|
key: string;
|
|
208
236
|
name: string;
|
|
209
|
-
color:
|
|
237
|
+
color: [number, number, number, number];
|
|
210
238
|
}[] | undefined;
|
|
211
239
|
} | null>>>;
|
|
212
240
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/rack/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAO,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,IAAI,aAAa,CAAC;AAC/B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,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ter';
|
|
2
|
+
import { channel } from '../../channel';
|
|
3
|
+
import { Key } from '../payload';
|
|
4
|
+
export declare class Client {
|
|
5
|
+
private readonly cache;
|
|
6
|
+
private readonly client;
|
|
7
|
+
private readonly rangeKey;
|
|
8
|
+
constructor(rangeKey: Key, client: UnaryClient);
|
|
9
|
+
resolve(aliases: string): Promise<channel.Key>;
|
|
10
|
+
resolve(aliases: string[]): Promise<Record<string, channel.Key>>;
|
|
11
|
+
set(aliases: Record<channel.Key, string>): Promise<void>;
|
|
12
|
+
list(): Promise<Record<channel.Key, string>>;
|
|
13
|
+
retrieve(alias: channel.Key): Promise<string>;
|
|
14
|
+
retrieve(aliases: channel.Key[]): Promise<Record<channel.Key, string>>;
|
|
15
|
+
delete(aliases: channel.Key | channel.Key[]): Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/ranger/alias/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIvE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,GAAG,EAAQ,MAAM,kBAAkB,CAAC;AAoBlD,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkC;IACxD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IACrC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAM;gBAEnB,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW;IAM9C,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC;IAE9C,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IA8B1D,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAUxD,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAY5C,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAgBtE,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CASlE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../../src/ranger/alias/external.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,MAAM,EACN,SAAS,EACT,KAAK,wBAAwB,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ranger/alias/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAC"}
|