@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
|
@@ -14,22 +14,22 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
14
14
|
* classifier output coming FROM the camera, not the local pipeline.
|
|
15
15
|
*/
|
|
16
16
|
export declare const NativeObjectClassEnum: z.ZodEnum<{
|
|
17
|
-
person: "person";
|
|
18
|
-
vehicle: "vehicle";
|
|
19
17
|
animal: "animal";
|
|
20
|
-
package: "package";
|
|
21
18
|
face: "face";
|
|
22
19
|
other: "other";
|
|
20
|
+
package: "package";
|
|
21
|
+
person: "person";
|
|
22
|
+
vehicle: "vehicle";
|
|
23
23
|
}>;
|
|
24
24
|
export type NativeObjectClass = z.infer<typeof NativeObjectClassEnum>;
|
|
25
25
|
export declare const NativeDetectionSchema: z.ZodObject<{
|
|
26
26
|
class: z.ZodEnum<{
|
|
27
|
-
person: "person";
|
|
28
|
-
vehicle: "vehicle";
|
|
29
27
|
animal: "animal";
|
|
30
|
-
package: "package";
|
|
31
28
|
face: "face";
|
|
32
29
|
other: "other";
|
|
30
|
+
package: "package";
|
|
31
|
+
person: "person";
|
|
32
|
+
vehicle: "vehicle";
|
|
33
33
|
}>;
|
|
34
34
|
timestamp: z.ZodNumber;
|
|
35
35
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -37,31 +37,31 @@ export declare const NativeDetectionSchema: z.ZodObject<{
|
|
|
37
37
|
export type NativeDetection = z.infer<typeof NativeDetectionSchema>;
|
|
38
38
|
export declare const NativeObjectDetectionStatusSchema: z.ZodObject<{
|
|
39
39
|
lastByClass: z.ZodRecord<z.ZodEnum<{
|
|
40
|
-
person: "person";
|
|
41
|
-
vehicle: "vehicle";
|
|
42
40
|
animal: "animal";
|
|
43
|
-
package: "package";
|
|
44
41
|
face: "face";
|
|
45
42
|
other: "other";
|
|
43
|
+
package: "package";
|
|
44
|
+
person: "person";
|
|
45
|
+
vehicle: "vehicle";
|
|
46
46
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
47
47
|
class: z.ZodEnum<{
|
|
48
|
-
person: "person";
|
|
49
|
-
vehicle: "vehicle";
|
|
50
48
|
animal: "animal";
|
|
51
|
-
package: "package";
|
|
52
49
|
face: "face";
|
|
53
50
|
other: "other";
|
|
51
|
+
package: "package";
|
|
52
|
+
person: "person";
|
|
53
|
+
vehicle: "vehicle";
|
|
54
54
|
}>;
|
|
55
55
|
timestamp: z.ZodNumber;
|
|
56
56
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
57
57
|
}, z.core.$strip>>>;
|
|
58
58
|
supportedClasses: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
59
|
-
person: "person";
|
|
60
|
-
vehicle: "vehicle";
|
|
61
59
|
animal: "animal";
|
|
62
|
-
package: "package";
|
|
63
60
|
face: "face";
|
|
64
61
|
other: "other";
|
|
62
|
+
package: "package";
|
|
63
|
+
person: "person";
|
|
64
|
+
vehicle: "vehicle";
|
|
65
65
|
}>>>;
|
|
66
66
|
enabled: z.ZodBoolean;
|
|
67
67
|
}, z.core.$strip>;
|
|
@@ -87,23 +87,23 @@ export type NativeObjectDetectionStatus = z.infer<typeof NativeObjectDetectionSt
|
|
|
87
87
|
*/
|
|
88
88
|
export declare const NativeObjectGeometryEnum: z.ZodEnum<{
|
|
89
89
|
boxed: "boxed";
|
|
90
|
-
"while-streaming": "while-streaming";
|
|
91
90
|
"flag-only": "flag-only";
|
|
91
|
+
"while-streaming": "while-streaming";
|
|
92
92
|
}>;
|
|
93
93
|
export type NativeObjectGeometry = z.infer<typeof NativeObjectGeometryEnum>;
|
|
94
94
|
export declare const NativeObjectDetectionOptionsSchema: z.ZodObject<{
|
|
95
95
|
supportedClasses: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
96
|
-
person: "person";
|
|
97
|
-
vehicle: "vehicle";
|
|
98
96
|
animal: "animal";
|
|
99
|
-
package: "package";
|
|
100
97
|
face: "face";
|
|
101
98
|
other: "other";
|
|
99
|
+
package: "package";
|
|
100
|
+
person: "person";
|
|
101
|
+
vehicle: "vehicle";
|
|
102
102
|
}>>>;
|
|
103
103
|
geometry: z.ZodEnum<{
|
|
104
104
|
boxed: "boxed";
|
|
105
|
-
"while-streaming": "while-streaming";
|
|
106
105
|
"flag-only": "flag-only";
|
|
106
|
+
"while-streaming": "while-streaming";
|
|
107
107
|
}>;
|
|
108
108
|
}, z.core.$strip>;
|
|
109
109
|
export type NativeObjectDetectionOptions = z.infer<typeof NativeObjectDetectionOptionsSchema>;
|
|
@@ -113,58 +113,58 @@ export declare const NativeObjectDetectionSettingsPatchSchema: z.ZodObject<{
|
|
|
113
113
|
export type NativeObjectDetectionSettingsPatch = z.infer<typeof NativeObjectDetectionSettingsPatchSchema>;
|
|
114
114
|
export declare const NativeObjectDetectionRuntimeStateSchema: z.ZodObject<{
|
|
115
115
|
lastByClass: z.ZodRecord<z.ZodEnum<{
|
|
116
|
-
person: "person";
|
|
117
|
-
vehicle: "vehicle";
|
|
118
116
|
animal: "animal";
|
|
119
|
-
package: "package";
|
|
120
117
|
face: "face";
|
|
121
118
|
other: "other";
|
|
119
|
+
package: "package";
|
|
120
|
+
person: "person";
|
|
121
|
+
vehicle: "vehicle";
|
|
122
122
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
123
123
|
class: z.ZodEnum<{
|
|
124
|
-
person: "person";
|
|
125
|
-
vehicle: "vehicle";
|
|
126
124
|
animal: "animal";
|
|
127
|
-
package: "package";
|
|
128
125
|
face: "face";
|
|
129
126
|
other: "other";
|
|
127
|
+
package: "package";
|
|
128
|
+
person: "person";
|
|
129
|
+
vehicle: "vehicle";
|
|
130
130
|
}>;
|
|
131
131
|
timestamp: z.ZodNumber;
|
|
132
132
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
133
133
|
}, z.core.$strip>>>;
|
|
134
134
|
supportedClasses: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
135
|
-
person: "person";
|
|
136
|
-
vehicle: "vehicle";
|
|
137
135
|
animal: "animal";
|
|
138
|
-
package: "package";
|
|
139
136
|
face: "face";
|
|
140
137
|
other: "other";
|
|
138
|
+
package: "package";
|
|
139
|
+
person: "person";
|
|
140
|
+
vehicle: "vehicle";
|
|
141
141
|
}>>>;
|
|
142
142
|
enabled: z.ZodBoolean;
|
|
143
143
|
lastFetchedAt: z.ZodNumber;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
export type NativeObjectDetectionRuntimeState = z.infer<typeof NativeObjectDetectionRuntimeStateSchema>;
|
|
146
146
|
export declare const nativeObjectDetectionCapability: {
|
|
147
|
-
readonly name:
|
|
148
|
-
readonly scope:
|
|
147
|
+
readonly name: 'native-object-detection';
|
|
148
|
+
readonly scope: 'device';
|
|
149
149
|
readonly deviceNative: true;
|
|
150
|
-
readonly mode:
|
|
150
|
+
readonly mode: 'singleton';
|
|
151
151
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
152
152
|
readonly methods: {
|
|
153
153
|
readonly getOptions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
154
154
|
deviceId: z.ZodNumber;
|
|
155
155
|
}, z.core.$strip>, z.ZodObject<{
|
|
156
156
|
supportedClasses: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
157
|
-
person: "person";
|
|
158
|
-
vehicle: "vehicle";
|
|
159
157
|
animal: "animal";
|
|
160
|
-
package: "package";
|
|
161
158
|
face: "face";
|
|
162
159
|
other: "other";
|
|
160
|
+
package: "package";
|
|
161
|
+
person: "person";
|
|
162
|
+
vehicle: "vehicle";
|
|
163
163
|
}>>>;
|
|
164
164
|
geometry: z.ZodEnum<{
|
|
165
165
|
boxed: "boxed";
|
|
166
|
-
"while-streaming": "while-streaming";
|
|
167
166
|
"flag-only": "flag-only";
|
|
167
|
+
"while-streaming": "while-streaming";
|
|
168
168
|
}>;
|
|
169
169
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
170
170
|
readonly setSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -184,12 +184,12 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
184
184
|
deviceId: z.ZodNumber;
|
|
185
185
|
detection: z.ZodObject<{
|
|
186
186
|
class: z.ZodEnum<{
|
|
187
|
-
person: "person";
|
|
188
|
-
vehicle: "vehicle";
|
|
189
187
|
animal: "animal";
|
|
190
|
-
package: "package";
|
|
191
188
|
face: "face";
|
|
192
189
|
other: "other";
|
|
190
|
+
package: "package";
|
|
191
|
+
person: "person";
|
|
192
|
+
vehicle: "vehicle";
|
|
193
193
|
}>;
|
|
194
194
|
timestamp: z.ZodNumber;
|
|
195
195
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -200,63 +200,63 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
200
200
|
readonly status: {
|
|
201
201
|
readonly schema: z.ZodObject<{
|
|
202
202
|
lastByClass: z.ZodRecord<z.ZodEnum<{
|
|
203
|
-
person: "person";
|
|
204
|
-
vehicle: "vehicle";
|
|
205
203
|
animal: "animal";
|
|
206
|
-
package: "package";
|
|
207
204
|
face: "face";
|
|
208
205
|
other: "other";
|
|
206
|
+
package: "package";
|
|
207
|
+
person: "person";
|
|
208
|
+
vehicle: "vehicle";
|
|
209
209
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
210
210
|
class: z.ZodEnum<{
|
|
211
|
-
person: "person";
|
|
212
|
-
vehicle: "vehicle";
|
|
213
211
|
animal: "animal";
|
|
214
|
-
package: "package";
|
|
215
212
|
face: "face";
|
|
216
213
|
other: "other";
|
|
214
|
+
package: "package";
|
|
215
|
+
person: "person";
|
|
216
|
+
vehicle: "vehicle";
|
|
217
217
|
}>;
|
|
218
218
|
timestamp: z.ZodNumber;
|
|
219
219
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
220
220
|
}, z.core.$strip>>>;
|
|
221
221
|
supportedClasses: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
222
|
-
person: "person";
|
|
223
|
-
vehicle: "vehicle";
|
|
224
222
|
animal: "animal";
|
|
225
|
-
package: "package";
|
|
226
223
|
face: "face";
|
|
227
224
|
other: "other";
|
|
225
|
+
package: "package";
|
|
226
|
+
person: "person";
|
|
227
|
+
vehicle: "vehicle";
|
|
228
228
|
}>>>;
|
|
229
229
|
enabled: z.ZodBoolean;
|
|
230
230
|
}, z.core.$strip>;
|
|
231
|
-
readonly kind:
|
|
231
|
+
readonly kind: 'push';
|
|
232
232
|
};
|
|
233
233
|
readonly runtimeState: z.ZodObject<{
|
|
234
234
|
lastByClass: z.ZodRecord<z.ZodEnum<{
|
|
235
|
-
person: "person";
|
|
236
|
-
vehicle: "vehicle";
|
|
237
235
|
animal: "animal";
|
|
238
|
-
package: "package";
|
|
239
236
|
face: "face";
|
|
240
237
|
other: "other";
|
|
238
|
+
package: "package";
|
|
239
|
+
person: "person";
|
|
240
|
+
vehicle: "vehicle";
|
|
241
241
|
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
242
242
|
class: z.ZodEnum<{
|
|
243
|
-
person: "person";
|
|
244
|
-
vehicle: "vehicle";
|
|
245
243
|
animal: "animal";
|
|
246
|
-
package: "package";
|
|
247
244
|
face: "face";
|
|
248
245
|
other: "other";
|
|
246
|
+
package: "package";
|
|
247
|
+
person: "person";
|
|
248
|
+
vehicle: "vehicle";
|
|
249
249
|
}>;
|
|
250
250
|
timestamp: z.ZodNumber;
|
|
251
251
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
252
252
|
}, z.core.$strip>>>;
|
|
253
253
|
supportedClasses: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
254
|
-
person: "person";
|
|
255
|
-
vehicle: "vehicle";
|
|
256
254
|
animal: "animal";
|
|
257
|
-
package: "package";
|
|
258
255
|
face: "face";
|
|
259
256
|
other: "other";
|
|
257
|
+
package: "package";
|
|
258
|
+
person: "person";
|
|
259
|
+
vehicle: "vehicle";
|
|
260
260
|
}>>>;
|
|
261
261
|
enabled: z.ZodBoolean;
|
|
262
262
|
lastFetchedAt: z.ZodNumber;
|
|
@@ -267,7 +267,7 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
267
267
|
* See `RuntimeStateDurability`. Enforced by
|
|
268
268
|
* `scripts/check-runtime-state-durability.ts`.
|
|
269
269
|
*/
|
|
270
|
-
readonly durability:
|
|
270
|
+
readonly durability: 'restored';
|
|
271
271
|
/** Clock fields: written, but excluded from the compare that decides
|
|
272
272
|
* whether persisting is worth a SQLite commit. */
|
|
273
273
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -79,18 +79,18 @@ export type NavigationMoveCommand = z.infer<typeof NavigationMoveCommandSchema>;
|
|
|
79
79
|
* `playSound` (see the `sound` dictionary entries).
|
|
80
80
|
*/
|
|
81
81
|
export declare const NavigationActionIdSchema: z.ZodEnum<{
|
|
82
|
-
|
|
82
|
+
autoEmpty: "autoEmpty";
|
|
83
|
+
dockWash: "dockWash";
|
|
84
|
+
findPet: "findPet";
|
|
85
|
+
flashOff: "flashOff";
|
|
86
|
+
flashOn: "flashOn";
|
|
83
87
|
goHome: "goHome";
|
|
84
88
|
locate: "locate";
|
|
85
|
-
|
|
86
|
-
findPet: "findPet";
|
|
89
|
+
pauseClean: "pauseClean";
|
|
87
90
|
personFollow: "personFollow";
|
|
91
|
+
spotClean: "spotClean";
|
|
88
92
|
startClean: "startClean";
|
|
89
|
-
|
|
90
|
-
dockWash: "dockWash";
|
|
91
|
-
autoEmpty: "autoEmpty";
|
|
92
|
-
flashOn: "flashOn";
|
|
93
|
-
flashOff: "flashOff";
|
|
93
|
+
stop: "stop";
|
|
94
94
|
}>;
|
|
95
95
|
export type NavigationActionId = z.infer<typeof NavigationActionIdSchema>;
|
|
96
96
|
/** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
|
|
@@ -172,8 +172,8 @@ export declare const NavigationFeaturesSchema: z.ZodObject<{
|
|
|
172
172
|
export type NavigationFeatures = z.infer<typeof NavigationFeaturesSchema>;
|
|
173
173
|
/** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
|
|
174
174
|
export declare const NavigationLightModeSchema: z.ZodEnum<{
|
|
175
|
-
manual: "manual";
|
|
176
175
|
auto: "auto";
|
|
176
|
+
manual: "manual";
|
|
177
177
|
}>;
|
|
178
178
|
export type NavigationLightMode = z.infer<typeof NavigationLightModeSchema>;
|
|
179
179
|
/** Manual fill-light level bounds (the camera-service accepts 40..100). */
|
|
@@ -181,14 +181,14 @@ export declare const NAVIGATION_LIGHT_LEVEL_MIN = 40;
|
|
|
181
181
|
export declare const NAVIGATION_LIGHT_LEVEL_MAX = 100;
|
|
182
182
|
/** Coarse work mode the robot reports — drives the UI's active-state chips. */
|
|
183
183
|
export declare const NavigationModeSchema: z.ZodEnum<{
|
|
184
|
-
unknown: "unknown";
|
|
185
|
-
idle: "idle";
|
|
186
|
-
paused: "paused";
|
|
187
184
|
cleaning: "cleaning";
|
|
188
|
-
spot: "spot";
|
|
189
185
|
following: "following";
|
|
190
186
|
goto: "goto";
|
|
187
|
+
idle: "idle";
|
|
188
|
+
paused: "paused";
|
|
191
189
|
returning: "returning";
|
|
190
|
+
spot: "spot";
|
|
191
|
+
unknown: "unknown";
|
|
192
192
|
}>;
|
|
193
193
|
export type NavigationMode = z.infer<typeof NavigationModeSchema>;
|
|
194
194
|
/**
|
|
@@ -202,20 +202,20 @@ export type NavigationMode = z.infer<typeof NavigationModeSchema>;
|
|
|
202
202
|
*/
|
|
203
203
|
export declare const NavigationStatusSchema: z.ZodObject<{
|
|
204
204
|
mode: z.ZodEnum<{
|
|
205
|
-
unknown: "unknown";
|
|
206
|
-
idle: "idle";
|
|
207
|
-
paused: "paused";
|
|
208
205
|
cleaning: "cleaning";
|
|
209
|
-
spot: "spot";
|
|
210
206
|
following: "following";
|
|
211
207
|
goto: "goto";
|
|
208
|
+
idle: "idle";
|
|
209
|
+
paused: "paused";
|
|
212
210
|
returning: "returning";
|
|
211
|
+
spot: "spot";
|
|
212
|
+
unknown: "unknown";
|
|
213
213
|
}>;
|
|
214
214
|
following: z.ZodBoolean;
|
|
215
215
|
flash: z.ZodBoolean;
|
|
216
216
|
lightMode: z.ZodEnum<{
|
|
217
|
-
manual: "manual";
|
|
218
217
|
auto: "auto";
|
|
218
|
+
manual: "manual";
|
|
219
219
|
}>;
|
|
220
220
|
lightLevel: z.ZodNumber;
|
|
221
221
|
lastChangedAt: z.ZodNumber;
|
|
@@ -228,20 +228,20 @@ export type NavigationStatus = z.infer<typeof NavigationStatusSchema>;
|
|
|
228
228
|
*/
|
|
229
229
|
export declare const NavigationRuntimeStateSchema: z.ZodObject<{
|
|
230
230
|
mode: z.ZodEnum<{
|
|
231
|
-
unknown: "unknown";
|
|
232
|
-
idle: "idle";
|
|
233
|
-
paused: "paused";
|
|
234
231
|
cleaning: "cleaning";
|
|
235
|
-
spot: "spot";
|
|
236
232
|
following: "following";
|
|
237
233
|
goto: "goto";
|
|
234
|
+
idle: "idle";
|
|
235
|
+
paused: "paused";
|
|
238
236
|
returning: "returning";
|
|
237
|
+
spot: "spot";
|
|
238
|
+
unknown: "unknown";
|
|
239
239
|
}>;
|
|
240
240
|
following: z.ZodBoolean;
|
|
241
241
|
flash: z.ZodBoolean;
|
|
242
242
|
lightMode: z.ZodEnum<{
|
|
243
|
-
manual: "manual";
|
|
244
243
|
auto: "auto";
|
|
244
|
+
manual: "manual";
|
|
245
245
|
}>;
|
|
246
246
|
lightLevel: z.ZodNumber;
|
|
247
247
|
lastChangedAt: z.ZodNumber;
|
|
@@ -249,18 +249,18 @@ export declare const NavigationRuntimeStateSchema: z.ZodObject<{
|
|
|
249
249
|
}, z.core.$strip>;
|
|
250
250
|
export type NavigationRuntimeState = z.infer<typeof NavigationRuntimeStateSchema>;
|
|
251
251
|
export declare const navigationCapability: {
|
|
252
|
-
readonly name:
|
|
253
|
-
readonly scope:
|
|
252
|
+
readonly name: 'navigation';
|
|
253
|
+
readonly scope: 'device';
|
|
254
254
|
readonly deviceNative: true;
|
|
255
|
-
readonly mode:
|
|
255
|
+
readonly mode: 'singleton';
|
|
256
256
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
257
257
|
readonly deviceConfig: {
|
|
258
258
|
readonly ui: {
|
|
259
|
-
readonly kind:
|
|
260
|
-
readonly widgetId:
|
|
261
|
-
readonly tab:
|
|
259
|
+
readonly kind: 'widget';
|
|
260
|
+
readonly widgetId: 'host/navigation-panel';
|
|
261
|
+
readonly tab: 'navigation';
|
|
262
262
|
readonly topTab: true;
|
|
263
|
-
readonly label:
|
|
263
|
+
readonly label: 'Navigation';
|
|
264
264
|
readonly order: 0;
|
|
265
265
|
};
|
|
266
266
|
};
|
|
@@ -312,18 +312,18 @@ export declare const navigationCapability: {
|
|
|
312
312
|
readonly runAction: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
313
313
|
deviceId: z.ZodNumber;
|
|
314
314
|
actionId: z.ZodEnum<{
|
|
315
|
-
|
|
315
|
+
autoEmpty: "autoEmpty";
|
|
316
|
+
dockWash: "dockWash";
|
|
317
|
+
findPet: "findPet";
|
|
318
|
+
flashOff: "flashOff";
|
|
319
|
+
flashOn: "flashOn";
|
|
316
320
|
goHome: "goHome";
|
|
317
321
|
locate: "locate";
|
|
318
|
-
|
|
319
|
-
findPet: "findPet";
|
|
322
|
+
pauseClean: "pauseClean";
|
|
320
323
|
personFollow: "personFollow";
|
|
324
|
+
spotClean: "spotClean";
|
|
321
325
|
startClean: "startClean";
|
|
322
|
-
|
|
323
|
-
dockWash: "dockWash";
|
|
324
|
-
autoEmpty: "autoEmpty";
|
|
325
|
-
flashOn: "flashOn";
|
|
326
|
-
flashOff: "flashOff";
|
|
326
|
+
stop: "stop";
|
|
327
327
|
}>;
|
|
328
328
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
329
329
|
/** Play a sound by its wire id (the `soundId` of a `kind:'sound'` entry). */
|
|
@@ -348,8 +348,8 @@ export declare const navigationCapability: {
|
|
|
348
348
|
readonly setLightMode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
349
349
|
deviceId: z.ZodNumber;
|
|
350
350
|
mode: z.ZodEnum<{
|
|
351
|
-
manual: "manual";
|
|
352
351
|
auto: "auto";
|
|
352
|
+
manual: "manual";
|
|
353
353
|
}>;
|
|
354
354
|
level: z.ZodOptional<z.ZodNumber>;
|
|
355
355
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
@@ -381,20 +381,20 @@ export declare const navigationCapability: {
|
|
|
381
381
|
deviceId: z.ZodNumber;
|
|
382
382
|
status: z.ZodObject<{
|
|
383
383
|
mode: z.ZodEnum<{
|
|
384
|
-
unknown: "unknown";
|
|
385
|
-
idle: "idle";
|
|
386
|
-
paused: "paused";
|
|
387
384
|
cleaning: "cleaning";
|
|
388
|
-
spot: "spot";
|
|
389
385
|
following: "following";
|
|
390
386
|
goto: "goto";
|
|
387
|
+
idle: "idle";
|
|
388
|
+
paused: "paused";
|
|
391
389
|
returning: "returning";
|
|
390
|
+
spot: "spot";
|
|
391
|
+
unknown: "unknown";
|
|
392
392
|
}>;
|
|
393
393
|
following: z.ZodBoolean;
|
|
394
394
|
flash: z.ZodBoolean;
|
|
395
395
|
lightMode: z.ZodEnum<{
|
|
396
|
-
manual: "manual";
|
|
397
396
|
auto: "auto";
|
|
397
|
+
manual: "manual";
|
|
398
398
|
}>;
|
|
399
399
|
lightLevel: z.ZodNumber;
|
|
400
400
|
lastChangedAt: z.ZodNumber;
|
|
@@ -405,25 +405,25 @@ export declare const navigationCapability: {
|
|
|
405
405
|
readonly status: {
|
|
406
406
|
readonly schema: z.ZodObject<{
|
|
407
407
|
mode: z.ZodEnum<{
|
|
408
|
-
unknown: "unknown";
|
|
409
|
-
idle: "idle";
|
|
410
|
-
paused: "paused";
|
|
411
408
|
cleaning: "cleaning";
|
|
412
|
-
spot: "spot";
|
|
413
409
|
following: "following";
|
|
414
410
|
goto: "goto";
|
|
411
|
+
idle: "idle";
|
|
412
|
+
paused: "paused";
|
|
415
413
|
returning: "returning";
|
|
414
|
+
spot: "spot";
|
|
415
|
+
unknown: "unknown";
|
|
416
416
|
}>;
|
|
417
417
|
following: z.ZodBoolean;
|
|
418
418
|
flash: z.ZodBoolean;
|
|
419
419
|
lightMode: z.ZodEnum<{
|
|
420
|
-
manual: "manual";
|
|
421
420
|
auto: "auto";
|
|
421
|
+
manual: "manual";
|
|
422
422
|
}>;
|
|
423
423
|
lightLevel: z.ZodNumber;
|
|
424
424
|
lastChangedAt: z.ZodNumber;
|
|
425
425
|
}, z.core.$strip>;
|
|
426
|
-
readonly kind:
|
|
426
|
+
readonly kind: 'push';
|
|
427
427
|
};
|
|
428
428
|
/**
|
|
429
429
|
* Runtime-state slice mirrored by the kernel. The navigation panel watches it
|
|
@@ -431,20 +431,20 @@ export declare const navigationCapability: {
|
|
|
431
431
|
*/
|
|
432
432
|
readonly runtimeState: z.ZodObject<{
|
|
433
433
|
mode: z.ZodEnum<{
|
|
434
|
-
unknown: "unknown";
|
|
435
|
-
idle: "idle";
|
|
436
|
-
paused: "paused";
|
|
437
434
|
cleaning: "cleaning";
|
|
438
|
-
spot: "spot";
|
|
439
435
|
following: "following";
|
|
440
436
|
goto: "goto";
|
|
437
|
+
idle: "idle";
|
|
438
|
+
paused: "paused";
|
|
441
439
|
returning: "returning";
|
|
440
|
+
spot: "spot";
|
|
441
|
+
unknown: "unknown";
|
|
442
442
|
}>;
|
|
443
443
|
following: z.ZodBoolean;
|
|
444
444
|
flash: z.ZodBoolean;
|
|
445
445
|
lightMode: z.ZodEnum<{
|
|
446
|
-
manual: "manual";
|
|
447
446
|
auto: "auto";
|
|
447
|
+
manual: "manual";
|
|
448
448
|
}>;
|
|
449
449
|
lightLevel: z.ZodNumber;
|
|
450
450
|
lastChangedAt: z.ZodNumber;
|
|
@@ -458,6 +458,6 @@ export declare const navigationCapability: {
|
|
|
458
458
|
* See `RuntimeStateDurability`. Enforced by
|
|
459
459
|
* `scripts/check-runtime-state-durability.ts`.
|
|
460
460
|
*/
|
|
461
|
-
readonly durability:
|
|
461
|
+
readonly durability: 'session';
|
|
462
462
|
};
|
|
463
463
|
export type INavigationProvider = InferProvider<typeof navigationCapability>;
|
|
@@ -46,10 +46,10 @@ declare const NetworkEndpointEntrySchema: z.ZodObject<{
|
|
|
46
46
|
sourcePort: z.ZodOptional<z.ZodNumber>;
|
|
47
47
|
}, z.core.$strip>;
|
|
48
48
|
export declare const networkAccessCapability: {
|
|
49
|
-
readonly name:
|
|
50
|
-
readonly scope:
|
|
51
|
-
readonly mode:
|
|
52
|
-
readonly providerKind:
|
|
49
|
+
readonly name: 'network-access';
|
|
50
|
+
readonly scope: 'system';
|
|
51
|
+
readonly mode: 'collection';
|
|
52
|
+
readonly providerKind: 'ingress';
|
|
53
53
|
readonly methods: {
|
|
54
54
|
readonly start: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
55
55
|
url: z.ZodString;
|
|
@@ -15,7 +15,7 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
15
15
|
* registered the capability but has not read the link yet (D315: unknown is
|
|
16
16
|
* not empty). Consumers skip it rather than draw a wire or a bar.
|
|
17
17
|
*/
|
|
18
|
-
export declare const NETWORK_LINK_TYPES: readonly [
|
|
18
|
+
export declare const NETWORK_LINK_TYPES: readonly ['wifi', 'ethernet', 'cellular', 'unknown'];
|
|
19
19
|
export type NetworkLinkType = (typeof NETWORK_LINK_TYPES)[number];
|
|
20
20
|
/**
|
|
21
21
|
* Network-link snapshot. Same shape for every provider (a Reolink wifi
|
|
@@ -25,10 +25,10 @@ export type NetworkLinkType = (typeof NETWORK_LINK_TYPES)[number];
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const NetworkLinkStatusSchema: z.ZodObject<{
|
|
27
27
|
type: z.ZodEnum<{
|
|
28
|
+
cellular: "cellular";
|
|
29
|
+
ethernet: "ethernet";
|
|
28
30
|
unknown: "unknown";
|
|
29
31
|
wifi: "wifi";
|
|
30
|
-
ethernet: "ethernet";
|
|
31
|
-
cellular: "cellular";
|
|
32
32
|
}>;
|
|
33
33
|
signalPercent: z.ZodNullable<z.ZodNumber>;
|
|
34
34
|
rssiDbm: z.ZodOptional<z.ZodNumber>;
|
|
@@ -50,10 +50,10 @@ export declare function signalPercentFromBars(bars: number | undefined, maxBars:
|
|
|
50
50
|
*/
|
|
51
51
|
export declare function signalPercentFromRssi(rssiDbm: number | undefined): number | null;
|
|
52
52
|
export declare const networkLinkCapability: {
|
|
53
|
-
readonly name:
|
|
54
|
-
readonly scope:
|
|
53
|
+
readonly name: 'network-link';
|
|
54
|
+
readonly scope: 'device';
|
|
55
55
|
readonly deviceNative: true;
|
|
56
|
-
readonly mode:
|
|
56
|
+
readonly mode: 'singleton';
|
|
57
57
|
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren];
|
|
58
58
|
readonly methods: {};
|
|
59
59
|
readonly events: {
|
|
@@ -67,10 +67,10 @@ export declare const networkLinkCapability: {
|
|
|
67
67
|
deviceId: z.ZodNumber;
|
|
68
68
|
status: z.ZodObject<{
|
|
69
69
|
type: z.ZodEnum<{
|
|
70
|
+
cellular: "cellular";
|
|
71
|
+
ethernet: "ethernet";
|
|
70
72
|
unknown: "unknown";
|
|
71
73
|
wifi: "wifi";
|
|
72
|
-
ethernet: "ethernet";
|
|
73
|
-
cellular: "cellular";
|
|
74
74
|
}>;
|
|
75
75
|
signalPercent: z.ZodNullable<z.ZodNumber>;
|
|
76
76
|
rssiDbm: z.ZodOptional<z.ZodNumber>;
|
|
@@ -83,23 +83,23 @@ export declare const networkLinkCapability: {
|
|
|
83
83
|
readonly status: {
|
|
84
84
|
readonly schema: z.ZodObject<{
|
|
85
85
|
type: z.ZodEnum<{
|
|
86
|
+
cellular: "cellular";
|
|
87
|
+
ethernet: "ethernet";
|
|
86
88
|
unknown: "unknown";
|
|
87
89
|
wifi: "wifi";
|
|
88
|
-
ethernet: "ethernet";
|
|
89
|
-
cellular: "cellular";
|
|
90
90
|
}>;
|
|
91
91
|
signalPercent: z.ZodNullable<z.ZodNumber>;
|
|
92
92
|
rssiDbm: z.ZodOptional<z.ZodNumber>;
|
|
93
93
|
ssid: z.ZodOptional<z.ZodString>;
|
|
94
94
|
lastUpdated: z.ZodNumber;
|
|
95
95
|
}, z.core.$strip>;
|
|
96
|
-
readonly kind:
|
|
96
|
+
readonly kind: 'push';
|
|
97
97
|
readonly empty: {
|
|
98
|
-
type: "
|
|
98
|
+
type: "cellular" | "ethernet" | "unknown" | "wifi";
|
|
99
99
|
signalPercent: number | null;
|
|
100
|
-
lastUpdated: number;
|
|
101
100
|
rssiDbm?: number | undefined;
|
|
102
101
|
ssid?: string | undefined;
|
|
102
|
+
lastUpdated: number;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
@@ -109,10 +109,10 @@ export declare const networkLinkCapability: {
|
|
|
109
109
|
*/
|
|
110
110
|
readonly runtimeState: z.ZodObject<{
|
|
111
111
|
type: z.ZodEnum<{
|
|
112
|
+
cellular: "cellular";
|
|
113
|
+
ethernet: "ethernet";
|
|
112
114
|
unknown: "unknown";
|
|
113
115
|
wifi: "wifi";
|
|
114
|
-
ethernet: "ethernet";
|
|
115
|
-
cellular: "cellular";
|
|
116
116
|
}>;
|
|
117
117
|
signalPercent: z.ZodNullable<z.ZodNumber>;
|
|
118
118
|
rssiDbm: z.ZodOptional<z.ZodNumber>;
|
|
@@ -127,7 +127,7 @@ export declare const networkLinkCapability: {
|
|
|
127
127
|
* See `RuntimeStateDurability`. Enforced by
|
|
128
128
|
* `scripts/check-runtime-state-durability.ts`.
|
|
129
129
|
*/
|
|
130
|
-
readonly durability:
|
|
130
|
+
readonly durability: 'restored';
|
|
131
131
|
/** Clock fields: written, but excluded from the compare that decides
|
|
132
132
|
* whether persisting is worth a SQLite commit. */
|
|
133
133
|
readonly volatileStateFields: readonly ["lastUpdated"];
|
|
@@ -50,9 +50,9 @@ declare const DeviceNetworkStatsSchema: z.ZodObject<{
|
|
|
50
50
|
}, z.core.$strip>>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export declare const networkQualityCapability: {
|
|
53
|
-
readonly name:
|
|
54
|
-
readonly scope:
|
|
55
|
-
readonly mode:
|
|
53
|
+
readonly name: 'network-quality';
|
|
54
|
+
readonly scope: 'system';
|
|
55
|
+
readonly mode: 'singleton';
|
|
56
56
|
readonly methods: {
|
|
57
57
|
readonly getDeviceStats: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
58
58
|
deviceId: z.ZodNumber;
|
|
@@ -106,7 +106,7 @@ export declare const networkQualityCapability: {
|
|
|
106
106
|
};
|
|
107
107
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
108
108
|
readonly mount: {
|
|
109
|
-
readonly kind:
|
|
109
|
+
readonly kind: 'server-provided';
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
112
|
export type INetworkQualityProvider = InferProvider<typeof networkQualityCapability>;
|