@camstack/addon-export-hap 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.
@@ -7069,7 +7069,21 @@ var StorageLocationDeclarationSchema = object({
7069
7069
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7070
7070
  * configure the primary location.
7071
7071
  */
7072
- defaultsTo: string().optional()
7072
+ defaultsTo: string().optional(),
7073
+ /**
7074
+ * Which node root the seeded `<id>:default` instance is placed under on a
7075
+ * FRESH install:
7076
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7077
+ * the appData volume. Right for small/durable data (backups, logs, models).
7078
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7079
+ * env is set, else falls back to the data root. Right for bulky, hot media
7080
+ * (recordings, event media) that should stay off the appData disk.
7081
+ *
7082
+ * Only affects the seeded default's `basePath`; operators can repoint any
7083
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7084
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7085
+ */
7086
+ defaultRoot: _enum(["data", "media"]).optional()
7073
7087
  });
7074
7088
  var DecoderStatsSchema = object({
7075
7089
  inputFps: number(),
@@ -7970,6 +7984,10 @@ var RtspRestreamEntrySchema = object({
7970
7984
  var BrokerRtspClientSchema = object({
7971
7985
  sessionId: string(),
7972
7986
  remoteAddr: string(),
7987
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7988
+ * null/absent when the client sent none. Lets the UI label a consumer by
7989
+ * purpose. Optional so a client built against an older schema stays valid. */
7990
+ userAgent: string().nullish(),
7973
7991
  playing: boolean(),
7974
7992
  muted: boolean(),
7975
7993
  connectedAt: number(),
@@ -7044,7 +7044,21 @@ var StorageLocationDeclarationSchema = object({
7044
7044
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7045
7045
  * configure the primary location.
7046
7046
  */
7047
- defaultsTo: string().optional()
7047
+ defaultsTo: string().optional(),
7048
+ /**
7049
+ * Which node root the seeded `<id>:default` instance is placed under on a
7050
+ * FRESH install:
7051
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7052
+ * the appData volume. Right for small/durable data (backups, logs, models).
7053
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7054
+ * env is set, else falls back to the data root. Right for bulky, hot media
7055
+ * (recordings, event media) that should stay off the appData disk.
7056
+ *
7057
+ * Only affects the seeded default's `basePath`; operators can repoint any
7058
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7059
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7060
+ */
7061
+ defaultRoot: _enum(["data", "media"]).optional()
7048
7062
  });
7049
7063
  var DecoderStatsSchema = object({
7050
7064
  inputFps: number(),
@@ -7945,6 +7959,10 @@ var RtspRestreamEntrySchema = object({
7945
7959
  var BrokerRtspClientSchema = object({
7946
7960
  sessionId: string(),
7947
7961
  remoteAddr: string(),
7962
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7963
+ * null/absent when the client sent none. Lets the UI label a consumer by
7964
+ * purpose. Optional so a client built against an older schema stays valid. */
7965
+ userAgent: string().nullish(),
7948
7966
  playing: boolean(),
7949
7967
  muted: boolean(),
7950
7968
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-hap",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "HomeKit (HAP) bridge exporter for CamStack devices. Publishes a bridged accessory per exposed device — MotionSensor in this MVP; Camera/Doorbell/Switch/Light follow.",
5
5
  "keywords": [
6
6
  "camstack",