@camstack/types 1.1.5 → 1.1.7
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/device/device-type.d.ts +11 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{sleep-PvOaU67M.js → sleep-Chb7wz4V.js} +11 -0
- package/dist/{sleep-NOH4yRwj.mjs → sleep-DVmKHFGi.mjs} +11 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-Chb7wz4V.js");
|
|
3
3
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
4
4
|
exports.BaseAddon = require_sleep.BaseAddon;
|
|
5
5
|
exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
|
package/dist/addon.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as ReadinessTimeoutError, D as parseJsonUnknown, N as scopeKey, O as DATAPLANE_SECRET_HEADER, S as asJsonObject, a as adminUiCapability, at as BaseAddon, ht as DisposerChain, i as deviceOpsCapability, k as ReadinessRegistry, lt as emitReadiness, mt as EventCategory, o as createDeviceProxy, ot as normalizeAddonInitResult, p as expandCapMethods, t as sleep, w as asString, y as DeviceType } from "./sleep-
|
|
1
|
+
import { A as ReadinessTimeoutError, D as parseJsonUnknown, N as scopeKey, O as DATAPLANE_SECRET_HEADER, S as asJsonObject, a as adminUiCapability, at as BaseAddon, ht as DisposerChain, i as deviceOpsCapability, k as ReadinessRegistry, lt as emitReadiness, mt as EventCategory, o as createDeviceProxy, ot as normalizeAddonInitResult, p as expandCapMethods, t as sleep, w as asString, y as DeviceType } from "./sleep-DVmKHFGi.mjs";
|
|
2
2
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
3
3
|
export { BaseAddon, DATAPLANE_SECRET_HEADER, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, createDeviceProxy, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, normalizeAddonInitResult, parseJsonUnknown, scopeKey, sleep };
|
|
@@ -241,6 +241,17 @@ export declare enum DeviceRole {
|
|
|
241
241
|
HumiditySensor = "humidity-sensor",
|
|
242
242
|
AmbientLightSensor = "ambient-light-sensor",
|
|
243
243
|
PressureSensor = "pressure-sensor",
|
|
244
|
+
/** Wind speed or direction (weather-station `wind-sensor` cap). */
|
|
245
|
+
WindSensor = "wind-sensor",
|
|
246
|
+
/** Rain accumulation or rate (weather-station `rain-sensor` cap). */
|
|
247
|
+
RainSensor = "rain-sensor",
|
|
248
|
+
/** UV index (weather-station `uv-sensor` cap). */
|
|
249
|
+
UvSensor = "uv-sensor",
|
|
250
|
+
/** Solar irradiance W/m² (weather-station `solar-radiation-sensor` cap).
|
|
251
|
+
* Distinct from AmbientLightSensor (lux). */
|
|
252
|
+
SolarRadiationSensor = "solar-radiation-sensor",
|
|
253
|
+
/** Soil moisture % (garden/weather `soil-moisture-sensor` cap). */
|
|
254
|
+
SoilMoistureSensor = "soil-moisture-sensor",
|
|
244
255
|
PowerSensor = "power-sensor",
|
|
245
256
|
EnergySensor = "energy-sensor",
|
|
246
257
|
VoltageSensor = "voltage-sensor",
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-Chb7wz4V.js");
|
|
3
3
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
//#region src/health/wiring-health.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SubscribeFramesInputSchema, A as ReadinessTimeoutError, B as CameraStreamSchema, C as asNumber, D as parseJsonUnknown, E as parseJsonObject, F as BrokerStatusSchema, G as FrameHandleSchema, H as DecodedFrameSchema, I as CAM_PROFILE_ORDER, J as ProfileSlotStatusSchema, K as ProfileRtspEntrySchema, L as CamProfileSchema, M as readinessKey, N as scopeKey, O as DATAPLANE_SECRET_HEADER, P as BrokerStatsSchema, Q as SubscribeAudioChunksResultSchema, R as CamStreamKindSchema, S as asJsonObject, T as parseJsonArray, U as EncodedPacketSchema, V as DecodedAudioChunkSchema, W as FrameHandleFormatSchema, X as StreamSourceSchema, Y as StreamSourceEntrySchema, Z as SubscribeAudioChunksInputSchema, _ as DeviceFeature, a as adminUiCapability, at as BaseAddon, b as asBoolean, c as createMirrorSource, ct as createEvent, d as DEVICE_STATUS_METHOD, dt as WELL_KNOWN_TABS, et as SubscribeFramesResultSchema, f as event, ft as WELL_KNOWN_TAB_MAP, g as ChargingStatus, h as method, ht as DisposerChain, i as deviceOpsCapability, it as selectAssignedProfileSlots, j as emitDownForOwnedCaps, k as ReadinessRegistry, l as createSliceHandle, lt as emitReadiness, m as isDeviceConfigCap, mt as EventCategory, n as sleepCancellable, nt as makeSourceBrokerId, o as createDeviceProxy, ot as normalizeAddonInitResult, p as expandCapMethods, pt as hydrateSchema, q as ProfileSlotSchema, r as RawStateResultSchema, rt as parseProfileBrokerId, s as createLazyTrpcSource, st as createDurableState, t as sleep, tt as makeProfileBrokerId, u as DEVICE_SETTINGS_CONTRIBUTION_METHODS, ut as isEvent, v as DeviceRole, w as asString, x as asJsonArray, y as DeviceType, z as CamStreamResolutionSchema } from "./sleep-
|
|
1
|
+
import { $ as SubscribeFramesInputSchema, A as ReadinessTimeoutError, B as CameraStreamSchema, C as asNumber, D as parseJsonUnknown, E as parseJsonObject, F as BrokerStatusSchema, G as FrameHandleSchema, H as DecodedFrameSchema, I as CAM_PROFILE_ORDER, J as ProfileSlotStatusSchema, K as ProfileRtspEntrySchema, L as CamProfileSchema, M as readinessKey, N as scopeKey, O as DATAPLANE_SECRET_HEADER, P as BrokerStatsSchema, Q as SubscribeAudioChunksResultSchema, R as CamStreamKindSchema, S as asJsonObject, T as parseJsonArray, U as EncodedPacketSchema, V as DecodedAudioChunkSchema, W as FrameHandleFormatSchema, X as StreamSourceSchema, Y as StreamSourceEntrySchema, Z as SubscribeAudioChunksInputSchema, _ as DeviceFeature, a as adminUiCapability, at as BaseAddon, b as asBoolean, c as createMirrorSource, ct as createEvent, d as DEVICE_STATUS_METHOD, dt as WELL_KNOWN_TABS, et as SubscribeFramesResultSchema, f as event, ft as WELL_KNOWN_TAB_MAP, g as ChargingStatus, h as method, ht as DisposerChain, i as deviceOpsCapability, it as selectAssignedProfileSlots, j as emitDownForOwnedCaps, k as ReadinessRegistry, l as createSliceHandle, lt as emitReadiness, m as isDeviceConfigCap, mt as EventCategory, n as sleepCancellable, nt as makeSourceBrokerId, o as createDeviceProxy, ot as normalizeAddonInitResult, p as expandCapMethods, pt as hydrateSchema, q as ProfileSlotSchema, r as RawStateResultSchema, rt as parseProfileBrokerId, s as createLazyTrpcSource, st as createDurableState, t as sleep, tt as makeProfileBrokerId, u as DEVICE_SETTINGS_CONTRIBUTION_METHODS, ut as isEvent, v as DeviceRole, w as asString, x as asJsonArray, y as DeviceType, z as CamStreamResolutionSchema } from "./sleep-DVmKHFGi.mjs";
|
|
2
2
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/health/wiring-health.ts
|
|
@@ -2400,6 +2400,17 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
2400
2400
|
DeviceRole["HumiditySensor"] = "humidity-sensor";
|
|
2401
2401
|
DeviceRole["AmbientLightSensor"] = "ambient-light-sensor";
|
|
2402
2402
|
DeviceRole["PressureSensor"] = "pressure-sensor";
|
|
2403
|
+
/** Wind speed or direction (weather-station `wind-sensor` cap). */
|
|
2404
|
+
DeviceRole["WindSensor"] = "wind-sensor";
|
|
2405
|
+
/** Rain accumulation or rate (weather-station `rain-sensor` cap). */
|
|
2406
|
+
DeviceRole["RainSensor"] = "rain-sensor";
|
|
2407
|
+
/** UV index (weather-station `uv-sensor` cap). */
|
|
2408
|
+
DeviceRole["UvSensor"] = "uv-sensor";
|
|
2409
|
+
/** Solar irradiance W/m² (weather-station `solar-radiation-sensor` cap).
|
|
2410
|
+
* Distinct from AmbientLightSensor (lux). */
|
|
2411
|
+
DeviceRole["SolarRadiationSensor"] = "solar-radiation-sensor";
|
|
2412
|
+
/** Soil moisture % (garden/weather `soil-moisture-sensor` cap). */
|
|
2413
|
+
DeviceRole["SoilMoistureSensor"] = "soil-moisture-sensor";
|
|
2403
2414
|
DeviceRole["PowerSensor"] = "power-sensor";
|
|
2404
2415
|
DeviceRole["EnergySensor"] = "energy-sensor";
|
|
2405
2416
|
DeviceRole["VoltageSensor"] = "voltage-sensor";
|
|
@@ -2400,6 +2400,17 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
2400
2400
|
DeviceRole["HumiditySensor"] = "humidity-sensor";
|
|
2401
2401
|
DeviceRole["AmbientLightSensor"] = "ambient-light-sensor";
|
|
2402
2402
|
DeviceRole["PressureSensor"] = "pressure-sensor";
|
|
2403
|
+
/** Wind speed or direction (weather-station `wind-sensor` cap). */
|
|
2404
|
+
DeviceRole["WindSensor"] = "wind-sensor";
|
|
2405
|
+
/** Rain accumulation or rate (weather-station `rain-sensor` cap). */
|
|
2406
|
+
DeviceRole["RainSensor"] = "rain-sensor";
|
|
2407
|
+
/** UV index (weather-station `uv-sensor` cap). */
|
|
2408
|
+
DeviceRole["UvSensor"] = "uv-sensor";
|
|
2409
|
+
/** Solar irradiance W/m² (weather-station `solar-radiation-sensor` cap).
|
|
2410
|
+
* Distinct from AmbientLightSensor (lux). */
|
|
2411
|
+
DeviceRole["SolarRadiationSensor"] = "solar-radiation-sensor";
|
|
2412
|
+
/** Soil moisture % (garden/weather `soil-moisture-sensor` cap). */
|
|
2413
|
+
DeviceRole["SoilMoistureSensor"] = "soil-moisture-sensor";
|
|
2403
2414
|
DeviceRole["PowerSensor"] = "power-sensor";
|
|
2404
2415
|
DeviceRole["EnergySensor"] = "energy-sensor";
|
|
2405
2416
|
DeviceRole["VoltageSensor"] = "voltage-sensor";
|