@camstack/addon-provider-dreo 0.1.8 → 0.1.9

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 CHANGED
@@ -7085,7 +7085,21 @@ var StorageLocationDeclarationSchema = object({
7085
7085
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7086
7086
  * configure the primary location.
7087
7087
  */
7088
- defaultsTo: string().optional()
7088
+ defaultsTo: string().optional(),
7089
+ /**
7090
+ * Which node root the seeded `<id>:default` instance is placed under on a
7091
+ * FRESH install:
7092
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7093
+ * the appData volume. Right for small/durable data (backups, logs, models).
7094
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7095
+ * env is set, else falls back to the data root. Right for bulky, hot media
7096
+ * (recordings, event media) that should stay off the appData disk.
7097
+ *
7098
+ * Only affects the seeded default's `basePath`; operators can repoint any
7099
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7100
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7101
+ */
7102
+ defaultRoot: _enum(["data", "media"]).optional()
7089
7103
  });
7090
7104
  var DecoderStatsSchema = object({
7091
7105
  inputFps: number(),
@@ -8441,6 +8455,10 @@ var RtspRestreamEntrySchema = object({
8441
8455
  var BrokerRtspClientSchema = object({
8442
8456
  sessionId: string(),
8443
8457
  remoteAddr: string(),
8458
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8459
+ * null/absent when the client sent none. Lets the UI label a consumer by
8460
+ * purpose. Optional so a client built against an older schema stays valid. */
8461
+ userAgent: string().nullish(),
8444
8462
  playing: boolean(),
8445
8463
  muted: boolean(),
8446
8464
  connectedAt: number(),
package/dist/addon.mjs CHANGED
@@ -7086,7 +7086,21 @@ var StorageLocationDeclarationSchema = object({
7086
7086
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7087
7087
  * configure the primary location.
7088
7088
  */
7089
- defaultsTo: string().optional()
7089
+ defaultsTo: string().optional(),
7090
+ /**
7091
+ * Which node root the seeded `<id>:default` instance is placed under on a
7092
+ * FRESH install:
7093
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7094
+ * the appData volume. Right for small/durable data (backups, logs, models).
7095
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7096
+ * env is set, else falls back to the data root. Right for bulky, hot media
7097
+ * (recordings, event media) that should stay off the appData disk.
7098
+ *
7099
+ * Only affects the seeded default's `basePath`; operators can repoint any
7100
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7101
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7102
+ */
7103
+ defaultRoot: _enum(["data", "media"]).optional()
7090
7104
  });
7091
7105
  var DecoderStatsSchema = object({
7092
7106
  inputFps: number(),
@@ -8442,6 +8456,10 @@ var RtspRestreamEntrySchema = object({
8442
8456
  var BrokerRtspClientSchema = object({
8443
8457
  sessionId: string(),
8444
8458
  remoteAddr: string(),
8459
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8460
+ * null/absent when the client sent none. Lets the UI label a consumer by
8461
+ * purpose. Optional so a client built against an older schema stays valid. */
8462
+ userAgent: string().nullish(),
8445
8463
  playing: boolean(),
8446
8464
  muted: boolean(),
8447
8465
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreo",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
5
5
  "keywords": [
6
6
  "camstack",