@camstack/types 0.1.14 → 0.1.16
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/addon/base-addon.d.ts +262 -0
- package/dist/addon/base-addon.d.ts.map +1 -0
- package/dist/auth-records-BDg37fy9.mjs +8297 -0
- package/dist/auth-records-BDg37fy9.mjs.map +1 -0
- package/dist/auth-records-D5ZNaUos.js +8296 -0
- package/dist/auth-records-D5ZNaUos.js.map +1 -0
- package/dist/capabilities/accessories.cap.d.ts +42 -0
- package/dist/capabilities/accessories.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts +41 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-pages.cap.d.ts +36 -0
- package/dist/capabilities/addon-pages.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-routes.cap.d.ts +22 -0
- package/dist/capabilities/addon-routes.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-settings.cap.d.ts +170 -0
- package/dist/capabilities/addon-settings.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts +103 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-widgets.cap.d.ts +98 -0
- package/dist/capabilities/addon-widgets.cap.d.ts.map +1 -0
- package/dist/capabilities/addons.cap.d.ts +356 -0
- package/dist/capabilities/addons.cap.d.ts.map +1 -0
- package/dist/capabilities/admin-ui.cap.d.ts +14 -0
- package/dist/capabilities/admin-ui.cap.d.ts.map +1 -0
- package/dist/capabilities/advanced-notifier.cap.d.ts +60 -0
- package/dist/capabilities/advanced-notifier.cap.d.ts.map +1 -0
- package/dist/capabilities/alerts.cap.d.ts +164 -0
- package/dist/capabilities/alerts.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-analysis.cap.d.ts +46 -0
- package/dist/capabilities/audio-analysis.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts +148 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-codec.cap.d.ts +202 -0
- package/dist/capabilities/audio-codec.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-metrics.cap.d.ts +174 -0
- package/dist/capabilities/audio-metrics.cap.d.ts.map +1 -0
- package/dist/capabilities/auth-provider.cap.d.ts +49 -0
- package/dist/capabilities/auth-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/authentication.cap.d.ts +83 -0
- package/dist/capabilities/authentication.cap.d.ts.map +1 -0
- package/dist/capabilities/backup.cap.d.ts +269 -0
- package/dist/capabilities/backup.cap.d.ts.map +1 -0
- package/dist/capabilities/battery.cap.d.ts +85 -0
- package/dist/capabilities/battery.cap.d.ts.map +1 -0
- package/dist/capabilities/brightness.cap.d.ts +64 -0
- package/dist/capabilities/brightness.cap.d.ts.map +1 -0
- package/dist/capabilities/camera-credentials.cap.d.ts +102 -0
- package/dist/capabilities/camera-credentials.cap.d.ts.map +1 -0
- package/dist/capabilities/camera-streams.cap.d.ts +214 -0
- package/dist/capabilities/camera-streams.cap.d.ts.map +1 -0
- package/dist/capabilities/capability-definition.d.ts +474 -0
- package/dist/capabilities/capability-definition.d.ts.map +1 -0
- package/dist/capabilities/custom-actions.d.ts +47 -0
- package/dist/capabilities/custom-actions.d.ts.map +1 -0
- package/dist/capabilities/decoder.cap.d.ts +173 -0
- package/dist/capabilities/decoder.cap.d.ts.map +1 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts +34 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts.map +1 -0
- package/dist/capabilities/device-discovery.cap.d.ts +247 -0
- package/dist/capabilities/device-discovery.cap.d.ts.map +1 -0
- package/dist/capabilities/device-manager.cap.d.ts +709 -0
- package/dist/capabilities/device-manager.cap.d.ts.map +1 -0
- package/dist/capabilities/device-ops.cap.d.ts +87 -0
- package/dist/capabilities/device-ops.cap.d.ts.map +1 -0
- package/dist/capabilities/device-provider.cap.d.ts +151 -0
- package/dist/capabilities/device-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/device-state.cap.d.ts +97 -0
- package/dist/capabilities/device-state.cap.d.ts.map +1 -0
- package/dist/capabilities/device-status.cap.d.ts +54 -0
- package/dist/capabilities/device-status.cap.d.ts.map +1 -0
- package/dist/capabilities/doorbell.cap.d.ts +62 -0
- package/dist/capabilities/doorbell.cap.d.ts.map +1 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts +41 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts.map +1 -0
- package/dist/capabilities/events.cap.d.ts +48 -0
- package/dist/capabilities/events.cap.d.ts.map +1 -0
- package/dist/capabilities/feature-probe.cap.d.ts +79 -0
- package/dist/capabilities/feature-probe.cap.d.ts.map +1 -0
- package/dist/capabilities/index.d.ts +191 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/integrations.cap.d.ts +182 -0
- package/dist/capabilities/integrations.cap.d.ts.map +1 -0
- package/dist/capabilities/intercom.cap.d.ts +108 -0
- package/dist/capabilities/intercom.cap.d.ts.map +1 -0
- package/dist/capabilities/local-network.cap.d.ts +216 -0
- package/dist/capabilities/local-network.cap.d.ts.map +1 -0
- package/dist/capabilities/log-destination.cap.d.ts +70 -0
- package/dist/capabilities/log-destination.cap.d.ts.map +1 -0
- package/dist/capabilities/mesh-network.cap.d.ts +160 -0
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -0
- package/dist/capabilities/mesh-orchestrator.cap.d.ts +96 -0
- package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/metrics-provider.cap.d.ts +522 -0
- package/dist/capabilities/metrics-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/motion-detection.cap.d.ts +107 -0
- package/dist/capabilities/motion-detection.cap.d.ts.map +1 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +78 -0
- package/dist/capabilities/motion-trigger.cap.d.ts.map +1 -0
- package/dist/capabilities/motion.cap.d.ts +122 -0
- package/dist/capabilities/motion.cap.d.ts.map +1 -0
- package/dist/capabilities/native-object-detection.cap.d.ts +127 -0
- package/dist/capabilities/native-object-detection.cap.d.ts.map +1 -0
- package/dist/capabilities/network-access.cap.d.ts +67 -0
- package/dist/capabilities/network-access.cap.d.ts.map +1 -0
- package/dist/capabilities/network-quality.cap.d.ts +95 -0
- package/dist/capabilities/network-quality.cap.d.ts.map +1 -0
- package/dist/capabilities/nodes.cap.d.ts +200 -0
- package/dist/capabilities/nodes.cap.d.ts.map +1 -0
- package/dist/capabilities/notification-output.cap.d.ts +44 -0
- package/dist/capabilities/notification-output.cap.d.ts.map +1 -0
- package/dist/capabilities/osd.cap.d.ts +236 -0
- package/dist/capabilities/osd.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +501 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts +922 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +793 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +393 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts.map +1 -0
- package/dist/capabilities/platform-probe.cap.d.ts +168 -0
- package/dist/capabilities/platform-probe.cap.d.ts.map +1 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts +188 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts.map +1 -0
- package/dist/capabilities/ptz.cap.d.ts +80 -0
- package/dist/capabilities/ptz.cap.d.ts.map +1 -0
- package/dist/capabilities/reboot.cap.d.ts +32 -0
- package/dist/capabilities/reboot.cap.d.ts.map +1 -0
- package/dist/capabilities/recording-engine.cap.d.ts +477 -0
- package/dist/capabilities/recording-engine.cap.d.ts.map +1 -0
- package/dist/capabilities/recording.cap.d.ts +43 -0
- package/dist/capabilities/recording.cap.d.ts.map +1 -0
- package/dist/capabilities/remote-access.cap.d.ts +103 -0
- package/dist/capabilities/remote-access.cap.d.ts.map +1 -0
- package/dist/capabilities/restreamer.cap.d.ts +51 -0
- package/dist/capabilities/restreamer.cap.d.ts.map +1 -0
- package/dist/capabilities/schemas/detection-shared.d.ts +63 -0
- package/dist/capabilities/schemas/detection-shared.d.ts.map +1 -0
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +44 -0
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts.map +1 -0
- package/dist/capabilities/schemas/streaming-shared.d.ts +177 -0
- package/dist/capabilities/schemas/streaming-shared.d.ts.map +1 -0
- package/dist/capabilities/schemas/zone-rule.d.ts +74 -0
- package/dist/capabilities/schemas/zone-rule.d.ts.map +1 -0
- package/dist/capabilities/settings-store.cap.d.ts +198 -0
- package/dist/capabilities/settings-store.cap.d.ts.map +1 -0
- package/dist/capabilities/snapshot-provider.cap.d.ts +40 -0
- package/dist/capabilities/snapshot-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/snapshot.cap.d.ts +78 -0
- package/dist/capabilities/snapshot.cap.d.ts.map +1 -0
- package/dist/capabilities/storage-provider.cap.d.ts +432 -0
- package/dist/capabilities/storage-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/storage.cap.d.ts +367 -0
- package/dist/capabilities/storage.cap.d.ts.map +1 -0
- package/dist/capabilities/stream-broker.cap.d.ts +416 -0
- package/dist/capabilities/stream-broker.cap.d.ts.map +1 -0
- package/dist/capabilities/streaming-engine.cap.d.ts +58 -0
- package/dist/capabilities/streaming-engine.cap.d.ts.map +1 -0
- package/dist/capabilities/switch.cap.d.ts +66 -0
- package/dist/capabilities/switch.cap.d.ts.map +1 -0
- package/dist/capabilities/system.cap.d.ts +86 -0
- package/dist/capabilities/system.cap.d.ts.map +1 -0
- package/dist/capabilities/toast.cap.d.ts +56 -0
- package/dist/capabilities/toast.cap.d.ts.map +1 -0
- package/dist/capabilities/turn-orchestrator.cap.d.ts +74 -0
- package/dist/capabilities/turn-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/turn-provider.cap.d.ts +43 -0
- package/dist/capabilities/turn-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/user-management.cap.d.ts +378 -0
- package/dist/capabilities/user-management.cap.d.ts.map +1 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +181 -0
- package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -0
- package/dist/capabilities/webrtc.cap.d.ts +72 -0
- package/dist/capabilities/webrtc.cap.d.ts.map +1 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +213 -0
- package/dist/capabilities/zone-analytics.cap.d.ts.map +1 -0
- package/dist/capabilities/zone-rules.cap.d.ts +129 -0
- package/dist/capabilities/zone-rules.cap.d.ts.map +1 -0
- package/dist/capabilities/zones.cap.d.ts +151 -0
- package/dist/capabilities/zones.cap.d.ts.map +1 -0
- package/dist/catalogs/audio-classmap.d.ts +16 -0
- package/dist/catalogs/audio-classmap.d.ts.map +1 -0
- package/dist/catalogs/coco-classmap.d.ts.map +1 -1
- package/dist/constants.d.ts +50 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/deps/binary-downloader.d.ts +41 -0
- package/dist/deps/binary-downloader.d.ts.map +1 -0
- package/dist/deps/ffmpeg-downloader.d.ts +13 -0
- package/dist/deps/ffmpeg-downloader.d.ts.map +1 -0
- package/dist/deps/index.d.ts +4 -0
- package/dist/deps/index.d.ts.map +1 -0
- package/dist/deps/python-downloader.d.ts +34 -0
- package/dist/deps/python-downloader.d.ts.map +1 -0
- package/dist/device/accessory.d.ts +62 -0
- package/dist/device/accessory.d.ts.map +1 -0
- package/dist/device/base-device-provider.d.ts +178 -0
- package/dist/device/base-device-provider.d.ts.map +1 -0
- package/dist/device/base-device.d.ts +287 -0
- package/dist/device/base-device.d.ts.map +1 -0
- package/dist/device/camera-device.d.ts +49 -0
- package/dist/device/camera-device.d.ts.map +1 -0
- package/dist/device/device-binding.d.ts +23 -0
- package/dist/device/device-binding.d.ts.map +1 -0
- package/dist/device/device-config.d.ts +65 -0
- package/dist/device/device-config.d.ts.map +1 -0
- package/dist/device/device-context.d.ts +256 -0
- package/dist/device/device-context.d.ts.map +1 -0
- package/dist/device/device-management.d.ts +118 -0
- package/dist/device/device-management.d.ts.map +1 -0
- package/dist/device/device-profile.d.ts +161 -0
- package/dist/device/device-profile.d.ts.map +1 -0
- package/dist/device/device-runtime-state.d.ts +124 -0
- package/dist/device/device-runtime-state.d.ts.map +1 -0
- package/dist/device/device-state-handle.d.ts +161 -0
- package/dist/device/device-state-handle.d.ts.map +1 -0
- package/dist/device/device-type.d.ts +68 -0
- package/dist/device/device-type.d.ts.map +1 -0
- package/dist/device/device.d.ts +87 -0
- package/dist/device/device.d.ts.map +1 -0
- package/dist/device/features.d.ts +29 -0
- package/dist/device/features.d.ts.map +1 -0
- package/dist/device/index.d.ts +20 -0
- package/dist/device/index.d.ts.map +1 -0
- package/dist/device/runtime-state-helpers.d.ts +69 -0
- package/dist/device/runtime-state-helpers.d.ts.map +1 -0
- package/dist/device/system-mirror.d.ts +318 -0
- package/dist/device/system-mirror.d.ts.map +1 -0
- package/dist/device/zod-to-config-ui.d.ts +23 -0
- package/dist/device/zod-to-config-ui.d.ts.map +1 -0
- package/dist/disposer-chain.d.ts +32 -0
- package/dist/disposer-chain.d.ts.map +1 -0
- package/dist/enums/event-category.d.ts +361 -0
- package/dist/enums/event-category.d.ts.map +1 -0
- package/dist/enums/event-source-type.d.ts +8 -0
- package/dist/enums/event-source-type.d.ts.map +1 -0
- package/dist/enums/index.d.ts +3 -0
- package/dist/enums/index.d.ts.map +1 -0
- package/dist/generated/addon-api.d.ts +14604 -3217
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/cap-status-types.d.ts +51 -0
- package/dist/generated/cap-status-types.d.ts.map +1 -0
- package/dist/generated/capability-router-map.d.ts +278 -0
- package/dist/generated/capability-router-map.d.ts.map +1 -0
- package/dist/generated/device-local-state.d.ts +82 -0
- package/dist/generated/device-local-state.d.ts.map +1 -0
- package/dist/generated/device-proxy.d.ts +146 -0
- package/dist/generated/device-proxy.d.ts.map +1 -0
- package/dist/generated/system-proxy.d.ts +92 -0
- package/dist/generated/system-proxy.d.ts.map +1 -0
- package/dist/helpers/bind-addon-actions.d.ts +19 -0
- package/dist/helpers/bind-addon-actions.d.ts.map +1 -0
- package/dist/index.d.ts +91 -22
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4843 -477
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4832 -415
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon.d.ts +760 -132
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/advanced-notifier.d.ts +3 -2
- package/dist/interfaces/advanced-notifier.d.ts.map +1 -1
- package/dist/interfaces/agent-protocol.d.ts +17 -173
- package/dist/interfaces/agent-protocol.d.ts.map +1 -1
- package/dist/interfaces/agent.d.ts +61 -0
- package/dist/interfaces/agent.d.ts.map +1 -1
- package/dist/interfaces/alerts.d.ts +14 -0
- package/dist/interfaces/alerts.d.ts.map +1 -0
- package/dist/interfaces/analysis-persistence.d.ts +37 -19
- package/dist/interfaces/analysis-persistence.d.ts.map +1 -1
- package/dist/interfaces/analysis.d.ts +33 -4
- package/dist/interfaces/analysis.d.ts.map +1 -1
- package/dist/interfaces/api-responses.d.ts +124 -0
- package/dist/interfaces/api-responses.d.ts.map +1 -0
- package/dist/interfaces/api-shared.d.ts +5 -79
- package/dist/interfaces/api-shared.d.ts.map +1 -1
- package/dist/interfaces/audio-analyzer.d.ts +49 -0
- package/dist/interfaces/audio-analyzer.d.ts.map +1 -0
- package/dist/interfaces/audio-codec.d.ts +123 -0
- package/dist/interfaces/audio-codec.d.ts.map +1 -0
- package/dist/interfaces/audio-inference-engine.d.ts +19 -0
- package/dist/interfaces/audio-inference-engine.d.ts.map +1 -0
- package/dist/interfaces/auth-provider.d.ts.map +1 -1
- package/dist/interfaces/auth.d.ts +4 -25
- package/dist/interfaces/auth.d.ts.map +1 -1
- package/dist/interfaces/camera-pipeline.d.ts +7 -20
- package/dist/interfaces/camera-pipeline.d.ts.map +1 -1
- package/dist/interfaces/capability.d.ts +171 -24
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/config-ui.d.ts +746 -24
- package/dist/interfaces/config-ui.d.ts.map +1 -1
- package/dist/interfaces/context.d.ts +9 -4
- package/dist/interfaces/context.d.ts.map +1 -1
- package/dist/interfaces/decoder.d.ts +38 -3
- package/dist/interfaces/decoder.d.ts.map +1 -1
- package/dist/interfaces/detection-addon.d.ts +6 -6
- package/dist/interfaces/detection-addon.d.ts.map +1 -1
- package/dist/interfaces/device-capabilities/camera.d.ts +95 -18
- package/dist/interfaces/device-capabilities/camera.d.ts.map +1 -1
- package/dist/interfaces/device-capabilities/index.d.ts +0 -13
- package/dist/interfaces/device-capabilities/index.d.ts.map +1 -1
- package/dist/interfaces/device-provider.d.ts +18 -16
- package/dist/interfaces/device-provider.d.ts.map +1 -1
- package/dist/interfaces/device.d.ts +4 -21
- package/dist/interfaces/device.d.ts.map +1 -1
- package/dist/interfaces/embedding-encoder.d.ts +19 -0
- package/dist/interfaces/embedding-encoder.d.ts.map +1 -0
- package/dist/interfaces/engine-slots.d.ts +10 -0
- package/dist/interfaces/engine-slots.d.ts.map +1 -0
- package/dist/interfaces/event-bus.d.ts +710 -26
- package/dist/interfaces/event-bus.d.ts.map +1 -1
- package/dist/interfaces/inference-capabilities.d.ts +0 -17
- package/dist/interfaces/inference-capabilities.d.ts.map +1 -1
- package/dist/interfaces/inference-engine.d.ts +30 -10
- package/dist/interfaces/inference-engine.d.ts.map +1 -1
- package/dist/interfaces/integration-registry.d.ts +20 -20
- package/dist/interfaces/integration-registry.d.ts.map +1 -1
- package/dist/interfaces/kernel-abstractions.d.ts +83 -0
- package/dist/interfaces/kernel-abstractions.d.ts.map +1 -0
- package/dist/interfaces/logging.d.ts +89 -8
- package/dist/interfaces/logging.d.ts.map +1 -1
- package/dist/interfaces/metrics-provider.d.ts +17 -0
- package/dist/interfaces/metrics-provider.d.ts.map +1 -0
- package/dist/interfaces/network-quality.d.ts +4 -4
- package/dist/interfaces/network.d.ts +0 -16
- package/dist/interfaces/network.d.ts.map +1 -1
- package/dist/interfaces/notification.d.ts +1 -1
- package/dist/interfaces/pipeline-executor-capability.d.ts +200 -0
- package/dist/interfaces/pipeline-executor-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-orchestrator-capability.d.ts +165 -0
- package/dist/interfaces/pipeline-orchestrator-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts +147 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-runner.d.ts +18 -2
- package/dist/interfaces/pipeline-runner.d.ts.map +1 -1
- package/dist/interfaces/platform.d.ts +1 -1
- package/dist/interfaces/platform.d.ts.map +1 -1
- package/dist/interfaces/queryable.d.ts +26 -0
- package/dist/interfaces/queryable.d.ts.map +1 -0
- package/dist/interfaces/raw-tensor-engine.d.ts +16 -0
- package/dist/interfaces/raw-tensor-engine.d.ts.map +1 -0
- package/dist/interfaces/readiness.d.ts +101 -0
- package/dist/interfaces/readiness.d.ts.map +1 -0
- package/dist/interfaces/repl.d.ts +1 -1
- package/dist/interfaces/restreamer.d.ts +3 -3
- package/dist/interfaces/scoped-token.d.ts +1 -21
- package/dist/interfaces/scoped-token.d.ts.map +1 -1
- package/dist/interfaces/server-analysis.d.ts +30 -87
- package/dist/interfaces/server-analysis.d.ts.map +1 -1
- package/dist/interfaces/storage-location.d.ts +120 -0
- package/dist/interfaces/storage-location.d.ts.map +1 -0
- package/dist/interfaces/storage.d.ts +124 -50
- package/dist/interfaces/storage.d.ts.map +1 -1
- package/dist/interfaces/stream-broker.d.ts +285 -17
- package/dist/interfaces/stream-broker.d.ts.map +1 -1
- package/dist/interfaces/webrtc-provider.d.ts +24 -0
- package/dist/interfaces/webrtc-provider.d.ts.map +1 -1
- package/dist/node.d.ts +6 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +481 -0
- package/dist/node.js.map +1 -0
- package/dist/node.mjs +443 -0
- package/dist/node.mjs.map +1 -0
- package/dist/readiness/index.d.ts +3 -0
- package/dist/readiness/index.d.ts.map +1 -0
- package/dist/readiness/readiness-registry.d.ts +183 -0
- package/dist/readiness/readiness-registry.d.ts.map +1 -0
- package/dist/schemas/auth-records.d.ts +81 -0
- package/dist/schemas/auth-records.d.ts.map +1 -0
- package/dist/storage/filesystem-storage-provider.d.ts +37 -0
- package/dist/storage/filesystem-storage-provider.d.ts.map +1 -0
- package/dist/types/agent-pipeline-settings.d.ts +94 -0
- package/dist/types/agent-pipeline-settings.d.ts.map +1 -0
- package/dist/types/camera-pipeline.d.ts +58 -0
- package/dist/types/camera-pipeline.d.ts.map +1 -0
- package/dist/types/detection.d.ts +195 -38
- package/dist/types/detection.d.ts.map +1 -1
- package/dist/types/device-type.d.ts +4 -0
- package/dist/types/device-type.d.ts.map +1 -1
- package/dist/types/engine-output.d.ts +24 -0
- package/dist/types/engine-output.d.ts.map +1 -0
- package/dist/types/io.d.ts +57 -3
- package/dist/types/io.d.ts.map +1 -1
- package/dist/types/models.d.ts +3 -1
- package/dist/types/models.d.ts.map +1 -1
- package/dist/types/pipeline-schema.d.ts +15 -72
- package/dist/types/pipeline-schema.d.ts.map +1 -1
- package/dist/types/pipeline-step.d.ts +201 -0
- package/dist/types/pipeline-step.d.ts.map +1 -0
- package/dist/types/pipeline.d.ts +24 -1
- package/dist/types/pipeline.d.ts.map +1 -1
- package/dist/utils/element-config-store.d.ts +29 -0
- package/dist/utils/element-config-store.d.ts.map +1 -0
- package/dist/utils/err-msg.d.ts +7 -0
- package/dist/utils/err-msg.d.ts.map +1 -0
- package/dist/utils/json-safe.d.ts +33 -0
- package/dist/utils/json-safe.d.ts.map +1 -0
- package/dist/utils/mask-url.d.ts +10 -0
- package/dist/utils/mask-url.d.ts.map +1 -0
- package/dist/utils/ring-buffer.d.ts +16 -0
- package/dist/utils/ring-buffer.d.ts.map +1 -0
- package/dist/utils/run-inference-step.d.ts +26 -0
- package/dist/utils/run-inference-step.d.ts.map +1 -0
- package/dist/utils/runtime-mapping.d.ts +88 -0
- package/dist/utils/runtime-mapping.d.ts.map +1 -0
- package/dist/utils/zone-rule-eval.d.ts +47 -0
- package/dist/utils/zone-rule-eval.d.ts.map +1 -0
- package/package.json +11 -2
- package/dist/__tests__/addon-capability-provider.test.d.ts +0 -2
- package/dist/__tests__/addon-capability-provider.test.d.ts.map +0 -1
- package/dist/__tests__/addon-declaration.test.d.ts +0 -2
- package/dist/__tests__/addon-declaration.test.d.ts.map +0 -1
- package/dist/__tests__/capability.test.d.ts +0 -2
- package/dist/__tests__/capability.test.d.ts.map +0 -1
- package/dist/interfaces/addon-i18n.d.ts +0 -41
- package/dist/interfaces/addon-i18n.d.ts.map +0 -1
- package/dist/interfaces/classifier.d.ts +0 -8
- package/dist/interfaces/classifier.d.ts.map +0 -1
- package/dist/interfaces/cropper.d.ts +0 -8
- package/dist/interfaces/cropper.d.ts.map +0 -1
- package/dist/interfaces/detector.d.ts +0 -8
- package/dist/interfaces/detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/accessory.d.ts +0 -14
- package/dist/interfaces/device-capabilities/accessory.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/audio-detector.d.ts +0 -12
- package/dist/interfaces/device-capabilities/audio-detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/doorbell.d.ts +0 -10
- package/dist/interfaces/device-capabilities/doorbell.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/events.d.ts +0 -47
- package/dist/interfaces/device-capabilities/events.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/motion-sensor.d.ts +0 -7
- package/dist/interfaces/device-capabilities/motion-sensor.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/native-detection.d.ts +0 -14
- package/dist/interfaces/device-capabilities/native-detection.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/object-detector.d.ts +0 -59
- package/dist/interfaces/device-capabilities/object-detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts +0 -29
- package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/recording.d.ts +0 -18
- package/dist/interfaces/device-capabilities/recording.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/siren.d.ts +0 -8
- package/dist/interfaces/device-capabilities/siren.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/status-light.d.ts +0 -7
- package/dist/interfaces/device-capabilities/status-light.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/switch.d.ts +0 -8
- package/dist/interfaces/device-capabilities/switch.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/two-way-audio.d.ts +0 -8
- package/dist/interfaces/device-capabilities/two-way-audio.d.ts.map +0 -1
- package/dist/interfaces/device-capability.d.ts +0 -14
- package/dist/interfaces/device-capability.d.ts.map +0 -1
- package/dist/interfaces/model-catalog.d.ts +0 -25
- package/dist/interfaces/model-catalog.d.ts.map +0 -1
- package/dist/interfaces/refiner.d.ts +0 -8
- package/dist/interfaces/refiner.d.ts.map +0 -1
- package/dist/interfaces/repositories.d.ts +0 -20
- package/dist/interfaces/repositories.d.ts.map +0 -1
- package/dist/interfaces/scene-intelligence.d.ts +0 -21
- package/dist/interfaces/scene-intelligence.d.ts.map +0 -1
- package/dist/interfaces/storage-backend.d.ts +0 -27
- package/dist/interfaces/storage-backend.d.ts.map +0 -1
- package/dist/interfaces/worker-protocol.d.ts +0 -110
- package/dist/interfaces/worker-protocol.d.ts.map +0 -1
- package/dist/schemas/system-settings-schemas.d.ts +0 -27
- package/dist/schemas/system-settings-schemas.d.ts.map +0 -1
- package/dist/types/benchmark.d.ts +0 -112
- package/dist/types/benchmark.d.ts.map +0 -1
- package/dist/types/zones.d.ts +0 -48
- package/dist/types/zones.d.ts.map +0 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import { AccessoriesStatusSchema } from '../capabilities/accessories.cap.js';
|
|
3
|
+
import { BatteryStatusSchema } from '../capabilities/battery.cap.js';
|
|
4
|
+
import { BrightnessStatusSchema } from '../capabilities/brightness.cap.js';
|
|
5
|
+
import { CameraCredentialsStatusSchema } from '../capabilities/camera-credentials.cap.js';
|
|
6
|
+
import { DeviceDiscoveryStatusSchema } from '../capabilities/device-discovery.cap.js';
|
|
7
|
+
import { deviceStatusCapability } from '../capabilities/device-status.cap.js';
|
|
8
|
+
import { DoorbellStatusSchema } from '../capabilities/doorbell.cap.js';
|
|
9
|
+
import { FeatureProbeStatusSchema } from '../capabilities/feature-probe.cap.js';
|
|
10
|
+
import { IntercomStatusSchema } from '../capabilities/intercom.cap.js';
|
|
11
|
+
import { MotionStatusSchema } from '../capabilities/motion.cap.js';
|
|
12
|
+
import { MotionTriggerStatusSchema } from '../capabilities/motion-trigger.cap.js';
|
|
13
|
+
import { NativeObjectDetectionStatusSchema } from '../capabilities/native-object-detection.cap.js';
|
|
14
|
+
import { OsdStatusSchema } from '../capabilities/osd.cap.js';
|
|
15
|
+
import { ptzCapability } from '../capabilities/ptz.cap.js';
|
|
16
|
+
import { PtzAutotrackStatusSchema } from '../capabilities/ptz-autotrack.cap.js';
|
|
17
|
+
import { SnapshotStatusSchema } from '../capabilities/snapshot.cap.js';
|
|
18
|
+
import { SwitchStatusSchema } from '../capabilities/switch.cap.js';
|
|
19
|
+
/**
|
|
20
|
+
* Lookup from cap name (literal) → the TypeScript type of that
|
|
21
|
+
* capability's `status.schema`. Populated at codegen time from every
|
|
22
|
+
* `*.cap.ts` file that declares a `status` block.
|
|
23
|
+
*/
|
|
24
|
+
export type CapStatusTypeMap = {
|
|
25
|
+
readonly 'accessories': z.infer<typeof AccessoriesStatusSchema>;
|
|
26
|
+
readonly 'battery': z.infer<typeof BatteryStatusSchema>;
|
|
27
|
+
readonly 'brightness': z.infer<typeof BrightnessStatusSchema>;
|
|
28
|
+
readonly 'camera-credentials': z.infer<typeof CameraCredentialsStatusSchema>;
|
|
29
|
+
readonly 'device-discovery': z.infer<typeof DeviceDiscoveryStatusSchema>;
|
|
30
|
+
readonly 'device-status': z.infer<(typeof deviceStatusCapability)['status']['schema']>;
|
|
31
|
+
readonly 'doorbell': z.infer<typeof DoorbellStatusSchema>;
|
|
32
|
+
readonly 'feature-probe': z.infer<typeof FeatureProbeStatusSchema>;
|
|
33
|
+
readonly 'intercom': z.infer<typeof IntercomStatusSchema>;
|
|
34
|
+
readonly 'motion': z.infer<typeof MotionStatusSchema>;
|
|
35
|
+
readonly 'motion-trigger': z.infer<typeof MotionTriggerStatusSchema>;
|
|
36
|
+
readonly 'native-object-detection': z.infer<typeof NativeObjectDetectionStatusSchema>;
|
|
37
|
+
readonly 'osd': z.infer<typeof OsdStatusSchema>;
|
|
38
|
+
readonly 'ptz': z.infer<(typeof ptzCapability)['status']['schema']>;
|
|
39
|
+
readonly 'ptz-autotrack': z.infer<typeof PtzAutotrackStatusSchema>;
|
|
40
|
+
readonly 'snapshot': z.infer<typeof SnapshotStatusSchema>;
|
|
41
|
+
readonly 'switch': z.infer<typeof SwitchStatusSchema>;
|
|
42
|
+
};
|
|
43
|
+
/** Union of every cap name that has a typed status block. */
|
|
44
|
+
export type CapNameWithStatus = keyof CapStatusTypeMap;
|
|
45
|
+
/**
|
|
46
|
+
* Runtime list of cap names with status. Used by the settings
|
|
47
|
+
* aggregator to enumerate caps whose `status` should be polled +
|
|
48
|
+
* streamed via `subscribeDeviceStatusAggregate`.
|
|
49
|
+
*/
|
|
50
|
+
export declare const CAP_NAMES_WITH_STATUS: readonly ["accessories", "battery", "brightness", "camera-credentials", "device-discovery", "device-status", "doorbell", "feature-probe", "intercom", "motion", "motion-trigger", "native-object-detection", "osd", "ptz", "ptz-autotrack", "snapshot", "switch"];
|
|
51
|
+
//# sourceMappingURL=cap-status-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|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AAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;IACzD,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;CACtD,CAAA;AAED,6DAA6D;AAC7D,MAAM,MAAM,iBAAiB,GAAG,MAAM,gBAAgB,CAAA;AAEtD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,mQAkBe,CAAA"}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
export { accessoriesCapability } from '../capabilities/accessories.cap.js';
|
|
2
|
+
export { addonPagesCapability } from '../capabilities/addon-pages.cap.js';
|
|
3
|
+
export { addonPagesSourceCapability } from '../capabilities/addon-pages-source.cap.js';
|
|
4
|
+
export { addonRoutesCapability } from '../capabilities/addon-routes.cap.js';
|
|
5
|
+
export { addonSettingsCapability } from '../capabilities/addon-settings.cap.js';
|
|
6
|
+
export { addonWidgetsCapability } from '../capabilities/addon-widgets.cap.js';
|
|
7
|
+
export { addonWidgetsSourceCapability } from '../capabilities/addon-widgets-source.cap.js';
|
|
8
|
+
export { addonsCapability } from '../capabilities/addons.cap.js';
|
|
9
|
+
export { adminUiCapability } from '../capabilities/admin-ui.cap.js';
|
|
10
|
+
export { advancedNotifierCapability } from '../capabilities/advanced-notifier.cap.js';
|
|
11
|
+
export { alertsCapability } from '../capabilities/alerts.cap.js';
|
|
12
|
+
export { audioAnalysisCapability } from '../capabilities/audio-analysis.cap.js';
|
|
13
|
+
export { audioAnalyzerCapability } from '../capabilities/audio-analyzer.cap.js';
|
|
14
|
+
export { audioCodecCapability } from '../capabilities/audio-codec.cap.js';
|
|
15
|
+
export { audioMetricsCapability } from '../capabilities/audio-metrics.cap.js';
|
|
16
|
+
export { authProviderCapability } from '../capabilities/auth-provider.cap.js';
|
|
17
|
+
export { authenticationCapability } from '../capabilities/authentication.cap.js';
|
|
18
|
+
export { backupCapability } from '../capabilities/backup.cap.js';
|
|
19
|
+
export { batteryCapability } from '../capabilities/battery.cap.js';
|
|
20
|
+
export { brightnessCapability } from '../capabilities/brightness.cap.js';
|
|
21
|
+
export { cameraCredentialsCapability } from '../capabilities/camera-credentials.cap.js';
|
|
22
|
+
export { cameraStreamsCapability } from '../capabilities/camera-streams.cap.js';
|
|
23
|
+
export { decoderCapability } from '../capabilities/decoder.cap.js';
|
|
24
|
+
export { detectionPipelineCapability } from '../capabilities/detection-pipeline.cap.js';
|
|
25
|
+
export { deviceDiscoveryCapability } from '../capabilities/device-discovery.cap.js';
|
|
26
|
+
export { deviceManagerCapability } from '../capabilities/device-manager.cap.js';
|
|
27
|
+
export { deviceOpsCapability } from '../capabilities/device-ops.cap.js';
|
|
28
|
+
export { deviceProviderCapability } from '../capabilities/device-provider.cap.js';
|
|
29
|
+
export { deviceStateCapability } from '../capabilities/device-state.cap.js';
|
|
30
|
+
export { deviceStatusCapability } from '../capabilities/device-status.cap.js';
|
|
31
|
+
export { doorbellCapability } from '../capabilities/doorbell.cap.js';
|
|
32
|
+
export { embeddingEncoderCapability } from '../capabilities/embedding-encoder.cap.js';
|
|
33
|
+
export { eventsCapability } from '../capabilities/events.cap.js';
|
|
34
|
+
export { featureProbeCapability } from '../capabilities/feature-probe.cap.js';
|
|
35
|
+
export { integrationsCapability } from '../capabilities/integrations.cap.js';
|
|
36
|
+
export { intercomCapability } from '../capabilities/intercom.cap.js';
|
|
37
|
+
export { localNetworkCapability } from '../capabilities/local-network.cap.js';
|
|
38
|
+
export { logDestinationCapability } from '../capabilities/log-destination.cap.js';
|
|
39
|
+
export { meshNetworkCapability } from '../capabilities/mesh-network.cap.js';
|
|
40
|
+
export { meshOrchestratorCapability } from '../capabilities/mesh-orchestrator.cap.js';
|
|
41
|
+
export { metricsProviderCapability } from '../capabilities/metrics-provider.cap.js';
|
|
42
|
+
export { motionCapability } from '../capabilities/motion.cap.js';
|
|
43
|
+
export { motionDetectionCapability } from '../capabilities/motion-detection.cap.js';
|
|
44
|
+
export { motionTriggerCapability } from '../capabilities/motion-trigger.cap.js';
|
|
45
|
+
export { nativeObjectDetectionCapability } from '../capabilities/native-object-detection.cap.js';
|
|
46
|
+
export { networkAccessCapability } from '../capabilities/network-access.cap.js';
|
|
47
|
+
export { networkQualityCapability } from '../capabilities/network-quality.cap.js';
|
|
48
|
+
export { nodesCapability } from '../capabilities/nodes.cap.js';
|
|
49
|
+
export { notificationOutputCapability } from '../capabilities/notification-output.cap.js';
|
|
50
|
+
export { osdCapability } from '../capabilities/osd.cap.js';
|
|
51
|
+
export { pipelineAnalyticsCapability } from '../capabilities/pipeline-analytics.cap.js';
|
|
52
|
+
export { pipelineExecutorCapability } from '../capabilities/pipeline-executor.cap.js';
|
|
53
|
+
export { pipelineOrchestratorCapability } from '../capabilities/pipeline-orchestrator.cap.js';
|
|
54
|
+
export { pipelineRunnerCapability } from '../capabilities/pipeline-runner.cap.js';
|
|
55
|
+
export { platformProbeCapability } from '../capabilities/platform-probe.cap.js';
|
|
56
|
+
export { ptzCapability } from '../capabilities/ptz.cap.js';
|
|
57
|
+
export { ptzAutotrackCapability } from '../capabilities/ptz-autotrack.cap.js';
|
|
58
|
+
export { rebootCapability } from '../capabilities/reboot.cap.js';
|
|
59
|
+
export { recordingCapability } from '../capabilities/recording.cap.js';
|
|
60
|
+
export { recordingEngineCapability } from '../capabilities/recording-engine.cap.js';
|
|
61
|
+
export { remoteAccessCapability } from '../capabilities/remote-access.cap.js';
|
|
62
|
+
export { restreamerCapability } from '../capabilities/restreamer.cap.js';
|
|
63
|
+
export { settingsStoreCapability } from '../capabilities/settings-store.cap.js';
|
|
64
|
+
export { snapshotCapability } from '../capabilities/snapshot.cap.js';
|
|
65
|
+
export { snapshotProviderCapability } from '../capabilities/snapshot-provider.cap.js';
|
|
66
|
+
export { storageCapability } from '../capabilities/storage.cap.js';
|
|
67
|
+
export { storageProviderCapability } from '../capabilities/storage-provider.cap.js';
|
|
68
|
+
export { streamBrokerCapability } from '../capabilities/stream-broker.cap.js';
|
|
69
|
+
export { streamingEngineCapability } from '../capabilities/streaming-engine.cap.js';
|
|
70
|
+
export { switchCapability } from '../capabilities/switch.cap.js';
|
|
71
|
+
export { systemCapability } from '../capabilities/system.cap.js';
|
|
72
|
+
export { toastCapability } from '../capabilities/toast.cap.js';
|
|
73
|
+
export { turnOrchestratorCapability } from '../capabilities/turn-orchestrator.cap.js';
|
|
74
|
+
export { turnProviderCapability } from '../capabilities/turn-provider.cap.js';
|
|
75
|
+
export { userManagementCapability } from '../capabilities/user-management.cap.js';
|
|
76
|
+
export { webrtcCapability } from '../capabilities/webrtc.cap.js';
|
|
77
|
+
export { webrtcSessionCapability } from '../capabilities/webrtc-session.cap.js';
|
|
78
|
+
export { zoneAnalyticsCapability } from '../capabilities/zone-analytics.cap.js';
|
|
79
|
+
export { zoneRulesCapability } from '../capabilities/zone-rules.cap.js';
|
|
80
|
+
export { zonesCapability } from '../capabilities/zones.cap.js';
|
|
81
|
+
export declare const CAPABILITY_NAMES: {
|
|
82
|
+
readonly accessories: "accessories";
|
|
83
|
+
readonly addonPages: "addon-pages";
|
|
84
|
+
readonly addonPagesSource: "addon-pages-source";
|
|
85
|
+
readonly addonRoutes: "addon-routes";
|
|
86
|
+
readonly addonSettings: "addon-settings";
|
|
87
|
+
readonly addonWidgets: "addon-widgets";
|
|
88
|
+
readonly addonWidgetsSource: "addon-widgets-source";
|
|
89
|
+
readonly addons: "addons";
|
|
90
|
+
readonly adminUi: "admin-ui";
|
|
91
|
+
readonly advancedNotifier: "advanced-notifier";
|
|
92
|
+
readonly alerts: "alerts";
|
|
93
|
+
readonly audioAnalysis: "audio-analysis";
|
|
94
|
+
readonly audioAnalyzer: "audio-analyzer";
|
|
95
|
+
readonly audioCodec: "audio-codec";
|
|
96
|
+
readonly audioMetrics: "audio-metrics";
|
|
97
|
+
readonly authProvider: "auth-provider";
|
|
98
|
+
readonly authentication: "authentication";
|
|
99
|
+
readonly backup: "backup";
|
|
100
|
+
readonly battery: "battery";
|
|
101
|
+
readonly brightness: "brightness";
|
|
102
|
+
readonly cameraCredentials: "camera-credentials";
|
|
103
|
+
readonly cameraStreams: "camera-streams";
|
|
104
|
+
readonly decoder: "decoder";
|
|
105
|
+
readonly detectionPipeline: "detection-pipeline";
|
|
106
|
+
readonly deviceDiscovery: "device-discovery";
|
|
107
|
+
readonly deviceManager: "device-manager";
|
|
108
|
+
readonly deviceOps: "device-ops";
|
|
109
|
+
readonly deviceProvider: "device-provider";
|
|
110
|
+
readonly deviceState: "device-state";
|
|
111
|
+
readonly deviceStatus: "device-status";
|
|
112
|
+
readonly doorbell: "doorbell";
|
|
113
|
+
readonly embeddingEncoder: "embedding-encoder";
|
|
114
|
+
readonly events: "events";
|
|
115
|
+
readonly featureProbe: "feature-probe";
|
|
116
|
+
readonly integrations: "integrations";
|
|
117
|
+
readonly intercom: "intercom";
|
|
118
|
+
readonly localNetwork: "local-network";
|
|
119
|
+
readonly logDestination: "log-destination";
|
|
120
|
+
readonly meshNetwork: "mesh-network";
|
|
121
|
+
readonly meshOrchestrator: "mesh-orchestrator";
|
|
122
|
+
readonly metricsProvider: "metrics-provider";
|
|
123
|
+
readonly motion: "motion";
|
|
124
|
+
readonly motionDetection: "motion-detection";
|
|
125
|
+
readonly motionTrigger: "motion-trigger";
|
|
126
|
+
readonly nativeObjectDetection: "native-object-detection";
|
|
127
|
+
readonly networkAccess: "network-access";
|
|
128
|
+
readonly networkQuality: "network-quality";
|
|
129
|
+
readonly nodes: "nodes";
|
|
130
|
+
readonly notificationOutput: "notification-output";
|
|
131
|
+
readonly osd: "osd";
|
|
132
|
+
readonly pipelineAnalytics: "pipeline-analytics";
|
|
133
|
+
readonly pipelineExecutor: "pipeline-executor";
|
|
134
|
+
readonly pipelineOrchestrator: "pipeline-orchestrator";
|
|
135
|
+
readonly pipelineRunner: "pipeline-runner";
|
|
136
|
+
readonly platformProbe: "platform-probe";
|
|
137
|
+
readonly ptz: "ptz";
|
|
138
|
+
readonly ptzAutotrack: "ptz-autotrack";
|
|
139
|
+
readonly reboot: "reboot";
|
|
140
|
+
readonly recording: "recording";
|
|
141
|
+
readonly recordingEngine: "recording-engine";
|
|
142
|
+
readonly remoteAccess: "remote-access";
|
|
143
|
+
readonly restreamer: "restreamer";
|
|
144
|
+
readonly settingsStore: "settings-store";
|
|
145
|
+
readonly snapshot: "snapshot";
|
|
146
|
+
readonly snapshotProvider: "snapshot-provider";
|
|
147
|
+
readonly storage: "storage";
|
|
148
|
+
readonly storageProvider: "storage-provider";
|
|
149
|
+
readonly streamBroker: "stream-broker";
|
|
150
|
+
readonly streamingEngine: "streaming-engine";
|
|
151
|
+
readonly switch: "switch";
|
|
152
|
+
readonly system: "system";
|
|
153
|
+
readonly toast: "toast";
|
|
154
|
+
readonly turnOrchestrator: "turn-orchestrator";
|
|
155
|
+
readonly turnProvider: "turn-provider";
|
|
156
|
+
readonly userManagement: "user-management";
|
|
157
|
+
readonly webrtc: "webrtc";
|
|
158
|
+
readonly webrtcSession: "webrtc-session";
|
|
159
|
+
readonly zoneAnalytics: "zone-analytics";
|
|
160
|
+
readonly zoneRules: "zone-rules";
|
|
161
|
+
readonly zones: "zones";
|
|
162
|
+
};
|
|
163
|
+
/** All known capability names. */
|
|
164
|
+
export type CapabilityName = typeof CAPABILITY_NAMES[keyof typeof CAPABILITY_NAMES];
|
|
165
|
+
/** Router key → capability name mapping for auto-mount. */
|
|
166
|
+
export declare const CAPABILITY_ROUTER_KEYS: ReadonlyArray<{
|
|
167
|
+
readonly key: string;
|
|
168
|
+
readonly name: string;
|
|
169
|
+
}>;
|
|
170
|
+
/**
|
|
171
|
+
* Map of {name} → TRouter for typed AppRouter spread.
|
|
172
|
+
* Generic TRouter defaults to unknown — the server layer resolves it
|
|
173
|
+
* to the generated capability router type.
|
|
174
|
+
*/
|
|
175
|
+
export interface CapabilityRouterMap<TRouter = unknown> {
|
|
176
|
+
readonly accessories: TRouter;
|
|
177
|
+
readonly addonPages: TRouter;
|
|
178
|
+
readonly addonPagesSource: TRouter;
|
|
179
|
+
readonly addonRoutes: TRouter;
|
|
180
|
+
readonly addonSettings: TRouter;
|
|
181
|
+
readonly addonWidgets: TRouter;
|
|
182
|
+
readonly addonWidgetsSource: TRouter;
|
|
183
|
+
readonly addons: TRouter;
|
|
184
|
+
readonly adminUi: TRouter;
|
|
185
|
+
readonly advancedNotifier: TRouter;
|
|
186
|
+
readonly alerts: TRouter;
|
|
187
|
+
readonly audioAnalysis: TRouter;
|
|
188
|
+
readonly audioAnalyzer: TRouter;
|
|
189
|
+
readonly audioCodec: TRouter;
|
|
190
|
+
readonly audioMetrics: TRouter;
|
|
191
|
+
readonly authProvider: TRouter;
|
|
192
|
+
readonly authentication: TRouter;
|
|
193
|
+
readonly backup: TRouter;
|
|
194
|
+
readonly battery: TRouter;
|
|
195
|
+
readonly brightness: TRouter;
|
|
196
|
+
readonly cameraCredentials: TRouter;
|
|
197
|
+
readonly cameraStreams: TRouter;
|
|
198
|
+
readonly decoder: TRouter;
|
|
199
|
+
readonly detectionPipeline: TRouter;
|
|
200
|
+
readonly deviceDiscovery: TRouter;
|
|
201
|
+
readonly deviceManager: TRouter;
|
|
202
|
+
readonly deviceOps: TRouter;
|
|
203
|
+
readonly deviceProvider: TRouter;
|
|
204
|
+
readonly deviceState: TRouter;
|
|
205
|
+
readonly deviceStatus: TRouter;
|
|
206
|
+
readonly doorbell: TRouter;
|
|
207
|
+
readonly embeddingEncoder: TRouter;
|
|
208
|
+
readonly events: TRouter;
|
|
209
|
+
readonly featureProbe: TRouter;
|
|
210
|
+
readonly integrations: TRouter;
|
|
211
|
+
readonly intercom: TRouter;
|
|
212
|
+
readonly localNetwork: TRouter;
|
|
213
|
+
readonly logDestination: TRouter;
|
|
214
|
+
readonly meshNetwork: TRouter;
|
|
215
|
+
readonly meshOrchestrator: TRouter;
|
|
216
|
+
readonly metricsProvider: TRouter;
|
|
217
|
+
readonly motion: TRouter;
|
|
218
|
+
readonly motionDetection: TRouter;
|
|
219
|
+
readonly motionTrigger: TRouter;
|
|
220
|
+
readonly nativeObjectDetection: TRouter;
|
|
221
|
+
readonly networkAccess: TRouter;
|
|
222
|
+
readonly networkQuality: TRouter;
|
|
223
|
+
readonly nodes: TRouter;
|
|
224
|
+
readonly notificationOutput: TRouter;
|
|
225
|
+
readonly osd: TRouter;
|
|
226
|
+
readonly pipelineAnalytics: TRouter;
|
|
227
|
+
readonly pipelineExecutor: TRouter;
|
|
228
|
+
readonly pipelineOrchestrator: TRouter;
|
|
229
|
+
readonly pipelineRunner: TRouter;
|
|
230
|
+
readonly platformProbe: TRouter;
|
|
231
|
+
readonly ptz: TRouter;
|
|
232
|
+
readonly ptzAutotrack: TRouter;
|
|
233
|
+
readonly reboot: TRouter;
|
|
234
|
+
readonly recording: TRouter;
|
|
235
|
+
readonly recordingEngine: TRouter;
|
|
236
|
+
readonly remoteAccess: TRouter;
|
|
237
|
+
readonly restreamer: TRouter;
|
|
238
|
+
readonly settingsStore: TRouter;
|
|
239
|
+
readonly snapshot: TRouter;
|
|
240
|
+
readonly snapshotProvider: TRouter;
|
|
241
|
+
readonly storage: TRouter;
|
|
242
|
+
readonly storageProvider: TRouter;
|
|
243
|
+
readonly streamBroker: TRouter;
|
|
244
|
+
readonly streamingEngine: TRouter;
|
|
245
|
+
readonly switch: TRouter;
|
|
246
|
+
readonly system: TRouter;
|
|
247
|
+
readonly toast: TRouter;
|
|
248
|
+
readonly turnOrchestrator: TRouter;
|
|
249
|
+
readonly turnProvider: TRouter;
|
|
250
|
+
readonly userManagement: TRouter;
|
|
251
|
+
readonly webrtc: TRouter;
|
|
252
|
+
readonly webrtcSession: TRouter;
|
|
253
|
+
readonly zoneAnalytics: TRouter;
|
|
254
|
+
readonly zoneRules: TRouter;
|
|
255
|
+
readonly zones: TRouter;
|
|
256
|
+
}
|
|
257
|
+
/** Capability names whose mode is `singleton` (65 caps). */
|
|
258
|
+
export declare const SINGLETON_CAPABILITY_NAMES: readonly ["accessories", "addon-pages", "addon-settings", "addon-widgets", "addons", "admin-ui", "advanced-notifier", "alerts", "audio-analysis", "audio-analyzer", "audio-codec", "audio-metrics", "authentication", "backup", "battery", "brightness", "camera-credentials", "camera-streams", "decoder", "detection-pipeline", "device-discovery", "device-manager", "device-ops", "device-state", "device-status", "doorbell", "events", "feature-probe", "integrations", "intercom", "local-network", "mesh-orchestrator", "metrics-provider", "motion", "motion-detection", "motion-trigger", "native-object-detection", "network-quality", "nodes", "osd", "pipeline-analytics", "pipeline-executor", "pipeline-orchestrator", "pipeline-runner", "platform-probe", "ptz", "ptz-autotrack", "reboot", "recording", "recording-engine", "remote-access", "settings-store", "snapshot", "storage", "stream-broker", "streaming-engine", "switch", "system", "toast", "turn-orchestrator", "user-management", "webrtc-session", "zone-analytics", "zone-rules", "zones"];
|
|
259
|
+
/** Union of singleton capability names (literal string union). */
|
|
260
|
+
export type SingletonCapabilityName = typeof SINGLETON_CAPABILITY_NAMES[number];
|
|
261
|
+
/** Capability names whose mode is `collection` (15 caps). */
|
|
262
|
+
export declare const COLLECTION_CAPABILITY_NAMES: readonly ["addon-pages-source", "addon-routes", "addon-widgets-source", "auth-provider", "device-provider", "embedding-encoder", "log-destination", "mesh-network", "network-access", "notification-output", "restreamer", "snapshot-provider", "storage-provider", "turn-provider", "webrtc"];
|
|
263
|
+
/** Union of collection capability names (literal string union). */
|
|
264
|
+
export type CollectionCapabilityName = typeof COLLECTION_CAPABILITY_NAMES[number];
|
|
265
|
+
/** Capability mode lookup at runtime — mirrors the `.cap.ts` definitions. */
|
|
266
|
+
export declare const CAPABILITY_MODE: Readonly<Record<string, 'singleton' | 'collection'>>;
|
|
267
|
+
import type { CapabilityDefinition } from '../capabilities/capability-definition.js';
|
|
268
|
+
/**
|
|
269
|
+
* Every CapabilityDefinition shipped by `@camstack/types`. The hub
|
|
270
|
+
* iterates this array at boot to declare each cap on the registry
|
|
271
|
+
* before addons (in-process or via the Moleculer bridge) attempt
|
|
272
|
+
* `registerProvider`. Adding a new cap means dropping a `*.cap.ts`
|
|
273
|
+
* file in `packages/types/src/capabilities/` and re-running
|
|
274
|
+
* `npx tsx scripts/generate-capability-router-types.ts` — no manual
|
|
275
|
+
* edit to `main.ts` required.
|
|
276
|
+
*/
|
|
277
|
+
export declare const ALL_CAPABILITY_DEFINITIONS: readonly CapabilityDefinition[];
|
|
278
|
+
//# sourceMappingURL=capability-router-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capability-router-map.d.ts","sourceRoot":"","sources":["../../src/generated/capability-router-map.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAA;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAA;AAC1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAA;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAA;AAChF,OAAO,EAAE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0B,8gCAkE7B,CAAA;AAEV,kEAAkE;AAClE,MAAM,MAAM,uBAAuB,GAAG,OAAO,0BAA0B,CAAC,MAAM,CAAC,CAAA;AAE/E,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,gSAgB9B,CAAA;AAEV,mEAAmE;AACnE,MAAM,MAAM,wBAAwB,GAAG,OAAO,2BAA2B,CAAC,MAAM,CAAC,CAAA;AAEjF,6EAA6E;AAC7E,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,YAAY,CAAC,CAiFhF,CAAA;AAID,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AAkFpF;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B,EAAE,SAAS,oBAAoB,EAiFrE,CAAA"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { CapabilityDefinition, InferRuntimeState } from '../capabilities/capability-definition.js';
|
|
2
|
+
import { audioMetricsCapability } from '../capabilities/audio-metrics.cap.js';
|
|
3
|
+
import { batteryCapability } from '../capabilities/battery.cap.js';
|
|
4
|
+
import { brightnessCapability } from '../capabilities/brightness.cap.js';
|
|
5
|
+
import { cameraStreamsCapability } from '../capabilities/camera-streams.cap.js';
|
|
6
|
+
import { deviceDiscoveryCapability } from '../capabilities/device-discovery.cap.js';
|
|
7
|
+
import { deviceStatusCapability } from '../capabilities/device-status.cap.js';
|
|
8
|
+
import { doorbellCapability } from '../capabilities/doorbell.cap.js';
|
|
9
|
+
import { featureProbeCapability } from '../capabilities/feature-probe.cap.js';
|
|
10
|
+
import { motionCapability } from '../capabilities/motion.cap.js';
|
|
11
|
+
import { motionTriggerCapability } from '../capabilities/motion-trigger.cap.js';
|
|
12
|
+
import { ptzAutotrackCapability } from '../capabilities/ptz-autotrack.cap.js';
|
|
13
|
+
import { switchCapability } from '../capabilities/switch.cap.js';
|
|
14
|
+
import { zoneAnalyticsCapability } from '../capabilities/zone-analytics.cap.js';
|
|
15
|
+
import { zoneRulesCapability } from '../capabilities/zone-rules.cap.js';
|
|
16
|
+
import { zonesCapability } from '../capabilities/zones.cap.js';
|
|
17
|
+
/**
|
|
18
|
+
* Server-side, write-capable per-cap state shape for any device that
|
|
19
|
+
* extends `BaseDevice`. One entry per cap with `runtimeState:` declared.
|
|
20
|
+
*
|
|
21
|
+
* Drivers access via `this.state.<capName>.<field>` — both reads and
|
|
22
|
+
* writes route through the device's runtime-state slice (validate,
|
|
23
|
+
* persist, fire `<cap>.onChanged`). No string keys, no manual generic.
|
|
24
|
+
*
|
|
25
|
+
* Adding a new cap with `runtimeState:` auto-extends this interface —
|
|
26
|
+
* regenerate with `npm run codegen`.
|
|
27
|
+
*/
|
|
28
|
+
export interface DeviceLocalState {
|
|
29
|
+
audioMetrics: InferRuntimeState<typeof audioMetricsCapability>;
|
|
30
|
+
battery: InferRuntimeState<typeof batteryCapability>;
|
|
31
|
+
brightness: InferRuntimeState<typeof brightnessCapability>;
|
|
32
|
+
cameraStreams: InferRuntimeState<typeof cameraStreamsCapability>;
|
|
33
|
+
deviceDiscovery: InferRuntimeState<typeof deviceDiscoveryCapability>;
|
|
34
|
+
deviceStatus: InferRuntimeState<typeof deviceStatusCapability>;
|
|
35
|
+
doorbell: InferRuntimeState<typeof doorbellCapability>;
|
|
36
|
+
featureProbe: InferRuntimeState<typeof featureProbeCapability>;
|
|
37
|
+
motion: InferRuntimeState<typeof motionCapability>;
|
|
38
|
+
motionTrigger: InferRuntimeState<typeof motionTriggerCapability>;
|
|
39
|
+
ptzAutotrack: InferRuntimeState<typeof ptzAutotrackCapability>;
|
|
40
|
+
switch: InferRuntimeState<typeof switchCapability>;
|
|
41
|
+
zoneAnalytics: InferRuntimeState<typeof zoneAnalyticsCapability>;
|
|
42
|
+
zoneRules: InferRuntimeState<typeof zoneRulesCapability>;
|
|
43
|
+
zones: InferRuntimeState<typeof zonesCapability>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Runtime registry: cap-property-name → cap definition. `BaseDevice`'s
|
|
47
|
+
* `state` getter looks up the cap definition here to construct a
|
|
48
|
+
* `sliceProxy()` lazily on first access. Generated alongside the type
|
|
49
|
+
* so type and runtime registry can never drift apart.
|
|
50
|
+
*/
|
|
51
|
+
export declare const DEVICE_LOCAL_STATE_CAPS: Record<keyof DeviceLocalState, CapabilityDefinition>;
|
|
52
|
+
/**
|
|
53
|
+
* Cap-name keyed runtime-state map (kebab-case keys, e.g. `'battery'`,
|
|
54
|
+
* `'device-discovery'`). Companion to `DeviceLocalState` (which uses
|
|
55
|
+
* camelCase property keys). Consumed by the
|
|
56
|
+
* `IDeviceRuntimeState.getCapState` overload so callers passing a
|
|
57
|
+
* cap-name literal get the typed slice back without an explicit
|
|
58
|
+
* generic argument:
|
|
59
|
+
*
|
|
60
|
+
* const slice = this.runtimeState.getCapState('battery')
|
|
61
|
+
* // ^^^^^ inferred as InferRuntimeState<typeof batteryCapability>
|
|
62
|
+
*
|
|
63
|
+
* Eliminates the `as`-cast at every `getCapState<X>('cap-name')` site.
|
|
64
|
+
*/
|
|
65
|
+
export interface CapNameToRuntimeStateMap {
|
|
66
|
+
'audio-metrics': InferRuntimeState<typeof audioMetricsCapability>;
|
|
67
|
+
'battery': InferRuntimeState<typeof batteryCapability>;
|
|
68
|
+
'brightness': InferRuntimeState<typeof brightnessCapability>;
|
|
69
|
+
'camera-streams': InferRuntimeState<typeof cameraStreamsCapability>;
|
|
70
|
+
'device-discovery': InferRuntimeState<typeof deviceDiscoveryCapability>;
|
|
71
|
+
'device-status': InferRuntimeState<typeof deviceStatusCapability>;
|
|
72
|
+
'doorbell': InferRuntimeState<typeof doorbellCapability>;
|
|
73
|
+
'feature-probe': InferRuntimeState<typeof featureProbeCapability>;
|
|
74
|
+
'motion': InferRuntimeState<typeof motionCapability>;
|
|
75
|
+
'motion-trigger': InferRuntimeState<typeof motionTriggerCapability>;
|
|
76
|
+
'ptz-autotrack': InferRuntimeState<typeof ptzAutotrackCapability>;
|
|
77
|
+
'switch': InferRuntimeState<typeof switchCapability>;
|
|
78
|
+
'zone-analytics': InferRuntimeState<typeof zoneAnalyticsCapability>;
|
|
79
|
+
'zone-rules': InferRuntimeState<typeof zoneRulesCapability>;
|
|
80
|
+
'zones': InferRuntimeState<typeof zonesCapability>;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=device-local-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-local-state.d.ts","sourceRoot":"","sources":["../../src/generated/device-local-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAA;AACvG,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAA;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CA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AAE,iBAAiB,CAAC,OAAO,oBAAoB,CAAC,CAAA;IAC5D,gBAAgB,EAAE,iBAAiB,CAAC,OAAO,uBAAuB,CAAC,CAAA;IACnE,kBAAkB,EAAE,iBAAiB,CAAC,OAAO,yBAAyB,CAAC,CAAA;IACvE,eAAe,EAAE,iBAAiB,CAAC,OAAO,sBAAsB,CAAC,CAAA;IACjE,UAAU,EAAE,iBAAiB,CAAC,OAAO,kBAAkB,CAAC,CAAA;IACxD,eAAe,EAAE,iBAAiB,CAAC,OAAO,sBAAsB,CAAC,CAAA;IACjE,QAAQ,EAAE,iBAAiB,CAAC,OAAO,gBAAgB,CAAC,CAAA;IACpD,gBAAgB,EAAE,iBAAiB,CAAC,OAAO,uBAAuB,CAAC,CAAA;IACnE,eAAe,EAAE,iBAAiB,CAAC,OAAO,sBAAsB,CAAC,CAAA;IACjE,QAAQ,EAAE,iBAAiB,CAAC,OAAO,gBAAgB,CAAC,CAAA;IACpD,gBAAgB,EAAE,iBAAiB,CAAC,OAAO,uBAAuB,CAAC,CAAA;IACnE,YAAY,EAAE,iBAAiB,CAAC,OAAO,mBAAmB,CAAC,CAAA;IAC3D,OAAO,EAAE,iBAAiB,CAAC,OAAO,eAAe,CAAC,CAAA;CACnD"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import type { InferDeviceProxyCap, InferRuntimeState } from '../capabilities/capability-definition.js';
|
|
2
|
+
import type { DeviceBinding } from '../device/device-binding.js';
|
|
3
|
+
import { type SliceHandle, type SliceHandleSource } from '../device/device-state-handle.js';
|
|
4
|
+
import type { AddonApi } from './addon-api.js';
|
|
5
|
+
import type { accessoriesCapability } from '../capabilities/accessories.cap.js';
|
|
6
|
+
import type { audioAnalysisCapability } from '../capabilities/audio-analysis.cap.js';
|
|
7
|
+
import type { audioMetricsCapability } from '../capabilities/audio-metrics.cap.js';
|
|
8
|
+
import type { batteryCapability } from '../capabilities/battery.cap.js';
|
|
9
|
+
import type { brightnessCapability } from '../capabilities/brightness.cap.js';
|
|
10
|
+
import type { cameraCredentialsCapability } from '../capabilities/camera-credentials.cap.js';
|
|
11
|
+
import type { cameraStreamsCapability } from '../capabilities/camera-streams.cap.js';
|
|
12
|
+
import type { detectionPipelineCapability } from '../capabilities/detection-pipeline.cap.js';
|
|
13
|
+
import type { deviceDiscoveryCapability } from '../capabilities/device-discovery.cap.js';
|
|
14
|
+
import type { deviceOpsCapability } from '../capabilities/device-ops.cap.js';
|
|
15
|
+
import type { deviceStatusCapability } from '../capabilities/device-status.cap.js';
|
|
16
|
+
import type { doorbellCapability } from '../capabilities/doorbell.cap.js';
|
|
17
|
+
import type { eventsCapability } from '../capabilities/events.cap.js';
|
|
18
|
+
import type { featureProbeCapability } from '../capabilities/feature-probe.cap.js';
|
|
19
|
+
import type { intercomCapability } from '../capabilities/intercom.cap.js';
|
|
20
|
+
import type { motionCapability } from '../capabilities/motion.cap.js';
|
|
21
|
+
import type { motionDetectionCapability } from '../capabilities/motion-detection.cap.js';
|
|
22
|
+
import type { motionTriggerCapability } from '../capabilities/motion-trigger.cap.js';
|
|
23
|
+
import type { nativeObjectDetectionCapability } from '../capabilities/native-object-detection.cap.js';
|
|
24
|
+
import type { osdCapability } from '../capabilities/osd.cap.js';
|
|
25
|
+
import type { pipelineAnalyticsCapability } from '../capabilities/pipeline-analytics.cap.js';
|
|
26
|
+
import type { ptzCapability } from '../capabilities/ptz.cap.js';
|
|
27
|
+
import type { ptzAutotrackCapability } from '../capabilities/ptz-autotrack.cap.js';
|
|
28
|
+
import type { rebootCapability } from '../capabilities/reboot.cap.js';
|
|
29
|
+
import type { recordingCapability } from '../capabilities/recording.cap.js';
|
|
30
|
+
import type { snapshotCapability } from '../capabilities/snapshot.cap.js';
|
|
31
|
+
import type { switchCapability } from '../capabilities/switch.cap.js';
|
|
32
|
+
import type { webrtcSessionCapability } from '../capabilities/webrtc-session.cap.js';
|
|
33
|
+
import type { zoneAnalyticsCapability } from '../capabilities/zone-analytics.cap.js';
|
|
34
|
+
import type { zoneRulesCapability } from '../capabilities/zone-rules.cap.js';
|
|
35
|
+
import type { zonesCapability } from '../capabilities/zones.cap.js';
|
|
36
|
+
import type { addonSettingsCapability } from '../capabilities/addon-settings.cap.js';
|
|
37
|
+
import type { deviceManagerCapability } from '../capabilities/device-manager.cap.js';
|
|
38
|
+
import type { deviceStateCapability } from '../capabilities/device-state.cap.js';
|
|
39
|
+
import type { networkQualityCapability } from '../capabilities/network-quality.cap.js';
|
|
40
|
+
import type { pipelineExecutorCapability } from '../capabilities/pipeline-executor.cap.js';
|
|
41
|
+
import type { pipelineOrchestratorCapability } from '../capabilities/pipeline-orchestrator.cap.js';
|
|
42
|
+
import type { pipelineRunnerCapability } from '../capabilities/pipeline-runner.cap.js';
|
|
43
|
+
import type { recordingEngineCapability } from '../capabilities/recording-engine.cap.js';
|
|
44
|
+
import type { snapshotProviderCapability } from '../capabilities/snapshot-provider.cap.js';
|
|
45
|
+
import type { streamBrokerCapability } from '../capabilities/stream-broker.cap.js';
|
|
46
|
+
/**
|
|
47
|
+
* Reactive read handle bag for device runtime state. Each entry mirrors the
|
|
48
|
+
* cap's `runtimeState` schema and stays live via the `device-state` cap's
|
|
49
|
+
* `onChanged` event. See `device-state-handle.ts` for the contract.
|
|
50
|
+
*/
|
|
51
|
+
export interface DeviceProxyState {
|
|
52
|
+
readonly audioMetrics: SliceHandle<InferRuntimeState<typeof audioMetricsCapability>>;
|
|
53
|
+
readonly battery: SliceHandle<InferRuntimeState<typeof batteryCapability>>;
|
|
54
|
+
readonly brightness: SliceHandle<InferRuntimeState<typeof brightnessCapability>>;
|
|
55
|
+
readonly cameraStreams: SliceHandle<InferRuntimeState<typeof cameraStreamsCapability>>;
|
|
56
|
+
readonly deviceDiscovery: SliceHandle<InferRuntimeState<typeof deviceDiscoveryCapability>>;
|
|
57
|
+
readonly deviceStatus: SliceHandle<InferRuntimeState<typeof deviceStatusCapability>>;
|
|
58
|
+
readonly doorbell: SliceHandle<InferRuntimeState<typeof doorbellCapability>>;
|
|
59
|
+
readonly featureProbe: SliceHandle<InferRuntimeState<typeof featureProbeCapability>>;
|
|
60
|
+
readonly motion: SliceHandle<InferRuntimeState<typeof motionCapability>>;
|
|
61
|
+
readonly motionTrigger: SliceHandle<InferRuntimeState<typeof motionTriggerCapability>>;
|
|
62
|
+
readonly ptzAutotrack: SliceHandle<InferRuntimeState<typeof ptzAutotrackCapability>>;
|
|
63
|
+
readonly switch: SliceHandle<InferRuntimeState<typeof switchCapability>>;
|
|
64
|
+
readonly zoneAnalytics: SliceHandle<InferRuntimeState<typeof zoneAnalyticsCapability>>;
|
|
65
|
+
readonly zoneRules: SliceHandle<InferRuntimeState<typeof zoneRulesCapability>>;
|
|
66
|
+
readonly zones: SliceHandle<InferRuntimeState<typeof zonesCapability>>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Unified per-device proxy interface. Each optional property is present at
|
|
70
|
+
* runtime only when the device's binding includes that capability.
|
|
71
|
+
*
|
|
72
|
+
* The optional `binding` field is populated post-construction by callers
|
|
73
|
+
* that own a binding cache (e.g. the SDK's `System` mirror). Consumers
|
|
74
|
+
* that need the full per-device binding map can read it from there
|
|
75
|
+
* without paying for a second `getBindings` round-trip — see Phase 5
|
|
76
|
+
* dedup notes in `scripts/generate-device-proxy.ts`.
|
|
77
|
+
*/
|
|
78
|
+
export interface DeviceProxy {
|
|
79
|
+
readonly deviceId: number;
|
|
80
|
+
/** Reactive runtime state, one slot per cap that declares `runtimeState`. */
|
|
81
|
+
readonly state: DeviceProxyState;
|
|
82
|
+
/** Resolved binding entry list (or null if the proxy was constructed
|
|
83
|
+
* without a cache-aware caller — defaults to null since
|
|
84
|
+
* `createDeviceProxy` itself does not own the binding). */
|
|
85
|
+
readonly binding: DeviceBinding | null;
|
|
86
|
+
readonly accessories?: InferDeviceProxyCap<typeof accessoriesCapability>;
|
|
87
|
+
readonly audioAnalysis?: InferDeviceProxyCap<typeof audioAnalysisCapability>;
|
|
88
|
+
readonly audioMetrics?: InferDeviceProxyCap<typeof audioMetricsCapability>;
|
|
89
|
+
readonly battery?: InferDeviceProxyCap<typeof batteryCapability>;
|
|
90
|
+
readonly brightness?: InferDeviceProxyCap<typeof brightnessCapability>;
|
|
91
|
+
readonly cameraCredentials?: InferDeviceProxyCap<typeof cameraCredentialsCapability>;
|
|
92
|
+
readonly cameraStreams?: InferDeviceProxyCap<typeof cameraStreamsCapability>;
|
|
93
|
+
readonly detectionPipeline?: InferDeviceProxyCap<typeof detectionPipelineCapability>;
|
|
94
|
+
readonly deviceDiscovery?: InferDeviceProxyCap<typeof deviceDiscoveryCapability>;
|
|
95
|
+
readonly deviceOps?: InferDeviceProxyCap<typeof deviceOpsCapability>;
|
|
96
|
+
readonly deviceStatus?: InferDeviceProxyCap<typeof deviceStatusCapability>;
|
|
97
|
+
readonly doorbell?: InferDeviceProxyCap<typeof doorbellCapability>;
|
|
98
|
+
readonly events?: InferDeviceProxyCap<typeof eventsCapability>;
|
|
99
|
+
readonly featureProbe?: InferDeviceProxyCap<typeof featureProbeCapability>;
|
|
100
|
+
readonly intercom?: InferDeviceProxyCap<typeof intercomCapability>;
|
|
101
|
+
readonly motion?: InferDeviceProxyCap<typeof motionCapability>;
|
|
102
|
+
readonly motionDetection?: InferDeviceProxyCap<typeof motionDetectionCapability>;
|
|
103
|
+
readonly motionTrigger?: InferDeviceProxyCap<typeof motionTriggerCapability>;
|
|
104
|
+
readonly nativeObjectDetection?: InferDeviceProxyCap<typeof nativeObjectDetectionCapability>;
|
|
105
|
+
readonly osd?: InferDeviceProxyCap<typeof osdCapability>;
|
|
106
|
+
readonly pipelineAnalytics?: InferDeviceProxyCap<typeof pipelineAnalyticsCapability>;
|
|
107
|
+
readonly ptz?: InferDeviceProxyCap<typeof ptzCapability>;
|
|
108
|
+
readonly ptzAutotrack?: InferDeviceProxyCap<typeof ptzAutotrackCapability>;
|
|
109
|
+
readonly reboot?: InferDeviceProxyCap<typeof rebootCapability>;
|
|
110
|
+
readonly recording?: InferDeviceProxyCap<typeof recordingCapability>;
|
|
111
|
+
readonly snapshot?: InferDeviceProxyCap<typeof snapshotCapability>;
|
|
112
|
+
readonly switch?: InferDeviceProxyCap<typeof switchCapability>;
|
|
113
|
+
readonly webrtcSession?: InferDeviceProxyCap<typeof webrtcSessionCapability>;
|
|
114
|
+
readonly zoneAnalytics?: InferDeviceProxyCap<typeof zoneAnalyticsCapability>;
|
|
115
|
+
readonly zoneRules?: InferDeviceProxyCap<typeof zoneRulesCapability>;
|
|
116
|
+
readonly zones?: InferDeviceProxyCap<typeof zonesCapability>;
|
|
117
|
+
readonly addonSettings: Pick<InferDeviceProxyCap<typeof addonSettingsCapability>, 'getDeviceSettings' | 'updateDeviceSettings'>;
|
|
118
|
+
readonly deviceManager: Pick<InferDeviceProxyCap<typeof deviceManagerCapability>, 'loadConfig' | 'loadRuntimeState' | 'loadMeta' | 'setName' | 'setLocation' | 'setMetadata' | 'setDisabled' | 'getDevice' | 'getStreamSources' | 'getConfigSchema' | 'getSettingsSchema' | 'updateConfig' | 'enable' | 'disable' | 'remove' | 'getStreamProfileMap' | 'setStreamProfileMap' | 'probeStreams' | 'getBindings' | 'getAllBindings' | 'setWrapperActive' | 'getDeviceSettingsAggregate' | 'getDeviceLiveInfoAggregate' | 'getDeviceAggregate' | 'updateDeviceField' | 'updateDeviceFieldsBatch' | 'testField' | 'getDeviceStatusAggregate'>;
|
|
119
|
+
readonly deviceState: Pick<InferDeviceProxyCap<typeof deviceStateCapability>, 'getSnapshot' | 'getCapSlice' | 'setCapSlice'>;
|
|
120
|
+
readonly networkQuality: Pick<InferDeviceProxyCap<typeof networkQualityCapability>, 'getDeviceStats' | 'reportClientStats'>;
|
|
121
|
+
readonly pipelineExecutor: Pick<InferDeviceProxyCap<typeof pipelineExecutorCapability>, 'runPipeline' | 'runPipelineBatch'>;
|
|
122
|
+
readonly pipelineOrchestrator: Pick<InferDeviceProxyCap<typeof pipelineOrchestratorCapability>, 'assignPipeline' | 'unassignPipeline' | 'getPipelineAssignment' | 'getCameraMetrics' | 'assignDecoder' | 'unassignDecoder' | 'assignAudio' | 'unassignAudio' | 'getAudioAssignment' | 'getAudioAssignments' | 'getDecoderAssignment' | 'getCameraSettings' | 'setCameraStepToggle' | 'getCameraStepOverrides' | 'setCameraStepOverride' | 'setCameraPipelineForAgent' | 'resolvePipeline' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
123
|
+
readonly pipelineRunner: Pick<InferDeviceProxyCap<typeof pipelineRunnerCapability>, 'detachCamera' | 'getCameraMetrics'>;
|
|
124
|
+
readonly recordingEngine: Pick<InferDeviceProxyCap<typeof recordingEngineCapability>, 'getPolicyStatus'>;
|
|
125
|
+
readonly snapshotProvider: Pick<InferDeviceProxyCap<typeof snapshotProviderCapability>, 'supportsDevice' | 'getSnapshot'>;
|
|
126
|
+
readonly streamBroker: Pick<InferDeviceProxyCap<typeof streamBrokerCapability>, 'publishCameraStream' | 'retractCameraStream' | 'assignProfile' | 'unassignProfile' | 'restartProfile' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Build a DeviceProxy that pre-binds deviceId + nodeId on every method call
|
|
130
|
+
* and dispatches through the existing cap-router tRPC procedures.
|
|
131
|
+
*
|
|
132
|
+
* Optional `opts.stateSource` lets a SystemManager pass a shared mirror
|
|
133
|
+
* source so every device proxy reads from the same in-memory map and
|
|
134
|
+
* shares the warm-boot/push-event update loop. When omitted, a per-proxy
|
|
135
|
+
* lazy tRPC source is created — the path used by `ctx.fetchDevice` and
|
|
136
|
+
* `BackendClient.fetchDevice` for one-off reads.
|
|
137
|
+
*
|
|
138
|
+
* The returned proxy's `binding` field is set to the input `binding`
|
|
139
|
+
* by default — callers that want to expose a different value (e.g. the
|
|
140
|
+
* SDK's `System` patches it from a shared cache) can overwrite the
|
|
141
|
+
* field on the returned object.
|
|
142
|
+
*/
|
|
143
|
+
export declare function createDeviceProxy(api: AddonApi, binding: DeviceBinding, opts?: {
|
|
144
|
+
stateSource?: SliceHandleSource;
|
|
145
|
+
}): DeviceProxy;
|
|
146
|
+
//# sourceMappingURL=device-proxy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-proxy.d.ts","sourceRoot":"","sources":["../../src/generated/device-proxy.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAA;AACtG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAChE,OAAO,EAA2C,KAAK,WAAW,EAAuB,KAAK,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AACzJ,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AAC/E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AACpF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAA;AAC7E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAA;AAC5F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AACpF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAA;AAC5F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AACxF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAC5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAA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