@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
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const CamProfileSchema: z.ZodEnum<{
|
|
4
4
|
high: "high";
|
|
5
|
-
mid: "mid";
|
|
6
5
|
low: "low";
|
|
6
|
+
mid: "mid";
|
|
7
7
|
}>;
|
|
8
8
|
export type CamProfile = z.infer<typeof CamProfileSchema>;
|
|
9
9
|
/** Canonical ordering. Hard-coded; never sorted. */
|
|
10
|
-
export declare const CAM_PROFILE_ORDER: readonly [
|
|
10
|
+
export declare const CAM_PROFILE_ORDER: readonly ['high', 'mid', 'low'];
|
|
11
11
|
/**
|
|
12
12
|
* Which rung a per-camera consumer listens on: an explicit profile, or `auto`.
|
|
13
13
|
*
|
|
@@ -20,18 +20,18 @@ export declare const CAM_PROFILE_ORDER: readonly ["high", "mid", "low"];
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const AudioStreamPickSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
22
22
|
high: "high";
|
|
23
|
-
mid: "mid";
|
|
24
23
|
low: "low";
|
|
24
|
+
mid: "mid";
|
|
25
25
|
}>, z.ZodLiteral<"auto">]>;
|
|
26
26
|
export type AudioStreamPick = z.infer<typeof AudioStreamPickSchema>;
|
|
27
27
|
export declare const CamStreamKindSchema: z.ZodEnum<{
|
|
28
|
-
|
|
29
|
-
"pull-rtmp": "pull-rtmp";
|
|
30
|
-
"pull-http": "pull-http";
|
|
28
|
+
derived: "derived";
|
|
31
29
|
"pull-flv": "pull-flv";
|
|
30
|
+
"pull-http": "pull-http";
|
|
32
31
|
"pull-rfc4571": "pull-rfc4571";
|
|
32
|
+
"pull-rtmp": "pull-rtmp";
|
|
33
|
+
"pull-rtsp": "pull-rtsp";
|
|
33
34
|
"push-annexb": "push-annexb";
|
|
34
|
-
derived: "derived";
|
|
35
35
|
}>;
|
|
36
36
|
export type CamStreamKind = z.infer<typeof CamStreamKindSchema>;
|
|
37
37
|
export declare const CamStreamResolutionSchema: z.ZodObject<{
|
|
@@ -42,13 +42,13 @@ export declare const CameraStreamSchema: z.ZodObject<{
|
|
|
42
42
|
camStreamId: z.ZodString;
|
|
43
43
|
deviceId: z.ZodNumber;
|
|
44
44
|
kind: z.ZodEnum<{
|
|
45
|
-
|
|
46
|
-
"pull-rtmp": "pull-rtmp";
|
|
47
|
-
"pull-http": "pull-http";
|
|
45
|
+
derived: "derived";
|
|
48
46
|
"pull-flv": "pull-flv";
|
|
47
|
+
"pull-http": "pull-http";
|
|
49
48
|
"pull-rfc4571": "pull-rfc4571";
|
|
49
|
+
"pull-rtmp": "pull-rtmp";
|
|
50
|
+
"pull-rtsp": "pull-rtsp";
|
|
50
51
|
"push-annexb": "push-annexb";
|
|
51
|
-
derived: "derived";
|
|
52
52
|
}>;
|
|
53
53
|
url: z.ZodOptional<z.ZodString>;
|
|
54
54
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -62,35 +62,35 @@ export declare const CameraStreamSchema: z.ZodObject<{
|
|
|
62
62
|
autoEligible: z.ZodOptional<z.ZodBoolean>;
|
|
63
63
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
64
64
|
high: "high";
|
|
65
|
-
mid: "mid";
|
|
66
65
|
low: "low";
|
|
66
|
+
mid: "mid";
|
|
67
67
|
}>>;
|
|
68
68
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
70
|
export type CameraStream = z.infer<typeof CameraStreamSchema>;
|
|
71
71
|
export declare const ProfileSlotStatusSchema: z.ZodEnum<{
|
|
72
|
+
connecting: "connecting";
|
|
72
73
|
error: "error";
|
|
73
74
|
idle: "idle";
|
|
74
|
-
unassigned: "unassigned";
|
|
75
|
-
connecting: "connecting";
|
|
76
75
|
streaming: "streaming";
|
|
76
|
+
unassigned: "unassigned";
|
|
77
77
|
}>;
|
|
78
78
|
export type ProfileSlotStatus = z.infer<typeof ProfileSlotStatusSchema>;
|
|
79
79
|
export declare const ProfileSlotSchema: z.ZodObject<{
|
|
80
80
|
deviceId: z.ZodNumber;
|
|
81
81
|
profile: z.ZodEnum<{
|
|
82
82
|
high: "high";
|
|
83
|
-
mid: "mid";
|
|
84
83
|
low: "low";
|
|
84
|
+
mid: "mid";
|
|
85
85
|
}>;
|
|
86
86
|
brokerId: z.ZodString;
|
|
87
87
|
sourceCamStreamId: z.ZodNullable<z.ZodString>;
|
|
88
88
|
status: z.ZodEnum<{
|
|
89
|
+
connecting: "connecting";
|
|
89
90
|
error: "error";
|
|
90
91
|
idle: "idle";
|
|
91
|
-
unassigned: "unassigned";
|
|
92
|
-
connecting: "connecting";
|
|
93
92
|
streaming: "streaming";
|
|
93
|
+
unassigned: "unassigned";
|
|
94
94
|
}>;
|
|
95
95
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
96
96
|
width: z.ZodNumber;
|
|
@@ -142,11 +142,11 @@ export declare const StreamSourceEntrySchema: z.ZodObject<{
|
|
|
142
142
|
id: z.ZodString;
|
|
143
143
|
label: z.ZodString;
|
|
144
144
|
protocol: z.ZodEnum<{
|
|
145
|
-
custom: "custom";
|
|
146
|
-
rtsp: "rtsp";
|
|
147
|
-
rtmp: "rtmp";
|
|
148
145
|
annexb: "annexb";
|
|
146
|
+
custom: "custom";
|
|
149
147
|
"http-mjpeg": "http-mjpeg";
|
|
148
|
+
rtmp: "rtmp";
|
|
149
|
+
rtsp: "rtsp";
|
|
150
150
|
webrtc: "webrtc";
|
|
151
151
|
}>;
|
|
152
152
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -159,8 +159,8 @@ export declare const StreamSourceEntrySchema: z.ZodObject<{
|
|
|
159
159
|
codec: z.ZodOptional<z.ZodString>;
|
|
160
160
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
161
161
|
high: "high";
|
|
162
|
-
mid: "mid";
|
|
163
162
|
low: "low";
|
|
163
|
+
mid: "mid";
|
|
164
164
|
}>>;
|
|
165
165
|
}, z.core.$strip>;
|
|
166
166
|
export declare const StreamSourceSchema: z.ZodObject<{
|
|
@@ -189,11 +189,11 @@ export declare const FrameHandleSchema: z.ZodObject<{
|
|
|
189
189
|
width: z.ZodNumber;
|
|
190
190
|
height: z.ZodNumber;
|
|
191
191
|
format: z.ZodEnum<{
|
|
192
|
+
bgr: "bgr";
|
|
193
|
+
gray: "gray";
|
|
192
194
|
jpeg: "jpeg";
|
|
193
195
|
rgb: "rgb";
|
|
194
|
-
bgr: "bgr";
|
|
195
196
|
yuv420: "yuv420";
|
|
196
|
-
gray: "gray";
|
|
197
197
|
}>;
|
|
198
198
|
pts: z.ZodNumber;
|
|
199
199
|
byteLength: z.ZodNumber;
|
|
@@ -213,8 +213,8 @@ export declare const FrameHandleSchema: z.ZodObject<{
|
|
|
213
213
|
*/
|
|
214
214
|
export declare const AudioChunkFormatSchema: z.ZodEnum<{
|
|
215
215
|
f32le: "f32le";
|
|
216
|
-
pcmu: "pcmu";
|
|
217
216
|
pcma: "pcma";
|
|
217
|
+
pcmu: "pcmu";
|
|
218
218
|
}>;
|
|
219
219
|
export declare const DecodedAudioChunkSchema: z.ZodObject<{
|
|
220
220
|
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
@@ -223,8 +223,8 @@ export declare const DecodedAudioChunkSchema: z.ZodObject<{
|
|
|
223
223
|
timestamp: z.ZodNumber;
|
|
224
224
|
format: z.ZodOptional<z.ZodEnum<{
|
|
225
225
|
f32le: "f32le";
|
|
226
|
-
pcmu: "pcmu";
|
|
227
226
|
pcma: "pcma";
|
|
227
|
+
pcmu: "pcmu";
|
|
228
228
|
}>>;
|
|
229
229
|
}, z.core.$strip>;
|
|
230
230
|
export type DecodedAudioChunkWire = z.infer<typeof DecodedAudioChunkSchema>;
|
|
@@ -239,8 +239,8 @@ export declare const SubscribeAudioChunksInputSchema: z.ZodObject<{
|
|
|
239
239
|
tag: z.ZodOptional<z.ZodString>;
|
|
240
240
|
accept: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
241
241
|
f32le: "f32le";
|
|
242
|
-
pcmu: "pcmu";
|
|
243
242
|
pcma: "pcma";
|
|
243
|
+
pcmu: "pcmu";
|
|
244
244
|
}>>>>;
|
|
245
245
|
}, z.core.$strip>;
|
|
246
246
|
export type SubscribeAudioChunksInput = z.infer<typeof SubscribeAudioChunksInputSchema>;
|
|
@@ -250,19 +250,19 @@ export declare const SubscribeAudioChunksResultSchema: z.ZodObject<{
|
|
|
250
250
|
}, z.core.$strip>;
|
|
251
251
|
export type SubscribeAudioChunksResult = z.infer<typeof SubscribeAudioChunksResultSchema>;
|
|
252
252
|
export declare const BrokerStatusSchema: z.ZodEnum<{
|
|
253
|
+
connecting: "connecting";
|
|
253
254
|
error: "error";
|
|
254
255
|
idle: "idle";
|
|
255
|
-
connecting: "connecting";
|
|
256
|
-
streaming: "streaming";
|
|
257
256
|
stopped: "stopped";
|
|
257
|
+
streaming: "streaming";
|
|
258
258
|
}>;
|
|
259
259
|
export declare const BrokerStatsSchema: z.ZodObject<{
|
|
260
260
|
status: z.ZodEnum<{
|
|
261
|
+
connecting: "connecting";
|
|
261
262
|
error: "error";
|
|
262
263
|
idle: "idle";
|
|
263
|
-
connecting: "connecting";
|
|
264
|
-
streaming: "streaming";
|
|
265
264
|
stopped: "stopped";
|
|
265
|
+
streaming: "streaming";
|
|
266
266
|
}>;
|
|
267
267
|
inputFps: z.ZodNumber;
|
|
268
268
|
encodedSubscribers: z.ZodNumber;
|
|
@@ -300,8 +300,8 @@ export declare const BrokerStatsSchema: z.ZodObject<{
|
|
|
300
300
|
export declare const ProfileRtspEntrySchema: z.ZodObject<{
|
|
301
301
|
profile: z.ZodEnum<{
|
|
302
302
|
high: "high";
|
|
303
|
-
mid: "mid";
|
|
304
303
|
low: "low";
|
|
304
|
+
mid: "mid";
|
|
305
305
|
}>;
|
|
306
306
|
brokerId: z.ZodString;
|
|
307
307
|
url: z.ZodString;
|
|
@@ -14,8 +14,8 @@ import { z } from 'zod';
|
|
|
14
14
|
* count, not filter" use case needs no rule at all.
|
|
15
15
|
*/
|
|
16
16
|
export declare const ZoneRuleModeEnum: z.ZodEnum<{
|
|
17
|
-
include: "include";
|
|
18
17
|
exclude: "exclude";
|
|
18
|
+
include: "include";
|
|
19
19
|
}>;
|
|
20
20
|
export type ZoneRuleMode = z.infer<typeof ZoneRuleModeEnum>;
|
|
21
21
|
/**
|
|
@@ -42,8 +42,8 @@ export declare const ZoneRuleSchema: z.ZodObject<{
|
|
|
42
42
|
name: z.ZodOptional<z.ZodString>;
|
|
43
43
|
zoneIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
44
44
|
mode: z.ZodEnum<{
|
|
45
|
-
include: "include";
|
|
46
45
|
exclude: "exclude";
|
|
46
|
+
include: "include";
|
|
47
47
|
}>;
|
|
48
48
|
classFilter: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
49
49
|
overlapThreshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -61,8 +61,8 @@ export declare const ZoneRulesArraySchema: z.ZodReadonly<z.ZodArray<z.ZodObject<
|
|
|
61
61
|
name: z.ZodOptional<z.ZodString>;
|
|
62
62
|
zoneIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
63
63
|
mode: z.ZodEnum<{
|
|
64
|
-
include: "include";
|
|
65
64
|
exclude: "exclude";
|
|
65
|
+
include: "include";
|
|
66
66
|
}>;
|
|
67
67
|
classFilter: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
68
68
|
overlapThreshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -19,10 +19,10 @@ export declare const ScriptRunnerStatusSchema: z.ZodObject<{
|
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
export type ScriptRunnerStatus = z.infer<typeof ScriptRunnerStatusSchema>;
|
|
21
21
|
export declare const scriptRunnerCapability: {
|
|
22
|
-
readonly name:
|
|
23
|
-
readonly scope:
|
|
22
|
+
readonly name: 'script-runner';
|
|
23
|
+
readonly scope: 'device';
|
|
24
24
|
readonly deviceNative: true;
|
|
25
|
-
readonly mode:
|
|
25
|
+
readonly mode: 'singleton';
|
|
26
26
|
readonly deviceTypes: readonly [DeviceType.Script];
|
|
27
27
|
readonly methods: {
|
|
28
28
|
readonly run: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -43,7 +43,7 @@ export declare const scriptRunnerCapability: {
|
|
|
43
43
|
lastError: z.ZodNullable<z.ZodString>;
|
|
44
44
|
lastChangedAt: z.ZodNumber;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
|
-
readonly kind:
|
|
46
|
+
readonly kind: 'push';
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* Runtime-state slice — mirrored by the kernel. UI script tile reads
|
|
@@ -63,6 +63,6 @@ export declare const scriptRunnerCapability: {
|
|
|
63
63
|
* See `RuntimeStateDurability`. Enforced by
|
|
64
64
|
* `scripts/check-runtime-state-durability.ts`.
|
|
65
65
|
*/
|
|
66
|
-
readonly durability:
|
|
66
|
+
readonly durability: 'session';
|
|
67
67
|
};
|
|
68
68
|
export type IScriptRunnerProvider = InferProvider<typeof scriptRunnerCapability>;
|
|
@@ -34,9 +34,9 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
34
34
|
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
35
35
|
*/
|
|
36
36
|
declare const ServerBootModeSchema: z.ZodEnum<{
|
|
37
|
-
workspace: "workspace";
|
|
38
37
|
baked: "baked";
|
|
39
38
|
"data-root": "data-root";
|
|
39
|
+
workspace: "workspace";
|
|
40
40
|
}>;
|
|
41
41
|
/**
|
|
42
42
|
* Update lifecycle state:
|
|
@@ -48,11 +48,11 @@ declare const ServerBootModeSchema: z.ZodEnum<{
|
|
|
48
48
|
* no provider emits it.
|
|
49
49
|
*/
|
|
50
50
|
declare const ServerUpdateStateSchema: z.ZodEnum<{
|
|
51
|
-
|
|
52
|
-
staging: "staging";
|
|
51
|
+
"awaiting-confirmation": "awaiting-confirmation";
|
|
53
52
|
checking: "checking";
|
|
53
|
+
idle: "idle";
|
|
54
54
|
"pending-restart": "pending-restart";
|
|
55
|
-
|
|
55
|
+
staging: "staging";
|
|
56
56
|
}>;
|
|
57
57
|
/**
|
|
58
58
|
* Verdict of comparing the node's IMMUTABLE baked seed (the Docker image / the
|
|
@@ -78,25 +78,25 @@ declare const ServerUpdateStateSchema: z.ZodEnum<{
|
|
|
78
78
|
* yet.
|
|
79
79
|
*/
|
|
80
80
|
declare const ImageContractStateSchema: z.ZodEnum<{
|
|
81
|
-
|
|
82
|
-
"in-sync": "in-sync";
|
|
81
|
+
ahead: "ahead";
|
|
83
82
|
"behind-patch": "behind-patch";
|
|
84
83
|
"behind-series": "behind-series";
|
|
85
|
-
|
|
84
|
+
"in-sync": "in-sync";
|
|
85
|
+
unknown: "unknown";
|
|
86
86
|
}>;
|
|
87
87
|
declare const ImageContractSchema: z.ZodObject<{
|
|
88
88
|
state: z.ZodEnum<{
|
|
89
|
-
|
|
90
|
-
"in-sync": "in-sync";
|
|
89
|
+
ahead: "ahead";
|
|
91
90
|
"behind-patch": "behind-patch";
|
|
92
91
|
"behind-series": "behind-series";
|
|
93
|
-
|
|
92
|
+
"in-sync": "in-sync";
|
|
93
|
+
unknown: "unknown";
|
|
94
94
|
}>;
|
|
95
95
|
seedVersion: z.ZodNullable<z.ZodString>;
|
|
96
96
|
contractVersion: z.ZodNullable<z.ZodString>;
|
|
97
97
|
contractSource: z.ZodNullable<z.ZodEnum<{
|
|
98
|
-
running: "running";
|
|
99
98
|
registry: "registry";
|
|
99
|
+
running: "running";
|
|
100
100
|
}>>;
|
|
101
101
|
message: z.ZodString;
|
|
102
102
|
}, z.core.$strip>;
|
|
@@ -137,11 +137,11 @@ declare const ImageContractSchema: z.ZodObject<{
|
|
|
137
137
|
* See D437.
|
|
138
138
|
*/
|
|
139
139
|
declare const WrapperKindSchema: z.ZodEnum<{
|
|
140
|
-
|
|
141
|
-
native: "native";
|
|
140
|
+
contradictory: "contradictory";
|
|
142
141
|
docker: "docker";
|
|
143
142
|
electron: "electron";
|
|
144
|
-
|
|
143
|
+
native: "native";
|
|
144
|
+
unknown: "unknown";
|
|
145
145
|
}>;
|
|
146
146
|
/**
|
|
147
147
|
* One probe and what it returned — including the probes that returned
|
|
@@ -151,14 +151,14 @@ declare const WrapperKindSchema: z.ZodEnum<{
|
|
|
151
151
|
*/
|
|
152
152
|
declare const WrapperEvidenceSchema: z.ZodObject<{
|
|
153
153
|
fact: z.ZodEnum<{
|
|
154
|
-
platform: "platform";
|
|
155
154
|
"dockerenv-file": "dockerenv-file";
|
|
156
|
-
"proc-1-cgroup": "proc-1-cgroup";
|
|
157
155
|
"electron-app-version-env": "electron-app-version-env";
|
|
156
|
+
platform: "platform";
|
|
157
|
+
"proc-1-cgroup": "proc-1-cgroup";
|
|
158
158
|
}>;
|
|
159
159
|
mode: z.ZodEnum<{
|
|
160
|
-
observed: "observed";
|
|
161
160
|
declared: "declared";
|
|
161
|
+
observed: "observed";
|
|
162
162
|
}>;
|
|
163
163
|
holds: z.ZodBoolean;
|
|
164
164
|
detail: z.ZodString;
|
|
@@ -175,22 +175,22 @@ declare const WrapperEvidenceSchema: z.ZodObject<{
|
|
|
175
175
|
*/
|
|
176
176
|
declare const WrapperIdentitySchema: z.ZodObject<{
|
|
177
177
|
kind: z.ZodEnum<{
|
|
178
|
-
|
|
179
|
-
native: "native";
|
|
178
|
+
contradictory: "contradictory";
|
|
180
179
|
docker: "docker";
|
|
181
180
|
electron: "electron";
|
|
182
|
-
|
|
181
|
+
native: "native";
|
|
182
|
+
unknown: "unknown";
|
|
183
183
|
}>;
|
|
184
184
|
evidence: z.ZodArray<z.ZodObject<{
|
|
185
185
|
fact: z.ZodEnum<{
|
|
186
|
-
platform: "platform";
|
|
187
186
|
"dockerenv-file": "dockerenv-file";
|
|
188
|
-
"proc-1-cgroup": "proc-1-cgroup";
|
|
189
187
|
"electron-app-version-env": "electron-app-version-env";
|
|
188
|
+
platform: "platform";
|
|
189
|
+
"proc-1-cgroup": "proc-1-cgroup";
|
|
190
190
|
}>;
|
|
191
191
|
mode: z.ZodEnum<{
|
|
192
|
-
observed: "observed";
|
|
193
192
|
declared: "declared";
|
|
193
|
+
observed: "observed";
|
|
194
194
|
}>;
|
|
195
195
|
holds: z.ZodBoolean;
|
|
196
196
|
detail: z.ZodString;
|
|
@@ -215,16 +215,16 @@ declare const ServerPackageStatusSchema: z.ZodObject<{
|
|
|
215
215
|
latestVersion: z.ZodNullable<z.ZodString>;
|
|
216
216
|
updateAvailable: z.ZodBoolean;
|
|
217
217
|
bootMode: z.ZodEnum<{
|
|
218
|
-
workspace: "workspace";
|
|
219
218
|
baked: "baked";
|
|
220
219
|
"data-root": "data-root";
|
|
220
|
+
workspace: "workspace";
|
|
221
221
|
}>;
|
|
222
222
|
updateState: z.ZodEnum<{
|
|
223
|
-
|
|
224
|
-
staging: "staging";
|
|
223
|
+
"awaiting-confirmation": "awaiting-confirmation";
|
|
225
224
|
checking: "checking";
|
|
225
|
+
idle: "idle";
|
|
226
226
|
"pending-restart": "pending-restart";
|
|
227
|
-
|
|
227
|
+
staging: "staging";
|
|
228
228
|
}>;
|
|
229
229
|
pendingVersion: z.ZodNullable<z.ZodString>;
|
|
230
230
|
rolledBack: z.ZodNullable<z.ZodObject<{
|
|
@@ -237,38 +237,38 @@ declare const ServerPackageStatusSchema: z.ZodObject<{
|
|
|
237
237
|
lastCheckedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
238
238
|
imageContract: z.ZodOptional<z.ZodObject<{
|
|
239
239
|
state: z.ZodEnum<{
|
|
240
|
-
|
|
241
|
-
"in-sync": "in-sync";
|
|
240
|
+
ahead: "ahead";
|
|
242
241
|
"behind-patch": "behind-patch";
|
|
243
242
|
"behind-series": "behind-series";
|
|
244
|
-
|
|
243
|
+
"in-sync": "in-sync";
|
|
244
|
+
unknown: "unknown";
|
|
245
245
|
}>;
|
|
246
246
|
seedVersion: z.ZodNullable<z.ZodString>;
|
|
247
247
|
contractVersion: z.ZodNullable<z.ZodString>;
|
|
248
248
|
contractSource: z.ZodNullable<z.ZodEnum<{
|
|
249
|
-
running: "running";
|
|
250
249
|
registry: "registry";
|
|
250
|
+
running: "running";
|
|
251
251
|
}>>;
|
|
252
252
|
message: z.ZodString;
|
|
253
253
|
}, z.core.$strip>>;
|
|
254
254
|
wrapper: z.ZodOptional<z.ZodObject<{
|
|
255
255
|
kind: z.ZodEnum<{
|
|
256
|
-
|
|
257
|
-
native: "native";
|
|
256
|
+
contradictory: "contradictory";
|
|
258
257
|
docker: "docker";
|
|
259
258
|
electron: "electron";
|
|
260
|
-
|
|
259
|
+
native: "native";
|
|
260
|
+
unknown: "unknown";
|
|
261
261
|
}>;
|
|
262
262
|
evidence: z.ZodArray<z.ZodObject<{
|
|
263
263
|
fact: z.ZodEnum<{
|
|
264
|
-
platform: "platform";
|
|
265
264
|
"dockerenv-file": "dockerenv-file";
|
|
266
|
-
"proc-1-cgroup": "proc-1-cgroup";
|
|
267
265
|
"electron-app-version-env": "electron-app-version-env";
|
|
266
|
+
platform: "platform";
|
|
267
|
+
"proc-1-cgroup": "proc-1-cgroup";
|
|
268
268
|
}>;
|
|
269
269
|
mode: z.ZodEnum<{
|
|
270
|
-
observed: "observed";
|
|
271
270
|
declared: "declared";
|
|
271
|
+
observed: "observed";
|
|
272
272
|
}>;
|
|
273
273
|
holds: z.ZodBoolean;
|
|
274
274
|
detail: z.ZodString;
|
|
@@ -303,11 +303,11 @@ declare const ServerUpdateCheckResultSchema: z.ZodObject<{
|
|
|
303
303
|
* - `failed` — attempted and did not land; `error` says why.
|
|
304
304
|
*/
|
|
305
305
|
declare const ServerUpdateOutcomeSchema: z.ZodEnum<{
|
|
306
|
-
|
|
306
|
+
"already-current": "already-current";
|
|
307
307
|
failed: "failed";
|
|
308
|
-
|
|
308
|
+
refused: "refused";
|
|
309
309
|
"restart-scheduled": "restart-scheduled";
|
|
310
|
-
|
|
310
|
+
staged: "staged";
|
|
311
311
|
}>;
|
|
312
312
|
declare const ServerUpdateActionResultSchema: z.ZodObject<{
|
|
313
313
|
accepted: z.ZodBoolean;
|
|
@@ -315,19 +315,19 @@ declare const ServerUpdateActionResultSchema: z.ZodObject<{
|
|
|
315
315
|
restarting: z.ZodBoolean;
|
|
316
316
|
message: z.ZodString;
|
|
317
317
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
318
|
-
|
|
318
|
+
"already-current": "already-current";
|
|
319
319
|
failed: "failed";
|
|
320
|
-
|
|
320
|
+
refused: "refused";
|
|
321
321
|
"restart-scheduled": "restart-scheduled";
|
|
322
|
-
|
|
322
|
+
staged: "staged";
|
|
323
323
|
}>>;
|
|
324
324
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
325
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
326
|
}, z.core.$strip>;
|
|
327
327
|
export declare const serverManagementCapability: {
|
|
328
|
-
readonly name:
|
|
329
|
-
readonly scope:
|
|
330
|
-
readonly mode:
|
|
328
|
+
readonly name: 'server-management';
|
|
329
|
+
readonly scope: 'system';
|
|
330
|
+
readonly mode: 'singleton';
|
|
331
331
|
readonly methods: {
|
|
332
332
|
readonly getServerPackageStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
333
333
|
packageName: z.ZodString;
|
|
@@ -341,16 +341,16 @@ export declare const serverManagementCapability: {
|
|
|
341
341
|
latestVersion: z.ZodNullable<z.ZodString>;
|
|
342
342
|
updateAvailable: z.ZodBoolean;
|
|
343
343
|
bootMode: z.ZodEnum<{
|
|
344
|
-
workspace: "workspace";
|
|
345
344
|
baked: "baked";
|
|
346
345
|
"data-root": "data-root";
|
|
346
|
+
workspace: "workspace";
|
|
347
347
|
}>;
|
|
348
348
|
updateState: z.ZodEnum<{
|
|
349
|
-
|
|
350
|
-
staging: "staging";
|
|
349
|
+
"awaiting-confirmation": "awaiting-confirmation";
|
|
351
350
|
checking: "checking";
|
|
351
|
+
idle: "idle";
|
|
352
352
|
"pending-restart": "pending-restart";
|
|
353
|
-
|
|
353
|
+
staging: "staging";
|
|
354
354
|
}>;
|
|
355
355
|
pendingVersion: z.ZodNullable<z.ZodString>;
|
|
356
356
|
rolledBack: z.ZodNullable<z.ZodObject<{
|
|
@@ -363,38 +363,38 @@ export declare const serverManagementCapability: {
|
|
|
363
363
|
lastCheckedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
364
364
|
imageContract: z.ZodOptional<z.ZodObject<{
|
|
365
365
|
state: z.ZodEnum<{
|
|
366
|
-
|
|
367
|
-
"in-sync": "in-sync";
|
|
366
|
+
ahead: "ahead";
|
|
368
367
|
"behind-patch": "behind-patch";
|
|
369
368
|
"behind-series": "behind-series";
|
|
370
|
-
|
|
369
|
+
"in-sync": "in-sync";
|
|
370
|
+
unknown: "unknown";
|
|
371
371
|
}>;
|
|
372
372
|
seedVersion: z.ZodNullable<z.ZodString>;
|
|
373
373
|
contractVersion: z.ZodNullable<z.ZodString>;
|
|
374
374
|
contractSource: z.ZodNullable<z.ZodEnum<{
|
|
375
|
-
running: "running";
|
|
376
375
|
registry: "registry";
|
|
376
|
+
running: "running";
|
|
377
377
|
}>>;
|
|
378
378
|
message: z.ZodString;
|
|
379
379
|
}, z.core.$strip>>;
|
|
380
380
|
wrapper: z.ZodOptional<z.ZodObject<{
|
|
381
381
|
kind: z.ZodEnum<{
|
|
382
|
-
|
|
383
|
-
native: "native";
|
|
382
|
+
contradictory: "contradictory";
|
|
384
383
|
docker: "docker";
|
|
385
384
|
electron: "electron";
|
|
386
|
-
|
|
385
|
+
native: "native";
|
|
386
|
+
unknown: "unknown";
|
|
387
387
|
}>;
|
|
388
388
|
evidence: z.ZodArray<z.ZodObject<{
|
|
389
389
|
fact: z.ZodEnum<{
|
|
390
|
-
platform: "platform";
|
|
391
390
|
"dockerenv-file": "dockerenv-file";
|
|
392
|
-
"proc-1-cgroup": "proc-1-cgroup";
|
|
393
391
|
"electron-app-version-env": "electron-app-version-env";
|
|
392
|
+
platform: "platform";
|
|
393
|
+
"proc-1-cgroup": "proc-1-cgroup";
|
|
394
394
|
}>;
|
|
395
395
|
mode: z.ZodEnum<{
|
|
396
|
-
observed: "observed";
|
|
397
396
|
declared: "declared";
|
|
397
|
+
observed: "observed";
|
|
398
398
|
}>;
|
|
399
399
|
holds: z.ZodBoolean;
|
|
400
400
|
detail: z.ZodString;
|
|
@@ -420,11 +420,11 @@ export declare const serverManagementCapability: {
|
|
|
420
420
|
restarting: z.ZodBoolean;
|
|
421
421
|
message: z.ZodString;
|
|
422
422
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
423
|
-
|
|
423
|
+
"already-current": "already-current";
|
|
424
424
|
failed: "failed";
|
|
425
|
-
|
|
425
|
+
refused: "refused";
|
|
426
426
|
"restart-scheduled": "restart-scheduled";
|
|
427
|
-
|
|
427
|
+
staged: "staged";
|
|
428
428
|
}>>;
|
|
429
429
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
430
430
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -435,11 +435,11 @@ export declare const serverManagementCapability: {
|
|
|
435
435
|
restarting: z.ZodBoolean;
|
|
436
436
|
message: z.ZodString;
|
|
437
437
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
438
|
-
|
|
438
|
+
"already-current": "already-current";
|
|
439
439
|
failed: "failed";
|
|
440
|
-
|
|
440
|
+
refused: "refused";
|
|
441
441
|
"restart-scheduled": "restart-scheduled";
|
|
442
|
-
|
|
442
|
+
staged: "staged";
|
|
443
443
|
}>>;
|
|
444
444
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
445
445
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -457,11 +457,11 @@ export declare const serverManagementCapability: {
|
|
|
457
457
|
restarting: z.ZodBoolean;
|
|
458
458
|
message: z.ZodString;
|
|
459
459
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
460
|
-
|
|
460
|
+
"already-current": "already-current";
|
|
461
461
|
failed: "failed";
|
|
462
|
-
|
|
462
|
+
refused: "refused";
|
|
463
463
|
"restart-scheduled": "restart-scheduled";
|
|
464
|
-
|
|
464
|
+
staged: "staged";
|
|
465
465
|
}>>;
|
|
466
466
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
467
467
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -469,7 +469,7 @@ export declare const serverManagementCapability: {
|
|
|
469
469
|
};
|
|
470
470
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
471
471
|
readonly mount: {
|
|
472
|
-
readonly kind:
|
|
472
|
+
readonly kind: 'server-provided';
|
|
473
473
|
};
|
|
474
474
|
};
|
|
475
475
|
export type IServerManagementProvider = InferProvider<typeof serverManagementCapability>;
|
|
@@ -46,8 +46,8 @@ declare const AggregateFieldSchema: z.ZodObject<{
|
|
|
46
46
|
as: z.ZodString;
|
|
47
47
|
field: z.ZodString;
|
|
48
48
|
op: z.ZodEnum<{
|
|
49
|
-
min: "min";
|
|
50
49
|
max: "max";
|
|
50
|
+
min: "min";
|
|
51
51
|
sum: "sum";
|
|
52
52
|
}>;
|
|
53
53
|
}, z.core.$strip>;
|
|
@@ -92,11 +92,11 @@ declare const BulkRecordSchema: z.ZodObject<{
|
|
|
92
92
|
declare const CollectionColumnSchema: z.ZodObject<{
|
|
93
93
|
name: z.ZodString;
|
|
94
94
|
type: z.ZodEnum<{
|
|
95
|
-
|
|
95
|
+
BOOLEAN: "BOOLEAN";
|
|
96
96
|
INTEGER: "INTEGER";
|
|
97
|
-
REAL: "REAL";
|
|
98
97
|
JSON: "JSON";
|
|
99
|
-
|
|
98
|
+
REAL: "REAL";
|
|
99
|
+
TEXT: "TEXT";
|
|
100
100
|
}>;
|
|
101
101
|
primaryKey: z.ZodOptional<z.ZodBoolean>;
|
|
102
102
|
notNull: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -149,9 +149,9 @@ declare const CollectionIndexSchema: z.ZodObject<{
|
|
|
149
149
|
* Addons access it via `ctx.api.settingsStore.*`.
|
|
150
150
|
*/
|
|
151
151
|
export declare const settingsStoreCapability: {
|
|
152
|
-
readonly name:
|
|
153
|
-
readonly scope:
|
|
154
|
-
readonly mode:
|
|
152
|
+
readonly name: 'settings-store';
|
|
153
|
+
readonly scope: 'system';
|
|
154
|
+
readonly mode: 'singleton';
|
|
155
155
|
readonly methods: {
|
|
156
156
|
/** Get a single value by key from a collection. */
|
|
157
157
|
readonly get: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -409,8 +409,8 @@ export declare const settingsStoreCapability: {
|
|
|
409
409
|
as: z.ZodString;
|
|
410
410
|
field: z.ZodString;
|
|
411
411
|
op: z.ZodEnum<{
|
|
412
|
-
min: "min";
|
|
413
412
|
max: "max";
|
|
413
|
+
min: "min";
|
|
414
414
|
sum: "sum";
|
|
415
415
|
}>;
|
|
416
416
|
}, z.core.$strip>>>;
|
|
@@ -487,11 +487,11 @@ export declare const settingsStoreCapability: {
|
|
|
487
487
|
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
488
488
|
name: z.ZodString;
|
|
489
489
|
type: z.ZodEnum<{
|
|
490
|
-
|
|
490
|
+
BOOLEAN: "BOOLEAN";
|
|
491
491
|
INTEGER: "INTEGER";
|
|
492
|
-
REAL: "REAL";
|
|
493
492
|
JSON: "JSON";
|
|
494
|
-
|
|
493
|
+
REAL: "REAL";
|
|
494
|
+
TEXT: "TEXT";
|
|
495
495
|
}>;
|
|
496
496
|
primaryKey: z.ZodOptional<z.ZodBoolean>;
|
|
497
497
|
notNull: z.ZodOptional<z.ZodBoolean>;
|