@synnaxlabs/client 0.56.2 → 0.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client-DDACDVZ-.js +14505 -0
- package/dist/client-DDACDVZ-.js.map +1 -0
- package/dist/client.js +1128 -14876
- package/dist/client.js.map +1 -0
- package/dist/src/access/client.d.ts +10 -1
- package/dist/src/access/client.d.ts.map +1 -1
- package/dist/src/access/enforce.d.ts.map +1 -1
- package/dist/src/access/external.d.ts +1 -0
- package/dist/src/access/external.d.ts.map +1 -1
- package/dist/src/access/granted.d.ts +39 -0
- package/dist/src/access/granted.d.ts.map +1 -0
- package/dist/src/access/policy/client.d.ts +136 -147
- package/dist/src/access/policy/client.d.ts.map +1 -1
- package/dist/src/access/policy/types.gen.d.ts +15 -68
- package/dist/src/access/policy/types.gen.d.ts.map +1 -1
- package/dist/src/access/role/client.d.ts +77 -58
- package/dist/src/access/role/client.d.ts.map +1 -1
- package/dist/src/access/role/types.gen.d.ts +8 -14
- package/dist/src/access/role/types.gen.d.ts.map +1 -1
- package/dist/src/actions/actions.d.ts +5 -6
- package/dist/src/actions/actions.d.ts.map +1 -1
- package/dist/src/actions/controller.d.ts +194 -0
- package/dist/src/actions/controller.d.ts.map +1 -0
- package/dist/src/actions/external.d.ts +1 -0
- package/dist/src/actions/external.d.ts.map +1 -1
- package/dist/src/arc/actions.d.ts +575 -0
- package/dist/src/arc/actions.d.ts.map +1 -0
- package/dist/src/arc/actions.gen.d.ts +1439 -0
- package/dist/src/arc/actions.gen.d.ts.map +1 -0
- package/dist/src/arc/client.d.ts +97 -13
- package/dist/src/arc/client.d.ts.map +1 -1
- package/dist/src/arc/compiler/types.gen.d.ts +3 -3
- package/dist/src/arc/compiler/types.gen.d.ts.map +1 -1
- package/dist/src/arc/external.d.ts +2 -0
- package/dist/src/arc/external.d.ts.map +1 -1
- package/dist/src/arc/graph/types.gen.d.ts +45 -597
- package/dist/src/arc/graph/types.gen.d.ts.map +1 -1
- package/dist/src/arc/ir/index.d.ts +1 -1
- package/dist/src/arc/ir/index.d.ts.map +1 -1
- package/dist/src/arc/ir/ir.d.ts +2 -0
- package/dist/src/arc/ir/ir.d.ts.map +1 -0
- package/dist/src/arc/ir/types.gen.d.ts +58 -2807
- package/dist/src/arc/ir/types.gen.d.ts.map +1 -1
- package/dist/src/arc/module/types.gen.d.ts +18 -1090
- package/dist/src/arc/module/types.gen.d.ts.map +1 -1
- package/dist/src/arc/program/types.gen.d.ts +18 -1090
- package/dist/src/arc/program/types.gen.d.ts.map +1 -1
- package/dist/src/arc/text/types.gen.d.ts +54 -1
- package/dist/src/arc/text/types.gen.d.ts.map +1 -1
- package/dist/src/arc/types/types.gen.d.ts +35 -153
- package/dist/src/arc/types/types.gen.d.ts.map +1 -1
- package/dist/src/arc/types.gen.d.ts +98 -2278
- package/dist/src/arc/types.gen.d.ts.map +1 -1
- package/dist/src/auth/auth.d.ts +14 -2
- package/dist/src/auth/auth.d.ts.map +1 -1
- package/dist/src/channel/client.d.ts +113 -75
- package/dist/src/channel/client.d.ts.map +1 -1
- package/dist/src/channel/external.d.ts +0 -1
- package/dist/src/channel/external.d.ts.map +1 -1
- package/dist/src/channel/payload.d.ts +65 -56
- package/dist/src/channel/payload.d.ts.map +1 -1
- package/dist/src/channel/types.gen.d.ts +26 -73
- package/dist/src/channel/types.gen.d.ts.map +1 -1
- package/dist/src/channel/writer.d.ts +1 -3
- package/dist/src/channel/writer.d.ts.map +1 -1
- package/dist/src/client.d.ts +55 -27
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/connection/client.d.ts +146 -0
- package/dist/src/connection/client.d.ts.map +1 -0
- package/dist/src/connection/external.d.ts +3 -0
- package/dist/src/connection/external.d.ts.map +1 -0
- package/dist/src/connection/index.d.ts +1 -1
- package/dist/src/connection/index.d.ts.map +1 -1
- package/dist/src/connection/status.d.ts +252 -0
- package/dist/src/connection/status.d.ts.map +1 -0
- package/dist/src/control/client.d.ts +31 -7
- package/dist/src/control/client.d.ts.map +1 -1
- package/dist/src/control/state.d.ts +47 -16
- package/dist/src/control/state.d.ts.map +1 -1
- package/dist/src/device/client.d.ts +59 -17
- package/dist/src/device/client.d.ts.map +1 -1
- package/dist/src/device/types.gen.d.ts +17 -67
- package/dist/src/device/types.gen.d.ts.map +1 -1
- package/dist/src/errors.d.ts +17 -20
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/ethercat/external.d.ts +2 -0
- package/dist/src/ethercat/external.d.ts.map +1 -0
- package/dist/src/ethercat/index.d.ts +2 -0
- package/dist/src/ethercat/index.d.ts.map +1 -0
- package/dist/src/ethercat/types.gen.d.ts +243 -0
- package/dist/src/ethercat/types.gen.d.ts.map +1 -0
- package/dist/src/framer/adapter.d.ts +8 -5
- package/dist/src/framer/adapter.d.ts.map +1 -1
- package/dist/src/framer/benchutil.d.ts +19 -0
- package/dist/src/framer/benchutil.d.ts.map +1 -0
- package/dist/src/framer/cache/cache.d.ts +38 -0
- package/dist/src/framer/cache/cache.d.ts.map +1 -0
- package/dist/src/framer/cache/dynamic.d.ts +91 -0
- package/dist/src/framer/cache/dynamic.d.ts.map +1 -0
- package/dist/src/framer/cache/reader.d.ts +57 -0
- package/dist/src/framer/cache/reader.d.ts.map +1 -0
- package/dist/src/framer/cache/static.d.ts +66 -0
- package/dist/src/framer/cache/static.d.ts.map +1 -0
- package/dist/src/framer/cache/streamer.d.ts +86 -0
- package/dist/src/framer/cache/streamer.d.ts.map +1 -0
- package/dist/src/framer/cache/transform.d.ts +18 -0
- package/dist/src/framer/cache/transform.d.ts.map +1 -0
- package/dist/src/framer/cache/unary.d.ts +39 -0
- package/dist/src/framer/cache/unary.d.ts.map +1 -0
- package/dist/src/framer/client.d.ts +35 -14
- package/dist/src/framer/client.d.ts.map +1 -1
- package/dist/src/framer/codec.d.ts.map +1 -1
- package/dist/src/framer/deleter.d.ts +3 -2
- package/dist/src/framer/deleter.d.ts.map +1 -1
- package/dist/src/framer/external.d.ts +6 -0
- package/dist/src/framer/external.d.ts.map +1 -1
- package/dist/src/framer/feed.d.ts +40 -0
- package/dist/src/framer/feed.d.ts.map +1 -0
- package/dist/src/framer/frame.d.ts +16 -20
- package/dist/src/framer/frame.d.ts.map +1 -1
- package/dist/src/framer/hardened.d.ts +70 -0
- package/dist/src/framer/hardened.d.ts.map +1 -0
- package/dist/src/framer/iterator.d.ts +36 -43
- package/dist/src/framer/iterator.d.ts.map +1 -1
- package/dist/src/framer/reader.d.ts +3 -2
- package/dist/src/framer/reader.d.ts.map +1 -1
- package/dist/src/framer/streamer.d.ts +132 -205
- package/dist/src/framer/streamer.d.ts.map +1 -1
- package/dist/src/framer/writer.d.ts +130 -161
- package/dist/src/framer/writer.d.ts.map +1 -1
- package/dist/src/group/client.d.ts +66 -9
- package/dist/src/group/client.d.ts.map +1 -1
- package/dist/src/group/types.gen.d.ts +2 -2
- package/dist/src/http/external.d.ts +2 -0
- package/dist/src/http/external.d.ts.map +1 -0
- package/dist/src/http/index.d.ts +2 -0
- package/dist/src/http/index.d.ts.map +1 -0
- package/dist/src/http/types.gen.d.ts +451 -0
- package/dist/src/http/types.gen.d.ts.map +1 -0
- package/dist/src/imex/client.d.ts +88 -0
- package/dist/src/imex/client.d.ts.map +1 -0
- package/dist/src/imex/index.d.ts +2 -0
- package/dist/src/imex/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +18 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/label/client.d.ts +55 -36
- package/dist/src/label/client.d.ts.map +1 -1
- package/dist/src/label/external.d.ts +2 -0
- package/dist/src/label/external.d.ts.map +1 -1
- package/dist/src/label/payload.d.ts +4 -46
- package/dist/src/label/payload.d.ts.map +1 -1
- package/dist/src/label/store.d.ts +8 -0
- package/dist/src/label/store.d.ts.map +1 -0
- package/dist/src/label/types.gen.d.ts +45 -0
- package/dist/src/label/types.gen.d.ts.map +1 -0
- package/dist/src/labjack/external.d.ts +2 -0
- package/dist/src/labjack/external.d.ts.map +1 -0
- package/dist/src/labjack/index.d.ts +2 -0
- package/dist/src/labjack/index.d.ts.map +1 -0
- package/dist/src/labjack/types.gen.d.ts +442 -0
- package/dist/src/labjack/types.gen.d.ts.map +1 -0
- package/dist/src/lineplot/actions.d.ts +914 -0
- package/dist/src/lineplot/actions.d.ts.map +1 -0
- package/dist/src/lineplot/actions.gen.d.ts +4208 -0
- package/dist/src/lineplot/actions.gen.d.ts.map +1 -0
- package/dist/src/lineplot/client.d.ts +66 -16
- package/dist/src/lineplot/client.d.ts.map +1 -1
- package/dist/src/lineplot/external.d.ts +3 -0
- package/dist/src/lineplot/external.d.ts.map +1 -1
- package/dist/src/lineplot/line.d.ts +16 -0
- package/dist/src/lineplot/line.d.ts.map +1 -0
- package/dist/src/lineplot/types.gen.d.ts +837 -14
- package/dist/src/lineplot/types.gen.d.ts.map +1 -1
- package/dist/src/log/actions.d.ts +271 -0
- package/dist/src/log/actions.d.ts.map +1 -0
- package/dist/src/log/actions.gen.d.ts +1529 -0
- package/dist/src/log/actions.gen.d.ts.map +1 -0
- package/dist/src/log/client.d.ts +66 -16
- package/dist/src/log/client.d.ts.map +1 -1
- package/dist/src/log/external.d.ts +2 -0
- package/dist/src/log/external.d.ts.map +1 -1
- package/dist/src/log/types.gen.d.ts +139 -14
- package/dist/src/log/types.gen.d.ts.map +1 -1
- package/dist/src/modbus/external.d.ts +2 -0
- package/dist/src/modbus/external.d.ts.map +1 -0
- package/dist/src/modbus/index.d.ts +2 -0
- package/dist/src/modbus/index.d.ts.map +1 -0
- package/dist/src/modbus/types.gen.d.ts +280 -0
- package/dist/src/modbus/types.gen.d.ts.map +1 -0
- package/dist/src/ni/external.d.ts +2 -0
- package/dist/src/ni/external.d.ts.map +1 -0
- package/dist/src/ni/index.d.ts +2 -0
- package/dist/src/ni/index.d.ts.map +1 -0
- package/dist/src/ni/types.gen.d.ts +21029 -0
- package/dist/src/ni/types.gen.d.ts.map +1 -0
- package/dist/src/node/index.d.ts +2 -0
- package/dist/src/node/index.d.ts.map +1 -0
- package/dist/src/node/types.gen.d.ts +4 -0
- package/dist/src/node/types.gen.d.ts.map +1 -0
- package/dist/src/ontology/client.d.ts +314 -67
- package/dist/src/ontology/client.d.ts.map +1 -1
- package/dist/src/ontology/external.d.ts +1 -0
- package/dist/src/ontology/external.d.ts.map +1 -1
- package/dist/src/ontology/payload.d.ts +60 -18
- package/dist/src/ontology/payload.d.ts.map +1 -1
- package/dist/src/ontology/store.d.ts +32 -0
- package/dist/src/ontology/store.d.ts.map +1 -0
- package/dist/src/ontology/types.gen.d.ts +3 -2
- package/dist/src/ontology/types.gen.d.ts.map +1 -1
- package/dist/src/ontology/writer.d.ts +16 -10
- package/dist/src/ontology/writer.d.ts.map +1 -1
- package/dist/src/opcua/external.d.ts +2 -0
- package/dist/src/opcua/external.d.ts.map +1 -0
- package/dist/src/opcua/index.d.ts +2 -0
- package/dist/src/opcua/index.d.ts.map +1 -0
- package/dist/src/opcua/types.gen.d.ts +82 -0
- package/dist/src/opcua/types.gen.d.ts.map +1 -0
- package/dist/src/pagerduty/external.d.ts +2 -0
- package/dist/src/pagerduty/external.d.ts.map +1 -0
- package/dist/src/pagerduty/index.d.ts +2 -0
- package/dist/src/pagerduty/index.d.ts.map +1 -0
- package/dist/src/pagerduty/types.gen.d.ts +30 -0
- package/dist/src/pagerduty/types.gen.d.ts.map +1 -0
- package/dist/src/panel/actions.d.ts +273 -0
- package/dist/src/panel/actions.d.ts.map +1 -0
- package/dist/src/panel/actions.gen.d.ts +1255 -0
- package/dist/src/panel/actions.gen.d.ts.map +1 -0
- package/dist/src/panel/client.d.ts +148 -0
- package/dist/src/panel/client.d.ts.map +1 -0
- package/dist/src/panel/external.d.ts +6 -0
- package/dist/src/panel/external.d.ts.map +1 -0
- package/dist/src/panel/index.d.ts +2 -0
- package/dist/src/panel/index.d.ts.map +1 -0
- package/dist/src/panel/tree.d.ts +50 -0
- package/dist/src/panel/tree.d.ts.map +1 -0
- package/dist/src/panel/types.gen.d.ts +370 -0
- package/dist/src/panel/types.gen.d.ts.map +1 -0
- package/dist/src/project/client.d.ts +89 -0
- package/dist/src/project/client.d.ts.map +1 -0
- package/dist/src/project/external.d.ts.map +1 -0
- package/dist/src/project/index.d.ts +2 -0
- package/dist/src/project/index.d.ts.map +1 -0
- package/dist/src/project/types.gen.d.ts +27 -0
- package/dist/src/project/types.gen.d.ts.map +1 -0
- package/dist/src/query/cache.d.ts +132 -0
- package/dist/src/query/cache.d.ts.map +1 -0
- package/dist/src/query/deleted.d.ts +20 -0
- package/dist/src/query/deleted.d.ts.map +1 -0
- package/dist/src/query/derived.d.ts +33 -0
- package/dist/src/query/derived.d.ts.map +1 -0
- package/dist/src/query/external.d.ts +10 -0
- package/dist/src/query/external.d.ts.map +1 -0
- package/dist/src/query/index.d.ts +2 -0
- package/dist/src/query/index.d.ts.map +1 -0
- package/dist/src/query/query.d.ts +235 -0
- package/dist/src/query/query.d.ts.map +1 -0
- package/dist/src/query/retriever.d.ts +135 -0
- package/dist/src/query/retriever.d.ts.map +1 -0
- package/dist/src/query/streamer.d.ts +67 -0
- package/dist/src/query/streamer.d.ts.map +1 -0
- package/dist/src/query/table.d.ts +219 -0
- package/dist/src/query/table.d.ts.map +1 -0
- package/dist/src/query/types.d.ts +35 -0
- package/dist/src/query/types.d.ts.map +1 -0
- package/dist/src/query/write.d.ts +21 -0
- package/dist/src/query/write.d.ts.map +1 -0
- package/dist/src/rack/client.d.ts +58 -20
- package/dist/src/rack/client.d.ts.map +1 -1
- package/dist/src/rack/types.gen.d.ts +11 -12
- package/dist/src/rack/types.gen.d.ts.map +1 -1
- package/dist/src/range/alias/types.gen.d.ts +2 -3
- package/dist/src/range/alias/types.gen.d.ts.map +1 -1
- package/dist/src/ranger/client.d.ts +138 -27
- package/dist/src/ranger/client.d.ts.map +1 -1
- package/dist/src/ranger/kv/client.d.ts +7 -4
- package/dist/src/ranger/kv/client.d.ts.map +1 -1
- package/dist/src/ranger/payload.d.ts +3 -0
- package/dist/src/ranger/payload.d.ts.map +1 -1
- package/dist/src/ranger/types.gen.d.ts +45 -101
- package/dist/src/ranger/types.gen.d.ts.map +1 -1
- package/dist/src/ranger/writer.d.ts +2 -74
- package/dist/src/ranger/writer.d.ts.map +1 -1
- package/dist/src/schematic/actions.d.ts +90 -33
- package/dist/src/schematic/actions.d.ts.map +1 -1
- package/dist/src/schematic/actions.gen.d.ts +207 -114
- package/dist/src/schematic/actions.gen.d.ts.map +1 -1
- package/dist/src/schematic/client.d.ts +70 -68
- package/dist/src/schematic/client.d.ts.map +1 -1
- package/dist/src/schematic/symbol/client.d.ts +133 -27
- package/dist/src/schematic/symbol/client.d.ts.map +1 -1
- package/dist/src/schematic/symbol/types.gen.d.ts +258 -153
- package/dist/src/schematic/symbol/types.gen.d.ts.map +1 -1
- package/dist/src/schematic/types.gen.d.ts +17 -96
- package/dist/src/schematic/types.gen.d.ts.map +1 -1
- package/dist/src/status/client.d.ts +69 -14
- package/dist/src/status/client.d.ts.map +1 -1
- package/dist/src/status/external.d.ts +2 -0
- package/dist/src/status/external.d.ts.map +1 -1
- package/dist/src/status/payload.d.ts +2 -36
- package/dist/src/status/payload.d.ts.map +1 -1
- package/dist/src/status/status.d.ts +65 -0
- package/dist/src/status/status.d.ts.map +1 -0
- package/dist/src/status/types.gen.d.ts +58 -0
- package/dist/src/status/types.gen.d.ts.map +1 -0
- package/dist/src/table/actions.d.ts +72 -13
- package/dist/src/table/actions.d.ts.map +1 -1
- package/dist/src/table/actions.gen.d.ts +221 -137
- package/dist/src/table/actions.gen.d.ts.map +1 -1
- package/dist/src/table/client.d.ts +64 -40
- package/dist/src/table/client.d.ts.map +1 -1
- package/dist/src/table/types.gen.d.ts +20 -55
- package/dist/src/table/types.gen.d.ts.map +1 -1
- package/dist/src/task/client.d.ts +149 -28
- package/dist/src/task/client.d.ts.map +1 -1
- package/dist/src/task/types.gen.d.ts +71 -89
- package/dist/src/task/types.gen.d.ts.map +1 -1
- package/dist/src/testutil/access.d.ts +27 -1
- package/dist/src/testutil/access.d.ts.map +1 -1
- package/dist/src/testutil/channels.d.ts +2 -0
- package/dist/src/testutil/channels.d.ts.map +1 -1
- package/dist/src/testutil/client.d.ts +5 -0
- package/dist/src/testutil/client.d.ts.map +1 -1
- package/dist/src/testutil/connection.d.ts +10 -0
- package/dist/src/testutil/connection.d.ts.map +1 -0
- package/dist/src/testutil/index.d.ts +9 -0
- package/dist/src/testutil/index.d.ts.map +1 -0
- package/dist/src/testutil/panels.d.ts +8 -0
- package/dist/src/testutil/panels.d.ts.map +1 -0
- package/dist/src/testutil/proxy.d.ts +29 -0
- package/dist/src/testutil/proxy.d.ts.map +1 -0
- package/dist/src/testutil/query.d.ts +7 -0
- package/dist/src/testutil/query.d.ts.map +1 -0
- package/dist/src/testutil/telem.d.ts +4 -0
- package/dist/src/testutil/telem.d.ts.map +1 -1
- package/dist/src/transport.d.ts +10 -4
- package/dist/src/transport.d.ts.map +1 -1
- package/dist/src/user/client.d.ts +29 -28
- 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 +4 -4
- package/dist/src/util/retrieve.d.ts +2 -2
- package/dist/src/util/retrieve.d.ts.map +1 -1
- package/dist/src/util/telem.d.ts.map +1 -1
- package/dist/src/view/client.d.ts +30 -14
- package/dist/src/view/client.d.ts.map +1 -1
- package/dist/src/view/types.gen.d.ts +7 -15
- package/dist/src/view/types.gen.d.ts.map +1 -1
- package/dist/testutil.js +189 -0
- package/dist/testutil.js.map +1 -0
- package/package.json +39 -16
- package/src/access/client.ts +14 -3
- package/src/access/enforce.ts +0 -3
- package/src/access/external.ts +1 -0
- package/src/access/granted.ts +114 -0
- package/src/access/policy/client.ts +135 -43
- package/src/access/policy/types.gen.ts +9 -11
- package/src/access/role/client.ts +160 -38
- package/src/access/role/types.gen.ts +8 -12
- package/src/actions/actions.ts +5 -6
- package/src/actions/controller.ts +626 -0
- package/src/actions/external.ts +11 -0
- package/src/arc/actions.gen.ts +313 -0
- package/src/arc/actions.ts +192 -0
- package/src/arc/client.ts +424 -41
- package/src/arc/compiler/types.gen.ts +5 -6
- package/src/arc/external.ts +2 -0
- package/src/arc/graph/types.gen.ts +24 -22
- package/src/arc/ir/index.ts +1 -1
- package/{eslint.config.ts → src/arc/ir/ir.ts} +1 -4
- package/src/arc/ir/types.gen.ts +42 -41
- package/src/arc/text/types.gen.ts +21 -2
- package/src/arc/types/types.gen.ts +40 -32
- package/src/arc/types.gen.ts +31 -29
- package/src/auth/auth.ts +40 -8
- package/src/channel/client.ts +529 -132
- package/src/channel/external.ts +0 -1
- package/src/channel/payload.ts +30 -3
- package/src/channel/types.gen.ts +37 -48
- package/src/channel/writer.ts +2 -11
- package/src/client.ts +215 -91
- package/src/connection/client.ts +495 -0
- package/src/connection/external.ts +34 -0
- package/src/connection/index.ts +1 -1
- package/src/connection/status.ts +442 -0
- package/src/control/client.ts +84 -12
- package/src/control/state.ts +17 -36
- package/src/device/client.ts +293 -41
- package/src/device/types.gen.ts +15 -26
- package/src/errors.ts +45 -22
- package/src/{workspace → ethercat}/external.ts +1 -2
- package/src/{workspace → ethercat}/index.ts +1 -1
- package/src/ethercat/types.gen.ts +151 -0
- package/src/framer/adapter.ts +60 -37
- package/src/framer/benchutil.ts +67 -0
- package/src/framer/cache/cache.ts +115 -0
- package/src/framer/cache/dynamic.ts +340 -0
- package/src/framer/cache/reader.ts +231 -0
- package/src/framer/cache/static.ts +215 -0
- package/src/framer/cache/streamer.ts +391 -0
- package/src/framer/cache/transform.ts +31 -0
- package/src/framer/cache/unary.ts +108 -0
- package/src/framer/client.ts +71 -43
- package/src/framer/codec.ts +55 -18
- package/src/framer/deleter.ts +4 -6
- package/src/framer/external.ts +10 -0
- package/src/framer/feed.ts +108 -0
- package/src/framer/frame.ts +13 -23
- package/src/framer/hardened.ts +283 -0
- package/src/framer/iterator.ts +31 -42
- package/src/framer/reader.ts +11 -11
- package/src/framer/streamer.ts +18 -178
- package/src/framer/writer.ts +39 -59
- package/src/group/client.ts +158 -23
- package/src/http/external.ts +10 -0
- package/src/{cluster → http}/index.ts +1 -1
- package/src/http/types.gen.ts +245 -0
- package/src/imex/client.ts +125 -0
- package/src/imex/index.ts +10 -0
- package/src/index.ts +19 -6
- package/src/label/client.ts +193 -54
- package/src/label/external.ts +2 -0
- package/src/label/payload.ts +4 -9
- package/src/label/store.ts +28 -0
- package/src/label/types.gen.ts +31 -0
- package/src/labjack/external.ts +10 -0
- package/src/labjack/index.ts +10 -0
- package/src/labjack/types.gen.ts +251 -0
- package/src/lineplot/actions.gen.ts +880 -0
- package/src/lineplot/actions.ts +535 -0
- package/src/lineplot/client.ts +224 -52
- package/src/lineplot/external.ts +3 -0
- package/src/lineplot/line.ts +80 -0
- package/src/lineplot/types.gen.ts +225 -12
- package/src/log/actions.gen.ts +474 -0
- package/src/log/actions.ts +242 -0
- package/src/log/client.ts +223 -52
- package/src/log/external.ts +2 -0
- package/src/log/types.gen.ts +45 -14
- package/src/modbus/external.ts +10 -0
- package/src/modbus/index.ts +10 -0
- package/src/modbus/types.gen.ts +185 -0
- package/src/ni/external.ts +10 -0
- package/src/ni/index.ts +10 -0
- package/src/ni/types.gen.ts +1632 -0
- package/src/node/index.ts +10 -0
- package/src/{cluster → node}/types.gen.ts +2 -2
- package/src/ontology/client.ts +408 -99
- package/src/ontology/external.ts +7 -0
- package/src/ontology/payload.ts +48 -7
- package/src/ontology/store.ts +83 -0
- package/src/ontology/types.gen.ts +2 -1
- package/src/ontology/writer.ts +1 -0
- package/src/opcua/external.ts +10 -0
- package/src/opcua/index.ts +10 -0
- package/src/opcua/types.gen.ts +65 -0
- package/src/pagerduty/external.ts +10 -0
- package/src/pagerduty/index.ts +10 -0
- package/src/pagerduty/types.gen.ts +41 -0
- package/src/panel/actions.gen.ts +267 -0
- package/src/panel/actions.ts +357 -0
- package/src/panel/client.ts +327 -0
- package/src/panel/external.ts +14 -0
- package/src/panel/index.ts +10 -0
- package/src/panel/tree.ts +163 -0
- package/src/panel/types.gen.ts +164 -0
- package/src/project/client.ts +273 -0
- package/src/project/external.ts +11 -0
- package/src/project/index.ts +10 -0
- package/src/project/types.gen.ts +40 -0
- package/src/query/cache.ts +326 -0
- package/src/query/deleted.ts +38 -0
- package/src/query/derived.ts +101 -0
- package/src/query/external.ts +51 -0
- package/src/query/index.ts +10 -0
- package/src/query/query.ts +865 -0
- package/src/query/retriever.ts +308 -0
- package/src/query/streamer.ts +207 -0
- package/src/query/table.ts +625 -0
- package/src/query/types.ts +54 -0
- package/src/query/write.ts +42 -0
- package/src/rack/client.ts +233 -45
- package/src/rack/types.gen.ts +15 -16
- package/src/range/alias/types.gen.ts +2 -3
- package/src/ranger/client.ts +581 -70
- package/src/ranger/kv/client.ts +52 -21
- package/src/ranger/payload.ts +3 -0
- package/src/ranger/types.gen.ts +21 -23
- package/src/ranger/writer.ts +4 -8
- package/src/schematic/actions.gen.ts +62 -53
- package/src/schematic/actions.ts +44 -42
- package/src/schematic/client.ts +226 -70
- package/src/schematic/symbol/client.ts +277 -48
- package/src/schematic/symbol/types.gen.ts +22 -34
- package/src/schematic/types.gen.ts +22 -29
- package/src/status/client.ts +321 -44
- package/src/status/external.ts +2 -0
- package/src/status/payload.ts +1 -23
- package/src/status/status.ts +241 -0
- package/src/status/types.gen.ts +108 -0
- package/src/table/actions.gen.ts +96 -63
- package/src/table/actions.ts +44 -19
- package/src/table/client.ts +220 -56
- package/src/table/types.gen.ts +24 -31
- package/src/task/client.ts +580 -101
- package/src/task/types.gen.ts +68 -75
- package/src/testutil/access.ts +102 -6
- package/src/testutil/channels.ts +29 -0
- package/src/testutil/client.ts +27 -2
- package/src/testutil/connection.ts +47 -0
- package/src/testutil/index.ts +17 -0
- package/src/testutil/panels.ts +26 -0
- package/src/testutil/proxy.ts +106 -0
- package/src/testutil/query.ts +28 -0
- package/src/testutil/telem.ts +17 -1
- package/src/transport.ts +18 -7
- package/src/user/client.ts +165 -64
- package/src/user/external.ts +1 -1
- package/src/user/types.gen.ts +5 -5
- package/src/util/retrieve.ts +4 -4
- package/src/util/telem.ts +0 -1
- package/src/view/client.ts +120 -37
- package/src/view/types.gen.ts +8 -11
- package/.turbo/turbo-build.log +0 -20
- package/.vscode/settings.json +0 -3
- package/CONTRIBUTING.md +0 -47
- package/dist/client.cjs +0 -118
- package/dist/eslint.config.d.ts +0 -4
- package/dist/eslint.config.d.ts.map +0 -1
- package/dist/src/access/enforce.spec.d.ts +0 -2
- package/dist/src/access/enforce.spec.d.ts.map +0 -1
- package/dist/src/access/policy/access.spec.d.ts +0 -2
- package/dist/src/access/policy/access.spec.d.ts.map +0 -1
- package/dist/src/access/role/role.spec.d.ts +0 -2
- package/dist/src/access/role/role.spec.d.ts.map +0 -1
- package/dist/src/actions/actions.spec.d.ts +0 -2
- package/dist/src/actions/actions.spec.d.ts.map +0 -1
- package/dist/src/arc/access.spec.d.ts +0 -2
- package/dist/src/arc/access.spec.d.ts.map +0 -1
- package/dist/src/arc/arc.spec.d.ts +0 -2
- package/dist/src/arc/arc.spec.d.ts.map +0 -1
- package/dist/src/arc/lsp.spec.d.ts +0 -2
- package/dist/src/arc/lsp.spec.d.ts.map +0 -1
- package/dist/src/auth/auth.spec.d.ts +0 -2
- package/dist/src/auth/auth.spec.d.ts.map +0 -1
- package/dist/src/channel/access.spec.d.ts +0 -2
- package/dist/src/channel/access.spec.d.ts.map +0 -1
- package/dist/src/channel/batchRetriever.spec.d.ts +0 -2
- package/dist/src/channel/batchRetriever.spec.d.ts.map +0 -1
- package/dist/src/channel/channel.spec.d.ts +0 -2
- package/dist/src/channel/channel.spec.d.ts.map +0 -1
- package/dist/src/channel/payload.spec.d.ts +0 -2
- package/dist/src/channel/payload.spec.d.ts.map +0 -1
- package/dist/src/channel/retriever.d.ts +0 -64
- package/dist/src/channel/retriever.d.ts.map +0 -1
- package/dist/src/cluster/index.d.ts +0 -2
- package/dist/src/cluster/index.d.ts.map +0 -1
- package/dist/src/cluster/types.gen.d.ts +0 -4
- package/dist/src/cluster/types.gen.d.ts.map +0 -1
- package/dist/src/connection/checker.d.ts +0 -86
- package/dist/src/connection/checker.d.ts.map +0 -1
- package/dist/src/connection/connection.spec.d.ts +0 -2
- package/dist/src/connection/connection.spec.d.ts.map +0 -1
- package/dist/src/connection.spec.d.ts +0 -2
- package/dist/src/connection.spec.d.ts.map +0 -1
- package/dist/src/control/state.spec.d.ts +0 -2
- package/dist/src/control/state.spec.d.ts.map +0 -1
- package/dist/src/device/access.spec.d.ts +0 -2
- package/dist/src/device/access.spec.d.ts.map +0 -1
- package/dist/src/device/device.spec.d.ts +0 -2
- package/dist/src/device/device.spec.d.ts.map +0 -1
- package/dist/src/device/payload.spec.d.ts +0 -2
- package/dist/src/device/payload.spec.d.ts.map +0 -1
- package/dist/src/errors.spec.d.ts +0 -2
- package/dist/src/errors.spec.d.ts.map +0 -1
- package/dist/src/framer/adapter.spec.d.ts +0 -2
- package/dist/src/framer/adapter.spec.d.ts.map +0 -1
- package/dist/src/framer/client.spec.d.ts +0 -2
- package/dist/src/framer/client.spec.d.ts.map +0 -1
- package/dist/src/framer/codec.spec.d.ts +0 -2
- package/dist/src/framer/codec.spec.d.ts.map +0 -1
- package/dist/src/framer/deleter.spec.d.ts +0 -2
- package/dist/src/framer/deleter.spec.d.ts.map +0 -1
- package/dist/src/framer/frame.spec.d.ts +0 -2
- package/dist/src/framer/frame.spec.d.ts.map +0 -1
- package/dist/src/framer/iterator.spec.d.ts +0 -2
- package/dist/src/framer/iterator.spec.d.ts.map +0 -1
- package/dist/src/framer/reader.spec.d.ts +0 -2
- package/dist/src/framer/reader.spec.d.ts.map +0 -1
- package/dist/src/framer/streamer.spec.d.ts +0 -2
- package/dist/src/framer/streamer.spec.d.ts.map +0 -1
- package/dist/src/framer/writer.spec.d.ts +0 -2
- package/dist/src/framer/writer.spec.d.ts.map +0 -1
- package/dist/src/group/access.spec.d.ts +0 -2
- package/dist/src/group/access.spec.d.ts.map +0 -1
- package/dist/src/group/group.spec.d.ts +0 -2
- package/dist/src/group/group.spec.d.ts.map +0 -1
- package/dist/src/label/access.spec.d.ts +0 -2
- package/dist/src/label/access.spec.d.ts.map +0 -1
- package/dist/src/label/label.spec.d.ts +0 -2
- package/dist/src/label/label.spec.d.ts.map +0 -1
- package/dist/src/lineplot/access.spec.d.ts +0 -2
- package/dist/src/lineplot/access.spec.d.ts.map +0 -1
- package/dist/src/lineplot/lineplot.spec.d.ts +0 -2
- package/dist/src/lineplot/lineplot.spec.d.ts.map +0 -1
- package/dist/src/log/access.spec.d.ts +0 -2
- package/dist/src/log/access.spec.d.ts.map +0 -1
- package/dist/src/log/log.spec.d.ts +0 -2
- package/dist/src/log/log.spec.d.ts.map +0 -1
- package/dist/src/ontology/ontology.spec.d.ts +0 -2
- package/dist/src/ontology/ontology.spec.d.ts.map +0 -1
- package/dist/src/rack/access.spec.d.ts +0 -2
- package/dist/src/rack/access.spec.d.ts.map +0 -1
- package/dist/src/rack/rack.spec.d.ts +0 -2
- package/dist/src/rack/rack.spec.d.ts.map +0 -1
- package/dist/src/ranger/access.spec.d.ts +0 -2
- package/dist/src/ranger/access.spec.d.ts.map +0 -1
- package/dist/src/ranger/alias/payload.spec.d.ts +0 -2
- package/dist/src/ranger/alias/payload.spec.d.ts.map +0 -1
- package/dist/src/ranger/ranger.spec.d.ts +0 -2
- package/dist/src/ranger/ranger.spec.d.ts.map +0 -1
- package/dist/src/schematic/access.spec.d.ts +0 -2
- package/dist/src/schematic/access.spec.d.ts.map +0 -1
- package/dist/src/schematic/actions.spec.d.ts +0 -2
- package/dist/src/schematic/actions.spec.d.ts.map +0 -1
- package/dist/src/schematic/schematic.spec.d.ts +0 -2
- package/dist/src/schematic/schematic.spec.d.ts.map +0 -1
- package/dist/src/schematic/symbol/access.spec.d.ts +0 -2
- package/dist/src/schematic/symbol/access.spec.d.ts.map +0 -1
- package/dist/src/schematic/symbol/client.spec.d.ts +0 -2
- package/dist/src/schematic/symbol/client.spec.d.ts.map +0 -1
- package/dist/src/status/access.spec.d.ts +0 -2
- package/dist/src/status/access.spec.d.ts.map +0 -1
- package/dist/src/status/status.spec.d.ts +0 -2
- package/dist/src/status/status.spec.d.ts.map +0 -1
- package/dist/src/table/access.spec.d.ts +0 -2
- package/dist/src/table/access.spec.d.ts.map +0 -1
- package/dist/src/table/table.spec.d.ts +0 -2
- package/dist/src/table/table.spec.d.ts.map +0 -1
- package/dist/src/task/access.spec.d.ts +0 -2
- package/dist/src/task/access.spec.d.ts.map +0 -1
- package/dist/src/task/payload.spec.d.ts +0 -2
- package/dist/src/task/payload.spec.d.ts.map +0 -1
- package/dist/src/task/task.spec.d.ts +0 -2
- package/dist/src/task/task.spec.d.ts.map +0 -1
- package/dist/src/user/access.spec.d.ts +0 -2
- package/dist/src/user/access.spec.d.ts.map +0 -1
- package/dist/src/user/user.spec.d.ts +0 -2
- package/dist/src/user/user.spec.d.ts.map +0 -1
- package/dist/src/util/retrieve.spec.d.ts +0 -2
- package/dist/src/util/retrieve.spec.d.ts.map +0 -1
- package/dist/src/view/view.spec.d.ts +0 -2
- package/dist/src/view/view.spec.d.ts.map +0 -1
- package/dist/src/workspace/access.spec.d.ts +0 -2
- package/dist/src/workspace/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/client.d.ts +0 -36
- package/dist/src/workspace/client.d.ts.map +0 -1
- package/dist/src/workspace/external.d.ts.map +0 -1
- package/dist/src/workspace/index.d.ts +0 -2
- package/dist/src/workspace/index.d.ts.map +0 -1
- package/dist/src/workspace/types.gen.d.ts +0 -34
- package/dist/src/workspace/types.gen.d.ts.map +0 -1
- package/dist/src/workspace/workspace.spec.d.ts +0 -2
- package/dist/src/workspace/workspace.spec.d.ts.map +0 -1
- package/examples/node/basicReadWrite.js +0 -86
- package/examples/node/createChannels.js +0 -50
- package/examples/node/createRange.js +0 -67
- package/examples/node/package-lock.json +0 -133
- package/examples/node/package.json +0 -17
- package/examples/node/readLatest.js +0 -76
- package/examples/node/seriesAndFrames.js +0 -173
- package/examples/node/streamRead.js +0 -50
- package/examples/node/streamWrite.js +0 -87
- package/src/access/enforce.spec.ts +0 -188
- package/src/access/policy/access.spec.ts +0 -147
- package/src/access/role/role.spec.ts +0 -95
- package/src/actions/actions.spec.ts +0 -229
- package/src/arc/access.spec.ts +0 -149
- package/src/arc/arc.spec.ts +0 -44
- package/src/arc/lsp.spec.ts +0 -717
- package/src/auth/auth.spec.ts +0 -101
- package/src/channel/access.spec.ts +0 -116
- package/src/channel/batchRetriever.spec.ts +0 -115
- package/src/channel/channel.spec.ts +0 -352
- package/src/channel/payload.spec.ts +0 -117
- package/src/channel/retriever.ts +0 -252
- package/src/connection/checker.ts +0 -203
- package/src/connection/connection.spec.ts +0 -152
- package/src/connection.spec.ts +0 -145
- package/src/control/state.spec.ts +0 -22
- package/src/device/access.spec.ts +0 -159
- package/src/device/device.spec.ts +0 -461
- package/src/device/payload.spec.ts +0 -142
- package/src/errors.spec.ts +0 -71
- package/src/framer/adapter.spec.ts +0 -620
- package/src/framer/client.spec.ts +0 -180
- package/src/framer/codec.spec.ts +0 -383
- package/src/framer/deleter.spec.ts +0 -103
- package/src/framer/frame.spec.ts +0 -973
- package/src/framer/iterator.spec.ts +0 -169
- package/src/framer/reader.spec.ts +0 -865
- package/src/framer/streamer.spec.ts +0 -871
- package/src/framer/writer.spec.ts +0 -486
- package/src/group/access.spec.ts +0 -77
- package/src/group/group.spec.ts +0 -65
- package/src/label/access.spec.ts +0 -109
- package/src/label/label.spec.ts +0 -83
- package/src/lineplot/access.spec.ts +0 -134
- package/src/lineplot/lineplot.spec.ts +0 -120
- package/src/log/access.spec.ts +0 -132
- package/src/log/log.spec.ts +0 -106
- package/src/ontology/ontology.spec.ts +0 -521
- package/src/rack/access.spec.ts +0 -102
- package/src/rack/rack.spec.ts +0 -171
- package/src/ranger/access.spec.ts +0 -115
- package/src/ranger/alias/payload.spec.ts +0 -52
- package/src/ranger/ranger.spec.ts +0 -343
- package/src/schematic/access.spec.ts +0 -134
- package/src/schematic/actions.spec.ts +0 -699
- package/src/schematic/schematic.spec.ts +0 -340
- package/src/schematic/symbol/access.spec.ts +0 -172
- package/src/schematic/symbol/client.spec.ts +0 -160
- package/src/status/access.spec.ts +0 -129
- package/src/status/status.spec.ts +0 -448
- package/src/table/access.spec.ts +0 -128
- package/src/table/table.spec.ts +0 -651
- package/src/task/access.spec.ts +0 -131
- package/src/task/payload.spec.ts +0 -113
- package/src/task/task.spec.ts +0 -657
- package/src/user/access.spec.ts +0 -107
- package/src/user/user.spec.ts +0 -290
- package/src/util/retrieve.spec.ts +0 -49
- package/src/view/view.spec.ts +0 -165
- package/src/workspace/access.spec.ts +0 -108
- package/src/workspace/client.ts +0 -112
- package/src/workspace/types.gen.ts +0 -46
- package/src/workspace/workspace.spec.ts +0 -111
- package/tsconfig.json +0 -5
- package/tsconfig.vite.json +0 -4
- package/vite.config.ts +0 -29
- /package/dist/src/{workspace → project}/external.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.gen.d.ts","sourceRoot":"","sources":["../../../src/panel/actions.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAQ,KAAK,KAAK,EAAgC,MAAM,mBAAmB,CAAC;AAEnF;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEzB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE3D,gCAAgC;AAChC,eAAO,MAAM,cAAc;;iBAEzB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsB9C,CAAC;AAEL,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAiC,CAAC;AAE5D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsC,CAAC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
|
+
import { destructor } from '@synnaxlabs/x';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { actions } from '../actions';
|
|
5
|
+
import { ontology } from '../ontology';
|
|
6
|
+
import { Action } from './actions.gen';
|
|
7
|
+
import { Key, New, Panel } from './types.gen';
|
|
8
|
+
import { query } from '../query';
|
|
9
|
+
export declare const SET_CHANNEL_NAME = "sy_panel_set";
|
|
10
|
+
export declare const DELETE_CHANNEL_NAME = "sy_panel_delete";
|
|
11
|
+
declare const retrieveReqZ: z.ZodObject<{
|
|
12
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
13
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
14
|
+
type: z.ZodEnum<{
|
|
15
|
+
arc: "arc";
|
|
16
|
+
builtin: "builtin";
|
|
17
|
+
channel: "channel";
|
|
18
|
+
device: "device";
|
|
19
|
+
framer: "framer";
|
|
20
|
+
group: "group";
|
|
21
|
+
label: "label";
|
|
22
|
+
lineplot: "lineplot";
|
|
23
|
+
log: "log";
|
|
24
|
+
node: "node";
|
|
25
|
+
panel: "panel";
|
|
26
|
+
policy: "policy";
|
|
27
|
+
project: "project";
|
|
28
|
+
rack: "rack";
|
|
29
|
+
range: "range";
|
|
30
|
+
"range-alias": "range-alias";
|
|
31
|
+
role: "role";
|
|
32
|
+
schematic: "schematic";
|
|
33
|
+
schematic_symbol: "schematic_symbol";
|
|
34
|
+
status: "status";
|
|
35
|
+
table: "table";
|
|
36
|
+
task: "task";
|
|
37
|
+
user: "user";
|
|
38
|
+
view: "view";
|
|
39
|
+
}>;
|
|
40
|
+
key: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
42
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
43
|
+
key: string;
|
|
44
|
+
}, string>>]>>;
|
|
45
|
+
searchTerm: z.ZodOptional<z.ZodString>;
|
|
46
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
47
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
48
|
+
ignoreNotFoundError: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
declare const retrieveMultiParamsZ: z.ZodUnion<[z.ZodObject<{
|
|
51
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
52
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
53
|
+
type: z.ZodEnum<{
|
|
54
|
+
arc: "arc";
|
|
55
|
+
builtin: "builtin";
|
|
56
|
+
channel: "channel";
|
|
57
|
+
device: "device";
|
|
58
|
+
framer: "framer";
|
|
59
|
+
group: "group";
|
|
60
|
+
label: "label";
|
|
61
|
+
lineplot: "lineplot";
|
|
62
|
+
log: "log";
|
|
63
|
+
node: "node";
|
|
64
|
+
panel: "panel";
|
|
65
|
+
policy: "policy";
|
|
66
|
+
project: "project";
|
|
67
|
+
rack: "rack";
|
|
68
|
+
range: "range";
|
|
69
|
+
"range-alias": "range-alias";
|
|
70
|
+
role: "role";
|
|
71
|
+
schematic: "schematic";
|
|
72
|
+
schematic_symbol: "schematic_symbol";
|
|
73
|
+
status: "status";
|
|
74
|
+
table: "table";
|
|
75
|
+
task: "task";
|
|
76
|
+
user: "user";
|
|
77
|
+
view: "view";
|
|
78
|
+
}>;
|
|
79
|
+
key: z.ZodString;
|
|
80
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
81
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
82
|
+
key: string;
|
|
83
|
+
}, string>>]>>;
|
|
84
|
+
searchTerm: z.ZodOptional<z.ZodString>;
|
|
85
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
86
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
87
|
+
ignoreNotFoundError: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodArray<z.ZodUUID>, z.ZodTransform<{
|
|
89
|
+
keys: string[];
|
|
90
|
+
}, string[]>>]>;
|
|
91
|
+
export interface RetrieveRequest extends z.infer<typeof retrieveReqZ> {
|
|
92
|
+
}
|
|
93
|
+
export interface ClientConfig {
|
|
94
|
+
unary: UnaryClient;
|
|
95
|
+
ontology: ontology.Client;
|
|
96
|
+
cache: query.Cache;
|
|
97
|
+
}
|
|
98
|
+
export declare class Client extends query.Retriever<typeof retrieveMultiParamsZ, Key, Panel> {
|
|
99
|
+
private readonly cfg;
|
|
100
|
+
private readonly store;
|
|
101
|
+
private readonly dispatcher;
|
|
102
|
+
constructor(cfg: ClientConfig);
|
|
103
|
+
/** All panels currently in the cache. */
|
|
104
|
+
listCached(): Panel[];
|
|
105
|
+
private isCachedChild;
|
|
106
|
+
create(panel: New, opts?: query.WriteOptions<Panel[]>): Promise<Panel>;
|
|
107
|
+
create(panels: New[], opts?: query.WriteOptions<Panel[]>): Promise<Panel[]>;
|
|
108
|
+
rename(key: Key, name: string, opts?: query.WriteOptions): Promise<void>;
|
|
109
|
+
/**
|
|
110
|
+
* Applies actions to the cached panel and sends them to the server, recording an
|
|
111
|
+
* undoable entry. Returns false without side effects when the panel isn't cached.
|
|
112
|
+
* Rolls back the local apply and rethrows on send failure.
|
|
113
|
+
*/
|
|
114
|
+
dispatch(key: Key, actions: Action | Action[], opts?: actions.Options<Panel, Action>): Promise<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Reverts the panel's most recent undoable entry. Returns false when
|
|
117
|
+
* nothing is undoable.
|
|
118
|
+
*/
|
|
119
|
+
undo(key: Key): Promise<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* Re-applies the panel's most recently undone entry. Returns false when
|
|
122
|
+
* nothing is redoable.
|
|
123
|
+
*/
|
|
124
|
+
redo(key: Key): Promise<boolean>;
|
|
125
|
+
/** Whether the panel has a live undo entry. */
|
|
126
|
+
hasUndo(key: Key): boolean;
|
|
127
|
+
/** Whether the panel has a live redo entry. */
|
|
128
|
+
hasRedo(key: Key): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Subscribes to changes in the panel's undo/redo stacks. Returns a
|
|
131
|
+
* destructor that unsubscribes.
|
|
132
|
+
*/
|
|
133
|
+
onUndoStateChange(callback: () => void, key?: Key): destructor.Destructor;
|
|
134
|
+
/** Stages actions committed atomically as one undoable entry. */
|
|
135
|
+
beginTransaction(key: Key, kind?: string): actions.Transaction<Action>;
|
|
136
|
+
private dispatchSender;
|
|
137
|
+
private sendDispatch;
|
|
138
|
+
delete(key: Key, opts?: query.WriteOptions): Promise<void>;
|
|
139
|
+
delete(keys: Key[], opts?: query.WriteOptions): Promise<void>;
|
|
140
|
+
/** Subscribes to every panel delete delivered to the cache. */
|
|
141
|
+
onDelete(handler: (key: Key) => void): destructor.Destructor;
|
|
142
|
+
/** Subscribes to every panel set delivered to the cache. */
|
|
143
|
+
onSet(handler: (panel: Panel) => void): destructor.Destructor;
|
|
144
|
+
private execRetrieve;
|
|
145
|
+
private fetchRequest;
|
|
146
|
+
}
|
|
147
|
+
export {};
|
|
148
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/panel/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAS,KAAK,UAAU,EAAkB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,KAAK,MAAM,EAIZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,KAAK,EAEX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;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Root":"","sources":["../../../src/panel/external.ts"],"names":[],"mappings":"AASA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panel/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { location, spatial } from '@synnaxlabs/x';
|
|
2
|
+
import { ontology } from '../ontology';
|
|
3
|
+
import { LeafNode, Node, Tab, TabKey } from './types.gen';
|
|
4
|
+
export declare const ROOT_NODE_KEY = 1;
|
|
5
|
+
/** childNodeKey returns the path key of a split's child on the given side. */
|
|
6
|
+
export declare const childNodeKey: (pathKey: number, side: spatial.Order) => number;
|
|
7
|
+
/**
|
|
8
|
+
* splitSide returns the child slot the new empty leaf occupies when a leaf is
|
|
9
|
+
* split at the given location: "first" for left/top, "last" otherwise. The
|
|
10
|
+
* convention is shared by location-bearing InsertTab/MoveTab and SplitTab.
|
|
11
|
+
*/
|
|
12
|
+
export declare const splitSide: (loc: location.Outer) => spatial.Order;
|
|
13
|
+
/**
|
|
14
|
+
* findNode returns the node at the given path key, or null when the path does
|
|
15
|
+
* not exist in the tree.
|
|
16
|
+
*/
|
|
17
|
+
export declare const findNode: (root: Node | undefined, pathKey: number) => Node | undefined;
|
|
18
|
+
/** findTab returns the tab with the given key, or null when absent. */
|
|
19
|
+
export declare const findTab: (node: Node | undefined, key?: string) => Tab | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* findTabByResource returns the tab whose resource variant displays the given
|
|
22
|
+
* ontology ID, or null when no tab backs that resource. A resource may back at
|
|
23
|
+
* most one tab per panel, so openers use this to select the existing tab
|
|
24
|
+
* instead of inserting a duplicate.
|
|
25
|
+
*/
|
|
26
|
+
export declare const findTabByResource: (node: Node | undefined, resource: ontology.ID) => Tab | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* findTabByType returns the tab whose view variant carries the given type, or
|
|
29
|
+
* null when no view of that type is present. Openers of singleton views use this
|
|
30
|
+
* to select the existing tab instead of inserting a duplicate.
|
|
31
|
+
*/
|
|
32
|
+
export declare const findTabByType: (node: Node | undefined, type: string) => Tab | undefined;
|
|
33
|
+
/** leafTabGroups returns each leaf's ordered tab keys, leaves in traversal order. */
|
|
34
|
+
export declare const leafTabGroups: (node: Node | undefined) => TabKey[][];
|
|
35
|
+
/** firstTab returns the first tab in traversal order, or null for an empty tree. */
|
|
36
|
+
export declare const firstTab: (node: Node | undefined) => Tab | undefined;
|
|
37
|
+
/** tabLeafPath returns the path key of the leaf holding the given tab, or null. */
|
|
38
|
+
export declare const tabLeafPath: (root: Node | undefined, tabKey: string) => number | undefined;
|
|
39
|
+
/** findTabLeaf returns the leaf node holding the given tab, or null when absent. */
|
|
40
|
+
export declare const findTabLeaf: (root: Node | undefined, tabKey: string) => LeafNode | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* canSplitTab reports whether the tab can be split off into its own pane: true
|
|
43
|
+
* when the tab shares its leaf with at least one other tab. Splitting the only
|
|
44
|
+
* tab in a leaf is a no-op (the SplitTab action rejects it), so menu
|
|
45
|
+
* affordances for the split should gate on this.
|
|
46
|
+
*/
|
|
47
|
+
export declare const canSplitTab: (root: Node | undefined, tabKey: string) => boolean;
|
|
48
|
+
/** firstLeafPath returns the path key of the first leaf in traversal order. */
|
|
49
|
+
export declare const firstLeafPath: (root: Node | undefined) => number | undefined;
|
|
50
|
+
//# sourceMappingURL=tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../src/panel/tree.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,OAAO,EAAE,MAAM,eAAe,CAAC;AAE5D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F,eAAO,MAAM,WAAW,GACtB,MAAM,IAAI,GAAG,SAAS,EACtB,QAAQ,MAAM,KACb,QAAQ,GAAG,SAKb,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,MAAM,IAAI,GAAG,SAAS,EAAE,QAAQ,MAAM,KAAG,OAKpE,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,aAAa,GAAI,MAAM,IAAI,GAAG,SAAS,KAAG,MAAM,GAAG,SACjB,CAAC"}
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ontology } from '../ontology';
|
|
3
|
+
/**
|
|
4
|
+
* View is an inline, self-describing view: a Console-owned type plus an opaque
|
|
5
|
+
* configuration payload, with no backing core document. Used for app-views and tools
|
|
6
|
+
* (docs, explorers, task forms, and the selector pickers).
|
|
7
|
+
*/
|
|
8
|
+
export declare const viewZ: z.ZodObject<{
|
|
9
|
+
type: z.ZodString;
|
|
10
|
+
args: z.ZodDefault<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export interface View extends z.infer<typeof viewZ> {
|
|
13
|
+
}
|
|
14
|
+
export declare const tabKeyZ: z.ZodUUID;
|
|
15
|
+
export type TabKey = z.infer<typeof tabKeyZ>;
|
|
16
|
+
export declare const keyZ: z.ZodUUID;
|
|
17
|
+
export type Key = z.infer<typeof keyZ>;
|
|
18
|
+
/** TabBase carries the identity shared by every tab variant. */
|
|
19
|
+
export declare const tabBaseZ: z.ZodObject<{
|
|
20
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export interface TabBase extends z.infer<typeof tabBaseZ> {
|
|
23
|
+
}
|
|
24
|
+
/** ResourceTab is a tab displaying a backing core document. */
|
|
25
|
+
export declare const resourceTabZ: z.ZodObject<{
|
|
26
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
27
|
+
variant: z.ZodLiteral<"resource">;
|
|
28
|
+
resource: z.ZodUnion<[z.ZodObject<{
|
|
29
|
+
type: z.ZodEnum<{
|
|
30
|
+
arc: "arc";
|
|
31
|
+
builtin: "builtin";
|
|
32
|
+
channel: "channel";
|
|
33
|
+
device: "device";
|
|
34
|
+
framer: "framer";
|
|
35
|
+
group: "group";
|
|
36
|
+
label: "label";
|
|
37
|
+
lineplot: "lineplot";
|
|
38
|
+
log: "log";
|
|
39
|
+
node: "node";
|
|
40
|
+
panel: "panel";
|
|
41
|
+
policy: "policy";
|
|
42
|
+
project: "project";
|
|
43
|
+
rack: "rack";
|
|
44
|
+
range: "range";
|
|
45
|
+
"range-alias": "range-alias";
|
|
46
|
+
role: "role";
|
|
47
|
+
schematic: "schematic";
|
|
48
|
+
schematic_symbol: "schematic_symbol";
|
|
49
|
+
status: "status";
|
|
50
|
+
table: "table";
|
|
51
|
+
task: "task";
|
|
52
|
+
user: "user";
|
|
53
|
+
view: "view";
|
|
54
|
+
}>;
|
|
55
|
+
key: z.ZodString;
|
|
56
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
57
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
58
|
+
key: string;
|
|
59
|
+
}, string>>]>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
export interface ResourceTab extends z.infer<typeof resourceTabZ> {
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* ViewTab is a tab displaying an inline, self-describing view. Unlike a resource, a
|
|
65
|
+
* view has no backing core document: it carries its own type and opaque args. Used for
|
|
66
|
+
* app-views and tools (docs, explorers, task forms, and the selector pickers).
|
|
67
|
+
*/
|
|
68
|
+
export declare const viewTabZ: z.ZodObject<{
|
|
69
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
70
|
+
type: z.ZodString;
|
|
71
|
+
args: z.ZodDefault<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>;
|
|
72
|
+
variant: z.ZodLiteral<"view">;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export interface ViewTab extends z.infer<typeof viewTabZ> {
|
|
75
|
+
}
|
|
76
|
+
export declare const TAB_TYPES: readonly ["resource", "view"];
|
|
77
|
+
export declare const tabTypeZ: z.ZodEnum<{
|
|
78
|
+
view: "view";
|
|
79
|
+
resource: "resource";
|
|
80
|
+
}>;
|
|
81
|
+
export type TabType = z.infer<typeof tabTypeZ>;
|
|
82
|
+
/**
|
|
83
|
+
* Tab is a single tab in a leaf. Tab content is a discriminated union: a resource (a
|
|
84
|
+
* backing core document, e.g. a line plot) or a view (an inline, self-describing
|
|
85
|
+
* app-view, e.g. docs). A freshly created tab is a view whose type is a selector
|
|
86
|
+
* picker; SetTabResource or SetTabView swaps content in place. Display attributes
|
|
87
|
+
* (name, icon, closability) are resolved at render time from the content. A resource
|
|
88
|
+
* may back at most one tab per panel; views may repeat.
|
|
89
|
+
*/
|
|
90
|
+
export declare const tabZ: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
91
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
92
|
+
variant: z.ZodLiteral<"resource">;
|
|
93
|
+
resource: z.ZodUnion<[z.ZodObject<{
|
|
94
|
+
type: z.ZodEnum<{
|
|
95
|
+
arc: "arc";
|
|
96
|
+
builtin: "builtin";
|
|
97
|
+
channel: "channel";
|
|
98
|
+
device: "device";
|
|
99
|
+
framer: "framer";
|
|
100
|
+
group: "group";
|
|
101
|
+
label: "label";
|
|
102
|
+
lineplot: "lineplot";
|
|
103
|
+
log: "log";
|
|
104
|
+
node: "node";
|
|
105
|
+
panel: "panel";
|
|
106
|
+
policy: "policy";
|
|
107
|
+
project: "project";
|
|
108
|
+
rack: "rack";
|
|
109
|
+
range: "range";
|
|
110
|
+
"range-alias": "range-alias";
|
|
111
|
+
role: "role";
|
|
112
|
+
schematic: "schematic";
|
|
113
|
+
schematic_symbol: "schematic_symbol";
|
|
114
|
+
status: "status";
|
|
115
|
+
table: "table";
|
|
116
|
+
task: "task";
|
|
117
|
+
user: "user";
|
|
118
|
+
view: "view";
|
|
119
|
+
}>;
|
|
120
|
+
key: z.ZodString;
|
|
121
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
122
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
123
|
+
key: string;
|
|
124
|
+
}, string>>]>;
|
|
125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
126
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
127
|
+
type: z.ZodString;
|
|
128
|
+
args: z.ZodDefault<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>;
|
|
129
|
+
variant: z.ZodLiteral<"view">;
|
|
130
|
+
}, z.core.$strip>], "variant">;
|
|
131
|
+
export type Tab = ResourceTab | ViewTab;
|
|
132
|
+
export declare const TAB_SCHEMAS: {
|
|
133
|
+
[K in TabType]: z.ZodType<Extract<Tab, {
|
|
134
|
+
variant: K;
|
|
135
|
+
}>>;
|
|
136
|
+
};
|
|
137
|
+
export type NewTab = z.input<typeof tabZ>;
|
|
138
|
+
/** LeafNode is a leaf node in the panel tree displaying a tab strip. */
|
|
139
|
+
export declare const leafNodeZ: z.ZodObject<{
|
|
140
|
+
variant: z.ZodLiteral<"leaf">;
|
|
141
|
+
tabs: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
142
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
143
|
+
variant: z.ZodLiteral<"resource">;
|
|
144
|
+
resource: z.ZodUnion<[z.ZodObject<{
|
|
145
|
+
type: z.ZodEnum<{
|
|
146
|
+
arc: "arc";
|
|
147
|
+
builtin: "builtin";
|
|
148
|
+
channel: "channel";
|
|
149
|
+
device: "device";
|
|
150
|
+
framer: "framer";
|
|
151
|
+
group: "group";
|
|
152
|
+
label: "label";
|
|
153
|
+
lineplot: "lineplot";
|
|
154
|
+
log: "log";
|
|
155
|
+
node: "node";
|
|
156
|
+
panel: "panel";
|
|
157
|
+
policy: "policy";
|
|
158
|
+
project: "project";
|
|
159
|
+
rack: "rack";
|
|
160
|
+
range: "range";
|
|
161
|
+
"range-alias": "range-alias";
|
|
162
|
+
role: "role";
|
|
163
|
+
schematic: "schematic";
|
|
164
|
+
schematic_symbol: "schematic_symbol";
|
|
165
|
+
status: "status";
|
|
166
|
+
table: "table";
|
|
167
|
+
task: "task";
|
|
168
|
+
user: "user";
|
|
169
|
+
view: "view";
|
|
170
|
+
}>;
|
|
171
|
+
key: z.ZodString;
|
|
172
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
173
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
174
|
+
key: string;
|
|
175
|
+
}, string>>]>;
|
|
176
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
177
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
178
|
+
type: z.ZodString;
|
|
179
|
+
args: z.ZodDefault<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>;
|
|
180
|
+
variant: z.ZodLiteral<"view">;
|
|
181
|
+
}, z.core.$strip>], "variant">>>;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
export interface LeafNode extends z.infer<typeof leafNodeZ> {
|
|
184
|
+
}
|
|
185
|
+
/** SplitNode is an interior split node dividing its area between two children. */
|
|
186
|
+
export declare const splitNodeZ: z.ZodObject<{
|
|
187
|
+
variant: z.ZodLiteral<"split">;
|
|
188
|
+
direction: z.ZodEnum<{
|
|
189
|
+
x: "x";
|
|
190
|
+
y: "y";
|
|
191
|
+
}>;
|
|
192
|
+
size: z.ZodNumber;
|
|
193
|
+
first: z.ZodType<Node>;
|
|
194
|
+
last: z.ZodType<Node>;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
export interface SplitNode extends z.infer<typeof splitNodeZ> {
|
|
197
|
+
}
|
|
198
|
+
export declare const NODE_TYPES: readonly ["leaf", "split"];
|
|
199
|
+
export declare const nodeTypeZ: z.ZodEnum<{
|
|
200
|
+
split: "split";
|
|
201
|
+
leaf: "leaf";
|
|
202
|
+
}>;
|
|
203
|
+
export type NodeType = z.infer<typeof nodeTypeZ>;
|
|
204
|
+
/**
|
|
205
|
+
* Node is a node in the panel tree: either a leaf displaying a tab strip or an interior
|
|
206
|
+
* split. Nodes are identified by path-derived numeric keys during traversal (1 = root,
|
|
207
|
+
* 2k = first child, 2k+1 = last child).
|
|
208
|
+
*/
|
|
209
|
+
export declare const nodeZ: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
210
|
+
variant: z.ZodLiteral<"leaf">;
|
|
211
|
+
tabs: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
212
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
213
|
+
variant: z.ZodLiteral<"resource">;
|
|
214
|
+
resource: z.ZodUnion<[z.ZodObject<{
|
|
215
|
+
type: z.ZodEnum<{
|
|
216
|
+
arc: "arc";
|
|
217
|
+
builtin: "builtin";
|
|
218
|
+
channel: "channel";
|
|
219
|
+
device: "device";
|
|
220
|
+
framer: "framer";
|
|
221
|
+
group: "group";
|
|
222
|
+
label: "label";
|
|
223
|
+
lineplot: "lineplot";
|
|
224
|
+
log: "log";
|
|
225
|
+
node: "node";
|
|
226
|
+
panel: "panel";
|
|
227
|
+
policy: "policy";
|
|
228
|
+
project: "project";
|
|
229
|
+
rack: "rack";
|
|
230
|
+
range: "range";
|
|
231
|
+
"range-alias": "range-alias";
|
|
232
|
+
role: "role";
|
|
233
|
+
schematic: "schematic";
|
|
234
|
+
schematic_symbol: "schematic_symbol";
|
|
235
|
+
status: "status";
|
|
236
|
+
table: "table";
|
|
237
|
+
task: "task";
|
|
238
|
+
user: "user";
|
|
239
|
+
view: "view";
|
|
240
|
+
}>;
|
|
241
|
+
key: z.ZodString;
|
|
242
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
243
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
244
|
+
key: string;
|
|
245
|
+
}, string>>]>;
|
|
246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
247
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
248
|
+
type: z.ZodString;
|
|
249
|
+
args: z.ZodDefault<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>;
|
|
250
|
+
variant: z.ZodLiteral<"view">;
|
|
251
|
+
}, z.core.$strip>], "variant">>>;
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
+
variant: z.ZodLiteral<"split">;
|
|
254
|
+
direction: z.ZodEnum<{
|
|
255
|
+
x: "x";
|
|
256
|
+
y: "y";
|
|
257
|
+
}>;
|
|
258
|
+
size: z.ZodNumber;
|
|
259
|
+
first: z.ZodType<Node>;
|
|
260
|
+
last: z.ZodType<Node>;
|
|
261
|
+
}, z.core.$strip>], "variant">;
|
|
262
|
+
export type Node = LeafNode | SplitNode;
|
|
263
|
+
export declare const NODE_SCHEMAS: {
|
|
264
|
+
[K in NodeType]: z.ZodType<Extract<Node, {
|
|
265
|
+
variant: K;
|
|
266
|
+
}>>;
|
|
267
|
+
};
|
|
268
|
+
/** Panel is a project-owned tree of visualization tabs. */
|
|
269
|
+
export declare const panelZ: z.ZodObject<{
|
|
270
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
271
|
+
name: z.ZodString;
|
|
272
|
+
root: z.ZodPrefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
273
|
+
variant: z.ZodLiteral<"leaf">;
|
|
274
|
+
tabs: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
275
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
276
|
+
variant: z.ZodLiteral<"resource">;
|
|
277
|
+
resource: z.ZodUnion<[z.ZodObject<{
|
|
278
|
+
type: z.ZodEnum<{
|
|
279
|
+
arc: "arc";
|
|
280
|
+
builtin: "builtin";
|
|
281
|
+
channel: "channel";
|
|
282
|
+
device: "device";
|
|
283
|
+
framer: "framer";
|
|
284
|
+
group: "group";
|
|
285
|
+
label: "label";
|
|
286
|
+
lineplot: "lineplot";
|
|
287
|
+
log: "log";
|
|
288
|
+
node: "node";
|
|
289
|
+
panel: "panel";
|
|
290
|
+
policy: "policy";
|
|
291
|
+
project: "project";
|
|
292
|
+
rack: "rack";
|
|
293
|
+
range: "range";
|
|
294
|
+
"range-alias": "range-alias";
|
|
295
|
+
role: "role";
|
|
296
|
+
schematic: "schematic";
|
|
297
|
+
schematic_symbol: "schematic_symbol";
|
|
298
|
+
status: "status";
|
|
299
|
+
table: "table";
|
|
300
|
+
task: "task";
|
|
301
|
+
user: "user";
|
|
302
|
+
view: "view";
|
|
303
|
+
}>;
|
|
304
|
+
key: z.ZodString;
|
|
305
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
306
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
307
|
+
key: string;
|
|
308
|
+
}, string>>]>;
|
|
309
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
310
|
+
key: z.ZodDefault<z.ZodUUID>;
|
|
311
|
+
type: z.ZodString;
|
|
312
|
+
args: z.ZodDefault<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>;
|
|
313
|
+
variant: z.ZodLiteral<"view">;
|
|
314
|
+
}, z.core.$strip>], "variant">>>;
|
|
315
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
316
|
+
variant: z.ZodLiteral<"split">;
|
|
317
|
+
direction: z.ZodEnum<{
|
|
318
|
+
x: "x";
|
|
319
|
+
y: "y";
|
|
320
|
+
}>;
|
|
321
|
+
size: z.ZodNumber;
|
|
322
|
+
first: z.ZodType<Node>;
|
|
323
|
+
last: z.ZodType<Node>;
|
|
324
|
+
}, z.core.$strip>], "variant">>;
|
|
325
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
326
|
+
type: z.ZodEnum<{
|
|
327
|
+
arc: "arc";
|
|
328
|
+
builtin: "builtin";
|
|
329
|
+
channel: "channel";
|
|
330
|
+
device: "device";
|
|
331
|
+
framer: "framer";
|
|
332
|
+
group: "group";
|
|
333
|
+
label: "label";
|
|
334
|
+
lineplot: "lineplot";
|
|
335
|
+
log: "log";
|
|
336
|
+
node: "node";
|
|
337
|
+
panel: "panel";
|
|
338
|
+
policy: "policy";
|
|
339
|
+
project: "project";
|
|
340
|
+
rack: "rack";
|
|
341
|
+
range: "range";
|
|
342
|
+
"range-alias": "range-alias";
|
|
343
|
+
role: "role";
|
|
344
|
+
schematic: "schematic";
|
|
345
|
+
schematic_symbol: "schematic_symbol";
|
|
346
|
+
status: "status";
|
|
347
|
+
table: "table";
|
|
348
|
+
task: "task";
|
|
349
|
+
user: "user";
|
|
350
|
+
view: "view";
|
|
351
|
+
}>;
|
|
352
|
+
key: z.ZodString;
|
|
353
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
354
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
355
|
+
key: string;
|
|
356
|
+
}, string>>]>>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
export interface Panel extends z.infer<typeof panelZ> {
|
|
359
|
+
}
|
|
360
|
+
export interface New extends z.input<typeof panelZ> {
|
|
361
|
+
}
|
|
362
|
+
export declare const ontologyID: ontology.CreateID<string>;
|
|
363
|
+
export declare const TYPE_ONTOLOGY_ID: {
|
|
364
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
365
|
+
key: string;
|
|
366
|
+
} | {
|
|
367
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "panel" | "policy" | "project" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view";
|
|
368
|
+
key: string;
|
|
369
|
+
};
|
|
370
|
+
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../src/panel/types.gen.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;GAIG;AACH,eAAO,MAAM,KAAK;;;iBAWhB,CAAC;AACH,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,KA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