@camstack/types 1.2.336 → 1.2.337
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 +275 -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 +66 -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/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/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 +78 -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
|
@@ -15,10 +15,10 @@ export declare const ConnectivityStatusSchema: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
export type ConnectivityStatus = z.infer<typeof ConnectivityStatusSchema>;
|
|
17
17
|
export declare const connectivityCapability: {
|
|
18
|
-
readonly name:
|
|
19
|
-
readonly scope:
|
|
18
|
+
readonly name: 'connectivity';
|
|
19
|
+
readonly scope: 'device';
|
|
20
20
|
readonly deviceNative: true;
|
|
21
|
-
readonly mode:
|
|
21
|
+
readonly mode: 'singleton';
|
|
22
22
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
23
23
|
readonly methods: {};
|
|
24
24
|
readonly status: {
|
|
@@ -26,7 +26,7 @@ export declare const connectivityCapability: {
|
|
|
26
26
|
connected: z.ZodBoolean;
|
|
27
27
|
lastChangedAt: z.ZodNumber;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
|
-
readonly kind:
|
|
29
|
+
readonly kind: 'push';
|
|
30
30
|
};
|
|
31
31
|
readonly runtimeState: z.ZodObject<{
|
|
32
32
|
connected: z.ZodBoolean;
|
|
@@ -38,7 +38,7 @@ export declare const connectivityCapability: {
|
|
|
38
38
|
* See `RuntimeStateDurability`. Enforced by
|
|
39
39
|
* `scripts/check-runtime-state-durability.ts`.
|
|
40
40
|
*/
|
|
41
|
-
readonly durability:
|
|
41
|
+
readonly durability: 'restored';
|
|
42
42
|
/** Clock fields: written, but excluded from the compare that decides
|
|
43
43
|
* whether persisting is worth a SQLite commit. */
|
|
44
44
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -41,8 +41,8 @@ export declare const ConsumableItemSchema: z.ZodObject<{
|
|
|
41
41
|
label: z.ZodString;
|
|
42
42
|
level: z.ZodNullable<z.ZodNumber>;
|
|
43
43
|
status: z.ZodNullable<z.ZodEnum<{
|
|
44
|
-
replace: "replace";
|
|
45
44
|
ok: "ok";
|
|
45
|
+
replace: "replace";
|
|
46
46
|
}>>;
|
|
47
47
|
lastResetAt: z.ZodNullable<z.ZodNumber>;
|
|
48
48
|
resettable: z.ZodBoolean;
|
|
@@ -61,8 +61,8 @@ export declare const ConsumablesStatusSchema: z.ZodObject<{
|
|
|
61
61
|
label: z.ZodString;
|
|
62
62
|
level: z.ZodNullable<z.ZodNumber>;
|
|
63
63
|
status: z.ZodNullable<z.ZodEnum<{
|
|
64
|
-
replace: "replace";
|
|
65
64
|
ok: "ok";
|
|
65
|
+
replace: "replace";
|
|
66
66
|
}>>;
|
|
67
67
|
lastResetAt: z.ZodNullable<z.ZodNumber>;
|
|
68
68
|
resettable: z.ZodBoolean;
|
|
@@ -80,18 +80,18 @@ export declare const ConsumablesStatusSchema: z.ZodObject<{
|
|
|
80
80
|
export type ConsumableItem = z.infer<typeof ConsumableItemSchema>;
|
|
81
81
|
export type ConsumablesStatus = z.infer<typeof ConsumablesStatusSchema>;
|
|
82
82
|
export declare const consumablesCapability: {
|
|
83
|
-
readonly name:
|
|
84
|
-
readonly scope:
|
|
83
|
+
readonly name: 'consumables';
|
|
84
|
+
readonly scope: 'device';
|
|
85
85
|
readonly deviceNative: true;
|
|
86
|
-
readonly mode:
|
|
86
|
+
readonly mode: 'singleton';
|
|
87
87
|
readonly deviceTypes: DeviceType[];
|
|
88
88
|
readonly deviceConfig: {
|
|
89
89
|
readonly ui: {
|
|
90
|
-
readonly kind:
|
|
91
|
-
readonly widgetId:
|
|
92
|
-
readonly tab:
|
|
90
|
+
readonly kind: 'widget';
|
|
91
|
+
readonly widgetId: 'host/consumables-panel';
|
|
92
|
+
readonly tab: 'consumables';
|
|
93
93
|
readonly topTab: true;
|
|
94
|
-
readonly label:
|
|
94
|
+
readonly label: 'Consumables';
|
|
95
95
|
readonly order: 5;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
@@ -111,8 +111,8 @@ export declare const consumablesCapability: {
|
|
|
111
111
|
*/
|
|
112
112
|
readonly composedMethods: {
|
|
113
113
|
readonly reset: {
|
|
114
|
-
readonly kind:
|
|
115
|
-
readonly reason:
|
|
114
|
+
readonly kind: 'refuse';
|
|
115
|
+
readonly reason: 'a composed consumable is not resettable until commands (forward) arrive — slice 3';
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
118
|
readonly status: {
|
|
@@ -122,8 +122,8 @@ export declare const consumablesCapability: {
|
|
|
122
122
|
label: z.ZodString;
|
|
123
123
|
level: z.ZodNullable<z.ZodNumber>;
|
|
124
124
|
status: z.ZodNullable<z.ZodEnum<{
|
|
125
|
-
replace: "replace";
|
|
126
125
|
ok: "ok";
|
|
126
|
+
replace: "replace";
|
|
127
127
|
}>>;
|
|
128
128
|
lastResetAt: z.ZodNullable<z.ZodNumber>;
|
|
129
129
|
resettable: z.ZodBoolean;
|
|
@@ -138,13 +138,13 @@ export declare const consumablesCapability: {
|
|
|
138
138
|
}, z.core.$strip>>;
|
|
139
139
|
lastChangedAt: z.ZodNumber;
|
|
140
140
|
}, z.core.$strip>;
|
|
141
|
-
readonly kind:
|
|
141
|
+
readonly kind: 'push';
|
|
142
142
|
readonly empty: {
|
|
143
143
|
items: {
|
|
144
144
|
key: string;
|
|
145
145
|
label: string;
|
|
146
146
|
level: number | null;
|
|
147
|
-
status: "
|
|
147
|
+
status: "ok" | "replace" | null;
|
|
148
148
|
lastResetAt: number | null;
|
|
149
149
|
resettable: boolean;
|
|
150
150
|
remaining?: {
|
|
@@ -155,16 +155,16 @@ export declare const consumablesCapability: {
|
|
|
155
155
|
lastChangedAt: number;
|
|
156
156
|
};
|
|
157
157
|
readonly itemArray: {
|
|
158
|
-
readonly path:
|
|
159
|
-
readonly keyField:
|
|
160
|
-
readonly labelField:
|
|
158
|
+
readonly path: 'items';
|
|
159
|
+
readonly keyField: 'key';
|
|
160
|
+
readonly labelField: 'label';
|
|
161
161
|
readonly itemSchema: z.ZodObject<{
|
|
162
162
|
key: z.ZodString;
|
|
163
163
|
label: z.ZodString;
|
|
164
164
|
level: z.ZodNullable<z.ZodNumber>;
|
|
165
165
|
status: z.ZodNullable<z.ZodEnum<{
|
|
166
|
-
replace: "replace";
|
|
167
166
|
ok: "ok";
|
|
167
|
+
replace: "replace";
|
|
168
168
|
}>>;
|
|
169
169
|
lastResetAt: z.ZodNullable<z.ZodNumber>;
|
|
170
170
|
resettable: z.ZodBoolean;
|
|
@@ -181,7 +181,7 @@ export declare const consumablesCapability: {
|
|
|
181
181
|
key: string;
|
|
182
182
|
label: string;
|
|
183
183
|
level: number | null;
|
|
184
|
-
status: "
|
|
184
|
+
status: "ok" | "replace" | null;
|
|
185
185
|
lastResetAt: number | null;
|
|
186
186
|
resettable: boolean;
|
|
187
187
|
remaining?: {
|
|
@@ -197,8 +197,8 @@ export declare const consumablesCapability: {
|
|
|
197
197
|
label: z.ZodString;
|
|
198
198
|
level: z.ZodNullable<z.ZodNumber>;
|
|
199
199
|
status: z.ZodNullable<z.ZodEnum<{
|
|
200
|
-
replace: "replace";
|
|
201
200
|
ok: "ok";
|
|
201
|
+
replace: "replace";
|
|
202
202
|
}>>;
|
|
203
203
|
lastResetAt: z.ZodNullable<z.ZodNumber>;
|
|
204
204
|
resettable: z.ZodBoolean;
|
|
@@ -226,7 +226,7 @@ export declare const consumablesCapability: {
|
|
|
226
226
|
* See `RuntimeStateDurability`. Enforced by
|
|
227
227
|
* `scripts/check-runtime-state-durability.ts`.
|
|
228
228
|
*/
|
|
229
|
-
readonly durability:
|
|
229
|
+
readonly durability: 'restored';
|
|
230
230
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
231
231
|
readonly volatileStateFields: readonly ["lastChangedAt", "lastFetchedAt"];
|
|
232
232
|
};
|
|
@@ -19,10 +19,10 @@ export declare const ContactStatusSchema: z.ZodObject<{
|
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
export type ContactStatus = z.infer<typeof ContactStatusSchema>;
|
|
21
21
|
export declare const contactCapability: {
|
|
22
|
-
readonly name:
|
|
23
|
-
readonly scope:
|
|
22
|
+
readonly name: 'contact';
|
|
23
|
+
readonly scope: 'device';
|
|
24
24
|
readonly deviceNative: true;
|
|
25
|
-
readonly mode:
|
|
25
|
+
readonly mode: 'singleton';
|
|
26
26
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
27
27
|
readonly methods: {};
|
|
28
28
|
readonly status: {
|
|
@@ -30,7 +30,7 @@ export declare const contactCapability: {
|
|
|
30
30
|
entryOpen: z.ZodBoolean;
|
|
31
31
|
lastChangedAt: z.ZodNumber;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
|
-
readonly kind:
|
|
33
|
+
readonly kind: 'push';
|
|
34
34
|
};
|
|
35
35
|
readonly runtimeState: z.ZodObject<{
|
|
36
36
|
entryOpen: z.ZodBoolean;
|
|
@@ -42,7 +42,7 @@ export declare const contactCapability: {
|
|
|
42
42
|
* See `RuntimeStateDurability`. Enforced by
|
|
43
43
|
* `scripts/check-runtime-state-durability.ts`.
|
|
44
44
|
*/
|
|
45
|
-
readonly durability:
|
|
45
|
+
readonly durability: 'restored';
|
|
46
46
|
/** Clock fields: written, but excluded from the compare that decides
|
|
47
47
|
* whether persisting is worth a SQLite commit. */
|
|
48
48
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -25,10 +25,10 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
25
25
|
* separate `sourceInfo` or device-config blob for these values.
|
|
26
26
|
*/
|
|
27
27
|
export declare const ControlKindSchema: z.ZodEnum<{
|
|
28
|
-
text: "text";
|
|
29
|
-
select: "select";
|
|
30
28
|
datetime: "datetime";
|
|
31
29
|
numeric: "numeric";
|
|
30
|
+
select: "select";
|
|
31
|
+
text: "text";
|
|
32
32
|
}>;
|
|
33
33
|
export type ControlKind = z.infer<typeof ControlKindSchema>;
|
|
34
34
|
/**
|
|
@@ -53,10 +53,10 @@ export type ControlKind = z.infer<typeof ControlKindSchema>;
|
|
|
53
53
|
*/
|
|
54
54
|
export declare const ControlStatusSchema: z.ZodObject<{
|
|
55
55
|
kind: z.ZodEnum<{
|
|
56
|
-
text: "text";
|
|
57
|
-
select: "select";
|
|
58
56
|
datetime: "datetime";
|
|
59
57
|
numeric: "numeric";
|
|
58
|
+
select: "select";
|
|
59
|
+
text: "text";
|
|
60
60
|
}>;
|
|
61
61
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
62
62
|
options: z.ZodArray<z.ZodString>;
|
|
@@ -67,8 +67,8 @@ export declare const ControlStatusSchema: z.ZodObject<{
|
|
|
67
67
|
step: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
69
69
|
format: z.ZodOptional<z.ZodEnum<{
|
|
70
|
-
datetime: "datetime";
|
|
71
70
|
date: "date";
|
|
71
|
+
datetime: "datetime";
|
|
72
72
|
time: "time";
|
|
73
73
|
}>>;
|
|
74
74
|
}, z.core.$strip>;
|
|
@@ -88,10 +88,10 @@ declare const ControlSetValueInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
88
88
|
}, z.core.$strip>], "kind">;
|
|
89
89
|
export type ControlSetValueInput = z.infer<typeof ControlSetValueInputSchema>;
|
|
90
90
|
export declare const controlCapability: {
|
|
91
|
-
readonly name:
|
|
92
|
-
readonly scope:
|
|
91
|
+
readonly name: 'control';
|
|
92
|
+
readonly scope: 'device';
|
|
93
93
|
readonly deviceNative: true;
|
|
94
|
-
readonly mode:
|
|
94
|
+
readonly mode: 'singleton';
|
|
95
95
|
readonly deviceTypes: readonly [DeviceType.Control];
|
|
96
96
|
readonly methods: {
|
|
97
97
|
readonly setValue: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -114,10 +114,10 @@ export declare const controlCapability: {
|
|
|
114
114
|
readonly status: {
|
|
115
115
|
readonly schema: z.ZodObject<{
|
|
116
116
|
kind: z.ZodEnum<{
|
|
117
|
-
text: "text";
|
|
118
|
-
select: "select";
|
|
119
117
|
datetime: "datetime";
|
|
120
118
|
numeric: "numeric";
|
|
119
|
+
select: "select";
|
|
120
|
+
text: "text";
|
|
121
121
|
}>;
|
|
122
122
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
123
123
|
options: z.ZodArray<z.ZodString>;
|
|
@@ -128,12 +128,12 @@ export declare const controlCapability: {
|
|
|
128
128
|
step: z.ZodOptional<z.ZodNumber>;
|
|
129
129
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
130
130
|
format: z.ZodOptional<z.ZodEnum<{
|
|
131
|
-
datetime: "datetime";
|
|
132
131
|
date: "date";
|
|
132
|
+
datetime: "datetime";
|
|
133
133
|
time: "time";
|
|
134
134
|
}>>;
|
|
135
135
|
}, z.core.$strip>;
|
|
136
|
-
readonly kind:
|
|
136
|
+
readonly kind: 'push';
|
|
137
137
|
};
|
|
138
138
|
/**
|
|
139
139
|
* Runtime-state slice — mirrored by the kernel. UI widgets (slider /
|
|
@@ -142,10 +142,10 @@ export declare const controlCapability: {
|
|
|
142
142
|
*/
|
|
143
143
|
readonly runtimeState: z.ZodObject<{
|
|
144
144
|
kind: z.ZodEnum<{
|
|
145
|
-
text: "text";
|
|
146
|
-
select: "select";
|
|
147
145
|
datetime: "datetime";
|
|
148
146
|
numeric: "numeric";
|
|
147
|
+
select: "select";
|
|
148
|
+
text: "text";
|
|
149
149
|
}>;
|
|
150
150
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
151
151
|
options: z.ZodArray<z.ZodString>;
|
|
@@ -156,8 +156,8 @@ export declare const controlCapability: {
|
|
|
156
156
|
step: z.ZodOptional<z.ZodNumber>;
|
|
157
157
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
158
158
|
format: z.ZodOptional<z.ZodEnum<{
|
|
159
|
-
datetime: "datetime";
|
|
160
159
|
date: "date";
|
|
160
|
+
datetime: "datetime";
|
|
161
161
|
time: "time";
|
|
162
162
|
}>>;
|
|
163
163
|
}, z.core.$strip>;
|
|
@@ -167,7 +167,7 @@ export declare const controlCapability: {
|
|
|
167
167
|
* See `RuntimeStateDurability`. Enforced by
|
|
168
168
|
* `scripts/check-runtime-state-durability.ts`.
|
|
169
169
|
*/
|
|
170
|
-
readonly durability:
|
|
170
|
+
readonly durability: 'session';
|
|
171
171
|
};
|
|
172
172
|
export type IControlProvider = InferProvider<typeof controlCapability>;
|
|
173
173
|
export {};
|