@camstack/addon-provider-rademacher 0.2.85 → 0.2.86

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
@@ -8612,6 +8612,35 @@ var CameraSwitchGroupSchema = object({
8612
8612
  /** Unix ms when the group was composed server-side. */
8613
8613
  fetchedAt: number()
8614
8614
  });
8615
+ /** One archived note — the operator's words plus enough context to find what
8616
+ * they were looking at, after the track itself is gone. */
8617
+ var ArchivedDebugNoteSchema = object({
8618
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
8619
+ * same sentence about the same track lands on the row already there. */
8620
+ id: string(),
8621
+ /** The operator's own words, verbatim. */
8622
+ note: string(),
8623
+ /** The camera. Required — every question here is asked per-camera. */
8624
+ deviceId: number().int(),
8625
+ /** The track the note was written on. PROVENANCE, not ownership: the track
8626
+ * is expected to be gone, and this row is not a reference to it. */
8627
+ sourceTrackId: string(),
8628
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
8629
+ archivedAt: number().int(),
8630
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
8631
+ trackStartedAt: number().int().nullable(),
8632
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
8633
+ trackClass: string().nullable(),
8634
+ /** The track's display label at review time; `null` when it had none. */
8635
+ trackLabel: string().nullable()
8636
+ });
8637
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
8638
+ var ArchivedDebugNoteQueryInputSchema = object({
8639
+ /** Restrict to a single camera; omit for every row. */
8640
+ deviceId: number().int().optional(),
8641
+ /** Max rows returned, newest-first. */
8642
+ limit: number().int().min(1).max(1e3).optional()
8643
+ });
8615
8644
  /**
8616
8645
  * Ops-log — the durable, append-only operations audit shared by the
8617
8646
  * recordings and events management surfaces.
@@ -21075,7 +21104,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21075
21104
  deviceId: number(),
21076
21105
  trackId: string(),
21077
21106
  flags: TrackFlagsPatchSchema
21078
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
21107
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
21079
21108
  kind: "query",
21080
21109
  auth: "admin"
21081
21110
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -38469,6 +38498,12 @@ Object.freeze({
38469
38498
  addonId: null,
38470
38499
  access: "view"
38471
38500
  },
38501
+ "pipelineAnalytics.listArchivedDebugNotes": {
38502
+ capName: "pipeline-analytics",
38503
+ capScope: "device",
38504
+ addonId: null,
38505
+ access: "view"
38506
+ },
38472
38507
  "pipelineAnalytics.listEventKinds": {
38473
38508
  capName: "pipeline-analytics",
38474
38509
  capScope: "device",
@@ -42256,6 +42291,11 @@ Object.freeze({
42256
42291
  form: "array",
42257
42292
  optional: true
42258
42293
  }],
42294
+ "pipelineAnalytics.listArchivedDebugNotes": [{
42295
+ name: "deviceId",
42296
+ form: "single",
42297
+ optional: true
42298
+ }],
42259
42299
  "pipelineAnalytics.listEventKinds": [{
42260
42300
  name: "deviceId",
42261
42301
  form: "single",
package/dist/addon.mjs CHANGED
@@ -8611,6 +8611,35 @@ var CameraSwitchGroupSchema = object({
8611
8611
  /** Unix ms when the group was composed server-side. */
8612
8612
  fetchedAt: number()
8613
8613
  });
8614
+ /** One archived note — the operator's words plus enough context to find what
8615
+ * they were looking at, after the track itself is gone. */
8616
+ var ArchivedDebugNoteSchema = object({
8617
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
8618
+ * same sentence about the same track lands on the row already there. */
8619
+ id: string(),
8620
+ /** The operator's own words, verbatim. */
8621
+ note: string(),
8622
+ /** The camera. Required — every question here is asked per-camera. */
8623
+ deviceId: number().int(),
8624
+ /** The track the note was written on. PROVENANCE, not ownership: the track
8625
+ * is expected to be gone, and this row is not a reference to it. */
8626
+ sourceTrackId: string(),
8627
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
8628
+ archivedAt: number().int(),
8629
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
8630
+ trackStartedAt: number().int().nullable(),
8631
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
8632
+ trackClass: string().nullable(),
8633
+ /** The track's display label at review time; `null` when it had none. */
8634
+ trackLabel: string().nullable()
8635
+ });
8636
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
8637
+ var ArchivedDebugNoteQueryInputSchema = object({
8638
+ /** Restrict to a single camera; omit for every row. */
8639
+ deviceId: number().int().optional(),
8640
+ /** Max rows returned, newest-first. */
8641
+ limit: number().int().min(1).max(1e3).optional()
8642
+ });
8614
8643
  /**
8615
8644
  * Ops-log — the durable, append-only operations audit shared by the
8616
8645
  * recordings and events management surfaces.
@@ -21074,7 +21103,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21074
21103
  deviceId: number(),
21075
21104
  trackId: string(),
21076
21105
  flags: TrackFlagsPatchSchema
21077
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
21106
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
21078
21107
  kind: "query",
21079
21108
  auth: "admin"
21080
21109
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -38468,6 +38497,12 @@ Object.freeze({
38468
38497
  addonId: null,
38469
38498
  access: "view"
38470
38499
  },
38500
+ "pipelineAnalytics.listArchivedDebugNotes": {
38501
+ capName: "pipeline-analytics",
38502
+ capScope: "device",
38503
+ addonId: null,
38504
+ access: "view"
38505
+ },
38471
38506
  "pipelineAnalytics.listEventKinds": {
38472
38507
  capName: "pipeline-analytics",
38473
38508
  capScope: "device",
@@ -42255,6 +42290,11 @@ Object.freeze({
42255
42290
  form: "array",
42256
42291
  optional: true
42257
42292
  }],
42293
+ "pipelineAnalytics.listArchivedDebugNotes": [{
42294
+ name: "deviceId",
42295
+ form: "single",
42296
+ optional: true
42297
+ }],
42258
42298
  "pipelineAnalytics.listEventKinds": [{
42259
42299
  name: "deviceId",
42260
42300
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.85",
3
+ "version": "0.2.86",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",