@camstack/addon-provider-gree 0.1.10 → 0.1.12

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
@@ -7066,7 +7066,21 @@ var StorageLocationDeclarationSchema = object({
7066
7066
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7067
7067
  * configure the primary location.
7068
7068
  */
7069
- defaultsTo: string().optional()
7069
+ defaultsTo: string().optional(),
7070
+ /**
7071
+ * Which node root the seeded `<id>:default` instance is placed under on a
7072
+ * FRESH install:
7073
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7074
+ * the appData volume. Right for small/durable data (backups, logs, models).
7075
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7076
+ * env is set, else falls back to the data root. Right for bulky, hot media
7077
+ * (recordings, event media) that should stay off the appData disk.
7078
+ *
7079
+ * Only affects the seeded default's `basePath`; operators can repoint any
7080
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7081
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7082
+ */
7083
+ defaultRoot: _enum(["data", "media"]).optional()
7070
7084
  });
7071
7085
  var DecoderStatsSchema = object({
7072
7086
  inputFps: number(),
@@ -8422,6 +8436,10 @@ var RtspRestreamEntrySchema = object({
8422
8436
  var BrokerRtspClientSchema = object({
8423
8437
  sessionId: string(),
8424
8438
  remoteAddr: string(),
8439
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8440
+ * null/absent when the client sent none. Lets the UI label a consumer by
8441
+ * purpose. Optional so a client built against an older schema stays valid. */
8442
+ userAgent: string().nullish(),
8425
8443
  playing: boolean(),
8426
8444
  muted: boolean(),
8427
8445
  connectedAt: number(),
package/dist/addon.mjs CHANGED
@@ -7065,7 +7065,21 @@ var StorageLocationDeclarationSchema = object({
7065
7065
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7066
7066
  * configure the primary location.
7067
7067
  */
7068
- defaultsTo: string().optional()
7068
+ defaultsTo: string().optional(),
7069
+ /**
7070
+ * Which node root the seeded `<id>:default` instance is placed under on a
7071
+ * FRESH install:
7072
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7073
+ * the appData volume. Right for small/durable data (backups, logs, models).
7074
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7075
+ * env is set, else falls back to the data root. Right for bulky, hot media
7076
+ * (recordings, event media) that should stay off the appData disk.
7077
+ *
7078
+ * Only affects the seeded default's `basePath`; operators can repoint any
7079
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7080
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7081
+ */
7082
+ defaultRoot: _enum(["data", "media"]).optional()
7069
7083
  });
7070
7084
  var DecoderStatsSchema = object({
7071
7085
  inputFps: number(),
@@ -8421,6 +8435,10 @@ var RtspRestreamEntrySchema = object({
8421
8435
  var BrokerRtspClientSchema = object({
8422
8436
  sessionId: string(),
8423
8437
  remoteAddr: string(),
8438
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8439
+ * null/absent when the client sent none. Lets the UI label a consumer by
8440
+ * purpose. Optional so a client built against an older schema stays valid. */
8441
+ userAgent: string().nullish(),
8424
8442
  playing: boolean(),
8425
8443
  muted: boolean(),
8426
8444
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",