@camstack/addon-admin-ui 1.2.15 → 1.2.17
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-KwzmlSoV.js +1 -0
- package/dist/assets/{AddonCollectionPage-D4dNkjD9.js → AddonCollectionPage-Dn32SNWM.js} +1 -1
- package/dist/assets/Addons-EyEW4D4A.js +1 -0
- package/dist/assets/{AdminTabs-B6qnIaak.js → AdminTabs-57hhQmVl.js} +1 -1
- package/dist/assets/{AiProfiles-DnuLTZqB.js → AiProfiles-uNlhciHT.js} +1 -1
- package/dist/assets/{BrokerForm-C99fSuRo.js → BrokerForm-DyoPjxXz.js} +1 -1
- package/dist/assets/{Capabilities-B8SGK49R.js → Capabilities-cVsIOc2t.js} +1 -1
- package/dist/assets/{CapabilityBadges-BTZKlfM2.js → CapabilityBadges-s1q6EazS.js} +1 -1
- package/dist/assets/Cluster-BkmB4wXT.js +1 -0
- package/dist/assets/{ClusterRecordingTab-BPSdzcK3.js → ClusterRecordingTab-BH11-IbA.js} +1 -1
- package/dist/assets/{Dashboard-DCFIPV11.js → Dashboard-CwGNZIik.js} +1 -1
- package/dist/assets/Data-DU6dKN0-.js +1 -0
- package/dist/assets/DetectionIntelligence-DgBcQaJ7.js +1 -0
- package/dist/assets/DeviceAggregateSection-DDZxpHxU.js +1 -0
- package/dist/assets/DeviceDetail-Z501iVY2.js +2 -0
- package/dist/assets/{Devices-Dzpvq_f7.js → Devices-BUppgEis.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-CNBEeRdP.js → EmbedPlayerPage-DyKLMuTg.js} +1 -1
- package/dist/assets/Events-DRMEOb-1.js +1 -0
- package/dist/assets/{FormBuilder-CMFZXwvq.js → FormBuilder-V9-ZYyfi.js} +1 -1
- package/dist/assets/Identity-BOlAVEHc.js +1 -0
- package/dist/assets/IntegrationDetail-xhGos6_v.js +1 -0
- package/dist/assets/{Integrations-B1Ld1HH1.js → Integrations-CXfoHU1-.js} +1 -1
- package/dist/assets/{Integrations-B3rD6hIo.js → Integrations-Dp5hPLpw.js} +1 -1
- package/dist/assets/{Logs-CYpS3BpR.js → Logs-kyji_5ss.js} +1 -1
- package/dist/assets/{MotionZonesSettings-2auRIiQ1.js → MotionZonesSettings-M7Q0c7HT.js} +1 -1
- package/dist/assets/{MyAccess-D3_q9-33.js → MyAccess-BP00gmMz.js} +1 -1
- package/dist/assets/Network-BupOQchv.js +1 -0
- package/dist/assets/{NodeAddonsSettingsPanel-CgGvimGW.js → NodeAddonsSettingsPanel-BHYPuuzP.js} +1 -1
- package/dist/assets/{NodeInferenceDevices-COSPUL-L.js → NodeInferenceDevices-CYZafvHq.js} +1 -1
- package/dist/assets/Notifications-C7yz_fFq.js +1 -0
- package/dist/assets/Pipeline-Cc89loIx.js +1 -0
- package/dist/assets/{Plates-C96Mahmu.js → Plates-CaHuT1aj.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-C2PIvv63.js → PrivacyMaskSettings-C8tsyRZP.js} +1 -1
- package/dist/assets/{ProviderIcon-DQ9yuo_L.js → ProviderIcon-CD80TWfL.js} +1 -1
- package/dist/assets/Recordings-Ds0k0Oit.js +1 -0
- package/dist/assets/{ScanNetworkModal-Cl1Mdjki.js → ScanNetworkModal-C1fdwcgx.js} +1 -1
- package/dist/assets/{Settings-CvCaq_zC.js → Settings-D9xYfuNz.js} +1 -1
- package/dist/assets/{Showroom-BCsIYYwv.js → Showroom-DfupwGEQ.js} +1 -1
- package/dist/assets/{Terminal-BpPIZ0or.js → Terminal-QIfVJ57m.js} +2 -2
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BALp_9qY.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-DTU5DNxA.js} +1 -1
- package/dist/assets/{build-cluster-graph-cp3KQH-1.js → build-cluster-graph-DryWXcym.js} +1 -1
- package/dist/assets/circle-check-big-Cz1WD2g9.js +1 -0
- package/dist/assets/clock-D9iqCSCa.js +1 -0
- package/dist/assets/{copy-UBfFgSz-.js → copy-xvYnf3mn.js} +1 -1
- package/dist/assets/{debounced-invalidate-BsGZbF6v.js → debounced-invalidate-CT06Xct6.js} +1 -1
- package/dist/assets/dist-9AilmwYu.js +7 -0
- package/dist/assets/{dist-CvIYYU5j.js → dist-kk5V4ONk.js} +1 -1
- package/dist/assets/{download-BpNiVwyM.js → download-4PdCPJIH.js} +1 -1
- package/dist/assets/{face-bbox-BScALk_z.js → face-bbox-BOfEr6-A.js} +1 -1
- package/dist/assets/{hostInit-DFZvs0Jw.js → hostInit-BbElAo79.js} +1 -1
- package/dist/assets/index-DUFmNDGR.js +4 -0
- package/dist/assets/index-D_09pXCE.css +2 -0
- package/dist/assets/{key-round-BPb5gRuL.js → key-round-BluylYau.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-1f1c06da.js → mf-entry-bootstrap-0-d0572cd2.js} +2 -2
- package/dist/assets/{pencil-Bcfk7YmX.js → pencil-upvlHQDr.js} +1 -1
- package/dist/assets/{player-overlays-CpNYQPHP.js → player-overlays-DFxnnQ5-.js} +1 -1
- package/dist/assets/plus-pXafUidG.js +1 -0
- package/dist/assets/{radio-BH-ZU1HE.js → radio-CNyLw5GQ.js} +1 -1
- package/dist/assets/{refresh-cw-hhKexEfo.js → refresh-cw-Brd1nmbC.js} +1 -1
- package/dist/assets/remoteEntry-CNHP9pn9.js +1 -0
- package/dist/assets/{rotate-ccw-CbpUNSqs.js → rotate-ccw-CrfFxSL1.js} +1 -1
- package/dist/assets/rotate-cw-BvJwWYA6.js +1 -0
- package/dist/assets/search-DHWQ7t3y.js +1 -0
- package/dist/assets/{send-Cyy_G5i9.js → send-DcQrPOWq.js} +1 -1
- package/dist/assets/{server-BxRe5xIW.js → server-s54U0Xav.js} +1 -1
- package/dist/assets/square-CqUnowVe.js +1 -0
- package/dist/assets/{square-check-big-hPLl5NdC.js → square-check-big-CkGVGfz1.js} +1 -1
- package/dist/assets/src-Btp5jZp0.js +67 -0
- package/dist/assets/src-DlGmnrz9.js +7 -0
- package/dist/assets/{upload-C6Q1-uQx.js → upload-ZqMKZ88x.js} +1 -1
- package/dist/assets/{useEventInvalidation-Bh_CgFlD.js → useEventInvalidation-ByOUWkAr.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-C9LrTlPE.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-CsWv8uI6.js} +2 -2
- package/dist/assets/{wifi-CL8vr9lV.js → wifi-C008K8Xa.js} +1 -1
- package/dist/assets/{zap-DZXxY1Hy.js → zap-VYSIuI1A.js} +1 -1
- package/dist/index.html +6 -6
- package/dist/server/addon.js +432 -78
- package/package.json +1 -1
- package/dist/assets/AddLocationWizard-BzfZuUFE.js +0 -1
- package/dist/assets/Addons-KlOfEhx8.js +0 -1
- package/dist/assets/Cluster-COcBiWpg.js +0 -1
- package/dist/assets/Data-_pY_q5xu.js +0 -1
- package/dist/assets/DetectionIntelligence-B6Dj5dVX.js +0 -1
- package/dist/assets/DeviceDetail-N6WvCekZ.js +0 -2
- package/dist/assets/Events-B5T59IPR.js +0 -1
- package/dist/assets/Identity-BbNZdgPf.js +0 -1
- package/dist/assets/IntegrationDetail-DEPSilP_.js +0 -1
- package/dist/assets/Network-DIVAg_f5.js +0 -1
- package/dist/assets/Notifications-Bv4whDil.js +0 -1
- package/dist/assets/Pipeline-l_vZ2VML.js +0 -1
- package/dist/assets/Recordings-C2R7zGta.js +0 -1
- package/dist/assets/circle-check-big-4_1SeqzL.js +0 -1
- package/dist/assets/clock-CmbYDH1e.js +0 -1
- package/dist/assets/dist-CphRM5WA.js +0 -7
- package/dist/assets/index-0YJ-haW4.css +0 -2
- package/dist/assets/index-Cl-M8KBA.js +0 -4
- package/dist/assets/plus-z-WZstU2.js +0 -1
- package/dist/assets/remoteEntry-C6sBv4xP.js +0 -1
- package/dist/assets/rotate-cw-CQj7EyBl.js +0 -1
- package/dist/assets/search-DqoMv21b.js +0 -1
- package/dist/assets/square-CEBWDX93.js +0 -1
- package/dist/assets/src-Cv9CvT8c.js +0 -7
- package/dist/assets/src-DHFCkQHW.js +0 -67
package/dist/server/addon.js
CHANGED
|
@@ -7193,35 +7193,22 @@ var ConvertResultSchema = object({
|
|
|
7193
7193
|
*/
|
|
7194
7194
|
var RecordingWeekdaySchema = number().int().min(0).max(6);
|
|
7195
7195
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
7196
|
-
var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
|
|
7197
|
-
kind: literal("timeOfDay"),
|
|
7198
|
-
start: string().regex(HHMM),
|
|
7199
|
-
end: string().regex(HHMM),
|
|
7200
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
7201
|
-
days: array(RecordingWeekdaySchema).optional()
|
|
7202
|
-
})]);
|
|
7203
|
-
var RecordingModeSchema = _enum([
|
|
7204
|
-
"continuous",
|
|
7205
|
-
"onMotion",
|
|
7206
|
-
"onAudioThreshold"
|
|
7207
|
-
]);
|
|
7208
7196
|
/**
|
|
7209
|
-
*
|
|
7210
|
-
*
|
|
7211
|
-
* - `off` —
|
|
7212
|
-
* - `events` —
|
|
7213
|
-
*
|
|
7214
|
-
* - `continuous` — record 24/7 within the schedule.
|
|
7197
|
+
* DERIVED per-camera storage summary — the single field cheap consumers read
|
|
7198
|
+
* (the viewer's status dot, the camera list) instead of walking `bands`:
|
|
7199
|
+
* - `off` — no band covers the camera (or it is disabled).
|
|
7200
|
+
* - `events` — every band records around triggers only.
|
|
7201
|
+
* - `continuous` — at least one band records continuously.
|
|
7215
7202
|
*
|
|
7216
|
-
*
|
|
7217
|
-
*
|
|
7203
|
+
* NEVER authored: the recorder stamps it from the authoritative `bands` on
|
|
7204
|
+
* every save (`activeModeForConfig`). Writing it has no effect.
|
|
7218
7205
|
*/
|
|
7219
7206
|
var RecordingStorageModeSchema = _enum([
|
|
7220
7207
|
"off",
|
|
7221
7208
|
"events",
|
|
7222
7209
|
"continuous"
|
|
7223
7210
|
]);
|
|
7224
|
-
/** Which detectors trigger an `events`-mode
|
|
7211
|
+
/** Which detectors trigger an `events`-mode band. */
|
|
7225
7212
|
var RecordingTriggersSchema = object({
|
|
7226
7213
|
motion: boolean().optional(),
|
|
7227
7214
|
audioThresholdDbfs: number().optional()
|
|
@@ -7257,18 +7244,6 @@ var RecordingBandSchema = object({
|
|
|
7257
7244
|
preBufferSec: number().min(0).optional(),
|
|
7258
7245
|
postBufferSec: number().min(0).optional()
|
|
7259
7246
|
});
|
|
7260
|
-
var RecordingRuleSchema = object({
|
|
7261
|
-
schedule: RecordingScheduleSchema,
|
|
7262
|
-
mode: RecordingModeSchema,
|
|
7263
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
7264
|
-
preBufferSec: number().min(0).default(0),
|
|
7265
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
7266
|
-
postBufferSec: number().min(0).default(0),
|
|
7267
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
7268
|
-
resetTimeoutOnNewEvent: boolean().default(true),
|
|
7269
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
7270
|
-
thresholdDbfs: number().optional()
|
|
7271
|
-
});
|
|
7272
7247
|
/**
|
|
7273
7248
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7274
7249
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7302,40 +7277,28 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7302
7277
|
/**
|
|
7303
7278
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7304
7279
|
*
|
|
7305
|
-
* `
|
|
7306
|
-
*
|
|
7307
|
-
*
|
|
7308
|
-
*
|
|
7280
|
+
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
7281
|
+
* which trigger. `mode` is a derived summary the recorder stamps on save; every
|
|
7282
|
+
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7283
|
+
*
|
|
7284
|
+
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7285
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
|
|
7286
|
+
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7287
|
+
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7309
7288
|
*/
|
|
7310
7289
|
var RecordingConfigSchema = object({
|
|
7311
7290
|
enabled: boolean(),
|
|
7312
|
-
/**
|
|
7313
|
-
*
|
|
7291
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7292
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7314
7293
|
mode: RecordingStorageModeSchema.optional(),
|
|
7315
7294
|
profiles: array(CamProfileSchema).optional(),
|
|
7316
7295
|
segmentSeconds: number().int().positive().optional(),
|
|
7317
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
7318
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
7319
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
7320
|
-
schedules: array(RecordingScheduleSchema).optional(),
|
|
7321
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
7322
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
7323
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
7324
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
7325
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
7326
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
7327
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
7328
|
-
preBufferSec: number().min(0).optional(),
|
|
7329
|
-
postBufferSec: number().min(0).optional(),
|
|
7330
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
7331
|
-
rules: array(RecordingRuleSchema).optional(),
|
|
7332
7296
|
/**
|
|
7333
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
7334
|
-
*
|
|
7335
|
-
*
|
|
7336
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
7297
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
7298
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
7299
|
+
* "off" is the absence of a covering band, never a band value.
|
|
7337
7300
|
*/
|
|
7338
|
-
bands: array(RecordingBandSchema).
|
|
7301
|
+
bands: array(RecordingBandSchema).default([]),
|
|
7339
7302
|
retention: RecordingRetentionSchema.optional(),
|
|
7340
7303
|
/**
|
|
7341
7304
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -7343,8 +7306,15 @@ var RecordingConfigSchema = object({
|
|
|
7343
7306
|
* windows only — existing sheets are immutable, and each window's index
|
|
7344
7307
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7345
7308
|
*/
|
|
7346
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7347
|
-
|
|
7309
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
7310
|
+
/**
|
|
7311
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
7312
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
7313
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
7314
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
7315
|
+
*/
|
|
7316
|
+
stripsEnabled: boolean().optional()
|
|
7317
|
+
}).strict();
|
|
7348
7318
|
/**
|
|
7349
7319
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7350
7320
|
* recordings and events management surfaces.
|
|
@@ -7363,7 +7333,8 @@ var OpsLogOpSchema = _enum([
|
|
|
7363
7333
|
"prune",
|
|
7364
7334
|
"manual-delete",
|
|
7365
7335
|
"rescan",
|
|
7366
|
-
"retention-run"
|
|
7336
|
+
"retention-run",
|
|
7337
|
+
"relocate"
|
|
7367
7338
|
]);
|
|
7368
7339
|
/** Why the operation ran. */
|
|
7369
7340
|
var OpsLogReasonSchema = _enum([
|
|
@@ -7402,6 +7373,55 @@ var OpsLogQueryInputSchema = object({
|
|
|
7402
7373
|
limit: number().int().min(1).max(1e3).optional()
|
|
7403
7374
|
});
|
|
7404
7375
|
/**
|
|
7376
|
+
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
7377
|
+
*
|
|
7378
|
+
* One shape shared by the recorder's `relocateFootage` (segments + strips) and
|
|
7379
|
+
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7380
|
+
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
7381
|
+
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
7382
|
+
* after verify) and each completed/failed run also lands one durable ops-log
|
|
7383
|
+
* row on the owning addon's surface.
|
|
7384
|
+
*/
|
|
7385
|
+
var RelocateJobStateSchema = _enum([
|
|
7386
|
+
"running",
|
|
7387
|
+
"done",
|
|
7388
|
+
"failed",
|
|
7389
|
+
"cancelled"
|
|
7390
|
+
]);
|
|
7391
|
+
var RelocateJobSchema = object({
|
|
7392
|
+
jobId: string(),
|
|
7393
|
+
state: RelocateJobStateSchema,
|
|
7394
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
7395
|
+
* move from wherever they are to the target). */
|
|
7396
|
+
fromLocationId: string(),
|
|
7397
|
+
toLocationId: string(),
|
|
7398
|
+
/** Scoped device, or null = every device. */
|
|
7399
|
+
deviceId: number().nullable(),
|
|
7400
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
7401
|
+
entities: array(string()),
|
|
7402
|
+
filesMoved: number().int(),
|
|
7403
|
+
bytesMoved: number().int(),
|
|
7404
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
7405
|
+
filesTotal: number().int().nullable(),
|
|
7406
|
+
startedAt: number(),
|
|
7407
|
+
finishedAt: number().nullable(),
|
|
7408
|
+
error: string().nullable()
|
|
7409
|
+
});
|
|
7410
|
+
var RelocateFootageInputSchema = object({
|
|
7411
|
+
deviceId: number().optional(),
|
|
7412
|
+
fromLocationId: string(),
|
|
7413
|
+
toLocationId: string(),
|
|
7414
|
+
entities: array(_enum(["segments", "strips"])).optional(),
|
|
7415
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7416
|
+
* never allowed to starve live writers. */
|
|
7417
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7418
|
+
});
|
|
7419
|
+
var RelocateMediaInputSchema = object({
|
|
7420
|
+
deviceId: number().optional(),
|
|
7421
|
+
toLocationId: string(),
|
|
7422
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7423
|
+
});
|
|
7424
|
+
/**
|
|
7405
7425
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7406
7426
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7407
7427
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -7451,6 +7471,13 @@ var StorageLocationSchema = object({
|
|
|
7451
7471
|
nodeId: string().optional(),
|
|
7452
7472
|
isDefault: boolean().default(false),
|
|
7453
7473
|
isSystem: boolean().default(false),
|
|
7474
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
7475
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
7476
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
7477
|
+
capacity: object({
|
|
7478
|
+
totalBytes: number(),
|
|
7479
|
+
availableBytes: number()
|
|
7480
|
+
}).nullable().optional(),
|
|
7454
7481
|
createdAt: number(),
|
|
7455
7482
|
updatedAt: number()
|
|
7456
7483
|
});
|
|
@@ -7512,16 +7539,23 @@ var StorageLocationDeclarationSchema = object({
|
|
|
7512
7539
|
* Which node root the seeded `<id>:default` instance is placed under on a
|
|
7513
7540
|
* FRESH install:
|
|
7514
7541
|
* - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
|
|
7515
|
-
* the appData volume. Right for small/durable data (
|
|
7542
|
+
* the appData volume. Right for small/durable data (logs, models).
|
|
7516
7543
|
* - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
|
|
7517
7544
|
* env is set, else falls back to the data root. Right for bulky, hot media
|
|
7518
7545
|
* (recordings, event media) that should stay off the appData disk.
|
|
7546
|
+
* - `'backup'` — the dedicated backup volume (`CAMSTACK_BACKUP_ROOT`, default
|
|
7547
|
+
* `/backups` in the image) so archives live on their own mount rather than
|
|
7548
|
+
* filling the appData disk. Falls back to the data root when unset.
|
|
7519
7549
|
*
|
|
7520
7550
|
* Only affects the seeded default's `basePath`; operators can repoint any
|
|
7521
7551
|
* location afterwards, and a `defaultsTo` slot inherits its parent's root
|
|
7522
7552
|
* regardless of this field. Absent (the common case) is treated as `'data'`.
|
|
7523
7553
|
*/
|
|
7524
|
-
defaultRoot: _enum([
|
|
7554
|
+
defaultRoot: _enum([
|
|
7555
|
+
"data",
|
|
7556
|
+
"media",
|
|
7557
|
+
"backup"
|
|
7558
|
+
]).optional()
|
|
7525
7559
|
});
|
|
7526
7560
|
var DecoderStatsSchema = object({
|
|
7527
7561
|
inputFps: number(),
|
|
@@ -8211,7 +8245,8 @@ var NcTaxonomyEntrySchema = object({
|
|
|
8211
8245
|
/** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
|
|
8212
8246
|
parentKind: string().nullable()
|
|
8213
8247
|
});
|
|
8214
|
-
|
|
8248
|
+
/** The complete NC picker taxonomy — three grouped buckets. */
|
|
8249
|
+
var NcTaxonomySchema = object({
|
|
8215
8250
|
videoClasses: array(NcTaxonomyEntrySchema),
|
|
8216
8251
|
audioKinds: array(NcTaxonomyEntrySchema),
|
|
8217
8252
|
labels: array(NcTaxonomyEntrySchema)
|
|
@@ -8871,6 +8906,7 @@ var AccessoryKind = {
|
|
|
8871
8906
|
};
|
|
8872
8907
|
AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
|
|
8873
8908
|
DeviceFeature.BatteryOperated;
|
|
8909
|
+
new Set(["devices", "classes"]);
|
|
8874
8910
|
/**
|
|
8875
8911
|
* Shared geometry vocabulary for on-frame shape caps — privacy-mask,
|
|
8876
8912
|
* motion-zones, and the detection zones/lines editor all speak this one
|
|
@@ -9187,12 +9223,60 @@ var NcRuleTargetSchema = object({
|
|
|
9187
9223
|
* - `keyFrame` — the clean scene frame (no subject box).
|
|
9188
9224
|
* - `none` — no attachment.
|
|
9189
9225
|
*/
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9226
|
+
/**
|
|
9227
|
+
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
9228
|
+
* conflate it with the selection strategy and betray the request: asking for
|
|
9229
|
+
* the clean scene frame on an object-event owner used to start at
|
|
9230
|
+
* `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
|
|
9231
|
+
* - `cropped` — the subject, tight. What "who is at the door" wants.
|
|
9232
|
+
* - `full` — the clean scene, no annotation. What "what is going on" wants.
|
|
9233
|
+
* - `boxed` — the scene WITH the detection boxes drawn, for verifying what
|
|
9234
|
+
* the pipeline actually saw.
|
|
9235
|
+
*/
|
|
9236
|
+
var NcMediaFrameSchema = _enum([
|
|
9237
|
+
"cropped",
|
|
9238
|
+
"full",
|
|
9239
|
+
"boxed"
|
|
9240
|
+
]);
|
|
9241
|
+
var NcMediaPolicySchema = object({
|
|
9242
|
+
attach: _enum([
|
|
9243
|
+
"best",
|
|
9244
|
+
"best-matching",
|
|
9245
|
+
"keyFrame",
|
|
9246
|
+
"none"
|
|
9247
|
+
]).default("best"),
|
|
9248
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
9249
|
+
frame: NcMediaFrameSchema.optional(),
|
|
9250
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
9251
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
9252
|
+
zoneCrop: boolean().optional(),
|
|
9253
|
+
/**
|
|
9254
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
9255
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
9256
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
9257
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
9258
|
+
* gif, never a failed notification.
|
|
9259
|
+
*/
|
|
9260
|
+
gif: boolean().optional(),
|
|
9261
|
+
/**
|
|
9262
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
9263
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
9264
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
9265
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
9266
|
+
*/
|
|
9267
|
+
clip: boolean().optional(),
|
|
9268
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
9269
|
+
clipPreRollSec: number().int().min(0).max(30).optional(),
|
|
9270
|
+
clipPostRollSec: number().int().min(0).max(30).optional(),
|
|
9271
|
+
/**
|
|
9272
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
9273
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
9274
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
9275
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
9276
|
+
* reports which one actually ran.
|
|
9277
|
+
*/
|
|
9278
|
+
profile: CamProfileSchema.optional()
|
|
9279
|
+
});
|
|
9196
9280
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
9197
9281
|
var NcThrottleSchema = object({
|
|
9198
9282
|
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
@@ -9206,7 +9290,19 @@ var NcRuleInputSchema = object({
|
|
|
9206
9290
|
delivery: NcDeliverySchema,
|
|
9207
9291
|
conditions: NcConditionsSchema.default({}),
|
|
9208
9292
|
schedule: NcScheduleSchema.optional(),
|
|
9209
|
-
|
|
9293
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
9294
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
9295
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
9296
|
+
targets: array(NcRuleTargetSchema),
|
|
9297
|
+
/**
|
|
9298
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
9299
|
+
* time each user fans out to the personal targets they own
|
|
9300
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
9301
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
9302
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
9303
|
+
* targets.
|
|
9304
|
+
*/
|
|
9305
|
+
targetUsers: array(string()).optional(),
|
|
9210
9306
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
9211
9307
|
throttle: NcThrottleSchema.default({
|
|
9212
9308
|
cooldownSec: 60,
|
|
@@ -9419,7 +9515,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
9419
9515
|
}), object({ results: array(NcTestResultSchema) }), {
|
|
9420
9516
|
kind: "mutation",
|
|
9421
9517
|
auth: "admin"
|
|
9422
|
-
}), method(object({}), object({
|
|
9518
|
+
}), method(object({}), object({
|
|
9519
|
+
catalog: array(NcConditionDescriptorSchema),
|
|
9520
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
9521
|
+
})), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
|
|
9423
9522
|
/**
|
|
9424
9523
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
9425
9524
|
*
|
|
@@ -10156,6 +10255,28 @@ method(object({
|
|
|
10156
10255
|
}), object({ success: literal(true) }), {
|
|
10157
10256
|
kind: "mutation",
|
|
10158
10257
|
auth: "admin"
|
|
10258
|
+
}), method(object({
|
|
10259
|
+
deviceId: number(),
|
|
10260
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
10261
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
10262
|
+
profile: CamProfileSchema.optional(),
|
|
10263
|
+
aroundMs: number(),
|
|
10264
|
+
preRollSec: number().min(0).max(20).default(3),
|
|
10265
|
+
postRollSec: number().min(0).max(20).default(5),
|
|
10266
|
+
format: _enum(["gif", "mp4"]).default("gif"),
|
|
10267
|
+
maxWidth: number().int().min(120).max(1920).default(480),
|
|
10268
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
10269
|
+
fps: number().int().min(1).max(15).default(5)
|
|
10270
|
+
}), object({
|
|
10271
|
+
base64: string(),
|
|
10272
|
+
mime: string(),
|
|
10273
|
+
bytes: number().int(),
|
|
10274
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
10275
|
+
profile: CamProfileSchema,
|
|
10276
|
+
durationMs: number()
|
|
10277
|
+
}), {
|
|
10278
|
+
kind: "mutation",
|
|
10279
|
+
auth: "admin"
|
|
10159
10280
|
}), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
|
|
10160
10281
|
probed: boolean(),
|
|
10161
10282
|
summary: string()
|
|
@@ -14506,11 +14627,53 @@ var LocationStatSchema = object({
|
|
|
14506
14627
|
fileCount: number(),
|
|
14507
14628
|
present: boolean()
|
|
14508
14629
|
});
|
|
14630
|
+
/**
|
|
14631
|
+
* A backup schedule — the N:M "entry" that binds one cron cadence to a
|
|
14632
|
+
* SET of destination locations. Supersedes the per-location cron on
|
|
14633
|
+
* `BackupDestinationPolicy`: an operator creates a schedule, picks the
|
|
14634
|
+
* `backups` locations it should write to, and the orchestrator fans a
|
|
14635
|
+
* single archive out to all of them when the cron fires.
|
|
14636
|
+
*
|
|
14637
|
+
* `retentionCount` is per-schedule (D-decision 2026-07-28): every
|
|
14638
|
+
* location targeted by this schedule keeps this many archives from
|
|
14639
|
+
* this schedule's runs.
|
|
14640
|
+
*
|
|
14641
|
+
* `dataSources` optionally narrows which top-level state locations
|
|
14642
|
+
* (db, addons, tls, …) are archived; omitted = the orchestrator's
|
|
14643
|
+
* default full set.
|
|
14644
|
+
*/
|
|
14645
|
+
var BackupScheduleSchema = object({
|
|
14646
|
+
/** Stable id. Generated by the orchestrator on first upsert if absent. */
|
|
14647
|
+
id: string(),
|
|
14648
|
+
/** Operator-facing display name. */
|
|
14649
|
+
label: string(),
|
|
14650
|
+
/** 5-field POSIX cron. Empty = disabled cadence (kept for editing). */
|
|
14651
|
+
cron: string(),
|
|
14652
|
+
/** Master on/off toggle for the whole schedule. */
|
|
14653
|
+
enabled: boolean(),
|
|
14654
|
+
/** `backups`-location ids this schedule writes to (fan-out set). */
|
|
14655
|
+
locationIds: array(string()).readonly(),
|
|
14656
|
+
/** Archives kept per targeted location for this schedule. */
|
|
14657
|
+
retentionCount: number().int().min(1).max(1e3),
|
|
14658
|
+
/** Optional subset of source locations to include; omitted = all. */
|
|
14659
|
+
dataSources: array(string()).readonly().optional(),
|
|
14660
|
+
/** ms-epoch of last successful run. */
|
|
14661
|
+
lastRunAt: number().optional(),
|
|
14662
|
+
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
14663
|
+
nextRunAt: number().optional()
|
|
14664
|
+
});
|
|
14509
14665
|
method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
14510
14666
|
/** Subset of registered `backup-destination` addon ids to write to. */
|
|
14511
14667
|
destinations: array(string()).optional(),
|
|
14512
14668
|
locations: array(string()).optional(),
|
|
14513
|
-
label: string().optional()
|
|
14669
|
+
label: string().optional(),
|
|
14670
|
+
/**
|
|
14671
|
+
* Per-run retention override applied to every targeted
|
|
14672
|
+
* destination. Used by schedule-driven runs (per-entry
|
|
14673
|
+
* retention). Omitted = each destination's own policy
|
|
14674
|
+
* retention (manual runs).
|
|
14675
|
+
*/
|
|
14676
|
+
retentionCount: number().int().min(1).max(1e3).optional()
|
|
14514
14677
|
}).optional(), array(BackupEntrySchema).readonly(), {
|
|
14515
14678
|
kind: "mutation",
|
|
14516
14679
|
auth: "admin"
|
|
@@ -14559,7 +14722,21 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
14559
14722
|
ok: boolean(),
|
|
14560
14723
|
error: string().optional(),
|
|
14561
14724
|
nextRuns: array(number()).readonly()
|
|
14562
|
-
}))
|
|
14725
|
+
})), method(_void(), array(BackupScheduleSchema).readonly(), { auth: "admin" }), method(object({
|
|
14726
|
+
id: string().optional(),
|
|
14727
|
+
label: string(),
|
|
14728
|
+
cron: string(),
|
|
14729
|
+
enabled: boolean(),
|
|
14730
|
+
locationIds: array(string()).readonly(),
|
|
14731
|
+
retentionCount: number().int().min(1).max(1e3),
|
|
14732
|
+
dataSources: array(string()).readonly().optional()
|
|
14733
|
+
}), BackupScheduleSchema, {
|
|
14734
|
+
kind: "mutation",
|
|
14735
|
+
auth: "admin"
|
|
14736
|
+
}), method(object({ id: string() }), _void(), {
|
|
14737
|
+
kind: "mutation",
|
|
14738
|
+
auth: "admin"
|
|
14739
|
+
});
|
|
14563
14740
|
/**
|
|
14564
14741
|
* `broker` — unified pub/sub broker registry, system-scoped collection.
|
|
14565
14742
|
*
|
|
@@ -16625,6 +16802,36 @@ var TargetKindSchema = object({
|
|
|
16625
16802
|
icon: string(),
|
|
16626
16803
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
16627
16804
|
addonId: string(),
|
|
16805
|
+
/**
|
|
16806
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
16807
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
16808
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
16809
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
16810
|
+
*
|
|
16811
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
16812
|
+
* client, and a native client joins it onto its own hub base.
|
|
16813
|
+
*
|
|
16814
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
16815
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
16816
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
16817
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
16818
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
16819
|
+
*/
|
|
16820
|
+
iconUrl: string().optional(),
|
|
16821
|
+
/**
|
|
16822
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
16823
|
+
*
|
|
16824
|
+
* The server knows this and therefore says it, because the client cannot
|
|
16825
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
16826
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
16827
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
16828
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
16829
|
+
*
|
|
16830
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
16831
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
16832
|
+
* its raster path, which is the safe default for an unknown image.
|
|
16833
|
+
*/
|
|
16834
|
+
iconMediaType: string().optional(),
|
|
16628
16835
|
configSchema: ConfigSchemaPassthrough,
|
|
16629
16836
|
supportsDiscovery: boolean(),
|
|
16630
16837
|
caps: TargetKindCapsSchema
|
|
@@ -17356,6 +17563,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17356
17563
|
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
17357
17564
|
kind: "mutation",
|
|
17358
17565
|
auth: "admin"
|
|
17566
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
17567
|
+
kind: "mutation",
|
|
17568
|
+
auth: "admin"
|
|
17569
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
17570
|
+
kind: "query",
|
|
17571
|
+
auth: "admin"
|
|
17572
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17573
|
+
kind: "mutation",
|
|
17574
|
+
auth: "admin"
|
|
17359
17575
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17360
17576
|
kind: "query",
|
|
17361
17577
|
auth: "admin"
|
|
@@ -19835,6 +20051,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
19835
20051
|
*/
|
|
19836
20052
|
priority: number()
|
|
19837
20053
|
})).readonly() });
|
|
20054
|
+
/**
|
|
20055
|
+
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
20056
|
+
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
20057
|
+
* what AUTO currently picks, so the UI can show the effective value either way.
|
|
20058
|
+
*/
|
|
20059
|
+
var NotificationEndpointSchema = object({
|
|
20060
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
20061
|
+
baseUrl: string().nullable(),
|
|
20062
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
20063
|
+
resolved: string().nullable()
|
|
20064
|
+
});
|
|
19838
20065
|
var AllowedAddressesSchema = object({
|
|
19839
20066
|
/**
|
|
19840
20067
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -19857,7 +20084,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
19857
20084
|
* to avoid mixed-content blocks in the browser. The public
|
|
19858
20085
|
* tunnel always emits `https://` regardless. */
|
|
19859
20086
|
scheme: _enum(["http", "https"]).optional()
|
|
19860
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
20087
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
19861
20088
|
/**
|
|
19862
20089
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
19863
20090
|
*
|
|
@@ -20656,7 +20883,12 @@ var RecordingDeviceUsageSchema = object({
|
|
|
20656
20883
|
var RecordingLocationUsageSchema = object({
|
|
20657
20884
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
20658
20885
|
locationId: string().nullable(),
|
|
20659
|
-
/**
|
|
20886
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
20887
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
20888
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
20889
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
20890
|
+
locationIds: array(string()).optional(),
|
|
20891
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
20660
20892
|
usedBytes: number(),
|
|
20661
20893
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
20662
20894
|
availableBytes: number().nullable(),
|
|
@@ -20768,6 +21000,44 @@ method(object({
|
|
|
20768
21000
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20769
21001
|
kind: "query",
|
|
20770
21002
|
auth: "admin"
|
|
21003
|
+
}), method(object({
|
|
21004
|
+
deviceId: number(),
|
|
21005
|
+
aroundMs: number(),
|
|
21006
|
+
preRollSec: number().min(0).max(30).default(2),
|
|
21007
|
+
postRollSec: number().min(0).max(30).default(5),
|
|
21008
|
+
maxWidth: number().int().min(120).max(1280).default(480),
|
|
21009
|
+
fps: number().int().min(1).max(15).default(5)
|
|
21010
|
+
}), object({
|
|
21011
|
+
gifBase64: string(),
|
|
21012
|
+
fromMs: number(),
|
|
21013
|
+
toMs: number()
|
|
21014
|
+
}), {
|
|
21015
|
+
kind: "mutation",
|
|
21016
|
+
auth: "admin"
|
|
21017
|
+
}), method(object({
|
|
21018
|
+
deviceId: number(),
|
|
21019
|
+
aroundMs: number(),
|
|
21020
|
+
preRollSec: number().min(0).max(30).default(3),
|
|
21021
|
+
postRollSec: number().min(0).max(30).default(7),
|
|
21022
|
+
maxWidth: number().int().min(160).max(1920).default(640)
|
|
21023
|
+
}), object({
|
|
21024
|
+
clipBase64: string(),
|
|
21025
|
+
mime: string(),
|
|
21026
|
+
fromMs: number(),
|
|
21027
|
+
toMs: number(),
|
|
21028
|
+
bytes: number().int()
|
|
21029
|
+
}), {
|
|
21030
|
+
kind: "mutation",
|
|
21031
|
+
auth: "admin"
|
|
21032
|
+
}), method(RelocateFootageInputSchema, object({ jobId: string() }), {
|
|
21033
|
+
kind: "mutation",
|
|
21034
|
+
auth: "admin"
|
|
21035
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
21036
|
+
kind: "query",
|
|
21037
|
+
auth: "admin"
|
|
21038
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
21039
|
+
kind: "mutation",
|
|
21040
|
+
auth: "admin"
|
|
20771
21041
|
});
|
|
20772
21042
|
/**
|
|
20773
21043
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -21681,6 +21951,12 @@ Object.freeze({
|
|
|
21681
21951
|
addonId: null,
|
|
21682
21952
|
access: "delete"
|
|
21683
21953
|
},
|
|
21954
|
+
"backup.deleteSchedule": {
|
|
21955
|
+
capName: "backup",
|
|
21956
|
+
capScope: "system",
|
|
21957
|
+
addonId: null,
|
|
21958
|
+
access: "delete"
|
|
21959
|
+
},
|
|
21684
21960
|
"backup.getEntries": {
|
|
21685
21961
|
capName: "backup",
|
|
21686
21962
|
capScope: "system",
|
|
@@ -21711,6 +21987,12 @@ Object.freeze({
|
|
|
21711
21987
|
addonId: null,
|
|
21712
21988
|
access: "view"
|
|
21713
21989
|
},
|
|
21990
|
+
"backup.listSchedules": {
|
|
21991
|
+
capName: "backup",
|
|
21992
|
+
capScope: "system",
|
|
21993
|
+
addonId: null,
|
|
21994
|
+
access: "view"
|
|
21995
|
+
},
|
|
21714
21996
|
"backup.previewSchedule": {
|
|
21715
21997
|
capName: "backup",
|
|
21716
21998
|
capScope: "system",
|
|
@@ -21735,6 +22017,12 @@ Object.freeze({
|
|
|
21735
22017
|
addonId: null,
|
|
21736
22018
|
access: "create"
|
|
21737
22019
|
},
|
|
22020
|
+
"backup.upsertSchedule": {
|
|
22021
|
+
capName: "backup",
|
|
22022
|
+
capScope: "system",
|
|
22023
|
+
addonId: null,
|
|
22024
|
+
access: "create"
|
|
22025
|
+
},
|
|
21738
22026
|
"battery.wakeForStream": {
|
|
21739
22027
|
capName: "battery",
|
|
21740
22028
|
capScope: "device",
|
|
@@ -23235,6 +23523,12 @@ Object.freeze({
|
|
|
23235
23523
|
addonId: null,
|
|
23236
23524
|
access: "view"
|
|
23237
23525
|
},
|
|
23526
|
+
"localNetwork.getNotificationEndpoint": {
|
|
23527
|
+
capName: "local-network",
|
|
23528
|
+
capScope: "system",
|
|
23529
|
+
addonId: null,
|
|
23530
|
+
access: "view"
|
|
23531
|
+
},
|
|
23238
23532
|
"localNetwork.getPreferred": {
|
|
23239
23533
|
capName: "local-network",
|
|
23240
23534
|
capScope: "system",
|
|
@@ -23259,6 +23553,12 @@ Object.freeze({
|
|
|
23259
23553
|
addonId: null,
|
|
23260
23554
|
access: "create"
|
|
23261
23555
|
},
|
|
23556
|
+
"localNetwork.setNotificationEndpoint": {
|
|
23557
|
+
capName: "local-network",
|
|
23558
|
+
capScope: "system",
|
|
23559
|
+
addonId: null,
|
|
23560
|
+
access: "create"
|
|
23561
|
+
},
|
|
23262
23562
|
"lockControl.lock": {
|
|
23263
23563
|
capName: "lock-control",
|
|
23264
23564
|
capScope: "device",
|
|
@@ -23901,6 +24201,12 @@ Object.freeze({
|
|
|
23901
24201
|
addonId: null,
|
|
23902
24202
|
access: "create"
|
|
23903
24203
|
},
|
|
24204
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
24205
|
+
capName: "pipeline-analytics",
|
|
24206
|
+
capScope: "device",
|
|
24207
|
+
addonId: null,
|
|
24208
|
+
access: "create"
|
|
24209
|
+
},
|
|
23904
24210
|
"pipelineAnalytics.clearTracks": {
|
|
23905
24211
|
capName: "pipeline-analytics",
|
|
23906
24212
|
capScope: "device",
|
|
@@ -23955,6 +24261,12 @@ Object.freeze({
|
|
|
23955
24261
|
addonId: null,
|
|
23956
24262
|
access: "view"
|
|
23957
24263
|
},
|
|
24264
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
24265
|
+
capName: "pipeline-analytics",
|
|
24266
|
+
capScope: "device",
|
|
24267
|
+
addonId: null,
|
|
24268
|
+
access: "view"
|
|
24269
|
+
},
|
|
23958
24270
|
"pipelineAnalytics.getMotionEvents": {
|
|
23959
24271
|
capName: "pipeline-analytics",
|
|
23960
24272
|
capScope: "device",
|
|
@@ -24027,6 +24339,12 @@ Object.freeze({
|
|
|
24027
24339
|
addonId: null,
|
|
24028
24340
|
access: "create"
|
|
24029
24341
|
},
|
|
24342
|
+
"pipelineAnalytics.relocateMedia": {
|
|
24343
|
+
capName: "pipeline-analytics",
|
|
24344
|
+
capScope: "device",
|
|
24345
|
+
addonId: null,
|
|
24346
|
+
access: "create"
|
|
24347
|
+
},
|
|
24030
24348
|
"pipelineAnalytics.searchObjectEvents": {
|
|
24031
24349
|
capName: "pipeline-analytics",
|
|
24032
24350
|
capScope: "device",
|
|
@@ -24789,6 +25107,12 @@ Object.freeze({
|
|
|
24789
25107
|
addonId: null,
|
|
24790
25108
|
access: "create"
|
|
24791
25109
|
},
|
|
25110
|
+
"recording.cancelRelocate": {
|
|
25111
|
+
capName: "recording",
|
|
25112
|
+
capScope: "system",
|
|
25113
|
+
addonId: null,
|
|
25114
|
+
access: "create"
|
|
25115
|
+
},
|
|
24792
25116
|
"recording.deleteFootprint": {
|
|
24793
25117
|
capName: "recording",
|
|
24794
25118
|
capScope: "system",
|
|
@@ -24819,6 +25143,12 @@ Object.freeze({
|
|
|
24819
25143
|
addonId: null,
|
|
24820
25144
|
access: "view"
|
|
24821
25145
|
},
|
|
25146
|
+
"recording.getRelocateStatus": {
|
|
25147
|
+
capName: "recording",
|
|
25148
|
+
capScope: "system",
|
|
25149
|
+
addonId: null,
|
|
25150
|
+
access: "view"
|
|
25151
|
+
},
|
|
24822
25152
|
"recording.getStorageUsage": {
|
|
24823
25153
|
capName: "recording",
|
|
24824
25154
|
capScope: "system",
|
|
@@ -24849,6 +25179,24 @@ Object.freeze({
|
|
|
24849
25179
|
addonId: null,
|
|
24850
25180
|
access: "view"
|
|
24851
25181
|
},
|
|
25182
|
+
"recording.relocateFootage": {
|
|
25183
|
+
capName: "recording",
|
|
25184
|
+
capScope: "system",
|
|
25185
|
+
addonId: null,
|
|
25186
|
+
access: "create"
|
|
25187
|
+
},
|
|
25188
|
+
"recording.renderClip": {
|
|
25189
|
+
capName: "recording",
|
|
25190
|
+
capScope: "system",
|
|
25191
|
+
addonId: null,
|
|
25192
|
+
access: "create"
|
|
25193
|
+
},
|
|
25194
|
+
"recording.renderGif": {
|
|
25195
|
+
capName: "recording",
|
|
25196
|
+
capScope: "system",
|
|
25197
|
+
addonId: null,
|
|
25198
|
+
access: "create"
|
|
25199
|
+
},
|
|
24852
25200
|
"recording.rescanStorage": {
|
|
24853
25201
|
capName: "recording",
|
|
24854
25202
|
capScope: "system",
|
|
@@ -25443,6 +25791,12 @@ Object.freeze({
|
|
|
25443
25791
|
addonId: null,
|
|
25444
25792
|
access: "create"
|
|
25445
25793
|
},
|
|
25794
|
+
"streamBroker.renderPreBufferClip": {
|
|
25795
|
+
capName: "stream-broker",
|
|
25796
|
+
capScope: "system",
|
|
25797
|
+
addonId: null,
|
|
25798
|
+
access: "create"
|
|
25799
|
+
},
|
|
25446
25800
|
"streamBroker.restartProfile": {
|
|
25447
25801
|
capName: "stream-broker",
|
|
25448
25802
|
capScope: "system",
|
|
@@ -26078,7 +26432,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
26078
26432
|
capability: adminUiCapability,
|
|
26079
26433
|
provider: {
|
|
26080
26434
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
26081
|
-
getVersion: async () => ({ version: "1.2.
|
|
26435
|
+
getVersion: async () => ({ version: "1.2.17" })
|
|
26082
26436
|
}
|
|
26083
26437
|
}];
|
|
26084
26438
|
}
|