@camstack/addon-export-ha-mqtt 1.1.11 → 1.1.13

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.
@@ -7084,7 +7084,21 @@ var StorageLocationDeclarationSchema = object({
7084
7084
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7085
7085
  * configure the primary location.
7086
7086
  */
7087
- defaultsTo: string().optional()
7087
+ defaultsTo: string().optional(),
7088
+ /**
7089
+ * Which node root the seeded `<id>:default` instance is placed under on a
7090
+ * FRESH install:
7091
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7092
+ * the appData volume. Right for small/durable data (backups, logs, models).
7093
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7094
+ * env is set, else falls back to the data root. Right for bulky, hot media
7095
+ * (recordings, event media) that should stay off the appData disk.
7096
+ *
7097
+ * Only affects the seeded default's `basePath`; operators can repoint any
7098
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7099
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7100
+ */
7101
+ defaultRoot: _enum(["data", "media"]).optional()
7088
7102
  });
7089
7103
  var DecoderStatsSchema = object({
7090
7104
  inputFps: number$1(),
@@ -7931,6 +7945,10 @@ var RtspRestreamEntrySchema = object({
7931
7945
  var BrokerRtspClientSchema = object({
7932
7946
  sessionId: string(),
7933
7947
  remoteAddr: string(),
7948
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7949
+ * null/absent when the client sent none. Lets the UI label a consumer by
7950
+ * purpose. Optional so a client built against an older schema stays valid. */
7951
+ userAgent: string().nullish(),
7934
7952
  playing: boolean(),
7935
7953
  muted: boolean(),
7936
7954
  connectedAt: number$1(),
@@ -7082,7 +7082,21 @@ var StorageLocationDeclarationSchema = object({
7082
7082
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7083
7083
  * configure the primary location.
7084
7084
  */
7085
- defaultsTo: string().optional()
7085
+ defaultsTo: string().optional(),
7086
+ /**
7087
+ * Which node root the seeded `<id>:default` instance is placed under on a
7088
+ * FRESH install:
7089
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7090
+ * the appData volume. Right for small/durable data (backups, logs, models).
7091
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7092
+ * env is set, else falls back to the data root. Right for bulky, hot media
7093
+ * (recordings, event media) that should stay off the appData disk.
7094
+ *
7095
+ * Only affects the seeded default's `basePath`; operators can repoint any
7096
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7097
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7098
+ */
7099
+ defaultRoot: _enum(["data", "media"]).optional()
7086
7100
  });
7087
7101
  var DecoderStatsSchema = object({
7088
7102
  inputFps: number$1(),
@@ -7929,6 +7943,10 @@ var RtspRestreamEntrySchema = object({
7929
7943
  var BrokerRtspClientSchema = object({
7930
7944
  sessionId: string(),
7931
7945
  remoteAddr: string(),
7946
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7947
+ * null/absent when the client sent none. Lets the UI label a consumer by
7948
+ * purpose. Optional so a client built against an older schema stays valid. */
7949
+ userAgent: string().nullish(),
7932
7950
  playing: boolean(),
7933
7951
  muted: boolean(),
7934
7952
  connectedAt: number$1(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-ha-mqtt",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "HomeAssistant MQTT discovery exporter for CamStack devices. Publishes discovery topics so HA auto-creates entities for exposed cameras/switches/intercoms/sensors.",
5
5
  "keywords": [
6
6
  "camstack",