@camstack/types 1.2.365 → 1.2.366
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/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/air-quality-sensor.cap.d.ts +32 -0
- package/dist/capabilities/alarm-panel.cap.d.ts +4 -0
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +13 -0
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -0
- package/dist/capabilities/automation-control.cap.d.ts +4 -0
- package/dist/capabilities/battery.cap.d.ts +11 -0
- package/dist/capabilities/binary.cap.d.ts +10 -0
- package/dist/capabilities/brightness.cap.d.ts +12 -0
- package/dist/capabilities/camera-streams.cap.d.ts +4 -0
- package/dist/capabilities/capability-definition.d.ts +70 -0
- package/dist/capabilities/carbon-monoxide.cap.d.ts +10 -0
- package/dist/capabilities/climate-control.cap.d.ts +32 -0
- package/dist/capabilities/color.cap.d.ts +4 -0
- package/dist/capabilities/connectivity.cap.d.ts +4 -0
- package/dist/capabilities/consumables.cap.d.ts +4 -0
- package/dist/capabilities/contact.cap.d.ts +10 -0
- package/dist/capabilities/control.cap.d.ts +4 -0
- package/dist/capabilities/cover.cap.d.ts +12 -0
- package/dist/capabilities/day-night.cap.d.ts +4 -0
- package/dist/capabilities/device-discovery.cap.d.ts +4 -0
- package/dist/capabilities/device-status.cap.d.ts +10 -0
- package/dist/capabilities/doorbell.cap.d.ts +4 -0
- package/dist/capabilities/enum-sensor.cap.d.ts +4 -0
- package/dist/capabilities/event-emitter.cap.d.ts +4 -0
- package/dist/capabilities/fan-control.cap.d.ts +15 -0
- package/dist/capabilities/feature-probe.cap.d.ts +4 -0
- package/dist/capabilities/flood.cap.d.ts +10 -0
- package/dist/capabilities/gas.cap.d.ts +10 -0
- package/dist/capabilities/humidifier.cap.d.ts +15 -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 +2 -2
- package/dist/capabilities/intercom.cap.d.ts +4 -0
- package/dist/capabilities/lawn-mower-control.cap.d.ts +12 -0
- package/dist/capabilities/lock-control.cap.d.ts +4 -0
- package/dist/capabilities/media-player.cap.d.ts +4 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +4 -0
- package/dist/capabilities/motion-zones.cap.d.ts +4 -0
- package/dist/capabilities/motion.cap.d.ts +11 -0
- package/dist/capabilities/native-object-detection.cap.d.ts +4 -0
- package/dist/capabilities/navigation.cap.d.ts +4 -0
- package/dist/capabilities/network-link.cap.d.ts +19 -0
- package/dist/capabilities/notifier.cap.d.ts +4 -0
- package/dist/capabilities/numeric-sensor.cap.d.ts +12 -0
- package/dist/capabilities/pet-feeder.cap.d.ts +25 -0
- package/dist/capabilities/power-meter.cap.d.ts +43 -0
- package/dist/capabilities/presence.cap.d.ts +12 -0
- package/dist/capabilities/pressure-sensor.cap.d.ts +12 -0
- package/dist/capabilities/privacy-mask.cap.d.ts +4 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts +4 -0
- package/dist/capabilities/recording-onboard.cap.d.ts +4 -0
- package/dist/capabilities/recording-signal.cap.d.ts +4 -0
- package/dist/capabilities/scene-monitor.cap.d.ts +4 -0
- package/dist/capabilities/script-runner.cap.d.ts +4 -0
- package/dist/capabilities/smoke.cap.d.ts +10 -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 +10 -0
- package/dist/capabilities/tamper.cap.d.ts +10 -0
- package/dist/capabilities/temperature-sensor.cap.d.ts +12 -0
- package/dist/capabilities/update.cap.d.ts +4 -0
- package/dist/capabilities/vacuum-control.cap.d.ts +32 -0
- package/dist/capabilities/valve.cap.d.ts +12 -0
- package/dist/capabilities/vibration.cap.d.ts +10 -0
- package/dist/capabilities/water-heater.cap.d.ts +17 -0
- package/dist/capabilities/weather.cap.d.ts +27 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +4 -0
- package/dist/capabilities/zone-rules.cap.d.ts +4 -0
- package/dist/capabilities/zones.cap.d.ts +4 -0
- package/dist/generated/history-catalog.d.ts +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +868 -34
- package/dist/index.mjs +864 -35
- package/dist/{sleep-BBF1iXUi.mjs → sleep-DxJdzHni.mjs} +26 -1
- package/dist/{sleep-BBXNq778.js → sleep-NZlEFYGX.js} +37 -0
- package/package.json +1 -1
|
@@ -3913,6 +3913,31 @@ z.object({
|
|
|
3913
3913
|
});
|
|
3914
3914
|
/** The default applied to a `runtimeState` cap that declares no `durability`. */
|
|
3915
3915
|
var DEFAULT_RUNTIME_STATE_DURABILITY = "session";
|
|
3916
|
+
/** Display label per {@link HistoryUnit} (only `'ug/m3'` differs from its id). */
|
|
3917
|
+
var HISTORY_UNIT_LABELS = {
|
|
3918
|
+
"%": "%",
|
|
3919
|
+
dBFS: "dBFS",
|
|
3920
|
+
dBm: "dBm",
|
|
3921
|
+
"°C": "°C",
|
|
3922
|
+
W: "W",
|
|
3923
|
+
kWh: "kWh",
|
|
3924
|
+
V: "V",
|
|
3925
|
+
A: "A",
|
|
3926
|
+
VA: "VA",
|
|
3927
|
+
lx: "lx",
|
|
3928
|
+
ppm: "ppm",
|
|
3929
|
+
ppb: "ppb",
|
|
3930
|
+
"ug/m3": "µg/m³",
|
|
3931
|
+
hPa: "hPa",
|
|
3932
|
+
count: "count",
|
|
3933
|
+
ratio: "ratio",
|
|
3934
|
+
ms: "ms",
|
|
3935
|
+
s: "s",
|
|
3936
|
+
days: "days",
|
|
3937
|
+
bytes: "bytes"
|
|
3938
|
+
};
|
|
3939
|
+
/** Capture floor (ms) applied to `gauge` / `counter` series when a field states none. */
|
|
3940
|
+
var HISTORY_DEFAULT_MIN_INTERVAL_MS = 1e4;
|
|
3916
3941
|
/**
|
|
3917
3942
|
* Resolve the EFFECTIVE mount hint for a cap — the explicit `mount` when
|
|
3918
3943
|
* present, else the scope/mode/deviceNative-derived default. Single source
|
|
@@ -6000,4 +6025,4 @@ function sleepCancellable(ms, signal) {
|
|
|
6000
6025
|
});
|
|
6001
6026
|
}
|
|
6002
6027
|
//#endregion
|
|
6003
|
-
export {
|
|
6028
|
+
export { toNodeId as $, collectSecretMarkerRefs as $t, viewerUiCapability as A, collectKeychainStoredKeys as An, createSecretsAccess as At, HISTORY_DEFAULT_MIN_INTERVAL_MS as B, PEER_BYTES_STALL_MS as Bt, isZodSecret as C, isSecretClear as Cn, SubscribeAudioChunksResultSchema as Ct, RUNTIME_DEFAULTS as D, makeSecretMarker as Dn, selectAssignedProfileSlots as Dt, HF_REPO as E, isSecretMarkerLike as En, parseProfileBrokerId as Et, deviceCustomAction as F, AUDIO_CHUNK_FORMATS as Fn, registerKnownSecret as Ft, isDeviceConfigCap as G, DisposerChain as Gt, PROVIDER_PIN_FIELD as H, PeerBytesTicketSchema as Ht, adminUiCapability as I, audioChunkBytesPerSample as In, scrubKnownSecrets as It, resolveCapMount as J, mergeSecretStatePaths as Jt, method as K, BaseAddon as Kt, DEFAULT_RUNTIME_STATE_DURABILITY as L, expandAudioChunkToF32le as Ln, shortSecretRefHash as Lt, customAction as M, isKeychainStoredField as Mn, clearKnownSecrets as Mt, defineCustomActions as N, isSecretConfigField as Nn, forgetKnownSecret as Nt, RawStateResultSchema as O, toSecretFieldView as On, resolveSecretViewsIn as Ot, describeCustomActions as P, schemaDeclaresAnyField as Pn, knownSecretCount as Pt, readNodePin as Q, KeychainWriteRefusedError as Qt, DEVICE_SETTINGS_CONTRIBUTION_METHODS as R, isAudioChunkFormat as Rn, PEER_BYTES_CHUNK_BYTES as Rt, collectZodSecretPaths as S, classifySecretWrite as Sn, SubscribeAudioChunksInputSchema as St, HF_BASE_URL as T, isSecretMarker as Tn, makeSourceBrokerId as Tt, event as U, DATAPLANE_SECRET_HEADER as Ut, HISTORY_UNIT_LABELS as V, PEER_BYTES_TICKET_TTL_MS as Vt, expandCapMethods as W, SHARE_VIEW_KINDS as Wt, CAP_NODE_PIN_CONTEXT_KEY as X, secretTreeFromPaths as Xt, systemMethod as Y, parseSecretStatePath as Yt, nodePin as Z, secretTreeFromSchema as Zt, createEventBusSliceSource as _, collectHydratedFieldEntries as _n, ProfileRtspEntrySchema as _t, asJsonArray as a, formatSecretScope as an, scopeKey as at, createSliceHandle as b, resolveHydratedFieldValue as bn, StreamSourceEntrySchema$1 as bt, asString as c, normalizeSecretOwner as cn, BrokerStatsSchema as ct, parseJsonUnknown as d, createDurableState as dn, CamProfileSchema as dt, resolveSecretMarkers as en, MODEL_FORMATS as et, hfModelUrl as f, createEvent as fn, CamStreamKindSchema as ft, createDeviceProxy as g, WELL_KNOWN_TAB_MAP as gn, FrameHandleSchema as gt, isDeviceScopedCap as h, WELL_KNOWN_TABS as hn, DecodedAudioChunkSchema as ht, asBoolean as i, buildSecretRef as in, readinessKey as it, DEVICE_CHILDREN_BATCH_MAX as j, collectSecretConfigKeys as jn, MIN_SCRUBBED_LENGTH as jt, deviceOpsCapability as k, REDACTED_SECRET as kn, REVALIDATE_AFTER_MS as kt, parseJsonArray as l, parseSecretRef as ln, BrokerStatusSchema as lt, DEVICE_SCOPED_CAPS as m, isEvent as mn, CameraStreamSchema as mt, sleepCancellable as n, SECRET_REF_SCHEME as nn, ReadinessTimeoutError as nt, asJsonObject as o, globalSecretScope as on, AudioChunkFormatSchema as ot, BOOT_RECOVERY_BACKOFF_MS as p, emitReadiness as pn, CamStreamResolutionSchema as pt, optionalMethod as q, normalizeAddonInitResult as qt, maskUrlCredentials as r, arrayItemFieldPath as rn, emitDownForOwnedCaps as rt, asNumber as s, isSecretRef as sn, AudioStreamPickSchema as st, sleep as t, transformSecretWrite as tn, ReadinessRegistry as tt, parseJsonObject as u, normalizeNodeId as un, CAM_PROFILE_ORDER as ut, createLazyTrpcSource as v, collectHydratedFieldValues as vn, ProfileSlotSchema as vt, DEFAULT_TOKEN_EXPIRY as w, isSecretFieldView as wn, makeProfileBrokerId as wt, SECRET_META as x, SECRET_CLEAR as xn, StreamSourceSchema as xt, createMirrorSource as y, hydrateSchema as yn, ProfileSlotStatusSchema as yt, DEVICE_STATUS_METHOD as z, PEER_BYTES_MAX_OUTSTANDING as zt };
|
|
@@ -3913,6 +3913,31 @@ zod.z.object({
|
|
|
3913
3913
|
});
|
|
3914
3914
|
/** The default applied to a `runtimeState` cap that declares no `durability`. */
|
|
3915
3915
|
var DEFAULT_RUNTIME_STATE_DURABILITY = "session";
|
|
3916
|
+
/** Display label per {@link HistoryUnit} (only `'ug/m3'` differs from its id). */
|
|
3917
|
+
var HISTORY_UNIT_LABELS = {
|
|
3918
|
+
"%": "%",
|
|
3919
|
+
dBFS: "dBFS",
|
|
3920
|
+
dBm: "dBm",
|
|
3921
|
+
"°C": "°C",
|
|
3922
|
+
W: "W",
|
|
3923
|
+
kWh: "kWh",
|
|
3924
|
+
V: "V",
|
|
3925
|
+
A: "A",
|
|
3926
|
+
VA: "VA",
|
|
3927
|
+
lx: "lx",
|
|
3928
|
+
ppm: "ppm",
|
|
3929
|
+
ppb: "ppb",
|
|
3930
|
+
"ug/m3": "µg/m³",
|
|
3931
|
+
hPa: "hPa",
|
|
3932
|
+
count: "count",
|
|
3933
|
+
ratio: "ratio",
|
|
3934
|
+
ms: "ms",
|
|
3935
|
+
s: "s",
|
|
3936
|
+
days: "days",
|
|
3937
|
+
bytes: "bytes"
|
|
3938
|
+
};
|
|
3939
|
+
/** Capture floor (ms) applied to `gauge` / `counter` series when a field states none. */
|
|
3940
|
+
var HISTORY_DEFAULT_MIN_INTERVAL_MS = 1e4;
|
|
3916
3941
|
/**
|
|
3917
3942
|
* Resolve the EFFECTIVE mount hint for a cap — the explicit `mount` when
|
|
3918
3943
|
* present, else the scope/mode/deviceNative-derived default. Single source
|
|
@@ -6150,6 +6175,18 @@ Object.defineProperty(exports, "HF_REPO", {
|
|
|
6150
6175
|
return HF_REPO;
|
|
6151
6176
|
}
|
|
6152
6177
|
});
|
|
6178
|
+
Object.defineProperty(exports, "HISTORY_DEFAULT_MIN_INTERVAL_MS", {
|
|
6179
|
+
enumerable: true,
|
|
6180
|
+
get: function() {
|
|
6181
|
+
return HISTORY_DEFAULT_MIN_INTERVAL_MS;
|
|
6182
|
+
}
|
|
6183
|
+
});
|
|
6184
|
+
Object.defineProperty(exports, "HISTORY_UNIT_LABELS", {
|
|
6185
|
+
enumerable: true,
|
|
6186
|
+
get: function() {
|
|
6187
|
+
return HISTORY_UNIT_LABELS;
|
|
6188
|
+
}
|
|
6189
|
+
});
|
|
6153
6190
|
Object.defineProperty(exports, "KeychainWriteRefusedError", {
|
|
6154
6191
|
enumerable: true,
|
|
6155
6192
|
get: function() {
|