@camstack/addon-provider-rtsp 1.2.86 → 1.2.87

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
@@ -7651,6 +7651,35 @@ var CameraSwitchGroupSchema = object({
7651
7651
  /** Unix ms when the group was composed server-side. */
7652
7652
  fetchedAt: number()
7653
7653
  });
7654
+ /** One archived note — the operator's words plus enough context to find what
7655
+ * they were looking at, after the track itself is gone. */
7656
+ var ArchivedDebugNoteSchema = object({
7657
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7658
+ * same sentence about the same track lands on the row already there. */
7659
+ id: string(),
7660
+ /** The operator's own words, verbatim. */
7661
+ note: string(),
7662
+ /** The camera. Required — every question here is asked per-camera. */
7663
+ deviceId: number().int(),
7664
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7665
+ * is expected to be gone, and this row is not a reference to it. */
7666
+ sourceTrackId: string(),
7667
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7668
+ archivedAt: number().int(),
7669
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7670
+ trackStartedAt: number().int().nullable(),
7671
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7672
+ trackClass: string().nullable(),
7673
+ /** The track's display label at review time; `null` when it had none. */
7674
+ trackLabel: string().nullable()
7675
+ });
7676
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7677
+ var ArchivedDebugNoteQueryInputSchema = object({
7678
+ /** Restrict to a single camera; omit for every row. */
7679
+ deviceId: number().int().optional(),
7680
+ /** Max rows returned, newest-first. */
7681
+ limit: number().int().min(1).max(1e3).optional()
7682
+ });
7654
7683
  /**
7655
7684
  * Compute pixel count for sorting. Returns w*h, or 0 if unknown.
7656
7685
  */
@@ -20146,7 +20175,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20146
20175
  deviceId: number(),
20147
20176
  trackId: string(),
20148
20177
  flags: TrackFlagsPatchSchema
20149
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20178
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20150
20179
  kind: "query",
20151
20180
  auth: "admin"
20152
20181
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37718,6 +37747,12 @@ Object.freeze({
37718
37747
  addonId: null,
37719
37748
  access: "view"
37720
37749
  },
37750
+ "pipelineAnalytics.listArchivedDebugNotes": {
37751
+ capName: "pipeline-analytics",
37752
+ capScope: "device",
37753
+ addonId: null,
37754
+ access: "view"
37755
+ },
37721
37756
  "pipelineAnalytics.listEventKinds": {
37722
37757
  capName: "pipeline-analytics",
37723
37758
  capScope: "device",
@@ -41505,6 +41540,11 @@ Object.freeze({
41505
41540
  form: "array",
41506
41541
  optional: true
41507
41542
  }],
41543
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41544
+ name: "deviceId",
41545
+ form: "single",
41546
+ optional: true
41547
+ }],
41508
41548
  "pipelineAnalytics.listEventKinds": [{
41509
41549
  name: "deviceId",
41510
41550
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7627,6 +7627,35 @@ var CameraSwitchGroupSchema = object({
7627
7627
  /** Unix ms when the group was composed server-side. */
7628
7628
  fetchedAt: number()
7629
7629
  });
7630
+ /** One archived note — the operator's words plus enough context to find what
7631
+ * they were looking at, after the track itself is gone. */
7632
+ var ArchivedDebugNoteSchema = object({
7633
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7634
+ * same sentence about the same track lands on the row already there. */
7635
+ id: string(),
7636
+ /** The operator's own words, verbatim. */
7637
+ note: string(),
7638
+ /** The camera. Required — every question here is asked per-camera. */
7639
+ deviceId: number().int(),
7640
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7641
+ * is expected to be gone, and this row is not a reference to it. */
7642
+ sourceTrackId: string(),
7643
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7644
+ archivedAt: number().int(),
7645
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7646
+ trackStartedAt: number().int().nullable(),
7647
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7648
+ trackClass: string().nullable(),
7649
+ /** The track's display label at review time; `null` when it had none. */
7650
+ trackLabel: string().nullable()
7651
+ });
7652
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7653
+ var ArchivedDebugNoteQueryInputSchema = object({
7654
+ /** Restrict to a single camera; omit for every row. */
7655
+ deviceId: number().int().optional(),
7656
+ /** Max rows returned, newest-first. */
7657
+ limit: number().int().min(1).max(1e3).optional()
7658
+ });
7630
7659
  /**
7631
7660
  * Compute pixel count for sorting. Returns w*h, or 0 if unknown.
7632
7661
  */
@@ -20122,7 +20151,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20122
20151
  deviceId: number(),
20123
20152
  trackId: string(),
20124
20153
  flags: TrackFlagsPatchSchema
20125
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20154
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20126
20155
  kind: "query",
20127
20156
  auth: "admin"
20128
20157
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37694,6 +37723,12 @@ Object.freeze({
37694
37723
  addonId: null,
37695
37724
  access: "view"
37696
37725
  },
37726
+ "pipelineAnalytics.listArchivedDebugNotes": {
37727
+ capName: "pipeline-analytics",
37728
+ capScope: "device",
37729
+ addonId: null,
37730
+ access: "view"
37731
+ },
37697
37732
  "pipelineAnalytics.listEventKinds": {
37698
37733
  capName: "pipeline-analytics",
37699
37734
  capScope: "device",
@@ -41481,6 +41516,11 @@ Object.freeze({
41481
41516
  form: "array",
41482
41517
  optional: true
41483
41518
  }],
41519
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41520
+ name: "deviceId",
41521
+ form: "single",
41522
+ optional: true
41523
+ }],
41484
41524
  "pipelineAnalytics.listEventKinds": [{
41485
41525
  name: "deviceId",
41486
41526
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.86",
3
+ "version": "1.2.87",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",