@camstack/addon-agent-ui 1.2.91 → 1.2.92
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 +42 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -7630,6 +7630,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7630
7630
|
/** Unix ms when the group was composed server-side. */
|
|
7631
7631
|
fetchedAt: number()
|
|
7632
7632
|
});
|
|
7633
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7634
|
+
* they were looking at, after the track itself is gone. */
|
|
7635
|
+
var ArchivedDebugNoteSchema = object({
|
|
7636
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7637
|
+
* same sentence about the same track lands on the row already there. */
|
|
7638
|
+
id: string(),
|
|
7639
|
+
/** The operator's own words, verbatim. */
|
|
7640
|
+
note: string(),
|
|
7641
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7642
|
+
deviceId: number().int(),
|
|
7643
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7644
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7645
|
+
sourceTrackId: string(),
|
|
7646
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7647
|
+
archivedAt: number().int(),
|
|
7648
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7649
|
+
trackStartedAt: number().int().nullable(),
|
|
7650
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7651
|
+
trackClass: string().nullable(),
|
|
7652
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7653
|
+
trackLabel: string().nullable()
|
|
7654
|
+
});
|
|
7655
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7656
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7657
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7658
|
+
deviceId: number().int().optional(),
|
|
7659
|
+
/** Max rows returned, newest-first. */
|
|
7660
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7661
|
+
});
|
|
7633
7662
|
/**
|
|
7634
7663
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7635
7664
|
* recordings and events management surfaces.
|
|
@@ -19725,7 +19754,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19725
19754
|
deviceId: number(),
|
|
19726
19755
|
trackId: string(),
|
|
19727
19756
|
flags: TrackFlagsPatchSchema
|
|
19728
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
19757
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
19729
19758
|
kind: "query",
|
|
19730
19759
|
auth: "admin"
|
|
19731
19760
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -33123,6 +33152,12 @@ Object.freeze({
|
|
|
33123
33152
|
addonId: null,
|
|
33124
33153
|
access: "view"
|
|
33125
33154
|
},
|
|
33155
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
33156
|
+
capName: "pipeline-analytics",
|
|
33157
|
+
capScope: "device",
|
|
33158
|
+
addonId: null,
|
|
33159
|
+
access: "view"
|
|
33160
|
+
},
|
|
33126
33161
|
"pipelineAnalytics.listEventKinds": {
|
|
33127
33162
|
capName: "pipeline-analytics",
|
|
33128
33163
|
capScope: "device",
|
|
@@ -36910,6 +36945,11 @@ Object.freeze({
|
|
|
36910
36945
|
form: "array",
|
|
36911
36946
|
optional: true
|
|
36912
36947
|
}],
|
|
36948
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
36949
|
+
name: "deviceId",
|
|
36950
|
+
form: "single",
|
|
36951
|
+
optional: true
|
|
36952
|
+
}],
|
|
36913
36953
|
"pipelineAnalytics.listEventKinds": [{
|
|
36914
36954
|
name: "deviceId",
|
|
36915
36955
|
form: "single",
|
|
@@ -38234,7 +38274,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
38234
38274
|
capability: adminUiCapability,
|
|
38235
38275
|
provider: {
|
|
38236
38276
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
38237
|
-
getVersion: async () => ({ version: "1.2.
|
|
38277
|
+
getVersion: async () => ({ version: "1.2.92" })
|
|
38238
38278
|
}
|
|
38239
38279
|
}];
|
|
38240
38280
|
}
|