@camstack/types 1.2.336 → 1.2.338
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/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +285 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +78 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/index.js +111 -2
- package/dist/index.mjs +111 -2
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/platform.d.ts +6 -1
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +100 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -154,13 +154,13 @@ export type LinkedDevicesSlotValue = z.infer<typeof LinkedDevicesSlotValueSchema
|
|
|
154
154
|
* camera itself.
|
|
155
155
|
*/
|
|
156
156
|
export declare const LINKED_DEVICES_SLOT: {
|
|
157
|
-
readonly id:
|
|
158
|
-
readonly label:
|
|
157
|
+
readonly id: 'linked-devices';
|
|
158
|
+
readonly label: 'Linked devices';
|
|
159
159
|
readonly description: string;
|
|
160
|
-
readonly shape:
|
|
160
|
+
readonly shape: 'association';
|
|
161
161
|
readonly hostDeviceTypes: readonly [DeviceType.Camera];
|
|
162
|
-
readonly sourceCaps:
|
|
163
|
-
readonly cardinality:
|
|
162
|
+
readonly sourceCaps: 'any';
|
|
163
|
+
readonly cardinality: 'many';
|
|
164
164
|
readonly value: z.ZodObject<{
|
|
165
165
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
166
166
|
trackedDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -306,29 +306,29 @@ export declare const DevicePersistConfigPayloadSchema: z.ZodObject<{
|
|
|
306
306
|
/** What a migration actually did, per switch. `unreachable` is a first-class
|
|
307
307
|
* answer: a camera that could not be asked is not a camera that was silenced. */
|
|
308
308
|
export declare const MigrateSwitchOutcomeSchema: z.ZodEnum<{
|
|
309
|
-
|
|
309
|
+
"not-offered": "not-offered";
|
|
310
310
|
off: "off";
|
|
311
311
|
on: "on";
|
|
312
|
-
|
|
312
|
+
unreachable: "unreachable";
|
|
313
313
|
}>;
|
|
314
314
|
export declare const MigrateSwitchReportSchema: z.ZodObject<{
|
|
315
315
|
deviceId: z.ZodNumber;
|
|
316
316
|
switchId: z.ZodEnum<{
|
|
317
|
-
"privacy-mask": "privacy-mask";
|
|
318
|
-
recording: "recording";
|
|
319
317
|
"audio-analysis": "audio-analysis";
|
|
320
|
-
"stream-broker": "stream-broker";
|
|
321
|
-
notifications: "notifications";
|
|
322
|
-
"object-detection": "object-detection";
|
|
323
|
-
"device-audio": "device-audio";
|
|
324
318
|
"broker-audio": "broker-audio";
|
|
319
|
+
"device-audio": "device-audio";
|
|
325
320
|
"event-saving": "event-saving";
|
|
321
|
+
notifications: "notifications";
|
|
322
|
+
"object-detection": "object-detection";
|
|
323
|
+
"privacy-mask": "privacy-mask";
|
|
324
|
+
recording: "recording";
|
|
325
|
+
"stream-broker": "stream-broker";
|
|
326
326
|
}>;
|
|
327
327
|
outcome: z.ZodEnum<{
|
|
328
|
-
|
|
328
|
+
"not-offered": "not-offered";
|
|
329
329
|
off: "off";
|
|
330
330
|
on: "on";
|
|
331
|
-
|
|
331
|
+
unreachable: "unreachable";
|
|
332
332
|
}>;
|
|
333
333
|
detail: z.ZodOptional<z.ZodString>;
|
|
334
334
|
}, z.core.$strip>;
|
|
@@ -338,34 +338,34 @@ export declare const MigrateDeviceResultSchema: z.ZodObject<{
|
|
|
338
338
|
switches: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
339
339
|
deviceId: z.ZodNumber;
|
|
340
340
|
switchId: z.ZodEnum<{
|
|
341
|
-
"privacy-mask": "privacy-mask";
|
|
342
|
-
recording: "recording";
|
|
343
341
|
"audio-analysis": "audio-analysis";
|
|
344
|
-
"stream-broker": "stream-broker";
|
|
345
|
-
notifications: "notifications";
|
|
346
|
-
"object-detection": "object-detection";
|
|
347
|
-
"device-audio": "device-audio";
|
|
348
342
|
"broker-audio": "broker-audio";
|
|
343
|
+
"device-audio": "device-audio";
|
|
349
344
|
"event-saving": "event-saving";
|
|
345
|
+
notifications: "notifications";
|
|
346
|
+
"object-detection": "object-detection";
|
|
347
|
+
"privacy-mask": "privacy-mask";
|
|
348
|
+
recording: "recording";
|
|
349
|
+
"stream-broker": "stream-broker";
|
|
350
350
|
}>;
|
|
351
351
|
outcome: z.ZodEnum<{
|
|
352
|
-
|
|
352
|
+
"not-offered": "not-offered";
|
|
353
353
|
off: "off";
|
|
354
354
|
on: "on";
|
|
355
|
-
|
|
355
|
+
unreachable: "unreachable";
|
|
356
356
|
}>;
|
|
357
357
|
detail: z.ZodOptional<z.ZodString>;
|
|
358
358
|
}, z.core.$strip>>>;
|
|
359
359
|
sourceStillLive: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
360
|
-
"privacy-mask": "privacy-mask";
|
|
361
|
-
recording: "recording";
|
|
362
360
|
"audio-analysis": "audio-analysis";
|
|
363
|
-
"stream-broker": "stream-broker";
|
|
364
|
-
notifications: "notifications";
|
|
365
|
-
"object-detection": "object-detection";
|
|
366
|
-
"device-audio": "device-audio";
|
|
367
361
|
"broker-audio": "broker-audio";
|
|
362
|
+
"device-audio": "device-audio";
|
|
368
363
|
"event-saving": "event-saving";
|
|
364
|
+
notifications: "notifications";
|
|
365
|
+
"object-detection": "object-detection";
|
|
366
|
+
"privacy-mask": "privacy-mask";
|
|
367
|
+
recording: "recording";
|
|
368
|
+
"stream-broker": "stream-broker";
|
|
369
369
|
}>>>;
|
|
370
370
|
swapped: z.ZodBoolean;
|
|
371
371
|
}, z.core.$strip>;
|
|
@@ -376,17 +376,17 @@ export type MigrateSwitchReport = z.infer<typeof MigrateSwitchReportSchema>;
|
|
|
376
376
|
* rather than restated so a client cannot drift from the report it displays. */
|
|
377
377
|
export type MigrateDeviceResult = z.infer<typeof MigrateDeviceResultSchema>;
|
|
378
378
|
export declare const deviceManagerCapability: {
|
|
379
|
-
readonly name:
|
|
380
|
-
readonly scope:
|
|
381
|
-
readonly mode:
|
|
379
|
+
readonly name: 'device-manager';
|
|
380
|
+
readonly scope: 'system';
|
|
381
|
+
readonly mode: 'singleton';
|
|
382
382
|
readonly extensionSlots: readonly [{
|
|
383
|
-
readonly id:
|
|
384
|
-
readonly label:
|
|
383
|
+
readonly id: 'linked-devices';
|
|
384
|
+
readonly label: 'Linked devices';
|
|
385
385
|
readonly description: string;
|
|
386
|
-
readonly shape:
|
|
386
|
+
readonly shape: 'association';
|
|
387
387
|
readonly hostDeviceTypes: readonly [DeviceType.Camera];
|
|
388
|
-
readonly sourceCaps:
|
|
389
|
-
readonly cardinality:
|
|
388
|
+
readonly sourceCaps: 'any';
|
|
389
|
+
readonly cardinality: 'many';
|
|
390
390
|
readonly value: z.ZodObject<{
|
|
391
391
|
deviceIds: z.ZodArray<z.ZodNumber>;
|
|
392
392
|
trackedDeviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -439,34 +439,34 @@ export declare const deviceManagerCapability: {
|
|
|
439
439
|
switches: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
440
440
|
deviceId: z.ZodNumber;
|
|
441
441
|
switchId: z.ZodEnum<{
|
|
442
|
-
"privacy-mask": "privacy-mask";
|
|
443
|
-
recording: "recording";
|
|
444
442
|
"audio-analysis": "audio-analysis";
|
|
445
|
-
"stream-broker": "stream-broker";
|
|
446
|
-
notifications: "notifications";
|
|
447
|
-
"object-detection": "object-detection";
|
|
448
|
-
"device-audio": "device-audio";
|
|
449
443
|
"broker-audio": "broker-audio";
|
|
444
|
+
"device-audio": "device-audio";
|
|
450
445
|
"event-saving": "event-saving";
|
|
446
|
+
notifications: "notifications";
|
|
447
|
+
"object-detection": "object-detection";
|
|
448
|
+
"privacy-mask": "privacy-mask";
|
|
449
|
+
recording: "recording";
|
|
450
|
+
"stream-broker": "stream-broker";
|
|
451
451
|
}>;
|
|
452
452
|
outcome: z.ZodEnum<{
|
|
453
|
-
|
|
453
|
+
"not-offered": "not-offered";
|
|
454
454
|
off: "off";
|
|
455
455
|
on: "on";
|
|
456
|
-
|
|
456
|
+
unreachable: "unreachable";
|
|
457
457
|
}>;
|
|
458
458
|
detail: z.ZodOptional<z.ZodString>;
|
|
459
459
|
}, z.core.$strip>>>;
|
|
460
460
|
sourceStillLive: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
461
|
-
"privacy-mask": "privacy-mask";
|
|
462
|
-
recording: "recording";
|
|
463
461
|
"audio-analysis": "audio-analysis";
|
|
464
|
-
"stream-broker": "stream-broker";
|
|
465
|
-
notifications: "notifications";
|
|
466
|
-
"object-detection": "object-detection";
|
|
467
|
-
"device-audio": "device-audio";
|
|
468
462
|
"broker-audio": "broker-audio";
|
|
463
|
+
"device-audio": "device-audio";
|
|
469
464
|
"event-saving": "event-saving";
|
|
465
|
+
notifications: "notifications";
|
|
466
|
+
"object-detection": "object-detection";
|
|
467
|
+
"privacy-mask": "privacy-mask";
|
|
468
|
+
recording: "recording";
|
|
469
|
+
"stream-broker": "stream-broker";
|
|
470
470
|
}>>>;
|
|
471
471
|
swapped: z.ZodBoolean;
|
|
472
472
|
}, z.core.$strip>, "mutation">;
|
|
@@ -664,10 +664,10 @@ export declare const deviceManagerCapability: {
|
|
|
664
664
|
fields: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
665
665
|
path: z.ZodString;
|
|
666
666
|
kind: z.ZodEnum<{
|
|
667
|
-
string: "string";
|
|
668
|
-
number: "number";
|
|
669
667
|
boolean: "boolean";
|
|
670
668
|
enum: "enum";
|
|
669
|
+
number: "number";
|
|
670
|
+
string: "string";
|
|
671
671
|
}>;
|
|
672
672
|
enumValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
673
673
|
item: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -785,26 +785,26 @@ export declare const deviceManagerCapability: {
|
|
|
785
785
|
readonly listLocationIcons: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
|
|
786
786
|
locationKey: z.ZodString;
|
|
787
787
|
icon: z.ZodEnum<{
|
|
788
|
-
package: "package";
|
|
789
|
-
"map-pin": "map-pin";
|
|
790
|
-
house: "house";
|
|
791
|
-
"door-open": "door-open";
|
|
792
|
-
sofa: "sofa";
|
|
793
|
-
utensils: "utensils";
|
|
794
|
-
"bed-double": "bed-double";
|
|
795
788
|
bath: "bath";
|
|
789
|
+
"bed-double": "bed-double";
|
|
796
790
|
briefcase: "briefcase";
|
|
797
791
|
car: "car";
|
|
798
792
|
"circle-parking": "circle-parking";
|
|
793
|
+
"door-open": "door-open";
|
|
794
|
+
fence: "fence";
|
|
795
|
+
house: "house";
|
|
796
|
+
"map-pin": "map-pin";
|
|
797
|
+
package: "package";
|
|
798
|
+
radar: "radar";
|
|
799
799
|
route: "route";
|
|
800
|
+
sofa: "sofa";
|
|
801
|
+
store: "store";
|
|
802
|
+
sun: "sun";
|
|
800
803
|
trees: "trees";
|
|
801
804
|
umbrella: "umbrella";
|
|
802
|
-
|
|
803
|
-
fence: "fence";
|
|
805
|
+
utensils: "utensils";
|
|
804
806
|
warehouse: "warehouse";
|
|
805
|
-
|
|
806
|
-
sun: "sun";
|
|
807
|
-
radar: "radar";
|
|
807
|
+
"waves-ladder": "waves-ladder";
|
|
808
808
|
}>;
|
|
809
809
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
810
810
|
/** Set (or clear) the icon of a location label. `icon: null` removes the
|
|
@@ -819,26 +819,26 @@ export declare const deviceManagerCapability: {
|
|
|
819
819
|
readonly setLocationIcon: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
820
820
|
location: z.ZodString;
|
|
821
821
|
icon: z.ZodNullable<z.ZodEnum<{
|
|
822
|
-
package: "package";
|
|
823
|
-
"map-pin": "map-pin";
|
|
824
|
-
house: "house";
|
|
825
|
-
"door-open": "door-open";
|
|
826
|
-
sofa: "sofa";
|
|
827
|
-
utensils: "utensils";
|
|
828
|
-
"bed-double": "bed-double";
|
|
829
822
|
bath: "bath";
|
|
823
|
+
"bed-double": "bed-double";
|
|
830
824
|
briefcase: "briefcase";
|
|
831
825
|
car: "car";
|
|
832
826
|
"circle-parking": "circle-parking";
|
|
827
|
+
"door-open": "door-open";
|
|
828
|
+
fence: "fence";
|
|
829
|
+
house: "house";
|
|
830
|
+
"map-pin": "map-pin";
|
|
831
|
+
package: "package";
|
|
832
|
+
radar: "radar";
|
|
833
833
|
route: "route";
|
|
834
|
+
sofa: "sofa";
|
|
835
|
+
store: "store";
|
|
836
|
+
sun: "sun";
|
|
834
837
|
trees: "trees";
|
|
835
838
|
umbrella: "umbrella";
|
|
836
|
-
|
|
837
|
-
fence: "fence";
|
|
839
|
+
utensils: "utensils";
|
|
838
840
|
warehouse: "warehouse";
|
|
839
|
-
|
|
840
|
-
sun: "sun";
|
|
841
|
-
radar: "radar";
|
|
841
|
+
"waves-ladder": "waves-ladder";
|
|
842
842
|
}>>;
|
|
843
843
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
844
844
|
/** Every location that carries a DESCRIPTION — what the place LOOKS like,
|
|
@@ -886,26 +886,26 @@ export declare const deviceManagerCapability: {
|
|
|
886
886
|
zoneKey: z.ZodString;
|
|
887
887
|
label: z.ZodString;
|
|
888
888
|
icon: z.ZodNullable<z.ZodEnum<{
|
|
889
|
-
package: "package";
|
|
890
|
-
"map-pin": "map-pin";
|
|
891
|
-
house: "house";
|
|
892
|
-
"door-open": "door-open";
|
|
893
|
-
sofa: "sofa";
|
|
894
|
-
utensils: "utensils";
|
|
895
|
-
"bed-double": "bed-double";
|
|
896
889
|
bath: "bath";
|
|
890
|
+
"bed-double": "bed-double";
|
|
897
891
|
briefcase: "briefcase";
|
|
898
892
|
car: "car";
|
|
899
893
|
"circle-parking": "circle-parking";
|
|
894
|
+
"door-open": "door-open";
|
|
895
|
+
fence: "fence";
|
|
896
|
+
house: "house";
|
|
897
|
+
"map-pin": "map-pin";
|
|
898
|
+
package: "package";
|
|
899
|
+
radar: "radar";
|
|
900
900
|
route: "route";
|
|
901
|
+
sofa: "sofa";
|
|
902
|
+
store: "store";
|
|
903
|
+
sun: "sun";
|
|
901
904
|
trees: "trees";
|
|
902
905
|
umbrella: "umbrella";
|
|
903
|
-
|
|
904
|
-
fence: "fence";
|
|
906
|
+
utensils: "utensils";
|
|
905
907
|
warehouse: "warehouse";
|
|
906
|
-
|
|
907
|
-
sun: "sun";
|
|
908
|
-
radar: "radar";
|
|
908
|
+
"waves-ladder": "waves-ladder";
|
|
909
909
|
}>>;
|
|
910
910
|
locationKeys: z.ZodArray<z.ZodString>;
|
|
911
911
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -919,26 +919,26 @@ export declare const deviceManagerCapability: {
|
|
|
919
919
|
readonly setSiteZone: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
920
920
|
name: z.ZodString;
|
|
921
921
|
icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
922
|
-
package: "package";
|
|
923
|
-
"map-pin": "map-pin";
|
|
924
|
-
house: "house";
|
|
925
|
-
"door-open": "door-open";
|
|
926
|
-
sofa: "sofa";
|
|
927
|
-
utensils: "utensils";
|
|
928
|
-
"bed-double": "bed-double";
|
|
929
922
|
bath: "bath";
|
|
923
|
+
"bed-double": "bed-double";
|
|
930
924
|
briefcase: "briefcase";
|
|
931
925
|
car: "car";
|
|
932
926
|
"circle-parking": "circle-parking";
|
|
927
|
+
"door-open": "door-open";
|
|
928
|
+
fence: "fence";
|
|
929
|
+
house: "house";
|
|
930
|
+
"map-pin": "map-pin";
|
|
931
|
+
package: "package";
|
|
932
|
+
radar: "radar";
|
|
933
933
|
route: "route";
|
|
934
|
+
sofa: "sofa";
|
|
935
|
+
store: "store";
|
|
936
|
+
sun: "sun";
|
|
934
937
|
trees: "trees";
|
|
935
938
|
umbrella: "umbrella";
|
|
936
|
-
|
|
937
|
-
fence: "fence";
|
|
939
|
+
utensils: "utensils";
|
|
938
940
|
warehouse: "warehouse";
|
|
939
|
-
|
|
940
|
-
sun: "sun";
|
|
941
|
-
radar: "radar";
|
|
941
|
+
"waves-ladder": "waves-ladder";
|
|
942
942
|
}>>>;
|
|
943
943
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
944
944
|
/** Delete a zone. Its LOCATIONS survive — they simply stop belonging to
|
|
@@ -1281,11 +1281,11 @@ export declare const deviceManagerCapability: {
|
|
|
1281
1281
|
id: z.ZodString;
|
|
1282
1282
|
label: z.ZodString;
|
|
1283
1283
|
protocol: z.ZodEnum<{
|
|
1284
|
-
custom: "custom";
|
|
1285
|
-
rtsp: "rtsp";
|
|
1286
|
-
rtmp: "rtmp";
|
|
1287
1284
|
annexb: "annexb";
|
|
1285
|
+
custom: "custom";
|
|
1288
1286
|
"http-mjpeg": "http-mjpeg";
|
|
1287
|
+
rtmp: "rtmp";
|
|
1288
|
+
rtsp: "rtsp";
|
|
1289
1289
|
webrtc: "webrtc";
|
|
1290
1290
|
}>;
|
|
1291
1291
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1298,8 +1298,8 @@ export declare const deviceManagerCapability: {
|
|
|
1298
1298
|
codec: z.ZodOptional<z.ZodString>;
|
|
1299
1299
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
1300
1300
|
high: "high";
|
|
1301
|
-
mid: "mid";
|
|
1302
1301
|
low: "low";
|
|
1302
|
+
mid: "mid";
|
|
1303
1303
|
}>>;
|
|
1304
1304
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1305
1305
|
/** Get config entries (key + value + description) for a device. */
|
|
@@ -1556,8 +1556,8 @@ export declare const deviceManagerCapability: {
|
|
|
1556
1556
|
title: z.ZodString;
|
|
1557
1557
|
description: z.ZodOptional<z.ZodString>;
|
|
1558
1558
|
style: z.ZodOptional<z.ZodEnum<{
|
|
1559
|
-
card: "card";
|
|
1560
1559
|
accordion: "accordion";
|
|
1560
|
+
card: "card";
|
|
1561
1561
|
}>>;
|
|
1562
1562
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
1563
1563
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -1584,8 +1584,8 @@ export declare const deviceManagerCapability: {
|
|
|
1584
1584
|
title: z.ZodString;
|
|
1585
1585
|
description: z.ZodOptional<z.ZodString>;
|
|
1586
1586
|
style: z.ZodOptional<z.ZodEnum<{
|
|
1587
|
-
card: "card";
|
|
1588
1587
|
accordion: "accordion";
|
|
1588
|
+
card: "card";
|
|
1589
1589
|
}>>;
|
|
1590
1590
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
1591
1591
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -1621,8 +1621,8 @@ export declare const deviceManagerCapability: {
|
|
|
1621
1621
|
title: z.ZodString;
|
|
1622
1622
|
description: z.ZodOptional<z.ZodString>;
|
|
1623
1623
|
style: z.ZodOptional<z.ZodEnum<{
|
|
1624
|
-
card: "card";
|
|
1625
1624
|
accordion: "accordion";
|
|
1625
|
+
card: "card";
|
|
1626
1626
|
}>>;
|
|
1627
1627
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
1628
1628
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -1647,8 +1647,8 @@ export declare const deviceManagerCapability: {
|
|
|
1647
1647
|
title: z.ZodString;
|
|
1648
1648
|
description: z.ZodOptional<z.ZodString>;
|
|
1649
1649
|
style: z.ZodOptional<z.ZodEnum<{
|
|
1650
|
-
card: "card";
|
|
1651
1650
|
accordion: "accordion";
|
|
1651
|
+
card: "card";
|
|
1652
1652
|
}>>;
|
|
1653
1653
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
1654
1654
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -1905,10 +1905,10 @@ export declare const deviceManagerCapability: {
|
|
|
1905
1905
|
addonId: z.ZodString;
|
|
1906
1906
|
integrationId: z.ZodString;
|
|
1907
1907
|
state: z.ZodEnum<{
|
|
1908
|
-
|
|
1908
|
+
cancelled: "cancelled";
|
|
1909
1909
|
done: "done";
|
|
1910
1910
|
failed: "failed";
|
|
1911
|
-
|
|
1911
|
+
running: "running";
|
|
1912
1912
|
}>;
|
|
1913
1913
|
total: z.ZodNumber;
|
|
1914
1914
|
processed: z.ZodNumber;
|
|
@@ -1920,10 +1920,10 @@ export declare const deviceManagerCapability: {
|
|
|
1920
1920
|
results: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1921
1921
|
childNativeId: z.ZodString;
|
|
1922
1922
|
outcome: z.ZodEnum<{
|
|
1923
|
-
failed: "failed";
|
|
1924
|
-
cancelled: "cancelled";
|
|
1925
1923
|
adopted: "adopted";
|
|
1926
1924
|
"already-adopted": "already-adopted";
|
|
1925
|
+
cancelled: "cancelled";
|
|
1926
|
+
failed: "failed";
|
|
1927
1927
|
}>;
|
|
1928
1928
|
parentDeviceId: z.ZodNullable<z.ZodNumber>;
|
|
1929
1929
|
accessoryCount: z.ZodNumber;
|
|
@@ -6,10 +6,10 @@ export declare const RawStateResultSchema: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
export type RawStateResult = z.infer<typeof RawStateResultSchema>;
|
|
8
8
|
export declare const deviceOpsCapability: {
|
|
9
|
-
readonly name:
|
|
10
|
-
readonly scope:
|
|
9
|
+
readonly name: 'device-ops';
|
|
10
|
+
readonly scope: 'device';
|
|
11
11
|
readonly deviceNative: true;
|
|
12
|
-
readonly mode:
|
|
12
|
+
readonly mode: 'singleton';
|
|
13
13
|
readonly methods: {
|
|
14
14
|
/**
|
|
15
15
|
* Return stream sources for camera-like devices. Non-camera devices
|
|
@@ -21,11 +21,11 @@ export declare const deviceOpsCapability: {
|
|
|
21
21
|
id: z.ZodString;
|
|
22
22
|
label: z.ZodString;
|
|
23
23
|
protocol: z.ZodEnum<{
|
|
24
|
-
custom: "custom";
|
|
25
|
-
rtsp: "rtsp";
|
|
26
|
-
rtmp: "rtmp";
|
|
27
24
|
annexb: "annexb";
|
|
25
|
+
custom: "custom";
|
|
28
26
|
"http-mjpeg": "http-mjpeg";
|
|
27
|
+
rtmp: "rtmp";
|
|
28
|
+
rtsp: "rtsp";
|
|
29
29
|
webrtc: "webrtc";
|
|
30
30
|
}>;
|
|
31
31
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -38,8 +38,8 @@ export declare const deviceOpsCapability: {
|
|
|
38
38
|
codec: z.ZodOptional<z.ZodString>;
|
|
39
39
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
40
40
|
high: "high";
|
|
41
|
-
mid: "mid";
|
|
42
41
|
low: "low";
|
|
42
|
+
mid: "mid";
|
|
43
43
|
}>>;
|
|
44
44
|
sdp: z.ZodOptional<z.ZodString>;
|
|
45
45
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -70,9 +70,9 @@ declare const FieldProbeResultSchema: z.ZodObject<{
|
|
|
70
70
|
error: z.ZodOptional<z.ZodString>;
|
|
71
71
|
}, z.core.$strip>;
|
|
72
72
|
export declare const deviceProviderCapability: {
|
|
73
|
-
readonly name:
|
|
74
|
-
readonly scope:
|
|
75
|
-
readonly mode:
|
|
73
|
+
readonly name: 'device-provider';
|
|
74
|
+
readonly scope: 'system';
|
|
75
|
+
readonly mode: 'collection';
|
|
76
76
|
readonly methods: {
|
|
77
77
|
readonly start: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodVoid, "mutation">;
|
|
78
78
|
readonly stop: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodVoid, "mutation">;
|
|
@@ -7,8 +7,8 @@ import { z } from 'zod';
|
|
|
7
7
|
* the claim methods (Task 6) share one union.
|
|
8
8
|
*/
|
|
9
9
|
export declare const FieldClaimModeSchema: z.ZodEnum<{
|
|
10
|
-
replace: "replace";
|
|
11
10
|
add: "add";
|
|
11
|
+
replace: "replace";
|
|
12
12
|
}>;
|
|
13
13
|
export type FieldClaimMode = z.infer<typeof FieldClaimModeSchema>;
|
|
14
14
|
/** What a claim, patch or release answers. A refusal always names its reason. */
|
|
@@ -18,13 +18,13 @@ export declare const ClaimOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
18
18
|
}, z.core.$strip>, z.ZodObject<{
|
|
19
19
|
ok: z.ZodLiteral<false>;
|
|
20
20
|
code: z.ZodEnum<{
|
|
21
|
-
"unknown-device": "unknown-device";
|
|
22
|
-
"owned-by-other": "owned-by-other";
|
|
23
|
-
"not-claimed": "not-claimed";
|
|
24
21
|
"field-not-claimed": "field-not-claimed";
|
|
25
22
|
"invalid-slice": "invalid-slice";
|
|
26
|
-
"row-unreadable": "row-unreadable";
|
|
27
23
|
"migration-in-flight": "migration-in-flight";
|
|
24
|
+
"not-claimed": "not-claimed";
|
|
25
|
+
"owned-by-other": "owned-by-other";
|
|
26
|
+
"row-unreadable": "row-unreadable";
|
|
27
|
+
"unknown-device": "unknown-device";
|
|
28
28
|
}>;
|
|
29
29
|
message: z.ZodString;
|
|
30
30
|
}, z.core.$strip>], "ok">;
|
|
@@ -35,8 +35,8 @@ export declare const FieldClaimSchema: z.ZodObject<{
|
|
|
35
35
|
capName: z.ZodString;
|
|
36
36
|
owner: z.ZodString;
|
|
37
37
|
mode: z.ZodEnum<{
|
|
38
|
-
replace: "replace";
|
|
39
38
|
add: "add";
|
|
39
|
+
replace: "replace";
|
|
40
40
|
}>;
|
|
41
41
|
fields: z.ZodArray<z.ZodString>;
|
|
42
42
|
}, z.core.$strip>;
|
|
@@ -54,8 +54,8 @@ export declare const ClaimsListingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
54
54
|
capName: z.ZodString;
|
|
55
55
|
owner: z.ZodString;
|
|
56
56
|
mode: z.ZodEnum<{
|
|
57
|
-
replace: "replace";
|
|
58
57
|
add: "add";
|
|
58
|
+
replace: "replace";
|
|
59
59
|
}>;
|
|
60
60
|
fields: z.ZodArray<z.ZodString>;
|
|
61
61
|
}, z.core.$strip>>;
|
|
@@ -88,9 +88,9 @@ export type ClaimsListing = z.infer<typeof ClaimsListingSchema>;
|
|
|
88
88
|
* defined on every new cap with runtime state.
|
|
89
89
|
*/
|
|
90
90
|
export declare const deviceStateCapability: {
|
|
91
|
-
readonly name:
|
|
92
|
-
readonly scope:
|
|
93
|
-
readonly mode:
|
|
91
|
+
readonly name: 'device-state';
|
|
92
|
+
readonly scope: 'system';
|
|
93
|
+
readonly mode: 'singleton';
|
|
94
94
|
readonly methods: {
|
|
95
95
|
/** Full state snapshot for one device. Empty object if no
|
|
96
96
|
* cap-keyed slice has been written yet. */
|
|
@@ -161,8 +161,8 @@ export declare const deviceStateCapability: {
|
|
|
161
161
|
capName: z.ZodString;
|
|
162
162
|
owner: z.ZodString;
|
|
163
163
|
mode: z.ZodEnum<{
|
|
164
|
-
replace: "replace";
|
|
165
164
|
add: "add";
|
|
165
|
+
replace: "replace";
|
|
166
166
|
}>;
|
|
167
167
|
fields: z.ZodArray<z.ZodString>;
|
|
168
168
|
values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -172,13 +172,13 @@ export declare const deviceStateCapability: {
|
|
|
172
172
|
}, z.core.$strip>, z.ZodObject<{
|
|
173
173
|
ok: z.ZodLiteral<false>;
|
|
174
174
|
code: z.ZodEnum<{
|
|
175
|
-
"unknown-device": "unknown-device";
|
|
176
|
-
"owned-by-other": "owned-by-other";
|
|
177
|
-
"not-claimed": "not-claimed";
|
|
178
175
|
"field-not-claimed": "field-not-claimed";
|
|
179
176
|
"invalid-slice": "invalid-slice";
|
|
180
|
-
"row-unreadable": "row-unreadable";
|
|
181
177
|
"migration-in-flight": "migration-in-flight";
|
|
178
|
+
"not-claimed": "not-claimed";
|
|
179
|
+
"owned-by-other": "owned-by-other";
|
|
180
|
+
"row-unreadable": "row-unreadable";
|
|
181
|
+
"unknown-device": "unknown-device";
|
|
182
182
|
}>;
|
|
183
183
|
message: z.ZodString;
|
|
184
184
|
}, z.core.$strip>], "ok">, "mutation">;
|
|
@@ -198,13 +198,13 @@ export declare const deviceStateCapability: {
|
|
|
198
198
|
}, z.core.$strip>, z.ZodObject<{
|
|
199
199
|
ok: z.ZodLiteral<false>;
|
|
200
200
|
code: z.ZodEnum<{
|
|
201
|
-
"unknown-device": "unknown-device";
|
|
202
|
-
"owned-by-other": "owned-by-other";
|
|
203
|
-
"not-claimed": "not-claimed";
|
|
204
201
|
"field-not-claimed": "field-not-claimed";
|
|
205
202
|
"invalid-slice": "invalid-slice";
|
|
206
|
-
"row-unreadable": "row-unreadable";
|
|
207
203
|
"migration-in-flight": "migration-in-flight";
|
|
204
|
+
"not-claimed": "not-claimed";
|
|
205
|
+
"owned-by-other": "owned-by-other";
|
|
206
|
+
"row-unreadable": "row-unreadable";
|
|
207
|
+
"unknown-device": "unknown-device";
|
|
208
208
|
}>;
|
|
209
209
|
message: z.ZodString;
|
|
210
210
|
}, z.core.$strip>], "ok">, "mutation">;
|
|
@@ -223,13 +223,13 @@ export declare const deviceStateCapability: {
|
|
|
223
223
|
}, z.core.$strip>, z.ZodObject<{
|
|
224
224
|
ok: z.ZodLiteral<false>;
|
|
225
225
|
code: z.ZodEnum<{
|
|
226
|
-
"unknown-device": "unknown-device";
|
|
227
|
-
"owned-by-other": "owned-by-other";
|
|
228
|
-
"not-claimed": "not-claimed";
|
|
229
226
|
"field-not-claimed": "field-not-claimed";
|
|
230
227
|
"invalid-slice": "invalid-slice";
|
|
231
|
-
"row-unreadable": "row-unreadable";
|
|
232
228
|
"migration-in-flight": "migration-in-flight";
|
|
229
|
+
"not-claimed": "not-claimed";
|
|
230
|
+
"owned-by-other": "owned-by-other";
|
|
231
|
+
"row-unreadable": "row-unreadable";
|
|
232
|
+
"unknown-device": "unknown-device";
|
|
233
233
|
}>;
|
|
234
234
|
message: z.ZodString;
|
|
235
235
|
}, z.core.$strip>], "ok">, "mutation">;
|
|
@@ -243,8 +243,8 @@ export declare const deviceStateCapability: {
|
|
|
243
243
|
capName: z.ZodString;
|
|
244
244
|
owner: z.ZodString;
|
|
245
245
|
mode: z.ZodEnum<{
|
|
246
|
-
replace: "replace";
|
|
247
246
|
add: "add";
|
|
247
|
+
replace: "replace";
|
|
248
248
|
}>;
|
|
249
249
|
fields: z.ZodArray<z.ZodString>;
|
|
250
250
|
}, z.core.$strip>>;
|
|
@@ -21,10 +21,10 @@ export declare const DeviceStatusSchema: z.ZodObject<{
|
|
|
21
21
|
}, z.core.$strip>;
|
|
22
22
|
export type DeviceStatus = z.infer<typeof DeviceStatusSchema>;
|
|
23
23
|
export declare const deviceStatusCapability: {
|
|
24
|
-
readonly name:
|
|
25
|
-
readonly scope:
|
|
24
|
+
readonly name: 'device-status';
|
|
25
|
+
readonly scope: 'device';
|
|
26
26
|
readonly deviceNative: true;
|
|
27
|
-
readonly mode:
|
|
27
|
+
readonly mode: 'singleton';
|
|
28
28
|
readonly methods: {};
|
|
29
29
|
readonly events: {
|
|
30
30
|
/** Emitted when `online` transitions. Mirrors the semantics of
|
|
@@ -44,7 +44,7 @@ export declare const deviceStatusCapability: {
|
|
|
44
44
|
online: z.ZodBoolean;
|
|
45
45
|
lastChangedAt: z.ZodNumber;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
|
-
readonly kind:
|
|
47
|
+
readonly kind: 'push';
|
|
48
48
|
};
|
|
49
49
|
readonly runtimeState: z.ZodObject<{
|
|
50
50
|
online: z.ZodBoolean;
|
|
@@ -56,7 +56,7 @@ export declare const deviceStatusCapability: {
|
|
|
56
56
|
* See `RuntimeStateDurability`. Enforced by
|
|
57
57
|
* `scripts/check-runtime-state-durability.ts`.
|
|
58
58
|
*/
|
|
59
|
-
readonly durability:
|
|
59
|
+
readonly durability: 'restored';
|
|
60
60
|
/** Clock fields: written, but excluded from the compare that decides
|
|
61
61
|
* whether persisting is worth a SQLite commit. */
|
|
62
62
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|