@camstack/addon-provider-dreame 0.1.17 → 0.1.18

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
@@ -7101,7 +7101,21 @@ var StorageLocationDeclarationSchema = object({
7101
7101
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7102
7102
  * configure the primary location.
7103
7103
  */
7104
- defaultsTo: string().optional()
7104
+ defaultsTo: string().optional(),
7105
+ /**
7106
+ * Which node root the seeded `<id>:default` instance is placed under on a
7107
+ * FRESH install:
7108
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7109
+ * the appData volume. Right for small/durable data (backups, logs, models).
7110
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7111
+ * env is set, else falls back to the data root. Right for bulky, hot media
7112
+ * (recordings, event media) that should stay off the appData disk.
7113
+ *
7114
+ * Only affects the seeded default's `basePath`; operators can repoint any
7115
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7116
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7117
+ */
7118
+ defaultRoot: _enum(["data", "media"]).optional()
7105
7119
  });
7106
7120
  var DecoderStatsSchema = object({
7107
7121
  inputFps: number(),
@@ -8457,6 +8471,10 @@ var RtspRestreamEntrySchema = object({
8457
8471
  var BrokerRtspClientSchema = object({
8458
8472
  sessionId: string(),
8459
8473
  remoteAddr: string(),
8474
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8475
+ * null/absent when the client sent none. Lets the UI label a consumer by
8476
+ * purpose. Optional so a client built against an older schema stays valid. */
8477
+ userAgent: string().nullish(),
8460
8478
  playing: boolean(),
8461
8479
  muted: boolean(),
8462
8480
  connectedAt: number(),
package/dist/addon.mjs CHANGED
@@ -7101,7 +7101,21 @@ var StorageLocationDeclarationSchema = object({
7101
7101
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7102
7102
  * configure the primary location.
7103
7103
  */
7104
- defaultsTo: string().optional()
7104
+ defaultsTo: string().optional(),
7105
+ /**
7106
+ * Which node root the seeded `<id>:default` instance is placed under on a
7107
+ * FRESH install:
7108
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7109
+ * the appData volume. Right for small/durable data (backups, logs, models).
7110
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7111
+ * env is set, else falls back to the data root. Right for bulky, hot media
7112
+ * (recordings, event media) that should stay off the appData disk.
7113
+ *
7114
+ * Only affects the seeded default's `basePath`; operators can repoint any
7115
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7116
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7117
+ */
7118
+ defaultRoot: _enum(["data", "media"]).optional()
7105
7119
  });
7106
7120
  var DecoderStatsSchema = object({
7107
7121
  inputFps: number(),
@@ -8457,6 +8471,10 @@ var RtspRestreamEntrySchema = object({
8457
8471
  var BrokerRtspClientSchema = object({
8458
8472
  sessionId: string(),
8459
8473
  remoteAddr: string(),
8474
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8475
+ * null/absent when the client sent none. Lets the UI label a consumer by
8476
+ * purpose. Optional so a client built against an older schema stays valid. */
8477
+ userAgent: string().nullish(),
8460
8478
  playing: boolean(),
8461
8479
  muted: boolean(),
8462
8480
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",