@camstack/addon-admin-ui 1.1.53 → 1.1.54
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/assets/{AddLocationWizard-B2-uyYmP.js → AddLocationWizard-C3UWw6fo.js} +1 -1
- package/dist/assets/{AddonCollectionPage-FU3E6QGz.js → AddonCollectionPage-D47vUShU.js} +1 -1
- package/dist/assets/{Addons-DU5z1ZvU.js → Addons-GYlHxXbA.js} +1 -1
- package/dist/assets/{AdminTabs-CICieyaN.js → AdminTabs-C-MDWXUY.js} +1 -1
- package/dist/assets/{AiProfiles-BRTUYeoH.js → AiProfiles-BsuRSKSF.js} +1 -1
- package/dist/assets/{BrokerForm-CuIg_iOf.js → BrokerForm-CNMuGgid.js} +1 -1
- package/dist/assets/{Capabilities-CEZc9Dcc.js → Capabilities-AqbSoyL5.js} +1 -1
- package/dist/assets/{CapabilityBadges-DDSnGBgk.js → CapabilityBadges-D05r2uHo.js} +1 -1
- package/dist/assets/{Cluster-DjZVaBCZ.js → Cluster-DLQisFC2.js} +1 -1
- package/dist/assets/{Dashboard-CLWVhKF4.js → Dashboard-CCQolIwj.js} +1 -1
- package/dist/assets/{Data-aqRyEVJp.js → Data-4C5d12H1.js} +1 -1
- package/dist/assets/{DetectionIntelligence-Bvw_e-lH.js → DetectionIntelligence-BDuOkFT2.js} +1 -1
- package/dist/assets/{DeviceDetail-Bt08IJis.js → DeviceDetail-B10OUNjH.js} +1 -1
- package/dist/assets/{Devices-CZ_Moh5w.js → Devices-Ddd325uI.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-DAeQe0Bf.js → EmbedPlayerPage-BIu8Xloi.js} +1 -1
- package/dist/assets/{Events-OajEJc_n.js → Events-CgNGsM1b.js} +1 -1
- package/dist/assets/{FormBuilder-B69YBaq9.js → FormBuilder-DWyVfYEx.js} +1 -1
- package/dist/assets/{Identity-DWgcf-tI.js → Identity-BCdw4uTj.js} +1 -1
- package/dist/assets/{IntegrationDetail-BOTeJU5I.js → IntegrationDetail-Dqg1aXAl.js} +1 -1
- package/dist/assets/{Integrations-nY6HlQUf.js → Integrations-BnABrrFw.js} +1 -1
- package/dist/assets/{Integrations-CMT2Jroo.js → Integrations-OVJAVFYv.js} +1 -1
- package/dist/assets/{Logs-BTWVO572.js → Logs-BLQVmxHL.js} +1 -1
- package/dist/assets/{MotionZonesSettings-BWhNWsPJ.js → MotionZonesSettings-B7HgtR56.js} +1 -1
- package/dist/assets/{MyAccess-CJLeYWfN.js → MyAccess-D5eCvJg4.js} +1 -1
- package/dist/assets/{Network-DTQVXNuu.js → Network-Dmo_AKs9.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-BQWXa7vq.js → NodeAddonsSettingsPanel-CUm6ZjZG.js} +1 -1
- package/dist/assets/{NotificationTargets-DqrqQvJN.js → NotificationTargets-Dgv7KcUx.js} +1 -1
- package/dist/assets/{Pipeline-BZPrco_d.js → Pipeline-BgjLYaXb.js} +1 -1
- package/dist/assets/{Plates-Cy7kPDK4.js → Plates-CL-cxBtF.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-DTEI02Vz.js → PrivacyMaskSettings-Da51DY2Q.js} +1 -1
- package/dist/assets/{ProviderIcon-Ba4DQXPs.js → ProviderIcon-CuMT7F9y.js} +1 -1
- package/dist/assets/{ScanNetworkModal-CbDd4Bl9.js → ScanNetworkModal-B1JkO9u4.js} +1 -1
- package/dist/assets/{Settings-BxK0kuED.js → Settings-CyLRqUZb.js} +1 -1
- package/dist/assets/{Showroom-BLBcs7XJ.js → Showroom-C8xxj7fM.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-jFLPXlhw.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-VqlYFn9M.js} +1 -1
- package/dist/assets/{build-cluster-graph-CIiqGgZL.js → build-cluster-graph-Dq0aWiFj.js} +1 -1
- package/dist/assets/circle-check-big-Nif3quBt.js +1 -0
- package/dist/assets/clock-SG8FoL8n.js +1 -0
- package/dist/assets/{copy-CTAQpm07.js → copy-DbE-QhLK.js} +1 -1
- package/dist/assets/{debounced-invalidate-DZ3oxQDl.js → debounced-invalidate-CU4WvwKE.js} +1 -1
- package/dist/assets/{dist-BMrXztkM.js → dist-B1UQfly-.js} +1 -1
- package/dist/assets/dist-C5ESkvOH.js +7 -0
- package/dist/assets/{download-DjYX33pK.js → download-y6oj2-e2.js} +1 -1
- package/dist/assets/{face-bbox-vlSxiLet.js → face-bbox-DXhWoqzi.js} +1 -1
- package/dist/assets/{film-lIXZ0TIf.js → film-DH-yyVOd.js} +1 -1
- package/dist/assets/{hostInit-BhKkSxQn.js → hostInit-DmgoGg6b.js} +1 -1
- package/dist/assets/index-CEKCVAyF.js +4 -0
- package/dist/assets/{key-round-D6koQlXg.js → key-round-0IKwslpI.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-1af432ca.js → mf-entry-bootstrap-0-7a9017fa.js} +2 -2
- package/dist/assets/{pencil-CUVzuL3L.js → pencil-CjBFvxZC.js} +1 -1
- package/dist/assets/{player-overlays-BrjDKJA9.js → player-overlays-CqpTKFnF.js} +1 -1
- package/dist/assets/plus-Qu3SSVl_.js +1 -0
- package/dist/assets/{radio-_KFBV9h-.js → radio-BZnBCK-b.js} +1 -1
- package/dist/assets/{refresh-cw-BM18Lfvw.js → refresh-cw-B2RS5ydI.js} +1 -1
- package/dist/assets/remoteEntry-Cr7-DFnI.js +1 -0
- package/dist/assets/{rotate-ccw-EdLXWeWN.js → rotate-ccw-XQACZirr.js} +1 -1
- package/dist/assets/rotate-cw-CGM8R2Rh.js +1 -0
- package/dist/assets/search-68tLVeXg.js +1 -0
- package/dist/assets/{send-C5a5_8YJ.js → send-Ba06GAVZ.js} +1 -1
- package/dist/assets/{server-CTi1sPfP.js → server-C_QKNvJu.js} +1 -1
- package/dist/assets/square-BqLc4ayt.js +1 -0
- package/dist/assets/{square-check-big-DqE0lyuf.js → square-check-big-R1wE8diD.js} +1 -1
- package/dist/assets/{src-Bx1PCCWV.js → src-C4adSeJm.js} +10 -10
- package/dist/assets/src-mRenCh5Y.js +7 -0
- package/dist/assets/{upload-CBvWlRd4.js → upload-BvX9dy0M.js} +1 -1
- package/dist/assets/{useDevice-CRWDjGkB.js → useDevice-D4xXyV_L.js} +1 -1
- package/dist/assets/{useEventInvalidation-BgQYjLEl.js → useEventInvalidation-CpTl-CRX.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BzCJlGIx.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-CcdwGZaS.js} +2 -2
- package/dist/assets/{wifi-D9LNVG6Y.js → wifi-Dm2rtPT_.js} +1 -1
- package/dist/assets/{zap-CjGIHi-s.js → zap-BMNHCgPL.js} +1 -1
- package/dist/index.html +5 -5
- package/dist/server/addon.js +177 -13
- package/package.json +1 -1
- package/dist/assets/circle-check-big-B-tT2CHM.js +0 -1
- package/dist/assets/clock-cwKSxYZs.js +0 -1
- package/dist/assets/dist-tu4iBgMD.js +0 -7
- package/dist/assets/index-Cdp6OaKK.js +0 -4
- package/dist/assets/plus-CTLCXGgQ.js +0 -1
- package/dist/assets/remoteEntry-xwnWPwER.js +0 -1
- package/dist/assets/rotate-cw-CE0Ns6Fz.js +0 -1
- package/dist/assets/search-mDjJzMoX.js +0 -1
- package/dist/assets/square-CfQwX-85.js +0 -1
- package/dist/assets/src-BIAY4cjr.js +0 -7
package/dist/server/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-H4AVePnn.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -150,6 +150,9 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
150
150
|
EventCategory["RecordingSegmentWritten"] = "recording.segment.written";
|
|
151
151
|
EventCategory["RecordingPolicyFallback"] = "recording.policy.fallback";
|
|
152
152
|
EventCategory["RecordingRetentionCompleted"] = "recording.retention.completed";
|
|
153
|
+
/** Runner-sampled scrub thumbnail (~1/5 s/camera). Telemetry (D8): a lost
|
|
154
|
+
* thumb is a scrub gap the recorder's keyframe backfill covers. */
|
|
155
|
+
EventCategory["RecordingThumbSampled"] = "recording.thumb-sampled";
|
|
153
156
|
EventCategory["DetectionEvent"] = "detection.event";
|
|
154
157
|
EventCategory["SessionTrackNew"] = "session.track.new";
|
|
155
158
|
EventCategory["SessionTrackExpired"] = "session.track.expired";
|
|
@@ -9823,7 +9826,7 @@ object({
|
|
|
9823
9826
|
deviceId: number(),
|
|
9824
9827
|
timestamp: number()
|
|
9825
9828
|
});
|
|
9826
|
-
DeviceType.Button;
|
|
9829
|
+
DeviceType.Button, DeviceType.Camera;
|
|
9827
9830
|
/**
|
|
9828
9831
|
* Enum-state sensor — a string value picked from a finite option set.
|
|
9829
9832
|
* Drives HA `sensor` entries with `state_class: enum` (HVAC action
|
|
@@ -14193,6 +14196,14 @@ var ConfigEntrySchema = object({
|
|
|
14193
14196
|
value: unknown(),
|
|
14194
14197
|
description: string().optional()
|
|
14195
14198
|
});
|
|
14199
|
+
var DeviceLinkModeSchema = _enum(["auto", "manual"]);
|
|
14200
|
+
/** One resolved linked device — the compact projection consumers need. */
|
|
14201
|
+
var LinkedDeviceSchema = object({
|
|
14202
|
+
deviceId: number(),
|
|
14203
|
+
name: string(),
|
|
14204
|
+
location: string().nullable(),
|
|
14205
|
+
features: array(string())
|
|
14206
|
+
});
|
|
14196
14207
|
var SavedDeviceRowSchema = object({
|
|
14197
14208
|
/** Numeric id reserved at allocateDeviceId time. */
|
|
14198
14209
|
id: number(),
|
|
@@ -14414,7 +14425,10 @@ method(object({
|
|
|
14414
14425
|
}), _void(), {
|
|
14415
14426
|
kind: "mutation",
|
|
14416
14427
|
auth: "admin"
|
|
14417
|
-
}), method(object({ addonId: string() }), array(SavedDeviceRowSchema)), method(object({ addonId: string().optional() }), array(DeviceInfoSchema)), method(object({ deviceId: number() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number() }), array(DeviceInfoSchema)), method(object({ deviceId: number() }),
|
|
14428
|
+
}), method(object({ addonId: string() }), array(SavedDeviceRowSchema)), method(object({ addonId: string().optional() }), array(DeviceInfoSchema)), method(object({ deviceId: number() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number() }), array(DeviceInfoSchema)), method(object({ deviceId: number() }), object({
|
|
14429
|
+
mode: DeviceLinkModeSchema,
|
|
14430
|
+
devices: array(LinkedDeviceSchema)
|
|
14431
|
+
})), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
14418
14432
|
deviceId: number(),
|
|
14419
14433
|
values: record(string(), unknown())
|
|
14420
14434
|
}), object({ success: literal(true) }), {
|
|
@@ -15683,6 +15697,61 @@ var EventKindSchema = _enum([
|
|
|
15683
15697
|
"object",
|
|
15684
15698
|
"audio"
|
|
15685
15699
|
]);
|
|
15700
|
+
/**
|
|
15701
|
+
* Spatial filter for `listTracks` — the rect + polygon variants of the shared
|
|
15702
|
+
* MaskShape vocabulary (see `mask-shape.ts`). Coordinates are NORMALIZED 0..1
|
|
15703
|
+
* of the camera frame (top-left origin), matching the drawing-plane editor.
|
|
15704
|
+
*/
|
|
15705
|
+
var TrackZoneFilterSchema = discriminatedUnion("kind", [MaskRectShapeSchema, MaskPolygonShapeSchema]);
|
|
15706
|
+
/** Closed icon vocabulary so clients render a known glyph per kind. */
|
|
15707
|
+
var EventKindIconSchema = _enum([
|
|
15708
|
+
"motion",
|
|
15709
|
+
"audio",
|
|
15710
|
+
"person",
|
|
15711
|
+
"vehicle",
|
|
15712
|
+
"animal",
|
|
15713
|
+
"door",
|
|
15714
|
+
"pir",
|
|
15715
|
+
"smoke",
|
|
15716
|
+
"water",
|
|
15717
|
+
"button",
|
|
15718
|
+
"generic"
|
|
15719
|
+
]);
|
|
15720
|
+
var EventKindCategorySchema = _enum([
|
|
15721
|
+
"motion",
|
|
15722
|
+
"audio",
|
|
15723
|
+
"detection",
|
|
15724
|
+
"sensor",
|
|
15725
|
+
"custom"
|
|
15726
|
+
]);
|
|
15727
|
+
var EventKindDescriptorSchema = object({
|
|
15728
|
+
/** Stable kind id (e.g. 'motion', 'person', 'contact'). */
|
|
15729
|
+
kind: string(),
|
|
15730
|
+
label: string(),
|
|
15731
|
+
/** Hex color for timeline/legend rendering. */
|
|
15732
|
+
color: string(),
|
|
15733
|
+
icon: EventKindIconSchema,
|
|
15734
|
+
category: EventKindCategorySchema,
|
|
15735
|
+
/** Which cap + device contributes this kind. For built-ins the camera
|
|
15736
|
+
* itself; for sensor kinds the LINKED source device. */
|
|
15737
|
+
source: object({
|
|
15738
|
+
capName: string(),
|
|
15739
|
+
deviceId: number()
|
|
15740
|
+
})
|
|
15741
|
+
});
|
|
15742
|
+
var SensorEventSchema = object({
|
|
15743
|
+
id: string(),
|
|
15744
|
+
/** The CAMERA the event is attributed to (a sensor linked to N cameras
|
|
15745
|
+
* yields N rows, one per camera). */
|
|
15746
|
+
deviceId: number(),
|
|
15747
|
+
/** The linked sensor device whose state changed. */
|
|
15748
|
+
sourceDeviceId: number(),
|
|
15749
|
+
/** Event kind id — matches an `EventKindDescriptor.kind`. */
|
|
15750
|
+
kind: string(),
|
|
15751
|
+
/** Snapshot of the sensor cap's runtime-state slice at the change. */
|
|
15752
|
+
value: record(string(), unknown()).nullable(),
|
|
15753
|
+
timestamp: number()
|
|
15754
|
+
});
|
|
15686
15755
|
var TrackPositionSchema = object({
|
|
15687
15756
|
x: number(),
|
|
15688
15757
|
y: number(),
|
|
@@ -15696,6 +15765,30 @@ var TrackSnapshotSchema = object({
|
|
|
15696
15765
|
mediaKey: string()
|
|
15697
15766
|
});
|
|
15698
15767
|
/**
|
|
15768
|
+
* Normalized 0..1 trajectory envelope (min/max over every position bbox,
|
|
15769
|
+
* divided by the track's detection-frame dims), computed at persist time.
|
|
15770
|
+
* Absent when the frame dims were unknown when the track was persisted
|
|
15771
|
+
* (legacy rows / dims-less sources) and on active (in-RAM) tracks.
|
|
15772
|
+
*/
|
|
15773
|
+
var TrackEnvelopeSchema = object({
|
|
15774
|
+
minX: number(),
|
|
15775
|
+
minY: number(),
|
|
15776
|
+
maxX: number(),
|
|
15777
|
+
maxY: number()
|
|
15778
|
+
});
|
|
15779
|
+
/**
|
|
15780
|
+
* Row projection for track list queries. `full` (default) returns the
|
|
15781
|
+
* complete Track including the frame-rate `positions[]` history and the
|
|
15782
|
+
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15783
|
+
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15784
|
+
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15785
|
+
* zonesVisited, bestEventId, envelope) and returns `positions` /
|
|
15786
|
+
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15787
|
+
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15788
|
+
* (`getObjectEvents` et al.).
|
|
15789
|
+
*/
|
|
15790
|
+
var TrackProjectionSchema = _enum(["full", "slim"]);
|
|
15791
|
+
/**
|
|
15699
15792
|
* One audio-classification label heard on the track's camera while the
|
|
15700
15793
|
* track was alive, aggregated per label. An "episode" is one persisted
|
|
15701
15794
|
* audio event (the confident-classification path: score ≥ the device's
|
|
@@ -15746,7 +15839,11 @@ var TrackSchema = object({
|
|
|
15746
15839
|
/** Audio-classification labels heard on the camera during the track's
|
|
15747
15840
|
* life (score ≥ device `classificationMinScore`), aggregated per label.
|
|
15748
15841
|
* Absent on legacy rows / tracks with no confident audio. */
|
|
15749
|
-
audioLabels: array(TrackAudioLabelSchema).readonly().optional()
|
|
15842
|
+
audioLabels: array(TrackAudioLabelSchema).readonly().optional(),
|
|
15843
|
+
/** Normalized 0..1 trajectory envelope (see {@link TrackEnvelopeSchema}).
|
|
15844
|
+
* Populated from the persisted envelope columns on historical reads;
|
|
15845
|
+
* absent on legacy rows, dims-less tracks and active (in-RAM) tracks. */
|
|
15846
|
+
envelope: TrackEnvelopeSchema.optional()
|
|
15750
15847
|
});
|
|
15751
15848
|
var BaseEventFields = {
|
|
15752
15849
|
id: string(),
|
|
@@ -15856,11 +15953,13 @@ var MediaFileSchema = object({
|
|
|
15856
15953
|
sizeBytes: number(),
|
|
15857
15954
|
timestamp: number()
|
|
15858
15955
|
});
|
|
15956
|
+
var DEFAULT_EVENT_QUERY_LIMIT = 1e3;
|
|
15957
|
+
var MAX_EVENT_QUERY_LIMIT = 5e3;
|
|
15859
15958
|
var DeviceEventQueryInput = object({
|
|
15860
15959
|
deviceId: number(),
|
|
15861
15960
|
since: number().optional(),
|
|
15862
15961
|
until: number().optional(),
|
|
15863
|
-
limit: number().int().min(1).max(
|
|
15962
|
+
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT),
|
|
15864
15963
|
/** `slim` drops heavy JSON fields (regions/bbox/zones) and carries an
|
|
15865
15964
|
* optional `mediaUrl` (populated by B5). `full` (default) keeps today's
|
|
15866
15965
|
* exact behaviour. Callers may omit this field — the store defaults to
|
|
@@ -15868,6 +15967,27 @@ var DeviceEventQueryInput = object({
|
|
|
15868
15967
|
projection: _enum(["full", "slim"]).optional()
|
|
15869
15968
|
});
|
|
15870
15969
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
15970
|
+
var RecentTracksQueryInput = object({
|
|
15971
|
+
/** Devices to merge. An empty array yields `{ tracks: [], nextCursor: null }`. */
|
|
15972
|
+
deviceIds: array(number()),
|
|
15973
|
+
/** Window lower bound on `lastSeen` (inclusive). */
|
|
15974
|
+
since: number().optional(),
|
|
15975
|
+
/** Window upper bound on `lastSeen` (inclusive). */
|
|
15976
|
+
until: number().optional(),
|
|
15977
|
+
/** Page size. Default 200, max 1000. */
|
|
15978
|
+
limit: number().int().min(1).max(1e3).default(200),
|
|
15979
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`.
|
|
15980
|
+
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
15981
|
+
cursor: string().optional(),
|
|
15982
|
+
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
15983
|
+
projection: TrackProjectionSchema.optional()
|
|
15984
|
+
});
|
|
15985
|
+
var RecentTracksPageSchema = object({
|
|
15986
|
+
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
15987
|
+
tracks: array(TrackSchema).readonly(),
|
|
15988
|
+
/** Cursor for the next page, or null when this page is the last. */
|
|
15989
|
+
nextCursor: string().nullable()
|
|
15990
|
+
});
|
|
15871
15991
|
var KeyEventQueryInput = object({
|
|
15872
15992
|
deviceId: number(),
|
|
15873
15993
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
@@ -15950,11 +16070,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
15950
16070
|
deviceId: number(),
|
|
15951
16071
|
since: number().optional(),
|
|
15952
16072
|
until: number().optional(),
|
|
15953
|
-
limit: number().optional()
|
|
15954
|
-
|
|
15955
|
-
|
|
15956
|
-
|
|
15957
|
-
|
|
16073
|
+
limit: number().optional(),
|
|
16074
|
+
/** Spatial filter — only tracks whose trajectory intersects the zone
|
|
16075
|
+
* (normalized 0..1 rect or polygon). SQL-prefiltered on the persisted
|
|
16076
|
+
* envelope columns, then precisely tested per position. Tracks with
|
|
16077
|
+
* an unknown envelope (no frame dims at persist time) always match. */
|
|
16078
|
+
zone: TrackZoneFilterSchema.optional(),
|
|
16079
|
+
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16080
|
+
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16081
|
+
projection: TrackProjectionSchema.optional()
|
|
16082
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16083
|
+
kind: "mutation",
|
|
16084
|
+
auth: "admin"
|
|
16085
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({
|
|
16086
|
+
deviceId: number(),
|
|
16087
|
+
since: number().optional(),
|
|
16088
|
+
until: number().optional(),
|
|
16089
|
+
kinds: array(string()).optional(),
|
|
16090
|
+
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
16091
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
15958
16092
|
deviceId: number(),
|
|
15959
16093
|
since: number(),
|
|
15960
16094
|
until: number(),
|
|
@@ -19155,7 +19289,12 @@ var RecordingStorageUsageSchema = object({
|
|
|
19155
19289
|
/**
|
|
19156
19290
|
* Result of locating footage at a wall-clock instant for one device/profile.
|
|
19157
19291
|
* `segment` carries the covering segment's window; `gap` reports the forward
|
|
19158
|
-
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
19292
|
+
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
19293
|
+
* and the backward covered edge `prevEndMs` (exclusive end of the nearest
|
|
19294
|
+
* footage behind the epoch; `null` when none — optional so older providers
|
|
19295
|
+
* that omit it stay valid). `prevEndMs` lets a backward frame-step hop the
|
|
19296
|
+
* small inter-segment cracks (durMs under-covers the span to the next
|
|
19297
|
+
* startMs by ~11-17 ms) instead of no-opping at a segment head.
|
|
19159
19298
|
*/
|
|
19160
19299
|
var LocateSegmentResultSchema = discriminatedUnion("kind", [object({
|
|
19161
19300
|
kind: literal("segment"),
|
|
@@ -19164,7 +19303,8 @@ var LocateSegmentResultSchema = discriminatedUnion("kind", [object({
|
|
|
19164
19303
|
bytes: number()
|
|
19165
19304
|
}), object({
|
|
19166
19305
|
kind: literal("gap"),
|
|
19167
|
-
nearestEdgeMs: number().nullable()
|
|
19306
|
+
nearestEdgeMs: number().nullable(),
|
|
19307
|
+
prevEndMs: number().nullable().optional()
|
|
19168
19308
|
})]);
|
|
19169
19309
|
/** Raw bytes of one finalized footage segment (read off disk on the recording node). */
|
|
19170
19310
|
var ReadSegmentBytesResultSchema = object({ data: _instanceof(Uint8Array) });
|
|
@@ -20733,6 +20873,12 @@ Object.freeze({
|
|
|
20733
20873
|
addonId: null,
|
|
20734
20874
|
access: "view"
|
|
20735
20875
|
},
|
|
20876
|
+
"deviceManager.getLinkedDevices": {
|
|
20877
|
+
capName: "device-manager",
|
|
20878
|
+
capScope: "system",
|
|
20879
|
+
addonId: null,
|
|
20880
|
+
access: "view"
|
|
20881
|
+
},
|
|
20736
20882
|
"deviceManager.getRoleDisplayDefaults": {
|
|
20737
20883
|
capName: "device-manager",
|
|
20738
20884
|
capScope: "system",
|
|
@@ -22287,6 +22433,12 @@ Object.freeze({
|
|
|
22287
22433
|
addonId: null,
|
|
22288
22434
|
access: "view"
|
|
22289
22435
|
},
|
|
22436
|
+
"pipelineAnalytics.getSensorEvents": {
|
|
22437
|
+
capName: "pipeline-analytics",
|
|
22438
|
+
capScope: "device",
|
|
22439
|
+
addonId: null,
|
|
22440
|
+
access: "view"
|
|
22441
|
+
},
|
|
22290
22442
|
"pipelineAnalytics.getTrack": {
|
|
22291
22443
|
capName: "pipeline-analytics",
|
|
22292
22444
|
capScope: "device",
|
|
@@ -22299,6 +22451,18 @@ Object.freeze({
|
|
|
22299
22451
|
addonId: null,
|
|
22300
22452
|
access: "view"
|
|
22301
22453
|
},
|
|
22454
|
+
"pipelineAnalytics.listEventKinds": {
|
|
22455
|
+
capName: "pipeline-analytics",
|
|
22456
|
+
capScope: "device",
|
|
22457
|
+
addonId: null,
|
|
22458
|
+
access: "view"
|
|
22459
|
+
},
|
|
22460
|
+
"pipelineAnalytics.listRecentTracks": {
|
|
22461
|
+
capName: "pipeline-analytics",
|
|
22462
|
+
capScope: "device",
|
|
22463
|
+
addonId: null,
|
|
22464
|
+
access: "view"
|
|
22465
|
+
},
|
|
22302
22466
|
"pipelineAnalytics.listTracks": {
|
|
22303
22467
|
capName: "pipeline-analytics",
|
|
22304
22468
|
capScope: "device",
|
|
@@ -24304,7 +24468,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
24304
24468
|
capability: adminUiCapability,
|
|
24305
24469
|
provider: {
|
|
24306
24470
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
24307
|
-
getVersion: async () => ({ version: "1.1.
|
|
24471
|
+
getVersion: async () => ({ version: "1.1.54" })
|
|
24308
24472
|
}
|
|
24309
24473
|
}];
|
|
24310
24474
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as e}from"./index-Cdp6OaKK.js";var t=e(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as e}from"./index-Cdp6OaKK.js";var t=e(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`polyline`,{points:`12 6 12 12 16 14`,key:`68esgv`}]]);export{t};
|