@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,367 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
import { StorageLocationTypeSchema } from '../interfaces/storage-location.js';
|
|
4
|
+
/**
|
|
5
|
+
* `storage` — singleton consumer-facing capability owned by the
|
|
6
|
+
* `storage-orchestrator` builtin (Task 4 of the storage-unification
|
|
7
|
+
* refactor). All file I/O across the system flows through this cap;
|
|
8
|
+
* the orchestrator resolves each `location` ref to a concrete
|
|
9
|
+
* `StorageLocation` record and dispatches to the matching
|
|
10
|
+
* `storage-provider` registrant.
|
|
11
|
+
*
|
|
12
|
+
* The `location` parameter on every primitive is a `StorageLocationRef`
|
|
13
|
+
* — either a bare `StorageLocationType` (e.g. `'backups'`, resolves to
|
|
14
|
+
* the default of that type) or a fully-qualified id (`'backups:nas-01'`,
|
|
15
|
+
* addresses a specific instance). Both forms are normalised inside the
|
|
16
|
+
* orchestrator's `resolveRef(ref)` step.
|
|
17
|
+
*
|
|
18
|
+
* Mode: `singleton` (was `collection` pre-Task-3). The cap-router mount
|
|
19
|
+
* uses `requireSingleton(reg, 'storage')` — pointing at the orchestrator
|
|
20
|
+
* once it lands.
|
|
21
|
+
*/
|
|
22
|
+
export declare const storageCapability: {
|
|
23
|
+
readonly name: "storage";
|
|
24
|
+
readonly scope: "system";
|
|
25
|
+
readonly mode: "singleton";
|
|
26
|
+
readonly methods: {
|
|
27
|
+
readonly resolve: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
28
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
29
|
+
data: "data";
|
|
30
|
+
media: "media";
|
|
31
|
+
recordings: "recordings";
|
|
32
|
+
cache: "cache";
|
|
33
|
+
logs: "logs";
|
|
34
|
+
models: "models";
|
|
35
|
+
"recordings-high": "recordings-high";
|
|
36
|
+
"recordings-low": "recordings-low";
|
|
37
|
+
"recordings-clips": "recordings-clips";
|
|
38
|
+
"event-images": "event-images";
|
|
39
|
+
"addons-data": "addons-data";
|
|
40
|
+
backups: "backups";
|
|
41
|
+
}>, z.ZodString]>;
|
|
42
|
+
relativePath: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodString, import("./capability-definition.js").CapabilityMethodKind>;
|
|
44
|
+
readonly write: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
45
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
46
|
+
data: "data";
|
|
47
|
+
media: "media";
|
|
48
|
+
recordings: "recordings";
|
|
49
|
+
cache: "cache";
|
|
50
|
+
logs: "logs";
|
|
51
|
+
models: "models";
|
|
52
|
+
"recordings-high": "recordings-high";
|
|
53
|
+
"recordings-low": "recordings-low";
|
|
54
|
+
"recordings-clips": "recordings-clips";
|
|
55
|
+
"event-images": "event-images";
|
|
56
|
+
"addons-data": "addons-data";
|
|
57
|
+
backups: "backups";
|
|
58
|
+
}>, z.ZodString]>;
|
|
59
|
+
relativePath: z.ZodString;
|
|
60
|
+
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
61
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
62
|
+
readonly read: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
63
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
64
|
+
data: "data";
|
|
65
|
+
media: "media";
|
|
66
|
+
recordings: "recordings";
|
|
67
|
+
cache: "cache";
|
|
68
|
+
logs: "logs";
|
|
69
|
+
models: "models";
|
|
70
|
+
"recordings-high": "recordings-high";
|
|
71
|
+
"recordings-low": "recordings-low";
|
|
72
|
+
"recordings-clips": "recordings-clips";
|
|
73
|
+
"event-images": "event-images";
|
|
74
|
+
"addons-data": "addons-data";
|
|
75
|
+
backups: "backups";
|
|
76
|
+
}>, z.ZodString]>;
|
|
77
|
+
relativePath: z.ZodString;
|
|
78
|
+
}, z.core.$strip>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
79
|
+
readonly exists: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
80
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
81
|
+
data: "data";
|
|
82
|
+
media: "media";
|
|
83
|
+
recordings: "recordings";
|
|
84
|
+
cache: "cache";
|
|
85
|
+
logs: "logs";
|
|
86
|
+
models: "models";
|
|
87
|
+
"recordings-high": "recordings-high";
|
|
88
|
+
"recordings-low": "recordings-low";
|
|
89
|
+
"recordings-clips": "recordings-clips";
|
|
90
|
+
"event-images": "event-images";
|
|
91
|
+
"addons-data": "addons-data";
|
|
92
|
+
backups: "backups";
|
|
93
|
+
}>, z.ZodString]>;
|
|
94
|
+
relativePath: z.ZodString;
|
|
95
|
+
}, z.core.$strip>, z.ZodBoolean, import("./capability-definition.js").CapabilityMethodKind>;
|
|
96
|
+
readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
97
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
98
|
+
data: "data";
|
|
99
|
+
media: "media";
|
|
100
|
+
recordings: "recordings";
|
|
101
|
+
cache: "cache";
|
|
102
|
+
logs: "logs";
|
|
103
|
+
models: "models";
|
|
104
|
+
"recordings-high": "recordings-high";
|
|
105
|
+
"recordings-low": "recordings-low";
|
|
106
|
+
"recordings-clips": "recordings-clips";
|
|
107
|
+
"event-images": "event-images";
|
|
108
|
+
"addons-data": "addons-data";
|
|
109
|
+
backups: "backups";
|
|
110
|
+
}>, z.ZodString]>;
|
|
111
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
112
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodString>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
113
|
+
readonly delete: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
114
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
115
|
+
data: "data";
|
|
116
|
+
media: "media";
|
|
117
|
+
recordings: "recordings";
|
|
118
|
+
cache: "cache";
|
|
119
|
+
logs: "logs";
|
|
120
|
+
models: "models";
|
|
121
|
+
"recordings-high": "recordings-high";
|
|
122
|
+
"recordings-low": "recordings-low";
|
|
123
|
+
"recordings-clips": "recordings-clips";
|
|
124
|
+
"event-images": "event-images";
|
|
125
|
+
"addons-data": "addons-data";
|
|
126
|
+
backups: "backups";
|
|
127
|
+
}>, z.ZodString]>;
|
|
128
|
+
relativePath: z.ZodString;
|
|
129
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
130
|
+
readonly getAvailableSpace: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
131
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
132
|
+
data: "data";
|
|
133
|
+
media: "media";
|
|
134
|
+
recordings: "recordings";
|
|
135
|
+
cache: "cache";
|
|
136
|
+
logs: "logs";
|
|
137
|
+
models: "models";
|
|
138
|
+
"recordings-high": "recordings-high";
|
|
139
|
+
"recordings-low": "recordings-low";
|
|
140
|
+
"recordings-clips": "recordings-clips";
|
|
141
|
+
"event-images": "event-images";
|
|
142
|
+
"addons-data": "addons-data";
|
|
143
|
+
backups: "backups";
|
|
144
|
+
}>, z.ZodString]>;
|
|
145
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodNumber>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
146
|
+
readonly beginUpload: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
147
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
148
|
+
data: "data";
|
|
149
|
+
media: "media";
|
|
150
|
+
recordings: "recordings";
|
|
151
|
+
cache: "cache";
|
|
152
|
+
logs: "logs";
|
|
153
|
+
models: "models";
|
|
154
|
+
"recordings-high": "recordings-high";
|
|
155
|
+
"recordings-low": "recordings-low";
|
|
156
|
+
"recordings-clips": "recordings-clips";
|
|
157
|
+
"event-images": "event-images";
|
|
158
|
+
"addons-data": "addons-data";
|
|
159
|
+
backups: "backups";
|
|
160
|
+
}>, z.ZodString]>;
|
|
161
|
+
relativePath: z.ZodString;
|
|
162
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
164
|
+
uploadId: z.ZodString;
|
|
165
|
+
}, z.core.$strip>, "mutation">;
|
|
166
|
+
readonly writeChunk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
167
|
+
uploadId: z.ZodString;
|
|
168
|
+
offset: z.ZodNumber;
|
|
169
|
+
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
170
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
171
|
+
readonly finalizeUpload: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
172
|
+
uploadId: z.ZodString;
|
|
173
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
174
|
+
readonly abortUpload: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
175
|
+
uploadId: z.ZodString;
|
|
176
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
177
|
+
readonly beginDownload: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
178
|
+
location: z.ZodUnion<readonly [z.ZodEnum<{
|
|
179
|
+
data: "data";
|
|
180
|
+
media: "media";
|
|
181
|
+
recordings: "recordings";
|
|
182
|
+
cache: "cache";
|
|
183
|
+
logs: "logs";
|
|
184
|
+
models: "models";
|
|
185
|
+
"recordings-high": "recordings-high";
|
|
186
|
+
"recordings-low": "recordings-low";
|
|
187
|
+
"recordings-clips": "recordings-clips";
|
|
188
|
+
"event-images": "event-images";
|
|
189
|
+
"addons-data": "addons-data";
|
|
190
|
+
backups: "backups";
|
|
191
|
+
}>, z.ZodString]>;
|
|
192
|
+
relativePath: z.ZodString;
|
|
193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
194
|
+
downloadId: z.ZodString;
|
|
195
|
+
sizeBytes: z.ZodNumber;
|
|
196
|
+
}, z.core.$strip>, "mutation">;
|
|
197
|
+
readonly readChunk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
198
|
+
downloadId: z.ZodString;
|
|
199
|
+
offset: z.ZodNumber;
|
|
200
|
+
length: z.ZodNumber;
|
|
201
|
+
}, z.core.$strip>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
202
|
+
readonly endDownload: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
203
|
+
downloadId: z.ZodString;
|
|
204
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
205
|
+
readonly listLocations: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
206
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
data: "data";
|
|
208
|
+
media: "media";
|
|
209
|
+
recordings: "recordings";
|
|
210
|
+
cache: "cache";
|
|
211
|
+
logs: "logs";
|
|
212
|
+
models: "models";
|
|
213
|
+
"recordings-high": "recordings-high";
|
|
214
|
+
"recordings-low": "recordings-low";
|
|
215
|
+
"recordings-clips": "recordings-clips";
|
|
216
|
+
"event-images": "event-images";
|
|
217
|
+
"addons-data": "addons-data";
|
|
218
|
+
backups: "backups";
|
|
219
|
+
}>>;
|
|
220
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
221
|
+
id: z.ZodString;
|
|
222
|
+
type: z.ZodEnum<{
|
|
223
|
+
data: "data";
|
|
224
|
+
media: "media";
|
|
225
|
+
recordings: "recordings";
|
|
226
|
+
cache: "cache";
|
|
227
|
+
logs: "logs";
|
|
228
|
+
models: "models";
|
|
229
|
+
"recordings-high": "recordings-high";
|
|
230
|
+
"recordings-low": "recordings-low";
|
|
231
|
+
"recordings-clips": "recordings-clips";
|
|
232
|
+
"event-images": "event-images";
|
|
233
|
+
"addons-data": "addons-data";
|
|
234
|
+
backups: "backups";
|
|
235
|
+
}>;
|
|
236
|
+
displayName: z.ZodString;
|
|
237
|
+
providerId: z.ZodString;
|
|
238
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
239
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
240
|
+
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
241
|
+
createdAt: z.ZodNumber;
|
|
242
|
+
updatedAt: z.ZodNumber;
|
|
243
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
244
|
+
readonly getDefaultLocation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
245
|
+
type: z.ZodEnum<{
|
|
246
|
+
data: "data";
|
|
247
|
+
media: "media";
|
|
248
|
+
recordings: "recordings";
|
|
249
|
+
cache: "cache";
|
|
250
|
+
logs: "logs";
|
|
251
|
+
models: "models";
|
|
252
|
+
"recordings-high": "recordings-high";
|
|
253
|
+
"recordings-low": "recordings-low";
|
|
254
|
+
"recordings-clips": "recordings-clips";
|
|
255
|
+
"event-images": "event-images";
|
|
256
|
+
"addons-data": "addons-data";
|
|
257
|
+
backups: "backups";
|
|
258
|
+
}>;
|
|
259
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
260
|
+
id: z.ZodString;
|
|
261
|
+
type: z.ZodEnum<{
|
|
262
|
+
data: "data";
|
|
263
|
+
media: "media";
|
|
264
|
+
recordings: "recordings";
|
|
265
|
+
cache: "cache";
|
|
266
|
+
logs: "logs";
|
|
267
|
+
models: "models";
|
|
268
|
+
"recordings-high": "recordings-high";
|
|
269
|
+
"recordings-low": "recordings-low";
|
|
270
|
+
"recordings-clips": "recordings-clips";
|
|
271
|
+
"event-images": "event-images";
|
|
272
|
+
"addons-data": "addons-data";
|
|
273
|
+
backups: "backups";
|
|
274
|
+
}>;
|
|
275
|
+
displayName: z.ZodString;
|
|
276
|
+
providerId: z.ZodString;
|
|
277
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
278
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
279
|
+
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
280
|
+
createdAt: z.ZodNumber;
|
|
281
|
+
updatedAt: z.ZodNumber;
|
|
282
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
283
|
+
readonly upsertLocation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
284
|
+
type: z.ZodEnum<{
|
|
285
|
+
data: "data";
|
|
286
|
+
media: "media";
|
|
287
|
+
recordings: "recordings";
|
|
288
|
+
cache: "cache";
|
|
289
|
+
logs: "logs";
|
|
290
|
+
models: "models";
|
|
291
|
+
"recordings-high": "recordings-high";
|
|
292
|
+
"recordings-low": "recordings-low";
|
|
293
|
+
"recordings-clips": "recordings-clips";
|
|
294
|
+
"event-images": "event-images";
|
|
295
|
+
"addons-data": "addons-data";
|
|
296
|
+
backups: "backups";
|
|
297
|
+
}>;
|
|
298
|
+
id: z.ZodString;
|
|
299
|
+
displayName: z.ZodString;
|
|
300
|
+
providerId: z.ZodString;
|
|
301
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
302
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
303
|
+
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
304
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
305
|
+
id: z.ZodString;
|
|
306
|
+
type: z.ZodEnum<{
|
|
307
|
+
data: "data";
|
|
308
|
+
media: "media";
|
|
309
|
+
recordings: "recordings";
|
|
310
|
+
cache: "cache";
|
|
311
|
+
logs: "logs";
|
|
312
|
+
models: "models";
|
|
313
|
+
"recordings-high": "recordings-high";
|
|
314
|
+
"recordings-low": "recordings-low";
|
|
315
|
+
"recordings-clips": "recordings-clips";
|
|
316
|
+
"event-images": "event-images";
|
|
317
|
+
"addons-data": "addons-data";
|
|
318
|
+
backups: "backups";
|
|
319
|
+
}>;
|
|
320
|
+
displayName: z.ZodString;
|
|
321
|
+
providerId: z.ZodString;
|
|
322
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
323
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
324
|
+
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
325
|
+
createdAt: z.ZodNumber;
|
|
326
|
+
updatedAt: z.ZodNumber;
|
|
327
|
+
}, z.core.$strip>, "mutation">;
|
|
328
|
+
readonly deleteLocation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
329
|
+
id: z.ZodString;
|
|
330
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
331
|
+
readonly testLocation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
332
|
+
id: z.ZodString;
|
|
333
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
334
|
+
ok: z.ZodBoolean;
|
|
335
|
+
error: z.ZodOptional<z.ZodString>;
|
|
336
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
337
|
+
readonly listProviders: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
338
|
+
providerId: z.ZodString;
|
|
339
|
+
displayName: z.ZodString;
|
|
340
|
+
supportedLocationTypes: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
341
|
+
data: "data";
|
|
342
|
+
media: "media";
|
|
343
|
+
recordings: "recordings";
|
|
344
|
+
cache: "cache";
|
|
345
|
+
logs: "logs";
|
|
346
|
+
models: "models";
|
|
347
|
+
"recordings-high": "recordings-high";
|
|
348
|
+
"recordings-low": "recordings-low";
|
|
349
|
+
"recordings-clips": "recordings-clips";
|
|
350
|
+
"event-images": "event-images";
|
|
351
|
+
"addons-data": "addons-data";
|
|
352
|
+
backups: "backups";
|
|
353
|
+
}>>>;
|
|
354
|
+
configSchema: z.ZodUnknown;
|
|
355
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
356
|
+
readonly testConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
357
|
+
providerId: z.ZodString;
|
|
358
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
359
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
360
|
+
ok: z.ZodBoolean;
|
|
361
|
+
error: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
export type IStorageCapProvider = InferProvider<typeof storageCapability>;
|
|
366
|
+
export { StorageLocationTypeSchema };
|
|
367
|
+
//# sourceMappingURL=storage.cap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/storage.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAClG,OAAO,EAGL,yBAAyB,EAC1B,MAAM,mCAAmC,CAAA;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6HW,CAAA;AAEzC,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEzE,OAAO,EAAE,yBAAyB,EAAE,CAAA"}
|