@camstack/types 1.2.588 → 1.2.590
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 +13 -0
- package/dist/addon.js +4 -4
- package/dist/addon.mjs +4 -4
- package/dist/capabilities/alarm-panel.cap.d.ts +15 -7
- package/dist/capabilities/battery.cap.d.ts +7 -41
- package/dist/capabilities/capability-definition.d.ts +12 -0
- package/dist/capabilities/index.d.ts +5 -1
- package/dist/capabilities/lock-control.cap.d.ts +5 -2
- package/dist/capabilities/low-power-sleep.cap.d.ts +83 -0
- package/dist/capabilities/resync.cap.d.ts +40 -0
- package/dist/client.js +19 -11
- package/dist/client.mjs +19 -11
- package/dist/{composed-stable-id-BBL71oUQ.mjs → composed-stable-id-BNTaDZEh.mjs} +9 -13
- package/dist/{composed-stable-id-CVbyajE5.js → composed-stable-id-BdeYe5dD.js} +9 -13
- package/dist/device/device-feature-requirements.d.ts +3 -6
- package/dist/device/device-profile.d.ts +1 -1
- package/dist/device/device-type.d.ts +9 -13
- package/dist/device/low-power-sleep.d.ts +19 -0
- package/dist/device/resync-through-adoption.d.ts +12 -0
- package/dist/enums/event-category.d.ts +1 -1
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-CE_VCE2G.js → event-category-BKxXXxnV.js} +1 -1
- package/dist/{event-category-Hwx_JSCU.mjs → event-category-CY27-fF0.mjs} +1 -1
- package/dist/generated/addon-api.d.ts +113 -8
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/cap-vocabulary.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +8 -2
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +5 -0
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +6 -1
- package/dist/{implemented-methods-ChtdIofW.js → implemented-methods-BarLh7tc.js} +1 -1
- package/dist/{implemented-methods-u7ddjc-_.mjs → implemented-methods-k3KProJd.mjs} +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +357 -82
- package/dist/index.mjs +342 -83
- package/dist/interfaces/event-bus.d.ts +1 -1
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/schemas/api-catalog.d.ts +170 -0
- package/dist/{sleep-CsZJsb8n.js → sleep-BA_SIc0O.js} +51 -10
- package/dist/{sleep-D6Pih0Qt.mjs → sleep-BT1bLgPq.mjs} +51 -10
- package/package.json +1 -1
|
@@ -106,6 +106,7 @@ export { lockControlCapability } from '../capabilities/lock-control.cap.js';
|
|
|
106
106
|
export { logChannelsCapability } from '../capabilities/log-channels.cap.js';
|
|
107
107
|
export { logDestinationCapability } from '../capabilities/log-destination.cap.js';
|
|
108
108
|
export { loginMethodCapability } from '../capabilities/login-method.cap.js';
|
|
109
|
+
export { lowPowerSleepCapability } from '../capabilities/low-power-sleep.cap.js';
|
|
109
110
|
export { mediaPlayerCapability } from '../capabilities/media-player.cap.js';
|
|
110
111
|
export { meshNetworkCapability } from '../capabilities/mesh-network.cap.js';
|
|
111
112
|
export { meterCapability } from '../capabilities/meter.cap.js';
|
|
@@ -159,6 +160,7 @@ export { recordingSignalCapability } from '../capabilities/recording-signal.cap.
|
|
|
159
160
|
export { recordsCapability } from '../capabilities/records.cap.js';
|
|
160
161
|
export { remoteCapability } from '../capabilities/remote.cap.js';
|
|
161
162
|
export { remoteLayoutComponentsCapability } from '../capabilities/remote-layout-components.cap.js';
|
|
163
|
+
export { resyncCapability } from '../capabilities/resync.cap.js';
|
|
162
164
|
export { runningStateCapability } from '../capabilities/running-state.cap.js';
|
|
163
165
|
export { sceneMonitorCapability } from '../capabilities/scene-monitor.cap.js';
|
|
164
166
|
export { schedulersCapability } from '../capabilities/schedulers.cap.js';
|
|
@@ -318,6 +320,7 @@ export declare const CAPABILITY_NAMES: {
|
|
|
318
320
|
readonly logChannels: 'log-channels';
|
|
319
321
|
readonly logDestination: 'log-destination';
|
|
320
322
|
readonly loginMethod: 'login-method';
|
|
323
|
+
readonly lowPowerSleep: 'low-power-sleep';
|
|
321
324
|
readonly mediaPlayer: 'media-player';
|
|
322
325
|
readonly meshNetwork: 'mesh-network';
|
|
323
326
|
readonly meter: 'meter';
|
|
@@ -371,6 +374,7 @@ export declare const CAPABILITY_NAMES: {
|
|
|
371
374
|
readonly records: 'records';
|
|
372
375
|
readonly remote: 'remote';
|
|
373
376
|
readonly remoteLayoutComponents: 'remote-layout-components';
|
|
377
|
+
readonly resync: 'resync';
|
|
374
378
|
readonly runningState: 'running-state';
|
|
375
379
|
readonly sceneMonitor: 'scene-monitor';
|
|
376
380
|
readonly schedulers: 'schedulers';
|
|
@@ -543,6 +547,7 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
543
547
|
readonly logChannels: TRouter;
|
|
544
548
|
readonly logDestination: TRouter;
|
|
545
549
|
readonly loginMethod: TRouter;
|
|
550
|
+
readonly lowPowerSleep: TRouter;
|
|
546
551
|
readonly mediaPlayer: TRouter;
|
|
547
552
|
readonly meshNetwork: TRouter;
|
|
548
553
|
readonly meter: TRouter;
|
|
@@ -596,6 +601,7 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
596
601
|
readonly records: TRouter;
|
|
597
602
|
readonly remote: TRouter;
|
|
598
603
|
readonly remoteLayoutComponents: TRouter;
|
|
604
|
+
readonly resync: TRouter;
|
|
599
605
|
readonly runningState: TRouter;
|
|
600
606
|
readonly sceneMonitor: TRouter;
|
|
601
607
|
readonly schedulers: TRouter;
|
|
@@ -647,8 +653,8 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
647
653
|
readonly zoneRules: TRouter;
|
|
648
654
|
readonly zones: TRouter;
|
|
649
655
|
}
|
|
650
|
-
/** Capability names whose mode is `singleton` (
|
|
651
|
-
export declare const SINGLETON_CAPABILITY_NAMES: readonly ['accessories', 'actions', 'addon-pages', 'addon-settings', 'addon-widgets', 'addons', 'admin-ui', 'air-quality-sensor', 'alarm-panel', 'alerts', 'ambient-light-sensor', 'audio-analysis', 'audio-analyzer', 'audio-codec', 'audio-metrics', 'automation-control', 'backup', 'battery', 'binary', 'brightness', 'button', 'calendars', 'camera-credentials', 'camera-grid-layout', 'camera-pipeline-config', 'camera-streams', 'carbon-monoxide', 'climate-control', 'cluster-update', 'color', 'composer', 'connectivity', 'consumables', 'contact', 'control', 'core-blocks', 'cover', 'database-snapshot', 'day-night', 'decoder', 'detection-pipeline', 'device-admin-link', 'device-credentials', 'device-history', 'device-manager', 'device-ops', 'device-runs', 'device-state', 'device-status', 'device-transitions', 'dishwasher', 'display-palette', 'do-not-disturb', 'doorbell', 'energy-system', 'enum-sensor', 'error', 'event-emitter', 'face-gallery', 'fan-control', 'fan-presets', 'feature-probe', 'filesystem-browse', 'flood', 'gas', 'group-active', 'group-commands', 'group-status', 'heat-pump-control', 'heat-pump-status', 'heating-valve', 'hero-layout', 'humidifier', 'humidity-sensor', 'image', 'image-settings', 'integrations', 'intercom', 'ir-transmitter', 'keychain', 'keychain-admin', 'lawn-mower-control', 'llm-runtime', 'local-network', 'lock-control', 'media-player', 'meter', 'metrics-provider', 'migrations', 'model-convert', 'model-distributor', 'motion', 'motion-detection', 'motion-trigger', 'motion-zones', 'native-object-detection', 'navigation', 'network-link', 'network-quality', 'node-certificates', 'nodes', 'notification-rules', 'notifier', 'numeric-sensor', 'osd', 'osd-manager', 'pet-feeder', 'pet-fountain', 'pipeline-analytics', 'pipeline-executor', 'pipeline-orchestrator', 'pipeline-runner', 'plate-gallery', 'platform-probe', 'power-meter', 'power-source', 'presence', 'pressure-sensor', 'privacy-mask', 'ptz', 'ptz-autotrack', 'pump-cycle', 'reboot', 'record-entries', 'recording-archive', 'recording-export', 'recording-onboard', 'recording-signal', 'records', 'remote', 'running-state', 'scene-monitor', 'schedulers', 'script-runner', 'server-management', 'settings-store', 'siren', 'smoke', 'snapshot', 'sso-bridge', 'storage', 'storage-admin', 'storage-migration', 'stream-broker', 'stream-catalog', 'stream-params', 'stream-signals', 'switch', 'system', 'tags', 'tamper', 'temperature-sensor', 'terminal-session', 'timed-run', 'toast', 'training', 'update', 'user-management', 'vacuum-control', 'valve', 'vector-store', 'vibration', 'viewer-ui', 'water-heater', 'weather', 'weather-station', 'webrtc-session', 'workload', 'zone-analytics', 'zone-rules', 'zones'];
|
|
656
|
+
/** Capability names whose mode is `singleton` (173 caps). */
|
|
657
|
+
export declare const SINGLETON_CAPABILITY_NAMES: readonly ['accessories', 'actions', 'addon-pages', 'addon-settings', 'addon-widgets', 'addons', 'admin-ui', 'air-quality-sensor', 'alarm-panel', 'alerts', 'ambient-light-sensor', 'audio-analysis', 'audio-analyzer', 'audio-codec', 'audio-metrics', 'automation-control', 'backup', 'battery', 'binary', 'brightness', 'button', 'calendars', 'camera-credentials', 'camera-grid-layout', 'camera-pipeline-config', 'camera-streams', 'carbon-monoxide', 'climate-control', 'cluster-update', 'color', 'composer', 'connectivity', 'consumables', 'contact', 'control', 'core-blocks', 'cover', 'database-snapshot', 'day-night', 'decoder', 'detection-pipeline', 'device-admin-link', 'device-credentials', 'device-history', 'device-manager', 'device-ops', 'device-runs', 'device-state', 'device-status', 'device-transitions', 'dishwasher', 'display-palette', 'do-not-disturb', 'doorbell', 'energy-system', 'enum-sensor', 'error', 'event-emitter', 'face-gallery', 'fan-control', 'fan-presets', 'feature-probe', 'filesystem-browse', 'flood', 'gas', 'group-active', 'group-commands', 'group-status', 'heat-pump-control', 'heat-pump-status', 'heating-valve', 'hero-layout', 'humidifier', 'humidity-sensor', 'image', 'image-settings', 'integrations', 'intercom', 'ir-transmitter', 'keychain', 'keychain-admin', 'lawn-mower-control', 'llm-runtime', 'local-network', 'lock-control', 'low-power-sleep', 'media-player', 'meter', 'metrics-provider', 'migrations', 'model-convert', 'model-distributor', 'motion', 'motion-detection', 'motion-trigger', 'motion-zones', 'native-object-detection', 'navigation', 'network-link', 'network-quality', 'node-certificates', 'nodes', 'notification-rules', 'notifier', 'numeric-sensor', 'osd', 'osd-manager', 'pet-feeder', 'pet-fountain', 'pipeline-analytics', 'pipeline-executor', 'pipeline-orchestrator', 'pipeline-runner', 'plate-gallery', 'platform-probe', 'power-meter', 'power-source', 'presence', 'pressure-sensor', 'privacy-mask', 'ptz', 'ptz-autotrack', 'pump-cycle', 'reboot', 'record-entries', 'recording-archive', 'recording-export', 'recording-onboard', 'recording-signal', 'records', 'remote', 'resync', 'running-state', 'scene-monitor', 'schedulers', 'script-runner', 'server-management', 'settings-store', 'siren', 'smoke', 'snapshot', 'sso-bridge', 'storage', 'storage-admin', 'storage-migration', 'stream-broker', 'stream-catalog', 'stream-params', 'stream-signals', 'switch', 'system', 'tags', 'tamper', 'temperature-sensor', 'terminal-session', 'timed-run', 'toast', 'training', 'update', 'user-management', 'vacuum-control', 'valve', 'vector-store', 'vibration', 'viewer-ui', 'water-heater', 'weather', 'weather-station', 'webrtc-session', 'workload', 'zone-analytics', 'zone-rules', 'zones'];
|
|
652
658
|
/** Union of singleton capability names (literal string union). */
|
|
653
659
|
export type SingletonCapabilityName = typeof SINGLETON_CAPABILITY_NAMES[number];
|
|
654
660
|
/** Capability names whose mode is `collection` (40 caps). */
|
|
@@ -42,6 +42,7 @@ import { intercomCapability } from '../capabilities/intercom.cap.js';
|
|
|
42
42
|
import { irTransmitterCapability } from '../capabilities/ir-transmitter.cap.js';
|
|
43
43
|
import { lawnMowerControlCapability } from '../capabilities/lawn-mower-control.cap.js';
|
|
44
44
|
import { lockControlCapability } from '../capabilities/lock-control.cap.js';
|
|
45
|
+
import { lowPowerSleepCapability } from '../capabilities/low-power-sleep.cap.js';
|
|
45
46
|
import { mediaPlayerCapability } from '../capabilities/media-player.cap.js';
|
|
46
47
|
import { meterCapability } from '../capabilities/meter.cap.js';
|
|
47
48
|
import { motionCapability } from '../capabilities/motion.cap.js';
|
|
@@ -141,6 +142,7 @@ export interface DeviceLocalState {
|
|
|
141
142
|
irTransmitter: InferRuntimeState<typeof irTransmitterCapability>;
|
|
142
143
|
lawnMowerControl: InferRuntimeState<typeof lawnMowerControlCapability>;
|
|
143
144
|
lockControl: InferRuntimeState<typeof lockControlCapability>;
|
|
145
|
+
lowPowerSleep: InferRuntimeState<typeof lowPowerSleepCapability>;
|
|
144
146
|
mediaPlayer: InferRuntimeState<typeof mediaPlayerCapability>;
|
|
145
147
|
meter: InferRuntimeState<typeof meterCapability>;
|
|
146
148
|
motion: InferRuntimeState<typeof motionCapability>;
|
|
@@ -250,6 +252,7 @@ export interface CapNameToRuntimeStateMap {
|
|
|
250
252
|
'ir-transmitter': InferRuntimeState<typeof irTransmitterCapability>;
|
|
251
253
|
'lawn-mower-control': InferRuntimeState<typeof lawnMowerControlCapability>;
|
|
252
254
|
'lock-control': InferRuntimeState<typeof lockControlCapability>;
|
|
255
|
+
'low-power-sleep': InferRuntimeState<typeof lowPowerSleepCapability>;
|
|
253
256
|
'media-player': InferRuntimeState<typeof mediaPlayerCapability>;
|
|
254
257
|
'meter': InferRuntimeState<typeof meterCapability>;
|
|
255
258
|
'motion': InferRuntimeState<typeof motionCapability>;
|
|
@@ -58,6 +58,7 @@ import type { intercomCapability } from '../capabilities/intercom.cap.js';
|
|
|
58
58
|
import type { irTransmitterCapability } from '../capabilities/ir-transmitter.cap.js';
|
|
59
59
|
import type { lawnMowerControlCapability } from '../capabilities/lawn-mower-control.cap.js';
|
|
60
60
|
import type { lockControlCapability } from '../capabilities/lock-control.cap.js';
|
|
61
|
+
import type { lowPowerSleepCapability } from '../capabilities/low-power-sleep.cap.js';
|
|
61
62
|
import type { mediaPlayerCapability } from '../capabilities/media-player.cap.js';
|
|
62
63
|
import type { meterCapability } from '../capabilities/meter.cap.js';
|
|
63
64
|
import type { motionCapability } from '../capabilities/motion.cap.js';
|
|
@@ -85,6 +86,7 @@ import type { rebootCapability } from '../capabilities/reboot.cap.js';
|
|
|
85
86
|
import type { recordingCapability } from '../capabilities/recording.cap.js';
|
|
86
87
|
import type { recordingOnboardCapability } from '../capabilities/recording-onboard.cap.js';
|
|
87
88
|
import type { recordingSignalCapability } from '../capabilities/recording-signal.cap.js';
|
|
89
|
+
import type { resyncCapability } from '../capabilities/resync.cap.js';
|
|
88
90
|
import type { runningStateCapability } from '../capabilities/running-state.cap.js';
|
|
89
91
|
import type { sceneMonitorCapability } from '../capabilities/scene-monitor.cap.js';
|
|
90
92
|
import type { scriptRunnerCapability } from '../capabilities/script-runner.cap.js';
|
|
@@ -180,6 +182,7 @@ export interface DeviceProxyState {
|
|
|
180
182
|
readonly irTransmitter: SliceHandle<InferRuntimeState<typeof irTransmitterCapability>>;
|
|
181
183
|
readonly lawnMowerControl: SliceHandle<InferRuntimeState<typeof lawnMowerControlCapability>>;
|
|
182
184
|
readonly lockControl: SliceHandle<InferRuntimeState<typeof lockControlCapability>>;
|
|
185
|
+
readonly lowPowerSleep: SliceHandle<InferRuntimeState<typeof lowPowerSleepCapability>>;
|
|
183
186
|
readonly mediaPlayer: SliceHandle<InferRuntimeState<typeof mediaPlayerCapability>>;
|
|
184
187
|
readonly meter: SliceHandle<InferRuntimeState<typeof meterCapability>>;
|
|
185
188
|
readonly motion: SliceHandle<InferRuntimeState<typeof motionCapability>>;
|
|
@@ -299,6 +302,7 @@ export interface DeviceProxy {
|
|
|
299
302
|
readonly irTransmitter?: InferDeviceProxyCap<typeof irTransmitterCapability>;
|
|
300
303
|
readonly lawnMowerControl?: InferDeviceProxyCap<typeof lawnMowerControlCapability>;
|
|
301
304
|
readonly lockControl?: InferDeviceProxyCap<typeof lockControlCapability>;
|
|
305
|
+
readonly lowPowerSleep?: InferDeviceProxyCap<typeof lowPowerSleepCapability>;
|
|
302
306
|
readonly mediaPlayer?: InferDeviceProxyCap<typeof mediaPlayerCapability>;
|
|
303
307
|
readonly meter?: InferDeviceProxyCap<typeof meterCapability>;
|
|
304
308
|
readonly motion?: InferDeviceProxyCap<typeof motionCapability>;
|
|
@@ -326,6 +330,7 @@ export interface DeviceProxy {
|
|
|
326
330
|
readonly recording?: InferDeviceProxyCap<typeof recordingCapability>;
|
|
327
331
|
readonly recordingOnboard?: InferDeviceProxyCap<typeof recordingOnboardCapability>;
|
|
328
332
|
readonly recordingSignal?: InferDeviceProxyCap<typeof recordingSignalCapability>;
|
|
333
|
+
readonly resync?: InferDeviceProxyCap<typeof resyncCapability>;
|
|
329
334
|
readonly runningState?: InferDeviceProxyCap<typeof runningStateCapability>;
|
|
330
335
|
readonly sceneMonitor?: InferDeviceProxyCap<typeof sceneMonitorCapability>;
|
|
331
336
|
readonly scriptRunner?: InferDeviceProxyCap<typeof scriptRunnerCapability>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
6
6
|
* (~144MB RSS per runner, D28).
|
|
7
7
|
*
|
|
8
|
-
* Coverage:
|
|
8
|
+
* Coverage: 111 device-scoped capabilities.
|
|
9
9
|
*/
|
|
10
10
|
export declare const DEVICE_SCOPED_CAPS: ReadonlySet<string>;
|
|
11
11
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CapabilityHistoryField, CapabilityHistoryItems, CapabilityHistoryPrimary } from '../capabilities/capability-definition.js';
|
|
2
2
|
/**
|
|
3
3
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
4
|
-
* 47 caps with series (130 series),
|
|
4
|
+
* 47 caps with series (130 series), 40 caps answered `'none'`.
|
|
5
5
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
6
6
|
*/
|
|
7
7
|
export declare const HISTORY_CATALOG: Readonly<Record<string, Readonly<Record<string, CapabilityHistoryField>>>>;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 1522 method paths across 213 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { MethodRole } from '../auth/viewer-access.js';
|
|
12
12
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 643 methods carry a device reference, of which
|
|
10
10
|
* 199 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
|
@@ -13,10 +13,15 @@ export interface RuntimeStatePolicy {
|
|
|
13
13
|
* back at boot (D1024); the rest stay session values. Absent = the whole slice.
|
|
14
14
|
*/
|
|
15
15
|
readonly restoredFields?: readonly string[];
|
|
16
|
+
/**
|
|
17
|
+
* `{ old: new }` field renames of a `restored` slice: a row persisted
|
|
18
|
+
* before the rename is read once into the new name at boot (`restoredPart`).
|
|
19
|
+
*/
|
|
20
|
+
readonly renamedFields?: Readonly<Record<string, string>>;
|
|
16
21
|
}
|
|
17
22
|
/**
|
|
18
23
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
19
|
-
* `runtimeState`.
|
|
24
|
+
* `runtimeState`. 88 caps: 44 `restored`, 44 `session`.
|
|
20
25
|
*
|
|
21
26
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
22
27
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DeviceType, i as DeviceRole, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-
|
|
1
|
+
import { a as DeviceType, i as DeviceRole, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-BNTaDZEh.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
//#region src/ffmpeg/invocation.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -190,6 +190,7 @@ export { type BearerPayloadShape, type BearerPrincipal, classifyBearerPrincipal,
|
|
|
190
190
|
export { ADMIN_SCOPE, ALL_METHOD_ACCESS, type AddonRoutesScope, AddonRoutesScopeSchema, capabilityScopesOf, CREDENTIAL_TOKEN_AUDIENCE, CREDENTIAL_TOKEN_KIND, isCredentialTokenPayload, type CredentialScope, CredentialScopeSchema, type CredentialTokenClaims, CredentialTokenClaimsSchema, parseCredentialScopes, PREFERENCES_SELF_SCOPE, type PreferencesSelfScope, PreferencesSelfScopeSchema, SHARE_VIEW_MAX_DEVICES, scopesAllowAddonRoutes, scopesAllowOwnPreferences, scopesGrantAdmin, type ShareViewGrant, ShareViewGrantSchema, type ShareViewScope, ShareViewScopeSchema, shareViewGrantOf, } from './auth/credential-scope.js';
|
|
191
191
|
export { DEFAULT_VIEWER_SCOPE, featureOfRole, type MethodRole, type MethodRoleDecl, type MethodRoleSource, methodRoleOf, resolveMethodRole, type ViewerAncestorLookup, viewerAdmitsDevice, type ViewerDeviceAllow, ViewerDeviceAllowSchema, VIEWER_FEATURE_IDS, VIEWER_FEATURES, type ViewerFeatureId, ViewerFeatureIdSchema, type ViewerFeatureSpec, viewerHoldsRole, type ViewerTokenScope, ViewerTokenScopeSchema, } from './auth/viewer-access.js';
|
|
192
192
|
export { type PreferenceNamespace, PreferenceNamespaceSchema, type PreferenceRow, PreferenceRowSchema, type PreferenceValue, PreferenceValueSchema, PreferenceDeviceIdSchema, type PreferencesChangedSinceInput, PreferencesChangedSinceInputSchema, type PreferencesChangedSinceOutput, PreferencesChangedSinceOutputSchema, type PreferencesDeleteInput, PreferencesDeleteInputSchema, type PreferencesDeleteOutput, PreferencesDeleteOutputSchema, type PreferencesGetInput, PreferencesGetInputSchema, type PreferencesGetOutput, PreferencesGetOutputSchema, type PreferencesPutInput, PreferencesPutInputSchema, type PreferencesPutOutput, PreferencesPutOutputSchema, PREFERENCES_MAX_DEVICE_ID_LENGTH, PREFERENCES_MAX_NAMESPACES, PREFERENCES_MAX_VALUE_BYTES, PREFERENCES_NAMESPACE_PATTERN, } from './schemas/user-preferences.js';
|
|
193
|
+
export { type ApiCallable, ApiCallableSchema, type ApiCatalogEntry, ApiCatalogEntrySchema, type ApiCatalogInputSchemaOutput, ApiCatalogInputSchemaOutputSchema, type ApiCatalogListOutput, ApiCatalogListOutputSchema, type ApiCatalogMethod, ApiCatalogMethodSchema, type ApiCatalogScope, ApiCatalogScopeSchema, type ApiProcedureKind, ApiProcedureKindSchema, type ApiProcedureTier, ApiProcedureTierSchema, type JsonSchemaDocument, JsonSchemaDocumentSchema, } from './schemas/api-catalog.js';
|
|
193
194
|
export { APP_AUTH_CALLBACK_MAX_LENGTH, APP_AUTH_CALLBACK_URLS, canonicalizeAppCallback, hasUrlScheme, parseAppAuthCallback, } from './auth/app-callback.js';
|
|
194
195
|
export { APP_FLOW_DEFAULT_REDIRECT, APP_FLOW_REFUSAL_MESSAGES, APP_FLOW_STATE_PREFIX, APP_REFUSED_PATH, APP_START_REFUSAL_MESSAGES, type AppFlowParse, type AppFlowPurpose, AppFlowPurposeSchema, type AppFlowRefusal, type AppFlowRequest, type AppPageLang, AppPageLangSchema, type AppLoginPath, AppLoginPathSchema, type AppStartRefusal, appFlowLocation, isAppStartRefusal, parseAppFlowRequest, parseAppPageLang, } from './auth/app-flow.js';
|
|
195
196
|
export { SSO_STATE_COOKIE, SSO_STATE_COOKIE_MAX_AGE_SEC } from './auth/sso-state.js';
|
|
@@ -253,6 +254,8 @@ export type { CreateDeviceOrigin, CreationSchemaContext, DeviceClassRow, DeviceR
|
|
|
253
254
|
export { BaseDeviceProvider, toDeviceSummary } from './device/base-device-provider.js';
|
|
254
255
|
export type { BatteryPresence, BatteryPresenceInput } from './device/battery-presence.js';
|
|
255
256
|
export { BATTERY_UNREACHABLE_AFTER_MS, deriveBatteryPresence, isBatteryPresenceFault, } from './device/battery-presence.js';
|
|
257
|
+
export { deviceSleeps, sleepSliceOfBattery } from './device/low-power-sleep.js';
|
|
258
|
+
export { type AdoptionResyncClient, resyncThroughAdoption, } from './device/resync-through-adoption.js';
|
|
256
259
|
export type { ICameraDevice, StreamSourceEntry } from './device/camera-device.js';
|
|
257
260
|
export { applyPrimaryChildPreference, applyPrimaryChildRule, CONTAINER_CHILD_PRIORITY, CONTAINER_PRIMARY_CHILD_RULES, primaryChildPreferenceOf, type AppliedPrimaryChildRule, type ContainerChildRef, type ContainerPreferenceSource, type ContainerPrimaryChildPreference, type ContainerPrimaryChildRule, type ContainerPrimaryDeclaration, resolveContainerPrimaryChild, } from './device/container-primary-child.js';
|
|
258
261
|
export { expandContainer, legacyAutoLinkIds, type LinkCandidate, } from './device/linked-device-resolve.js';
|