@camstack/types 1.2.560 → 1.2.561
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/CHANGELOG.md +10 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/automation/recipe.d.ts +120 -120
- package/dist/capabilities/accessories.cap.d.ts +6 -0
- package/dist/capabilities/action-source.cap.d.ts +3 -0
- package/dist/capabilities/actions.cap.d.ts +3 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -0
- package/dist/capabilities/addon-pages.cap.d.ts +3 -0
- package/dist/capabilities/addon-routes.cap.d.ts +3 -0
- package/dist/capabilities/addon-settings.cap.d.ts +3 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts +3 -0
- package/dist/capabilities/addon-widgets.cap.d.ts +3 -0
- package/dist/capabilities/addons.cap.d.ts +3 -0
- package/dist/capabilities/admin-ui.cap.d.ts +3 -0
- package/dist/capabilities/air-quality-sensor.cap.d.ts +39 -0
- package/dist/capabilities/alarm-panel.cap.d.ts +60 -14
- package/dist/capabilities/alerts.cap.d.ts +3 -0
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +12 -0
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts +3 -0
- package/dist/capabilities/audio-codec.cap.d.ts +3 -0
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -0
- package/dist/capabilities/auth-provider.cap.d.ts +3 -0
- package/dist/capabilities/automation-control.cap.d.ts +19 -0
- package/dist/capabilities/backup.cap.d.ts +3 -0
- package/dist/capabilities/battery.cap.d.ts +53 -0
- package/dist/capabilities/binary.cap.d.ts +136 -0
- package/dist/capabilities/board-key-source.cap.d.ts +3 -0
- package/dist/capabilities/brightness.cap.d.ts +13 -0
- package/dist/capabilities/broker.cap.d.ts +3 -0
- package/dist/capabilities/button.cap.d.ts +4 -0
- package/dist/capabilities/calendar-source.cap.d.ts +3 -0
- package/dist/capabilities/calendars.cap.d.ts +3 -0
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -0
- package/dist/capabilities/camera-grid-layout.cap.d.ts +4 -0
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -0
- package/dist/capabilities/camera-streams.cap.d.ts +4 -0
- package/dist/capabilities/capability-definition.d.ts +37 -8
- package/dist/capabilities/carbon-monoxide.cap.d.ts +12 -0
- package/dist/capabilities/climate-control.cap.d.ts +68 -12
- package/dist/capabilities/cluster-update.cap.d.ts +3 -0
- package/dist/capabilities/color.cap.d.ts +21 -0
- package/dist/capabilities/composer.cap.d.ts +3 -0
- package/dist/capabilities/connectivity.cap.d.ts +12 -0
- package/dist/capabilities/consumables.cap.d.ts +4 -0
- package/dist/capabilities/contact.cap.d.ts +12 -0
- package/dist/capabilities/control.cap.d.ts +15 -0
- package/dist/capabilities/core-blocks.cap.d.ts +3 -0
- package/dist/capabilities/cover.cap.d.ts +110 -0
- package/dist/capabilities/custom-model-registry.cap.d.ts +3 -0
- package/dist/capabilities/data-store-provider.cap.d.ts +3 -0
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -0
- package/dist/capabilities/day-night.cap.d.ts +25 -0
- package/dist/capabilities/decoder.cap.d.ts +3 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -0
- package/dist/capabilities/device-admin-link.cap.d.ts +4 -0
- package/dist/capabilities/device-adoption.cap.d.ts +3 -0
- package/dist/capabilities/device-credentials.cap.d.ts +3 -0
- package/dist/capabilities/device-export.cap.d.ts +3 -0
- package/dist/capabilities/device-extension.cap.d.ts +4 -0
- package/dist/capabilities/device-history.cap.d.ts +3 -0
- package/dist/capabilities/device-manager.cap.d.ts +3 -0
- package/dist/capabilities/device-ops.cap.d.ts +4 -0
- package/dist/capabilities/device-provider.cap.d.ts +3 -0
- package/dist/capabilities/device-removal-hook.cap.d.ts +3 -0
- package/dist/capabilities/device-runs.cap.d.ts +6 -0
- package/dist/capabilities/device-state.cap.d.ts +3 -0
- package/dist/capabilities/device-status.cap.d.ts +25 -0
- package/dist/capabilities/device-transitions.cap.d.ts +4 -0
- package/dist/capabilities/dishwasher.cap.d.ts +60 -0
- package/dist/capabilities/display-palette.cap.d.ts +3 -0
- package/dist/capabilities/do-not-disturb.cap.d.ts +12 -0
- package/dist/capabilities/doorbell.cap.d.ts +11 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts +3 -0
- package/dist/capabilities/enum-sensor.cap.d.ts +10 -0
- package/dist/capabilities/event-emitter.cap.d.ts +11 -0
- package/dist/capabilities/face-gallery.cap.d.ts +3 -0
- package/dist/capabilities/failure-contribution.cap.d.ts +3 -0
- package/dist/capabilities/fan-control.cap.d.ts +19 -0
- package/dist/capabilities/fan-presets.cap.d.ts +3 -0
- package/dist/capabilities/feature-probe.cap.d.ts +5 -0
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -0
- package/dist/capabilities/flood.cap.d.ts +12 -0
- package/dist/capabilities/gas.cap.d.ts +12 -0
- package/dist/capabilities/group-active.cap.d.ts +4 -0
- package/dist/capabilities/group-commands.cap.d.ts +4 -0
- package/dist/capabilities/group-status.cap.d.ts +23 -0
- package/dist/capabilities/heat-pump-control.cap.d.ts +4 -0
- package/dist/capabilities/heat-pump-status.cap.d.ts +4 -0
- package/dist/capabilities/heating-valve.cap.d.ts +12 -0
- package/dist/capabilities/hero-layout.cap.d.ts +3 -0
- package/dist/capabilities/humidifier.cap.d.ts +19 -0
- package/dist/capabilities/humidity-sensor.cap.d.ts +12 -0
- package/dist/capabilities/image-settings.cap.d.ts +4 -0
- package/dist/capabilities/image.cap.d.ts +4 -0
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/integration-instances.cap.d.ts +3 -0
- package/dist/capabilities/integrations.cap.d.ts +3 -0
- package/dist/capabilities/intercom.cap.d.ts +13 -0
- package/dist/capabilities/ir-transmitter.cap.d.ts +101 -0
- package/dist/capabilities/keychain-admin.cap.d.ts +3 -0
- package/dist/capabilities/keychain.cap.d.ts +3 -0
- package/dist/capabilities/lawn-mower-control.cap.d.ts +36 -0
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -0
- package/dist/capabilities/llm.cap.d.ts +3 -0
- package/dist/capabilities/load-contribution.cap.d.ts +3 -0
- package/dist/capabilities/local-network.cap.d.ts +3 -0
- package/dist/capabilities/lock-control.cap.d.ts +35 -0
- package/dist/capabilities/log-channels.cap.d.ts +3 -0
- package/dist/capabilities/log-destination.cap.d.ts +3 -0
- package/dist/capabilities/login-method.cap.d.ts +3 -0
- package/dist/capabilities/media-player.cap.d.ts +66 -6
- package/dist/capabilities/mesh-network.cap.d.ts +3 -0
- package/dist/capabilities/meter.cap.d.ts +11 -0
- package/dist/capabilities/metrics-provider.cap.d.ts +3 -0
- package/dist/capabilities/migrations.cap.d.ts +3 -0
- package/dist/capabilities/model-convert.cap.d.ts +3 -0
- package/dist/capabilities/model-distributor.cap.d.ts +3 -0
- package/dist/capabilities/motion-detection.cap.d.ts +5 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +13 -0
- package/dist/capabilities/motion-zones.cap.d.ts +4 -0
- package/dist/capabilities/motion.cap.d.ts +13 -0
- package/dist/capabilities/mqtt-broker.cap.d.ts +3 -0
- package/dist/capabilities/native-object-detection.cap.d.ts +19 -0
- package/dist/capabilities/navigation.cap.d.ts +36 -0
- package/dist/capabilities/network-access.cap.d.ts +3 -0
- package/dist/capabilities/network-link.cap.d.ts +31 -0
- package/dist/capabilities/network-quality.cap.d.ts +3 -0
- package/dist/capabilities/node-certificates.cap.d.ts +3 -0
- package/dist/capabilities/node-removal-hook.cap.d.ts +3 -0
- package/dist/capabilities/nodes.cap.d.ts +3 -0
- package/dist/capabilities/notification-output.cap.d.ts +3 -0
- package/dist/capabilities/notification-rules.cap.d.ts +3 -0
- package/dist/capabilities/notifier.cap.d.ts +5 -0
- package/dist/capabilities/numeric-sensor.cap.d.ts +11 -0
- package/dist/capabilities/oauth-integration.cap.d.ts +3 -0
- package/dist/capabilities/osd-manager.cap.d.ts +3 -0
- package/dist/capabilities/osd.cap.d.ts +5 -0
- package/dist/capabilities/pet-feeder.cap.d.ts +35 -9
- package/dist/capabilities/pet-fountain.cap.d.ts +19 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +35 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts +3 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +3 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +3 -0
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -0
- package/dist/capabilities/platform-probe.cap.d.ts +3 -0
- package/dist/capabilities/power-meter.cap.d.ts +33 -0
- package/dist/capabilities/power-source.cap.d.ts +12 -0
- package/dist/capabilities/presence.cap.d.ts +11 -0
- package/dist/capabilities/pressure-sensor.cap.d.ts +12 -0
- package/dist/capabilities/privacy-mask.cap.d.ts +19 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts +13 -0
- package/dist/capabilities/ptz.cap.d.ts +11 -7
- package/dist/capabilities/pump-cycle.cap.d.ts +12 -0
- package/dist/capabilities/reboot.cap.d.ts +4 -0
- package/dist/capabilities/record-entries.cap.d.ts +3 -0
- package/dist/capabilities/recording-archive.cap.d.ts +3 -0
- package/dist/capabilities/recording-export.cap.d.ts +3 -0
- package/dist/capabilities/recording-onboard.cap.d.ts +12 -0
- package/dist/capabilities/recording-signal.cap.d.ts +12 -0
- package/dist/capabilities/recording.cap.d.ts +4 -0
- package/dist/capabilities/records.cap.d.ts +3 -0
- package/dist/capabilities/remote-layout-components.cap.d.ts +3 -0
- package/dist/capabilities/remote.cap.d.ts +3 -0
- package/dist/capabilities/running-state.cap.d.ts +77 -0
- package/dist/capabilities/scene-monitor.cap.d.ts +11 -0
- package/dist/capabilities/schedulers.cap.d.ts +3 -0
- package/dist/capabilities/script-runner.cap.d.ts +12 -0
- package/dist/capabilities/server-management.cap.d.ts +3 -0
- package/dist/capabilities/settings-store.cap.d.ts +3 -0
- package/dist/capabilities/smoke.cap.d.ts +12 -0
- package/dist/capabilities/smtp-provider.cap.d.ts +3 -0
- package/dist/capabilities/snapshot.cap.d.ts +4 -0
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -0
- package/dist/capabilities/storage-admin.cap.d.ts +3 -0
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -0
- package/dist/capabilities/storage-migration.cap.d.ts +3 -0
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -0
- package/dist/capabilities/storage-provider.cap.d.ts +3 -0
- package/dist/capabilities/storage.cap.d.ts +3 -0
- package/dist/capabilities/stream-broker.cap.d.ts +3 -0
- package/dist/capabilities/stream-catalog.cap.d.ts +4 -0
- package/dist/capabilities/stream-params.cap.d.ts +4 -0
- package/dist/capabilities/stream-signals.cap.d.ts +4 -0
- package/dist/capabilities/switch.cap.d.ts +208 -0
- package/dist/capabilities/system.cap.d.ts +3 -0
- package/dist/capabilities/tamper.cap.d.ts +12 -0
- package/dist/capabilities/temperature-sensor.cap.d.ts +12 -0
- package/dist/capabilities/template.cap.d.ts +3 -0
- package/dist/capabilities/terminal-session.cap.d.ts +3 -0
- package/dist/capabilities/timed-run.cap.d.ts +4 -0
- package/dist/capabilities/toast.cap.d.ts +3 -0
- package/dist/capabilities/training-provider.cap.d.ts +3 -0
- package/dist/capabilities/training.cap.d.ts +3 -0
- package/dist/capabilities/turn-provider.cap.d.ts +3 -0
- package/dist/capabilities/update.cap.d.ts +19 -0
- package/dist/capabilities/user-management.cap.d.ts +3 -0
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -0
- package/dist/capabilities/vacuum-control.cap.d.ts +43 -0
- package/dist/capabilities/valve.cap.d.ts +38 -0
- package/dist/capabilities/vector-store.cap.d.ts +3 -0
- package/dist/capabilities/vibration.cap.d.ts +12 -0
- package/dist/capabilities/videoclips.cap.d.ts +4 -0
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -0
- package/dist/capabilities/water-heater.cap.d.ts +33 -4
- package/dist/capabilities/weather.cap.d.ts +39 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +4 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +11 -0
- package/dist/capabilities/zone-rules.cap.d.ts +4 -0
- package/dist/capabilities/zones.cap.d.ts +4 -0
- package/dist/client.js +178 -29
- package/dist/client.mjs +178 -29
- package/dist/device/cap-vocabulary/declaration.d.ts +107 -0
- package/dist/device/cap-vocabulary/index.d.ts +4 -2
- package/dist/device/cap-vocabulary/system-reasons.d.ts +17 -0
- package/dist/device/cap-vocabulary/types.d.ts +24 -6
- package/dist/device/cap-vocabulary/vocabulary.d.ts +15 -3
- package/dist/generated/addon-api.d.ts +52 -52
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-vocabulary.d.ts +7 -0
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +1 -0
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5238 -598
- package/dist/index.mjs +5232 -599
- package/dist/{sleep-BvVGLl30.mjs → sleep-C9PbO6Nb.mjs} +5669 -1691
- package/dist/{sleep-CyWfD1LJ.js → sleep-CcUFeK6k.js} +5674 -1690
- package/package.json +1 -1
- package/dist/device/cap-vocabulary/entries/actuators.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/appliances.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/camera.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/heat-pump.d.ts +0 -4
- package/dist/device/cap-vocabulary/entries/sensors.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/system.d.ts +0 -8
|
@@ -38,5 +38,9 @@ export declare const cameraPipelineConfigCapability: {
|
|
|
38
38
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
39
39
|
readonly exposesDeviceSettings: true;
|
|
40
40
|
readonly methods: {};
|
|
41
|
+
readonly vocabulary: {
|
|
42
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
43
|
+
readonly order: 3050;
|
|
44
|
+
};
|
|
41
45
|
};
|
|
42
46
|
export type ICameraPipelineConfigProvider = InferProvider<typeof cameraPipelineConfigCapability>;
|
|
@@ -407,5 +407,9 @@ export declare const cameraStreamsCapability: {
|
|
|
407
407
|
* History (D850): none — `online` duplicates device-status.online (one authority); slot data is nested enum/string.
|
|
408
408
|
*/
|
|
409
409
|
readonly history: 'none';
|
|
410
|
+
readonly vocabulary: {
|
|
411
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
412
|
+
readonly order: 3060;
|
|
413
|
+
};
|
|
410
414
|
};
|
|
411
415
|
export type ICameraStreamsProvider = InferProvider<typeof cameraStreamsCapability>;
|
|
@@ -17,6 +17,8 @@ import type { ConfigUISchemaWithValues } from '../interfaces/config-ui.js';
|
|
|
17
17
|
import type { ExtensionSlotDescriptor } from '../device-extension/slot-descriptor.js';
|
|
18
18
|
import type { MethodRoleDecl } from '../auth/viewer-access.js';
|
|
19
19
|
import type { CapabilityCustomizeSpec } from './customize-spec.js';
|
|
20
|
+
import type { CapVocabularyDecl, EventVocabularyDecl, LooseMethodActionDecl, MethodActionDecl } from '../device/cap-vocabulary/declaration.js';
|
|
21
|
+
import type { VocabEventTrigger } from '../device/cap-vocabulary/types.js';
|
|
20
22
|
/**
|
|
21
23
|
* tRPC procedure kind.
|
|
22
24
|
* - 'query': read-only, no side effects
|
|
@@ -160,6 +162,14 @@ export interface CapabilityMethodSchema<TInput extends z.ZodType = z.ZodType, TO
|
|
|
160
162
|
* the provider input untyped).
|
|
161
163
|
*/
|
|
162
164
|
readonly caller?: CapabilityMethodCaller;
|
|
165
|
+
/**
|
|
166
|
+
* The operator-facing actions this method offers (D1050): what a step, a
|
|
167
|
+
* remote button or the MCP can make a device do through it. Codegen
|
|
168
|
+
* projects them into the cap vocabulary (`generated/cap-vocabulary.ts`).
|
|
169
|
+
*/
|
|
170
|
+
readonly actions?: readonly LooseMethodActionDecl[];
|
|
171
|
+
/** Why this mutation is never a step (D1050) — the alternative to `actions`. */
|
|
172
|
+
readonly notOperatorFacing?: string;
|
|
163
173
|
}
|
|
164
174
|
export declare const CapabilityEventFromStateSchema: z.ZodObject<{
|
|
165
175
|
field: z.ZodString;
|
|
@@ -171,6 +181,10 @@ export interface CapabilityEventSchema<TData extends z.ZodType = z.ZodType> {
|
|
|
171
181
|
readonly data: TData;
|
|
172
182
|
/** A strict numeric state advance derives this one-shot event (D670). */
|
|
173
183
|
readonly fromState?: CapabilityEventFromState;
|
|
184
|
+
/** The automation trigger this event is (D1050), phrased. */
|
|
185
|
+
readonly trigger?: VocabEventTrigger;
|
|
186
|
+
/** Why this event is not an automation trigger (D1050) — the alternative to `trigger`. */
|
|
187
|
+
readonly notOperatorFacing?: string;
|
|
174
188
|
}
|
|
175
189
|
export type CapabilityStatusKind = 'push' | 'poll' | 'command-driven';
|
|
176
190
|
/**
|
|
@@ -709,6 +723,14 @@ export interface CapabilityDefinition<TName extends string = string, TMethods ex
|
|
|
709
723
|
* `generated/history-catalog.ts`.
|
|
710
724
|
*/
|
|
711
725
|
readonly history?: CapabilityHistory;
|
|
726
|
+
/**
|
|
727
|
+
* The cap's vocabulary block (D1050): noun, state triggers, wording
|
|
728
|
+
* overrides, picker order — or, for a system cap, why it is no device's
|
|
729
|
+
* vocabulary. Actions sit on their methods, event wording on the events.
|
|
730
|
+
* Mandatory for every cap (`scripts/check-cap-vocabulary.ts`); codegen
|
|
731
|
+
* projects it into `generated/cap-vocabulary.ts`.
|
|
732
|
+
*/
|
|
733
|
+
readonly vocabulary?: CapVocabularyDecl;
|
|
712
734
|
/**
|
|
713
735
|
* Generic Customize override (D936). When present, admin-ui offers the
|
|
714
736
|
* declared targets instead of a cap-specific card. Codegen projects it
|
|
@@ -1211,7 +1233,7 @@ export type InferRuntimeState<T extends CapabilityDefinition> = T extends {
|
|
|
1211
1233
|
readonly _output: infer Out;
|
|
1212
1234
|
} ? Out : unknown : unknown;
|
|
1213
1235
|
/** Options for a capability method definition. */
|
|
1214
|
-
export interface CapabilityMethodOptions<TKind extends CapabilityMethodKind = CapabilityMethodKind> {
|
|
1236
|
+
export interface CapabilityMethodOptions<TKind extends CapabilityMethodKind = CapabilityMethodKind, TIn extends z.ZodType = z.ZodType> {
|
|
1215
1237
|
/** tRPC procedure kind. Default: 'query'. */
|
|
1216
1238
|
readonly kind?: TKind;
|
|
1217
1239
|
/** Auth level. Default: 'protected'. */
|
|
@@ -1229,6 +1251,13 @@ export interface CapabilityMethodOptions<TKind extends CapabilityMethodKind = Ca
|
|
|
1229
1251
|
* {@link CapabilityMethodSchema.caller}.
|
|
1230
1252
|
*/
|
|
1231
1253
|
readonly caller?: CapabilityMethodCaller;
|
|
1254
|
+
/**
|
|
1255
|
+
* The operator-facing actions this method offers (D1050), typed against
|
|
1256
|
+
* its input: fixed `args` and `openArgs` keys are the input's own keys.
|
|
1257
|
+
*/
|
|
1258
|
+
readonly actions?: readonly MethodActionDecl<z.input<NoInfer<TIn>>>[];
|
|
1259
|
+
/** Why this mutation is never a step (D1050) — the alternative to `actions`. */
|
|
1260
|
+
readonly notOperatorFacing?: string;
|
|
1232
1261
|
}
|
|
1233
1262
|
/**
|
|
1234
1263
|
* Shorthand to define a method schema.
|
|
@@ -1239,24 +1268,24 @@ export interface CapabilityMethodOptions<TKind extends CapabilityMethodKind = Ca
|
|
|
1239
1268
|
* add the injected `caller: CapCaller` field to the provider's input
|
|
1240
1269
|
* type. Same pattern as `systemMethod()`'s `systemOnly: true` literal.
|
|
1241
1270
|
*/
|
|
1242
|
-
export declare function method<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options: CapabilityMethodOptions<TKind> & {
|
|
1271
|
+
export declare function method<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options: CapabilityMethodOptions<TKind, TIn> & {
|
|
1243
1272
|
readonly caller: 'required';
|
|
1244
1273
|
}): CapabilityMethodSchema<TIn, TOut, TKind> & {
|
|
1245
1274
|
readonly caller: 'required';
|
|
1246
1275
|
};
|
|
1247
|
-
export declare function method<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options: CapabilityMethodOptions<TKind> & {
|
|
1276
|
+
export declare function method<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options: CapabilityMethodOptions<TKind, TIn> & {
|
|
1248
1277
|
readonly caller: 'scoped';
|
|
1249
1278
|
}): CapabilityMethodSchema<TIn, TOut, TKind> & {
|
|
1250
1279
|
readonly caller: 'scoped';
|
|
1251
1280
|
};
|
|
1252
|
-
export declare function method<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options?: CapabilityMethodOptions<TKind>): CapabilityMethodSchema<TIn, TOut, TKind>;
|
|
1281
|
+
export declare function method<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options?: CapabilityMethodOptions<TKind, TIn>): CapabilityMethodSchema<TIn, TOut, TKind>;
|
|
1253
1282
|
/**
|
|
1254
1283
|
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
1255
1284
|
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
1256
1285
|
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
1257
1286
|
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
1258
1287
|
*/
|
|
1259
|
-
export declare function systemMethod<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options?: CapabilityMethodOptions<TKind>): CapabilityMethodSchema<TIn, TOut, TKind> & {
|
|
1288
|
+
export declare function systemMethod<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options?: CapabilityMethodOptions<TKind, TIn>): CapabilityMethodSchema<TIn, TOut, TKind> & {
|
|
1260
1289
|
readonly systemOnly: true;
|
|
1261
1290
|
};
|
|
1262
1291
|
/**
|
|
@@ -1265,17 +1294,17 @@ export declare function systemMethod<TIn extends z.ZodType, TOut extends z.ZodTy
|
|
|
1265
1294
|
* `InferProvider` keys on; see {@link CapabilityMethodSchema.providerOptional}
|
|
1266
1295
|
* for when this is the honest answer and when it is a soft stub.
|
|
1267
1296
|
*/
|
|
1268
|
-
export declare function optionalMethod<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options: CapabilityMethodOptions<TKind> & {
|
|
1297
|
+
export declare function optionalMethod<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options: CapabilityMethodOptions<TKind, TIn> & {
|
|
1269
1298
|
readonly caller: 'scoped';
|
|
1270
1299
|
}): CapabilityMethodSchema<TIn, TOut, TKind> & {
|
|
1271
1300
|
readonly providerOptional: true;
|
|
1272
1301
|
readonly caller: 'scoped';
|
|
1273
1302
|
};
|
|
1274
|
-
export declare function optionalMethod<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options?: CapabilityMethodOptions<TKind>): CapabilityMethodSchema<TIn, TOut, TKind> & {
|
|
1303
|
+
export declare function optionalMethod<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options?: CapabilityMethodOptions<TKind, TIn>): CapabilityMethodSchema<TIn, TOut, TKind> & {
|
|
1275
1304
|
readonly providerOptional: true;
|
|
1276
1305
|
};
|
|
1277
1306
|
/** Shorthand to define an event schema */
|
|
1278
|
-
export declare function event<TData extends z.ZodType>(data: TData): CapabilityEventSchema<TData>;
|
|
1307
|
+
export declare function event<TData extends z.ZodType>(data: TData, vocabulary?: EventVocabularyDecl): CapabilityEventSchema<TData>;
|
|
1279
1308
|
/** Type guard: does this cap declare the D14 device-config archetype? */
|
|
1280
1309
|
export declare function isDeviceConfigCap(def: CapabilityDefinition | undefined): def is CapabilityDefinition & {
|
|
1281
1310
|
deviceConfig: DeviceConfigSpec;
|
|
@@ -48,5 +48,17 @@ export declare const carbonMonoxideCapability: {
|
|
|
48
48
|
/** Clock fields: written, but excluded from the compare that decides
|
|
49
49
|
* whether persisting is worth a SQLite commit. */
|
|
50
50
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
51
|
+
readonly vocabulary: {
|
|
52
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
53
|
+
readonly order: 5030;
|
|
54
|
+
readonly state: readonly [{
|
|
55
|
+
readonly kind: 'boolean';
|
|
56
|
+
readonly field: 'detected';
|
|
57
|
+
readonly label: import("../index.js").VocabL10n;
|
|
58
|
+
readonly whenTrue: import("../index.js").VocabL10n;
|
|
59
|
+
readonly whenFalse: import("../index.js").VocabL10n;
|
|
60
|
+
readonly icon: 'cloud-alert';
|
|
61
|
+
}];
|
|
62
|
+
};
|
|
51
63
|
};
|
|
52
64
|
export type ICarbonMonoxideProvider = InferProvider<typeof carbonMonoxideCapability>;
|
|
@@ -113,18 +113,6 @@ export declare const climateControlCapability: {
|
|
|
113
113
|
off: "off";
|
|
114
114
|
}>;
|
|
115
115
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
116
|
-
readonly setFanMode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
117
|
-
deviceId: z.ZodNumber;
|
|
118
|
-
fanMode: z.ZodString;
|
|
119
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
120
|
-
readonly providerOptional: true;
|
|
121
|
-
};
|
|
122
|
-
readonly setPreset: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
123
|
-
deviceId: z.ZodNumber;
|
|
124
|
-
preset: z.ZodString;
|
|
125
|
-
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
126
|
-
readonly providerOptional: true;
|
|
127
|
-
};
|
|
128
116
|
readonly setTarget: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
129
117
|
deviceId: z.ZodNumber;
|
|
130
118
|
target: z.ZodNumber;
|
|
@@ -142,6 +130,18 @@ export declare const climateControlCapability: {
|
|
|
142
130
|
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
143
131
|
readonly providerOptional: true;
|
|
144
132
|
};
|
|
133
|
+
readonly setFanMode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
134
|
+
deviceId: z.ZodNumber;
|
|
135
|
+
fanMode: z.ZodString;
|
|
136
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
137
|
+
readonly providerOptional: true;
|
|
138
|
+
};
|
|
139
|
+
readonly setPreset: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
140
|
+
deviceId: z.ZodNumber;
|
|
141
|
+
preset: z.ZodString;
|
|
142
|
+
}, z.core.$strip>, z.ZodVoid, "mutation"> & {
|
|
143
|
+
readonly providerOptional: true;
|
|
144
|
+
};
|
|
145
145
|
readonly setSwingVertical: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
146
146
|
deviceId: z.ZodNumber;
|
|
147
147
|
on: z.ZodBoolean;
|
|
@@ -291,5 +291,61 @@ export declare const climateControlCapability: {
|
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
};
|
|
294
|
+
readonly vocabulary: {
|
|
295
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
296
|
+
readonly order: 1070;
|
|
297
|
+
readonly state: readonly [{
|
|
298
|
+
readonly kind: 'enum';
|
|
299
|
+
readonly field: 'mode';
|
|
300
|
+
readonly label: import("../index.js").VocabL10n;
|
|
301
|
+
readonly values: readonly [{
|
|
302
|
+
readonly value: 'off';
|
|
303
|
+
readonly label: import("../index.js").VocabL10n;
|
|
304
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
305
|
+
}, {
|
|
306
|
+
readonly value: 'heat';
|
|
307
|
+
readonly label: import("../index.js").VocabL10n;
|
|
308
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
309
|
+
}, {
|
|
310
|
+
readonly value: 'cool';
|
|
311
|
+
readonly label: import("../index.js").VocabL10n;
|
|
312
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
313
|
+
}, {
|
|
314
|
+
readonly value: 'auto';
|
|
315
|
+
readonly label: import("../index.js").VocabL10n;
|
|
316
|
+
}, {
|
|
317
|
+
readonly value: 'heat_cool';
|
|
318
|
+
readonly label: import("../index.js").VocabL10n;
|
|
319
|
+
}, {
|
|
320
|
+
readonly value: 'fan_only';
|
|
321
|
+
readonly label: import("../index.js").VocabL10n;
|
|
322
|
+
}, {
|
|
323
|
+
readonly value: 'dry';
|
|
324
|
+
readonly label: import("../index.js").VocabL10n;
|
|
325
|
+
}];
|
|
326
|
+
readonly icon: 'thermometer';
|
|
327
|
+
}, {
|
|
328
|
+
readonly kind: 'numeric';
|
|
329
|
+
readonly field: 'currentTemp';
|
|
330
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
331
|
+
readonly label: import("../index.js").VocabL10n;
|
|
332
|
+
readonly unit: '°C';
|
|
333
|
+
readonly icon: 'thermometer';
|
|
334
|
+
}, {
|
|
335
|
+
readonly kind: 'numeric';
|
|
336
|
+
readonly field: 'currentHumidity';
|
|
337
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
338
|
+
readonly label: import("../index.js").VocabL10n;
|
|
339
|
+
readonly unit: '%';
|
|
340
|
+
readonly icon: 'droplets';
|
|
341
|
+
}, {
|
|
342
|
+
readonly kind: 'numeric';
|
|
343
|
+
readonly field: 'target';
|
|
344
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
345
|
+
readonly label: import("../index.js").VocabL10n;
|
|
346
|
+
readonly unit: '°C';
|
|
347
|
+
readonly icon: 'thermometer';
|
|
348
|
+
}];
|
|
349
|
+
};
|
|
294
350
|
};
|
|
295
351
|
export type IClimateControlProvider = InferProvider<typeof climateControlCapability>;
|
|
@@ -361,6 +361,9 @@ export declare const clusterUpdateCapability: {
|
|
|
361
361
|
readonly mount: {
|
|
362
362
|
readonly kind: 'server-provided';
|
|
363
363
|
};
|
|
364
|
+
readonly vocabulary: {
|
|
365
|
+
readonly notOperatorFacing: "cluster administration — nodes, server package, metrics";
|
|
366
|
+
};
|
|
364
367
|
};
|
|
365
368
|
export type IClusterUpdateProvider = InferProvider<typeof clusterUpdateCapability>;
|
|
366
369
|
export type ClusterUpdateStepKind = z.infer<typeof ClusterUpdateStepKindSchema>;
|
|
@@ -133,6 +133,7 @@ export declare const colorCapability: {
|
|
|
133
133
|
colorTemperature: z.ZodOptional<z.ZodNumber>;
|
|
134
134
|
lastChangedAt: z.ZodNumber;
|
|
135
135
|
}, z.core.$strip>;
|
|
136
|
+
readonly notOperatorFacing: 'a colour change is read through the `mode` state trigger';
|
|
136
137
|
};
|
|
137
138
|
};
|
|
138
139
|
readonly status: {
|
|
@@ -192,6 +193,26 @@ export declare const colorCapability: {
|
|
|
192
193
|
* History (D850): none — nested and cosmetic.
|
|
193
194
|
*/
|
|
194
195
|
readonly history: 'none';
|
|
196
|
+
readonly vocabulary: {
|
|
197
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
198
|
+
readonly order: 1020;
|
|
199
|
+
readonly state: readonly [{
|
|
200
|
+
readonly kind: 'enum';
|
|
201
|
+
readonly field: 'mode';
|
|
202
|
+
readonly label: import("../index.js").VocabL10n;
|
|
203
|
+
readonly values: readonly [{
|
|
204
|
+
readonly value: 'rgb';
|
|
205
|
+
readonly label: import("../index.js").VocabL10n;
|
|
206
|
+
}, {
|
|
207
|
+
readonly value: 'hsv';
|
|
208
|
+
readonly label: import("../index.js").VocabL10n;
|
|
209
|
+
}, {
|
|
210
|
+
readonly value: 'mired';
|
|
211
|
+
readonly label: import("../index.js").VocabL10n;
|
|
212
|
+
}];
|
|
213
|
+
readonly icon: 'palette';
|
|
214
|
+
}];
|
|
215
|
+
};
|
|
195
216
|
};
|
|
196
217
|
export type IColorProvider = InferProvider<typeof colorCapability>;
|
|
197
218
|
export {};
|
|
@@ -813,5 +813,8 @@ export declare const composerCapability: {
|
|
|
813
813
|
}, z.core.$strip>>;
|
|
814
814
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
815
815
|
};
|
|
816
|
+
readonly vocabulary: {
|
|
817
|
+
readonly notOperatorFacing: 'device composition — an authoring tool, not an action';
|
|
818
|
+
};
|
|
816
819
|
};
|
|
817
820
|
export type IComposerProvider = InferProvider<typeof composerCapability>;
|
|
@@ -54,5 +54,17 @@ export declare const connectivityCapability: {
|
|
|
54
54
|
/** Clock fields: written, but excluded from the compare that decides
|
|
55
55
|
* whether persisting is worth a SQLite commit. */
|
|
56
56
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
57
|
+
readonly vocabulary: {
|
|
58
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
59
|
+
readonly order: 5040;
|
|
60
|
+
readonly state: readonly [{
|
|
61
|
+
readonly kind: 'boolean';
|
|
62
|
+
readonly field: 'connected';
|
|
63
|
+
readonly label: import("../index.js").VocabL10n;
|
|
64
|
+
readonly whenTrue: import("../index.js").VocabL10n;
|
|
65
|
+
readonly whenFalse: import("../index.js").VocabL10n;
|
|
66
|
+
readonly icon: 'wifi';
|
|
67
|
+
}];
|
|
68
|
+
};
|
|
57
69
|
};
|
|
58
70
|
export type IConnectivityProvider = InferProvider<typeof connectivityCapability>;
|
|
@@ -504,5 +504,9 @@ export declare const consumablesCapability: {
|
|
|
504
504
|
};
|
|
505
505
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
506
506
|
readonly volatileStateFields: readonly ["lastChangedAt", "lastFetchedAt"];
|
|
507
|
+
readonly vocabulary: {
|
|
508
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
509
|
+
readonly order: 2070;
|
|
510
|
+
};
|
|
507
511
|
};
|
|
508
512
|
export type IConsumablesProvider = InferProvider<typeof consumablesCapability>;
|
|
@@ -56,5 +56,17 @@ export declare const contactCapability: {
|
|
|
56
56
|
/** Clock fields: written, but excluded from the compare that decides
|
|
57
57
|
* whether persisting is worth a SQLite commit. */
|
|
58
58
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
59
|
+
readonly vocabulary: {
|
|
60
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
61
|
+
readonly order: 5050;
|
|
62
|
+
readonly state: readonly [{
|
|
63
|
+
readonly kind: 'boolean';
|
|
64
|
+
readonly field: 'entryOpen';
|
|
65
|
+
readonly label: import("../index.js").VocabL10n;
|
|
66
|
+
readonly whenTrue: import("../index.js").VocabL10n;
|
|
67
|
+
readonly whenFalse: import("../index.js").VocabL10n;
|
|
68
|
+
readonly icon: 'door-open';
|
|
69
|
+
}];
|
|
70
|
+
};
|
|
59
71
|
};
|
|
60
72
|
export type IContactProvider = InferProvider<typeof contactCapability>;
|
|
@@ -150,6 +150,21 @@ export declare const controlCapability: {
|
|
|
150
150
|
* History (D850): none — `value` is a number/string union; configuration entity.
|
|
151
151
|
*/
|
|
152
152
|
readonly history: 'none';
|
|
153
|
+
readonly vocabulary: {
|
|
154
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
155
|
+
readonly order: 1150;
|
|
156
|
+
readonly state: readonly [{
|
|
157
|
+
readonly kind: 'value';
|
|
158
|
+
readonly field: 'value';
|
|
159
|
+
readonly label: import("../index.js").VocabL10n;
|
|
160
|
+
readonly offer: {
|
|
161
|
+
readonly kind: 'dynamic';
|
|
162
|
+
readonly from: 'status';
|
|
163
|
+
readonly field: 'options';
|
|
164
|
+
};
|
|
165
|
+
readonly icon: 'sliders-horizontal';
|
|
166
|
+
}];
|
|
167
|
+
};
|
|
153
168
|
};
|
|
154
169
|
export type IControlProvider = InferProvider<typeof controlCapability>;
|
|
155
170
|
export {};
|
|
@@ -6068,5 +6068,8 @@ export declare const coreBlocksCapability: {
|
|
|
6068
6068
|
lastError: z.ZodNullable<z.ZodString>;
|
|
6069
6069
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
6070
6070
|
};
|
|
6071
|
+
readonly vocabulary: {
|
|
6072
|
+
readonly notOperatorFacing: "internal plumbing between addons — never operator-facing";
|
|
6073
|
+
};
|
|
6071
6074
|
};
|
|
6072
6075
|
export type ICoreBlocksProvider = InferProvider<typeof coreBlocksCapability>;
|
|
@@ -128,5 +128,115 @@ export declare const coverCapability: {
|
|
|
128
128
|
/** Clock fields: written, but excluded from the compare that decides
|
|
129
129
|
* whether persisting is worth a SQLite commit. */
|
|
130
130
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
131
|
+
readonly vocabulary: {
|
|
132
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
133
|
+
readonly order: 1030;
|
|
134
|
+
readonly state: readonly [{
|
|
135
|
+
readonly kind: 'enum';
|
|
136
|
+
readonly field: 'state';
|
|
137
|
+
readonly label: import("../index.js").VocabL10n;
|
|
138
|
+
readonly values: readonly [{
|
|
139
|
+
readonly value: 'open';
|
|
140
|
+
readonly label: import("../index.js").VocabL10n;
|
|
141
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
142
|
+
}, {
|
|
143
|
+
readonly value: 'opening';
|
|
144
|
+
readonly label: import("../index.js").VocabL10n;
|
|
145
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
146
|
+
}, {
|
|
147
|
+
readonly value: 'closing';
|
|
148
|
+
readonly label: import("../index.js").VocabL10n;
|
|
149
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
150
|
+
}, {
|
|
151
|
+
readonly value: 'closed';
|
|
152
|
+
readonly label: import("../index.js").VocabL10n;
|
|
153
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
154
|
+
}, {
|
|
155
|
+
readonly value: 'stopped';
|
|
156
|
+
readonly label: import("../index.js").VocabL10n;
|
|
157
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
158
|
+
}];
|
|
159
|
+
readonly icon: 'blinds';
|
|
160
|
+
}, {
|
|
161
|
+
readonly kind: 'numeric';
|
|
162
|
+
readonly field: 'position';
|
|
163
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
164
|
+
readonly label: import("../index.js").VocabL10n;
|
|
165
|
+
readonly unit: '%';
|
|
166
|
+
readonly icon: 'blinds';
|
|
167
|
+
}];
|
|
168
|
+
readonly overrides: {
|
|
169
|
+
readonly byRole: {
|
|
170
|
+
readonly "cover-garage": {
|
|
171
|
+
readonly actions: {
|
|
172
|
+
readonly 'cover.open': {
|
|
173
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
174
|
+
readonly icon: 'warehouse';
|
|
175
|
+
};
|
|
176
|
+
readonly 'cover.close': {
|
|
177
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
178
|
+
readonly icon: 'warehouse';
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
readonly "cover-gate": {
|
|
183
|
+
readonly actions: {
|
|
184
|
+
readonly 'cover.open': {
|
|
185
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
186
|
+
readonly icon: 'fence';
|
|
187
|
+
};
|
|
188
|
+
readonly 'cover.close': {
|
|
189
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
190
|
+
readonly icon: 'fence';
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly "cover-door": {
|
|
195
|
+
readonly actions: {
|
|
196
|
+
readonly 'cover.open': {
|
|
197
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
198
|
+
readonly icon: 'door-open';
|
|
199
|
+
};
|
|
200
|
+
readonly 'cover.close': {
|
|
201
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
202
|
+
readonly icon: 'door-closed';
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
readonly "cover-window": {
|
|
207
|
+
readonly actions: {
|
|
208
|
+
readonly 'cover.open': {
|
|
209
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
210
|
+
readonly icon: 'app-window';
|
|
211
|
+
};
|
|
212
|
+
readonly 'cover.close': {
|
|
213
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
214
|
+
readonly icon: 'app-window';
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly "cover-shutter": {
|
|
219
|
+
readonly actions: {
|
|
220
|
+
readonly 'cover.open': {
|
|
221
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
222
|
+
};
|
|
223
|
+
readonly 'cover.close': {
|
|
224
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
readonly "cover-awning": {
|
|
229
|
+
readonly actions: {
|
|
230
|
+
readonly 'cover.open': {
|
|
231
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
232
|
+
};
|
|
233
|
+
readonly 'cover.close': {
|
|
234
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
131
241
|
};
|
|
132
242
|
export type ICoverProvider = InferProvider<typeof coverCapability>;
|
|
@@ -966,5 +966,8 @@ export declare const customModelRegistryCapability: {
|
|
|
966
966
|
detail: z.ZodString;
|
|
967
967
|
}, z.core.$strip>], "kind">, "mutation">;
|
|
968
968
|
};
|
|
969
|
+
readonly vocabulary: {
|
|
970
|
+
readonly notOperatorFacing: "model and training machinery — no device action";
|
|
971
|
+
};
|
|
969
972
|
};
|
|
970
973
|
export type ICustomModelRegistryProvider = InferProvider<typeof customModelRegistryCapability>;
|
|
@@ -365,6 +365,9 @@ export declare const dataStoreProviderCapability: {
|
|
|
365
365
|
withoutRowid: z.ZodOptional<z.ZodBoolean>;
|
|
366
366
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
367
367
|
};
|
|
368
|
+
readonly vocabulary: {
|
|
369
|
+
readonly notOperatorFacing: "internal plumbing between addons — never operator-facing";
|
|
370
|
+
};
|
|
368
371
|
};
|
|
369
372
|
export type IDataStoreProvider = InferProvider<typeof dataStoreProviderCapability>;
|
|
370
373
|
export { EngineInfoSchema };
|
|
@@ -192,5 +192,8 @@ export declare const databaseSnapshotCapability: {
|
|
|
192
192
|
}>;
|
|
193
193
|
}, z.core.$strip>, "mutation">;
|
|
194
194
|
};
|
|
195
|
+
readonly vocabulary: {
|
|
196
|
+
readonly notOperatorFacing: "internal plumbing between addons — never operator-facing";
|
|
197
|
+
};
|
|
195
198
|
};
|
|
196
199
|
export type IDatabaseSnapshotProvider = InferProvider<typeof databaseSnapshotCapability>;
|
|
@@ -172,5 +172,30 @@ export declare const dayNightCapability: {
|
|
|
172
172
|
/** Clock fields: written, but excluded from the compare that decides
|
|
173
173
|
* whether persisting is worth a SQLite commit. */
|
|
174
174
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
175
|
+
readonly vocabulary: {
|
|
176
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
177
|
+
readonly order: 3070;
|
|
178
|
+
readonly state: readonly [{
|
|
179
|
+
readonly kind: 'enum';
|
|
180
|
+
readonly field: 'mode';
|
|
181
|
+
readonly label: import("../index.js").VocabL10n;
|
|
182
|
+
readonly values: readonly [{
|
|
183
|
+
readonly value: 'auto';
|
|
184
|
+
readonly label: import("../index.js").VocabL10n;
|
|
185
|
+
}, {
|
|
186
|
+
readonly value: 'day';
|
|
187
|
+
readonly label: import("../index.js").VocabL10n;
|
|
188
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
189
|
+
}, {
|
|
190
|
+
readonly value: 'night';
|
|
191
|
+
readonly label: import("../index.js").VocabL10n;
|
|
192
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
193
|
+
}, {
|
|
194
|
+
readonly value: 'schedule';
|
|
195
|
+
readonly label: import("../index.js").VocabL10n;
|
|
196
|
+
}];
|
|
197
|
+
readonly icon: 'sun-moon';
|
|
198
|
+
}];
|
|
199
|
+
};
|
|
175
200
|
};
|
|
176
201
|
export type IDayNightProvider = InferNativeProvider<typeof dayNightCapability>;
|
|
@@ -57,5 +57,8 @@ export declare const decoderCapability: {
|
|
|
57
57
|
backend: z.ZodString;
|
|
58
58
|
}, z.core.$strip>, "mutation">;
|
|
59
59
|
};
|
|
60
|
+
readonly vocabulary: {
|
|
61
|
+
readonly notOperatorFacing: "detection pipeline machinery — tuned on the pipeline pages, never actuated per device";
|
|
62
|
+
};
|
|
60
63
|
};
|
|
61
64
|
export type IDecoderCapProvider = InferProvider<typeof decoderCapability>;
|
|
@@ -31,5 +31,9 @@ export declare const detectionPipelineCapability: {
|
|
|
31
31
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
32
32
|
readonly exposesDeviceSettings: true;
|
|
33
33
|
readonly methods: {};
|
|
34
|
+
readonly vocabulary: {
|
|
35
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
36
|
+
readonly order: 3080;
|
|
37
|
+
};
|
|
34
38
|
};
|
|
35
39
|
export type IDetectionPipelineProvider = InferProvider<typeof detectionPipelineCapability>;
|
|
@@ -114,5 +114,9 @@ export declare const deviceAdminLinkCapability: {
|
|
|
114
114
|
host: z.ZodString;
|
|
115
115
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
116
116
|
};
|
|
117
|
+
readonly vocabulary: {
|
|
118
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
119
|
+
readonly order: 3090;
|
|
120
|
+
};
|
|
117
121
|
};
|
|
118
122
|
export type IDeviceAdminLinkProvider = InferProvider<typeof deviceAdminLinkCapability>;
|
|
@@ -254,6 +254,9 @@ export declare const deviceAdoptionCapability: {
|
|
|
254
254
|
removedChildren: z.ZodOptional<z.ZodNumber>;
|
|
255
255
|
}, z.core.$strip>, "mutation">;
|
|
256
256
|
};
|
|
257
|
+
readonly vocabulary: {
|
|
258
|
+
readonly notOperatorFacing: 'device adoption — an onboarding flow, not an action';
|
|
259
|
+
};
|
|
257
260
|
};
|
|
258
261
|
export type IDeviceAdoptionProvider = InferProvider<typeof deviceAdoptionCapability>;
|
|
259
262
|
export type AdoptionStatus = z.infer<typeof AdoptionStatusSchema>;
|
|
@@ -170,5 +170,8 @@ export declare const deviceCredentialsCapability: {
|
|
|
170
170
|
renamed: z.ZodBoolean;
|
|
171
171
|
}, z.core.$strip>, "mutation">;
|
|
172
172
|
};
|
|
173
|
+
readonly vocabulary: {
|
|
174
|
+
readonly notOperatorFacing: "identity and access administration — users, sign-in and secrets";
|
|
175
|
+
};
|
|
173
176
|
};
|
|
174
177
|
export type IDeviceCredentialsProvider = InferProvider<typeof deviceCredentialsCapability>;
|
|
@@ -320,6 +320,9 @@ export declare const deviceExportCapability: {
|
|
|
320
320
|
readonly providerOptional: true;
|
|
321
321
|
};
|
|
322
322
|
};
|
|
323
|
+
readonly vocabulary: {
|
|
324
|
+
readonly notOperatorFacing: 'exports to other ecosystems — configured on the export pages';
|
|
325
|
+
};
|
|
323
326
|
};
|
|
324
327
|
type DeviceExportInferred = InferProvider<typeof deviceExportCapability>;
|
|
325
328
|
/**
|