@camstack/addon-post-analysis 1.1.33 → 1.1.34
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/{dist-CA0GikiM.mjs → dist-B1EgWJrr.mjs} +169 -2
- package/dist/{dist-V8XOHDoj.js → dist-BeDNiKi6.js} +174 -1
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/{node-E-m2CYYM.js → node-DYa6O693.js} +1 -1
- package/dist/pipeline-analytics/_stub.js +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BbAKLasA.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BuAr2V3O.mjs} +3 -3
- package/dist/pipeline-analytics/{_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-ai-NpPOn.mjs → _virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-C8Wc_rxx.mjs} +1 -1
- package/dist/pipeline-analytics/{hostInit-lUENPwl7.mjs → hostInit-DpLNAYiI.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +367 -9
- package/dist/pipeline-analytics/index.mjs +366 -8
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -7358,6 +7358,62 @@ var RecordingConfigSchema = object({
|
|
|
7358
7358
|
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7359
7359
|
});
|
|
7360
7360
|
/**
|
|
7361
|
+
* Ops-log — the durable, append-only operations audit shared by the
|
|
7362
|
+
* recordings and events management surfaces.
|
|
7363
|
+
*
|
|
7364
|
+
* ONE row shape is reused for both domains so a single "Activity" view can
|
|
7365
|
+
* merge the recorder's DurableState ring (recordings ops-log) and the
|
|
7366
|
+
* pipeline-analytics SQLite collection (events ops-log). Each row records a
|
|
7367
|
+
* management operation, WHY it ran (reason), and its measurable effect
|
|
7368
|
+
* (itemsAffected + bytesReclaimed). Writes are best-effort — a failed log must
|
|
7369
|
+
* never fail the operation it records.
|
|
7370
|
+
*/
|
|
7371
|
+
/** Which management domain the operation belongs to. */
|
|
7372
|
+
var OpsLogDomainSchema = _enum(["recording", "events"]);
|
|
7373
|
+
/** The kind of management operation performed. */
|
|
7374
|
+
var OpsLogOpSchema = _enum([
|
|
7375
|
+
"prune",
|
|
7376
|
+
"manual-delete",
|
|
7377
|
+
"rescan",
|
|
7378
|
+
"retention-run"
|
|
7379
|
+
]);
|
|
7380
|
+
/** Why the operation ran. */
|
|
7381
|
+
var OpsLogReasonSchema = _enum([
|
|
7382
|
+
"retention",
|
|
7383
|
+
"quota",
|
|
7384
|
+
"manual",
|
|
7385
|
+
"operator"
|
|
7386
|
+
]);
|
|
7387
|
+
/** One audit row, shared verbatim by both domains. */
|
|
7388
|
+
var OpsLogEntrySchema = object({
|
|
7389
|
+
/** Unique row id. */
|
|
7390
|
+
id: string(),
|
|
7391
|
+
/** Epoch ms the operation completed. */
|
|
7392
|
+
at: number(),
|
|
7393
|
+
domain: OpsLogDomainSchema,
|
|
7394
|
+
op: OpsLogOpSchema,
|
|
7395
|
+
reason: OpsLogReasonSchema,
|
|
7396
|
+
/** The camera the op targeted; null for a cluster/global op. */
|
|
7397
|
+
deviceId: number().nullable(),
|
|
7398
|
+
/** Node that performed the op (the log carries nodeId — no cross-node aggregation). */
|
|
7399
|
+
nodeId: string(),
|
|
7400
|
+
/** Buckets / rows deleted (op-specific unit). */
|
|
7401
|
+
itemsAffected: number(),
|
|
7402
|
+
/** Bytes reclaimed by the op (0 when not measurable). */
|
|
7403
|
+
bytesReclaimed: number(),
|
|
7404
|
+
/** Free-text detail (e.g. "floor moved to <ts>"); null when none. */
|
|
7405
|
+
detail: string().nullable(),
|
|
7406
|
+
/** Who/what triggered the op. */
|
|
7407
|
+
actor: string()
|
|
7408
|
+
});
|
|
7409
|
+
/** Shared query input for the per-domain `listOpsLog` cap methods. */
|
|
7410
|
+
var OpsLogQueryInputSchema = object({
|
|
7411
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7412
|
+
deviceId: number().optional(),
|
|
7413
|
+
/** Max rows returned, newest-first. */
|
|
7414
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7415
|
+
});
|
|
7416
|
+
/**
|
|
7361
7417
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7362
7418
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7363
7419
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -16299,6 +16355,26 @@ var TrackCascadeCountsSchema = object({
|
|
|
16299
16355
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
16300
16356
|
embeddings: number().int()
|
|
16301
16357
|
});
|
|
16358
|
+
/** Event-store footprint for one camera. */
|
|
16359
|
+
var EventStoreDeviceFootprintSchema = object({
|
|
16360
|
+
deviceId: number(),
|
|
16361
|
+
/** Persisted event rows (motion + object + audio) for the camera. */
|
|
16362
|
+
rows: number().int(),
|
|
16363
|
+
/** Event-owned media bytes on disk for the camera. */
|
|
16364
|
+
bytes: number().int()
|
|
16365
|
+
});
|
|
16366
|
+
/** Aggregate event-store footprint: global totals + per-camera breakdown. */
|
|
16367
|
+
var EventStoreFootprintSchema = object({
|
|
16368
|
+
totalRows: number().int(),
|
|
16369
|
+
totalBytes: number().int(),
|
|
16370
|
+
devices: array(EventStoreDeviceFootprintSchema).readonly()
|
|
16371
|
+
});
|
|
16372
|
+
/** Per-kind counts returned by the event-prune / device-delete mutations. */
|
|
16373
|
+
var EventPruneCountsSchema = object({
|
|
16374
|
+
motion: number().int(),
|
|
16375
|
+
object: number().int(),
|
|
16376
|
+
audio: number().int()
|
|
16377
|
+
});
|
|
16302
16378
|
var pipelineAnalyticsCapability = {
|
|
16303
16379
|
name: "pipeline-analytics",
|
|
16304
16380
|
scope: "device",
|
|
@@ -16460,6 +16536,45 @@ var pipelineAnalyticsCapability = {
|
|
|
16460
16536
|
kind: "mutation",
|
|
16461
16537
|
auth: "admin"
|
|
16462
16538
|
}),
|
|
16539
|
+
/**
|
|
16540
|
+
* Durable event-store footprint for the management UI: event rows
|
|
16541
|
+
* (motion + object + audio) counted per camera + total, plus the
|
|
16542
|
+
* event-owned media bytes on disk per camera + total. Stat/count-based,
|
|
16543
|
+
* computed on demand.
|
|
16544
|
+
*/
|
|
16545
|
+
getEventStoreFootprint: method(object({}), EventStoreFootprintSchema, {
|
|
16546
|
+
kind: "query",
|
|
16547
|
+
auth: "admin"
|
|
16548
|
+
}),
|
|
16549
|
+
/**
|
|
16550
|
+
* Cluster-wide prune of events older than `olderThanMs` (exclusive) across
|
|
16551
|
+
* every camera, deleting each event's media in lockstep. Logged to the
|
|
16552
|
+
* events ops-log with `reason` (default `'retention'`). Returns the summed
|
|
16553
|
+
* per-kind deleted counts.
|
|
16554
|
+
*/
|
|
16555
|
+
pruneEvents: method(object({
|
|
16556
|
+
olderThanMs: number(),
|
|
16557
|
+
reason: OpsLogReasonSchema.optional()
|
|
16558
|
+
}), EventPruneCountsSchema, {
|
|
16559
|
+
kind: "mutation",
|
|
16560
|
+
auth: "admin"
|
|
16561
|
+
}),
|
|
16562
|
+
/**
|
|
16563
|
+
* Manually delete EVERY event (motion + object + audio) for one camera and
|
|
16564
|
+
* its event-owned media in lockstep. Logged to the events ops-log as
|
|
16565
|
+
* `op:'manual-delete', reason:'manual'`. Destructive — the admin UI guards
|
|
16566
|
+
* it behind a confirm.
|
|
16567
|
+
*/
|
|
16568
|
+
deleteDeviceEvents: method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
16569
|
+
kind: "mutation",
|
|
16570
|
+
auth: "admin"
|
|
16571
|
+
}),
|
|
16572
|
+
/** The events ops-log rows (newest-first), optionally scoped to one camera.
|
|
16573
|
+
* Backed by a declared pipeline-analytics SQLite collection. */
|
|
16574
|
+
listOpsLog: method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
16575
|
+
kind: "query",
|
|
16576
|
+
auth: "admin"
|
|
16577
|
+
}),
|
|
16463
16578
|
getEventMedia: method(object({
|
|
16464
16579
|
eventId: string(),
|
|
16465
16580
|
kind: MediaFileKindEnum.optional()
|
|
@@ -19840,13 +19955,29 @@ method(object({
|
|
|
19840
19955
|
}), method(object({ deviceId: number() }), RecordingStatusSchema, {
|
|
19841
19956
|
kind: "mutation",
|
|
19842
19957
|
auth: "admin"
|
|
19843
|
-
}), method(object({
|
|
19958
|
+
}), method(object({
|
|
19959
|
+
deviceId: number(),
|
|
19960
|
+
reason: OpsLogReasonSchema.optional()
|
|
19961
|
+
}), object({
|
|
19844
19962
|
floorMs: number().nullable(),
|
|
19845
19963
|
deletedBuckets: number().int(),
|
|
19846
19964
|
reclaimedBytes: number().int()
|
|
19847
19965
|
}), {
|
|
19848
19966
|
kind: "mutation",
|
|
19849
19967
|
auth: "admin"
|
|
19968
|
+
}), method(object({
|
|
19969
|
+
deviceId: number(),
|
|
19970
|
+
fromMs: number().optional(),
|
|
19971
|
+
toMs: number().optional()
|
|
19972
|
+
}), object({
|
|
19973
|
+
deletedBuckets: number().int(),
|
|
19974
|
+
reclaimedBytes: number().int()
|
|
19975
|
+
}), {
|
|
19976
|
+
kind: "mutation",
|
|
19977
|
+
auth: "admin"
|
|
19978
|
+
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
19979
|
+
kind: "query",
|
|
19980
|
+
auth: "admin"
|
|
19850
19981
|
});
|
|
19851
19982
|
/**
|
|
19852
19983
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -22968,6 +23099,12 @@ Object.freeze({
|
|
|
22968
23099
|
addonId: null,
|
|
22969
23100
|
access: "delete"
|
|
22970
23101
|
},
|
|
23102
|
+
"pipelineAnalytics.deleteDeviceEvents": {
|
|
23103
|
+
capName: "pipeline-analytics",
|
|
23104
|
+
capScope: "device",
|
|
23105
|
+
addonId: null,
|
|
23106
|
+
access: "delete"
|
|
23107
|
+
},
|
|
22971
23108
|
"pipelineAnalytics.deleteTracks": {
|
|
22972
23109
|
capName: "pipeline-analytics",
|
|
22973
23110
|
capScope: "device",
|
|
@@ -22998,6 +23135,12 @@ Object.freeze({
|
|
|
22998
23135
|
addonId: null,
|
|
22999
23136
|
access: "view"
|
|
23000
23137
|
},
|
|
23138
|
+
"pipelineAnalytics.getEventStoreFootprint": {
|
|
23139
|
+
capName: "pipeline-analytics",
|
|
23140
|
+
capScope: "device",
|
|
23141
|
+
addonId: null,
|
|
23142
|
+
access: "view"
|
|
23143
|
+
},
|
|
23001
23144
|
"pipelineAnalytics.getKeyEvents": {
|
|
23002
23145
|
capName: "pipeline-analytics",
|
|
23003
23146
|
capScope: "device",
|
|
@@ -23040,6 +23183,12 @@ Object.freeze({
|
|
|
23040
23183
|
addonId: null,
|
|
23041
23184
|
access: "view"
|
|
23042
23185
|
},
|
|
23186
|
+
"pipelineAnalytics.listOpsLog": {
|
|
23187
|
+
capName: "pipeline-analytics",
|
|
23188
|
+
capScope: "device",
|
|
23189
|
+
addonId: null,
|
|
23190
|
+
access: "view"
|
|
23191
|
+
},
|
|
23043
23192
|
"pipelineAnalytics.listRecentTracks": {
|
|
23044
23193
|
capName: "pipeline-analytics",
|
|
23045
23194
|
capScope: "device",
|
|
@@ -23052,6 +23201,12 @@ Object.freeze({
|
|
|
23052
23201
|
addonId: null,
|
|
23053
23202
|
access: "view"
|
|
23054
23203
|
},
|
|
23204
|
+
"pipelineAnalytics.pruneEvents": {
|
|
23205
|
+
capName: "pipeline-analytics",
|
|
23206
|
+
capScope: "device",
|
|
23207
|
+
addonId: null,
|
|
23208
|
+
access: "create"
|
|
23209
|
+
},
|
|
23055
23210
|
"pipelineAnalytics.pruneEventsBefore": {
|
|
23056
23211
|
capName: "pipeline-analytics",
|
|
23057
23212
|
capScope: "device",
|
|
@@ -23814,6 +23969,12 @@ Object.freeze({
|
|
|
23814
23969
|
addonId: null,
|
|
23815
23970
|
access: "create"
|
|
23816
23971
|
},
|
|
23972
|
+
"recording.deleteFootprint": {
|
|
23973
|
+
capName: "recording",
|
|
23974
|
+
capScope: "system",
|
|
23975
|
+
addonId: null,
|
|
23976
|
+
access: "delete"
|
|
23977
|
+
},
|
|
23817
23978
|
"recording.getAvailability": {
|
|
23818
23979
|
capName: "recording",
|
|
23819
23980
|
capScope: "system",
|
|
@@ -23844,6 +24005,12 @@ Object.freeze({
|
|
|
23844
24005
|
addonId: null,
|
|
23845
24006
|
access: "view"
|
|
23846
24007
|
},
|
|
24008
|
+
"recording.listOpsLog": {
|
|
24009
|
+
capName: "recording",
|
|
24010
|
+
capScope: "system",
|
|
24011
|
+
addonId: null,
|
|
24012
|
+
access: "view"
|
|
24013
|
+
},
|
|
23847
24014
|
"recording.locateSegment": {
|
|
23848
24015
|
capName: "recording",
|
|
23849
24016
|
capScope: "system",
|
|
@@ -25069,4 +25236,4 @@ object({
|
|
|
25069
25236
|
schemaVersion: literal(1)
|
|
25070
25237
|
});
|
|
25071
25238
|
//#endregion
|
|
25072
|
-
export {
|
|
25239
|
+
export { object as C, number as S, EventCategory as T, DeviceType as _, audioMetricsCapability as a, array as b, faceGalleryCapability as c, pipelineAnalyticsCapability as d, plateGalleryCapability as f, BaseAddon as g, errMsg as h, addonWidgetsSourceCapability as i, hfModelUrl as l, zoneAnalyticsCapability as m, EVENT_PAD_MS as n, cosineSimilarity as o, videoclipsCapability as p, OpsLogEntrySchema as r, embeddingEncoderCapability as s, EVENT_KIND_BY_CAP as t, nodePin as u, createEvent as v, string as w, boolean as x, hydrateSchema as y };
|
|
@@ -7380,6 +7380,62 @@ var RecordingConfigSchema = object({
|
|
|
7380
7380
|
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7381
7381
|
});
|
|
7382
7382
|
/**
|
|
7383
|
+
* Ops-log — the durable, append-only operations audit shared by the
|
|
7384
|
+
* recordings and events management surfaces.
|
|
7385
|
+
*
|
|
7386
|
+
* ONE row shape is reused for both domains so a single "Activity" view can
|
|
7387
|
+
* merge the recorder's DurableState ring (recordings ops-log) and the
|
|
7388
|
+
* pipeline-analytics SQLite collection (events ops-log). Each row records a
|
|
7389
|
+
* management operation, WHY it ran (reason), and its measurable effect
|
|
7390
|
+
* (itemsAffected + bytesReclaimed). Writes are best-effort — a failed log must
|
|
7391
|
+
* never fail the operation it records.
|
|
7392
|
+
*/
|
|
7393
|
+
/** Which management domain the operation belongs to. */
|
|
7394
|
+
var OpsLogDomainSchema = _enum(["recording", "events"]);
|
|
7395
|
+
/** The kind of management operation performed. */
|
|
7396
|
+
var OpsLogOpSchema = _enum([
|
|
7397
|
+
"prune",
|
|
7398
|
+
"manual-delete",
|
|
7399
|
+
"rescan",
|
|
7400
|
+
"retention-run"
|
|
7401
|
+
]);
|
|
7402
|
+
/** Why the operation ran. */
|
|
7403
|
+
var OpsLogReasonSchema = _enum([
|
|
7404
|
+
"retention",
|
|
7405
|
+
"quota",
|
|
7406
|
+
"manual",
|
|
7407
|
+
"operator"
|
|
7408
|
+
]);
|
|
7409
|
+
/** One audit row, shared verbatim by both domains. */
|
|
7410
|
+
var OpsLogEntrySchema = object({
|
|
7411
|
+
/** Unique row id. */
|
|
7412
|
+
id: string(),
|
|
7413
|
+
/** Epoch ms the operation completed. */
|
|
7414
|
+
at: number(),
|
|
7415
|
+
domain: OpsLogDomainSchema,
|
|
7416
|
+
op: OpsLogOpSchema,
|
|
7417
|
+
reason: OpsLogReasonSchema,
|
|
7418
|
+
/** The camera the op targeted; null for a cluster/global op. */
|
|
7419
|
+
deviceId: number().nullable(),
|
|
7420
|
+
/** Node that performed the op (the log carries nodeId — no cross-node aggregation). */
|
|
7421
|
+
nodeId: string(),
|
|
7422
|
+
/** Buckets / rows deleted (op-specific unit). */
|
|
7423
|
+
itemsAffected: number(),
|
|
7424
|
+
/** Bytes reclaimed by the op (0 when not measurable). */
|
|
7425
|
+
bytesReclaimed: number(),
|
|
7426
|
+
/** Free-text detail (e.g. "floor moved to <ts>"); null when none. */
|
|
7427
|
+
detail: string().nullable(),
|
|
7428
|
+
/** Who/what triggered the op. */
|
|
7429
|
+
actor: string()
|
|
7430
|
+
});
|
|
7431
|
+
/** Shared query input for the per-domain `listOpsLog` cap methods. */
|
|
7432
|
+
var OpsLogQueryInputSchema = object({
|
|
7433
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7434
|
+
deviceId: number().optional(),
|
|
7435
|
+
/** Max rows returned, newest-first. */
|
|
7436
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7437
|
+
});
|
|
7438
|
+
/**
|
|
7383
7439
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7384
7440
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7385
7441
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -16321,6 +16377,26 @@ var TrackCascadeCountsSchema = object({
|
|
|
16321
16377
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
16322
16378
|
embeddings: number().int()
|
|
16323
16379
|
});
|
|
16380
|
+
/** Event-store footprint for one camera. */
|
|
16381
|
+
var EventStoreDeviceFootprintSchema = object({
|
|
16382
|
+
deviceId: number(),
|
|
16383
|
+
/** Persisted event rows (motion + object + audio) for the camera. */
|
|
16384
|
+
rows: number().int(),
|
|
16385
|
+
/** Event-owned media bytes on disk for the camera. */
|
|
16386
|
+
bytes: number().int()
|
|
16387
|
+
});
|
|
16388
|
+
/** Aggregate event-store footprint: global totals + per-camera breakdown. */
|
|
16389
|
+
var EventStoreFootprintSchema = object({
|
|
16390
|
+
totalRows: number().int(),
|
|
16391
|
+
totalBytes: number().int(),
|
|
16392
|
+
devices: array(EventStoreDeviceFootprintSchema).readonly()
|
|
16393
|
+
});
|
|
16394
|
+
/** Per-kind counts returned by the event-prune / device-delete mutations. */
|
|
16395
|
+
var EventPruneCountsSchema = object({
|
|
16396
|
+
motion: number().int(),
|
|
16397
|
+
object: number().int(),
|
|
16398
|
+
audio: number().int()
|
|
16399
|
+
});
|
|
16324
16400
|
var pipelineAnalyticsCapability = {
|
|
16325
16401
|
name: "pipeline-analytics",
|
|
16326
16402
|
scope: "device",
|
|
@@ -16482,6 +16558,45 @@ var pipelineAnalyticsCapability = {
|
|
|
16482
16558
|
kind: "mutation",
|
|
16483
16559
|
auth: "admin"
|
|
16484
16560
|
}),
|
|
16561
|
+
/**
|
|
16562
|
+
* Durable event-store footprint for the management UI: event rows
|
|
16563
|
+
* (motion + object + audio) counted per camera + total, plus the
|
|
16564
|
+
* event-owned media bytes on disk per camera + total. Stat/count-based,
|
|
16565
|
+
* computed on demand.
|
|
16566
|
+
*/
|
|
16567
|
+
getEventStoreFootprint: method(object({}), EventStoreFootprintSchema, {
|
|
16568
|
+
kind: "query",
|
|
16569
|
+
auth: "admin"
|
|
16570
|
+
}),
|
|
16571
|
+
/**
|
|
16572
|
+
* Cluster-wide prune of events older than `olderThanMs` (exclusive) across
|
|
16573
|
+
* every camera, deleting each event's media in lockstep. Logged to the
|
|
16574
|
+
* events ops-log with `reason` (default `'retention'`). Returns the summed
|
|
16575
|
+
* per-kind deleted counts.
|
|
16576
|
+
*/
|
|
16577
|
+
pruneEvents: method(object({
|
|
16578
|
+
olderThanMs: number(),
|
|
16579
|
+
reason: OpsLogReasonSchema.optional()
|
|
16580
|
+
}), EventPruneCountsSchema, {
|
|
16581
|
+
kind: "mutation",
|
|
16582
|
+
auth: "admin"
|
|
16583
|
+
}),
|
|
16584
|
+
/**
|
|
16585
|
+
* Manually delete EVERY event (motion + object + audio) for one camera and
|
|
16586
|
+
* its event-owned media in lockstep. Logged to the events ops-log as
|
|
16587
|
+
* `op:'manual-delete', reason:'manual'`. Destructive — the admin UI guards
|
|
16588
|
+
* it behind a confirm.
|
|
16589
|
+
*/
|
|
16590
|
+
deleteDeviceEvents: method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
16591
|
+
kind: "mutation",
|
|
16592
|
+
auth: "admin"
|
|
16593
|
+
}),
|
|
16594
|
+
/** The events ops-log rows (newest-first), optionally scoped to one camera.
|
|
16595
|
+
* Backed by a declared pipeline-analytics SQLite collection. */
|
|
16596
|
+
listOpsLog: method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
16597
|
+
kind: "query",
|
|
16598
|
+
auth: "admin"
|
|
16599
|
+
}),
|
|
16485
16600
|
getEventMedia: method(object({
|
|
16486
16601
|
eventId: string(),
|
|
16487
16602
|
kind: MediaFileKindEnum.optional()
|
|
@@ -19862,13 +19977,29 @@ method(object({
|
|
|
19862
19977
|
}), method(object({ deviceId: number() }), RecordingStatusSchema, {
|
|
19863
19978
|
kind: "mutation",
|
|
19864
19979
|
auth: "admin"
|
|
19865
|
-
}), method(object({
|
|
19980
|
+
}), method(object({
|
|
19981
|
+
deviceId: number(),
|
|
19982
|
+
reason: OpsLogReasonSchema.optional()
|
|
19983
|
+
}), object({
|
|
19866
19984
|
floorMs: number().nullable(),
|
|
19867
19985
|
deletedBuckets: number().int(),
|
|
19868
19986
|
reclaimedBytes: number().int()
|
|
19869
19987
|
}), {
|
|
19870
19988
|
kind: "mutation",
|
|
19871
19989
|
auth: "admin"
|
|
19990
|
+
}), method(object({
|
|
19991
|
+
deviceId: number(),
|
|
19992
|
+
fromMs: number().optional(),
|
|
19993
|
+
toMs: number().optional()
|
|
19994
|
+
}), object({
|
|
19995
|
+
deletedBuckets: number().int(),
|
|
19996
|
+
reclaimedBytes: number().int()
|
|
19997
|
+
}), {
|
|
19998
|
+
kind: "mutation",
|
|
19999
|
+
auth: "admin"
|
|
20000
|
+
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20001
|
+
kind: "query",
|
|
20002
|
+
auth: "admin"
|
|
19872
20003
|
});
|
|
19873
20004
|
/**
|
|
19874
20005
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -22990,6 +23121,12 @@ Object.freeze({
|
|
|
22990
23121
|
addonId: null,
|
|
22991
23122
|
access: "delete"
|
|
22992
23123
|
},
|
|
23124
|
+
"pipelineAnalytics.deleteDeviceEvents": {
|
|
23125
|
+
capName: "pipeline-analytics",
|
|
23126
|
+
capScope: "device",
|
|
23127
|
+
addonId: null,
|
|
23128
|
+
access: "delete"
|
|
23129
|
+
},
|
|
22993
23130
|
"pipelineAnalytics.deleteTracks": {
|
|
22994
23131
|
capName: "pipeline-analytics",
|
|
22995
23132
|
capScope: "device",
|
|
@@ -23020,6 +23157,12 @@ Object.freeze({
|
|
|
23020
23157
|
addonId: null,
|
|
23021
23158
|
access: "view"
|
|
23022
23159
|
},
|
|
23160
|
+
"pipelineAnalytics.getEventStoreFootprint": {
|
|
23161
|
+
capName: "pipeline-analytics",
|
|
23162
|
+
capScope: "device",
|
|
23163
|
+
addonId: null,
|
|
23164
|
+
access: "view"
|
|
23165
|
+
},
|
|
23023
23166
|
"pipelineAnalytics.getKeyEvents": {
|
|
23024
23167
|
capName: "pipeline-analytics",
|
|
23025
23168
|
capScope: "device",
|
|
@@ -23062,6 +23205,12 @@ Object.freeze({
|
|
|
23062
23205
|
addonId: null,
|
|
23063
23206
|
access: "view"
|
|
23064
23207
|
},
|
|
23208
|
+
"pipelineAnalytics.listOpsLog": {
|
|
23209
|
+
capName: "pipeline-analytics",
|
|
23210
|
+
capScope: "device",
|
|
23211
|
+
addonId: null,
|
|
23212
|
+
access: "view"
|
|
23213
|
+
},
|
|
23065
23214
|
"pipelineAnalytics.listRecentTracks": {
|
|
23066
23215
|
capName: "pipeline-analytics",
|
|
23067
23216
|
capScope: "device",
|
|
@@ -23074,6 +23223,12 @@ Object.freeze({
|
|
|
23074
23223
|
addonId: null,
|
|
23075
23224
|
access: "view"
|
|
23076
23225
|
},
|
|
23226
|
+
"pipelineAnalytics.pruneEvents": {
|
|
23227
|
+
capName: "pipeline-analytics",
|
|
23228
|
+
capScope: "device",
|
|
23229
|
+
addonId: null,
|
|
23230
|
+
access: "create"
|
|
23231
|
+
},
|
|
23077
23232
|
"pipelineAnalytics.pruneEventsBefore": {
|
|
23078
23233
|
capName: "pipeline-analytics",
|
|
23079
23234
|
capScope: "device",
|
|
@@ -23836,6 +23991,12 @@ Object.freeze({
|
|
|
23836
23991
|
addonId: null,
|
|
23837
23992
|
access: "create"
|
|
23838
23993
|
},
|
|
23994
|
+
"recording.deleteFootprint": {
|
|
23995
|
+
capName: "recording",
|
|
23996
|
+
capScope: "system",
|
|
23997
|
+
addonId: null,
|
|
23998
|
+
access: "delete"
|
|
23999
|
+
},
|
|
23839
24000
|
"recording.getAvailability": {
|
|
23840
24001
|
capName: "recording",
|
|
23841
24002
|
capScope: "system",
|
|
@@ -23866,6 +24027,12 @@ Object.freeze({
|
|
|
23866
24027
|
addonId: null,
|
|
23867
24028
|
access: "view"
|
|
23868
24029
|
},
|
|
24030
|
+
"recording.listOpsLog": {
|
|
24031
|
+
capName: "recording",
|
|
24032
|
+
capScope: "system",
|
|
24033
|
+
addonId: null,
|
|
24034
|
+
access: "view"
|
|
24035
|
+
},
|
|
23869
24036
|
"recording.locateSegment": {
|
|
23870
24037
|
capName: "recording",
|
|
23871
24038
|
capScope: "system",
|
|
@@ -25121,6 +25288,12 @@ Object.defineProperty(exports, "EventCategory", {
|
|
|
25121
25288
|
return EventCategory;
|
|
25122
25289
|
}
|
|
25123
25290
|
});
|
|
25291
|
+
Object.defineProperty(exports, "OpsLogEntrySchema", {
|
|
25292
|
+
enumerable: true,
|
|
25293
|
+
get: function() {
|
|
25294
|
+
return OpsLogEntrySchema;
|
|
25295
|
+
}
|
|
25296
|
+
});
|
|
25124
25297
|
Object.defineProperty(exports, "__toESM", {
|
|
25125
25298
|
enumerable: true,
|
|
25126
25299
|
get: function() {
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-BeDNiKi6.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
let node_fs$1 = require_dist.__toESM(node_fs, 1);
|
|
8
8
|
node_fs = require_dist.__toESM(node_fs);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseAddon, l as hfModelUrl, s as embeddingEncoderCapability } from "../dist-B1EgWJrr.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.js-C0AuF9av.mjs";
|
|
2
2
|
import { t as o } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B3Wx5J80.mjs";
|
|
3
|
-
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
3
|
+
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-C8Wc_rxx.mjs";
|
|
4
4
|
import { n as m, r as h, t as g } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-Bm-iyjmq.mjs";
|
|
5
5
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
6
6
|
var _ = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), v = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), y = (e) => {
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.1.
|
|
6
|
+
version: "1.1.29",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.1.
|
|
21
|
+
version: "1.1.50",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.1.
|
|
36
|
+
version: "1.1.41",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|