@camstack/addon-mqtt-broker 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.
@@ -7078,7 +7078,21 @@ var StorageLocationDeclarationSchema = object({
7078
7078
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7079
7079
  * configure the primary location.
7080
7080
  */
7081
- defaultsTo: string().optional()
7081
+ defaultsTo: string().optional(),
7082
+ /**
7083
+ * Which node root the seeded `<id>:default` instance is placed under on a
7084
+ * FRESH install:
7085
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7086
+ * the appData volume. Right for small/durable data (backups, logs, models).
7087
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7088
+ * env is set, else falls back to the data root. Right for bulky, hot media
7089
+ * (recordings, event media) that should stay off the appData disk.
7090
+ *
7091
+ * Only affects the seeded default's `basePath`; operators can repoint any
7092
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7093
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7094
+ */
7095
+ defaultRoot: _enum(["data", "media"]).optional()
7082
7096
  });
7083
7097
  var DecoderStatsSchema = object({
7084
7098
  inputFps: number(),
@@ -7925,6 +7939,10 @@ var RtspRestreamEntrySchema = object({
7925
7939
  var BrokerRtspClientSchema = object({
7926
7940
  sessionId: string(),
7927
7941
  remoteAddr: string(),
7942
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7943
+ * null/absent when the client sent none. Lets the UI label a consumer by
7944
+ * purpose. Optional so a client built against an older schema stays valid. */
7945
+ userAgent: string().nullish(),
7928
7946
  playing: boolean(),
7929
7947
  muted: boolean(),
7930
7948
  connectedAt: number(),
@@ -7073,7 +7073,21 @@ var StorageLocationDeclarationSchema = object({
7073
7073
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7074
7074
  * configure the primary location.
7075
7075
  */
7076
- defaultsTo: string().optional()
7076
+ defaultsTo: string().optional(),
7077
+ /**
7078
+ * Which node root the seeded `<id>:default` instance is placed under on a
7079
+ * FRESH install:
7080
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7081
+ * the appData volume. Right for small/durable data (backups, logs, models).
7082
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7083
+ * env is set, else falls back to the data root. Right for bulky, hot media
7084
+ * (recordings, event media) that should stay off the appData disk.
7085
+ *
7086
+ * Only affects the seeded default's `basePath`; operators can repoint any
7087
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7088
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7089
+ */
7090
+ defaultRoot: _enum(["data", "media"]).optional()
7077
7091
  });
7078
7092
  var DecoderStatsSchema = object({
7079
7093
  inputFps: number(),
@@ -7920,6 +7934,10 @@ var RtspRestreamEntrySchema = object({
7920
7934
  var BrokerRtspClientSchema = object({
7921
7935
  sessionId: string(),
7922
7936
  remoteAddr: string(),
7937
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7938
+ * null/absent when the client sent none. Lets the UI label a consumer by
7939
+ * purpose. Optional so a client built against an older schema stays valid. */
7940
+ userAgent: string().nullish(),
7923
7941
  playing: boolean(),
7924
7942
  muted: boolean(),
7925
7943
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-mqtt-broker",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
5
5
  "keywords": [
6
6
  "camstack",