@camstack/addon-admin-ui 1.2.285 → 1.2.287
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/{AddonCollectionPage-BaYjX_BC.js → AddonCollectionPage-BRkmer9m.js} +1 -1
- package/dist/assets/{Addons-CbwX1Jg9.js → Addons-D23vcxfd.js} +1 -1
- package/dist/assets/{AdminTabs-C3CQmF24.js → AdminTabs-CzT7WhHB.js} +1 -1
- package/dist/assets/{AiProfiles-D_31zYaa.js → AiProfiles-MEzRvpYm.js} +1 -1
- package/dist/assets/{BrokerForm-ChDffKL6.js → BrokerForm-CHpebnKe.js} +1 -1
- package/dist/assets/{Build-Bu9OKFz1.js → Build-BFHGxwIC.js} +4 -4
- package/dist/assets/{Capabilities-BnRvyVjC.js → Capabilities-BlQogG7e.js} +1 -1
- package/dist/assets/{CapabilityBadges-e3BNcYh4.js → CapabilityBadges-nxvISwbm.js} +1 -1
- package/dist/assets/{Cluster-UPrVcNjh.js → Cluster-CHm111ym.js} +1 -1
- package/dist/assets/{Data-CCm8rqj2.js → Data-B1Mvd86g.js} +1 -1
- package/dist/assets/{DetectionIntelligence-CB_NkkXn.js → DetectionIntelligence-CcIrTUhq.js} +1 -1
- package/dist/assets/{DeviceAggregateSection-CJlNJqG7.js → DeviceAggregateSection-BYmNNqcl.js} +1 -1
- package/dist/assets/{DeviceDetail-CSS7rpSy.js → DeviceDetail-DMJviKA5.js} +2 -2
- package/dist/assets/{Devices-fpOwBJza.js → Devices-Lpgtxjey.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-Cqhb2DH3.js → EmbedPlayerPage-H5N3h5m3.js} +1 -1
- package/dist/assets/{Events-KHptSNL4.js → Events-BuOZG68i.js} +1 -1
- package/dist/assets/{FormBuilder-BRt8GbH-.js → FormBuilder-DUMIYgBj.js} +1 -1
- package/dist/assets/{Identity-sWYNijD_.js → Identity--z-4dNtl.js} +1 -1
- package/dist/assets/{IntegrationDetail-BnWRGDCz.js → IntegrationDetail-xNqv2nVj.js} +1 -1
- package/dist/assets/{Integrations-B4oMdNSv.js → Integrations-BzpUPZH0.js} +1 -1
- package/dist/assets/{Integrations-0Loa-i0u.js → Integrations-CmgSUwov.js} +1 -1
- package/dist/assets/{Locations-BOQD0Epi.js → Locations-CILw3jT0.js} +2 -2
- package/dist/assets/{Logs-BZwsfGfp.js → Logs-CnswdbE4.js} +1 -1
- package/dist/assets/{ModelLicenses-BipYaAxN.js → ModelLicenses-BEujKTim.js} +1 -1
- package/dist/assets/{MotionZonesSettings-BzFnL6nP.js → MotionZonesSettings-Drvx4R1U.js} +1 -1
- package/dist/assets/{MyAccess-BX0gORi2.js → MyAccess-D1l5oHoh.js} +1 -1
- package/dist/assets/{Network-BmwYAu6V.js → Network-DAYu5Xg1.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-BLWKskjV.js → NodeAddonsSettingsPanel-Cau7HAff.js} +1 -1
- package/dist/assets/{NodeInferenceDevices-IsInHRAN.js → NodeInferenceDevices-DP858HE-.js} +1 -1
- package/dist/assets/Notifications-b9dxEhKX.js +1 -0
- package/dist/assets/Pipeline-Cd2lrZsE.js +1 -0
- package/dist/assets/{Plates-b0jWR4CZ.js → Plates-CnINlB8o.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-DVRZDkyf.js → PrivacyMaskSettings-CFL6aiIr.js} +1 -1
- package/dist/assets/{ProviderIcon-CSjq0REw.js → ProviderIcon-BNBwa3yq.js} +1 -1
- package/dist/assets/{Recordings-CPfAhM8-.js → Recordings-BM_ckg4M.js} +1 -1
- package/dist/assets/{ScanNetworkModal-DhOHzQ9L.js → ScanNetworkModal-FrDsuHup.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-Csb4QawZ.js → SceneMonitorEditor-Byix-fz8.js} +1 -1
- package/dist/assets/{Scenes-CJcglTr5.js → Scenes-Dzz93ehu.js} +1 -1
- package/dist/assets/{Settings-j69FxT67.js → Settings-DxhPorLM.js} +1 -1
- package/dist/assets/{Showroom-gXLnptQe.js → Showroom-C2941arf.js} +1 -1
- package/dist/assets/{StorageLocationsPanel-BIC6Jjc3.js → StorageLocationsPanel-ChSMY974.js} +1 -1
- package/dist/assets/{Terminal-DBGH7apl.js → Terminal-BB5okFe0.js} +1 -1
- package/dist/assets/{Viewer-CChC9Dc0.js → Viewer-Bp33KoAL.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-Dy1DvWN0.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-rGH0onjb.js} +1 -1
- package/dist/assets/{archive-BqMfcePL.js → archive-5Mas2QN5.js} +1 -1
- package/dist/assets/{authed-media-BGNGCsDJ.js → authed-media-C-GdW4sR.js} +1 -1
- package/dist/assets/{boxes-DlSvjy26.js → boxes-DmRzx92a.js} +1 -1
- package/dist/assets/circle-slash-DHdMQpp8.js +1 -0
- package/dist/assets/{debounced-invalidate-Dvg9qkiy.js → debounced-invalidate-C0Q49rxZ.js} +1 -1
- package/dist/assets/{device-integration-icon-CAuS1To6.js → device-integration-icon-D3nzAdm6.js} +1 -1
- package/dist/assets/{dist-DuyD6V30.js → dist-CuEHZQOI.js} +1 -1
- package/dist/assets/dist-Dr13EzDY.js +349 -0
- package/dist/assets/{face-bbox-CwSLNvF3.js → face-bbox-BYO4eo_k.js} +1 -1
- package/dist/assets/{hard-drive-download-Cye1fTde.js → hard-drive-download-DUtle7hK.js} +1 -1
- package/dist/assets/{hostInit-BQ6k9-DW.js → hostInit-CRmeRRSx.js} +1 -1
- package/dist/assets/{index-C42eFxDD.js → index-BKYZ-A1k.js} +3 -3
- package/dist/assets/{layers-MKBKrVOo.js → layers-Bu-wqo7e.js} +1 -1
- package/dist/assets/{location-owned-usage-DPqIfW5v.js → location-owned-usage-CUmTWZIH.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-13ccb64f.js → mf-entry-bootstrap-0-7b59b3b3.js} +2 -2
- package/dist/assets/{player-overlays-BngvQ8RQ.js → player-overlays-C8jpTLX_.js} +1 -1
- package/dist/assets/remoteEntry-DK94qUFf.js +1 -0
- package/dist/assets/{send-CwxL3mU-.js → send-CgB9LX4Y.js} +1 -1
- package/dist/assets/{settings-2-BDnKvGUr.js → settings-2-DfegT-uU.js} +1 -1
- package/dist/assets/{square-check-big-BI7PwlaT.js → square-check-big-DnQVTScs.js} +1 -1
- package/dist/assets/src-Da4rZa8s.js +349 -0
- package/dist/assets/src-IZck_LzM.js +67 -0
- package/dist/assets/{use-scenes-feed-CVJObkZ5.js → use-scenes-feed-BnDc5eRe.js} +1 -1
- package/dist/assets/{use-stationary-objects-4PkZB1uZ.js → use-stationary-objects-qJRQpfXM.js} +1 -1
- package/dist/assets/{useDevice-LmLaYm8q.js → useDevice-BiMrRz5a.js} +1 -1
- package/dist/assets/useEventInvalidation-BzGQACgt.js +1 -0
- package/dist/assets/{useNodeUrlSelection-CId7iSTO.js → useNodeUrlSelection-Rjfa8iPB.js} +1 -1
- package/dist/assets/user-round-CF-78OTT.js +1 -0
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-CMIb2_8P.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DBJOco52.js} +2 -2
- package/dist/index.html +5 -5
- package/dist/server/addon.js +138 -159
- package/package.json +1 -1
- package/dist/assets/Notifications-CmujziuE.js +0 -1
- package/dist/assets/Pipeline-CEV8V3AL.js +0 -1
- package/dist/assets/circle-slash-qewnNTau.js +0 -1
- package/dist/assets/dist-DM0oBV4o.js +0 -349
- package/dist/assets/remoteEntry-BnHeUSS5.js +0 -1
- package/dist/assets/src-BOmxMoNr.js +0 -349
- package/dist/assets/src-CO9C_--0.js +0 -67
- package/dist/assets/useEventInvalidation-COyauhtM.js +0 -1
- package/dist/assets/user-round-BtuyF32Y.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -5371,7 +5371,7 @@ var ZodIssueCode = {
|
|
|
5371
5371
|
var ZodFirstPartyTypeKind;
|
|
5372
5372
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5373
5373
|
//#endregion
|
|
5374
|
-
//#region ../types/dist/sleep-
|
|
5374
|
+
//#region ../types/dist/sleep-C-v96WpE.mjs
|
|
5375
5375
|
/**
|
|
5376
5376
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5377
5377
|
* window to float samples (D455).
|
|
@@ -8222,7 +8222,6 @@ var CompositionSchema = object({
|
|
|
8222
8222
|
});
|
|
8223
8223
|
new Set([
|
|
8224
8224
|
"track",
|
|
8225
|
-
"summary",
|
|
8226
8225
|
"face",
|
|
8227
8226
|
"identity",
|
|
8228
8227
|
"plate",
|
|
@@ -20024,6 +20023,102 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
20024
20023
|
});
|
|
20025
20024
|
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
20026
20025
|
/**
|
|
20026
|
+
* What started a camera's onboard motion (D672). `camera` is the camera's own
|
|
20027
|
+
* firmware; `sensor` is a device the operator ATTACHED to it. Absent on the
|
|
20028
|
+
* wire means the camera: only the camera-sensors bridge ever says `sensor`.
|
|
20029
|
+
*/
|
|
20030
|
+
var MotionTriggeredBySchema = discriminatedUnion("kind", [object({ kind: literal("camera") }), object({
|
|
20031
|
+
kind: literal("sensor"),
|
|
20032
|
+
deviceId: number().int().positive()
|
|
20033
|
+
})]);
|
|
20034
|
+
Object.freeze({ kind: "camera" });
|
|
20035
|
+
var CameraSensorRefSchema = object({
|
|
20036
|
+
addonId: string().min(1),
|
|
20037
|
+
stableId: string().min(1)
|
|
20038
|
+
});
|
|
20039
|
+
function cameraSensorRefKey(ref) {
|
|
20040
|
+
return `${ref.addonId}/${ref.stableId}`;
|
|
20041
|
+
}
|
|
20042
|
+
/** CS-1 accepts exactly one mode; CS-2 (D673) widens it to confirm / replace. */
|
|
20043
|
+
var CameraSensorsModeSchema = _enum(["in-addition"]);
|
|
20044
|
+
object({
|
|
20045
|
+
mode: CameraSensorsModeSchema,
|
|
20046
|
+
sensors: array(CameraSensorRefSchema).min(1).max(8)
|
|
20047
|
+
}).superRefine((value, ctx) => {
|
|
20048
|
+
const seen = /* @__PURE__ */ new Set();
|
|
20049
|
+
value.sensors.forEach((ref, index) => {
|
|
20050
|
+
const key = cameraSensorRefKey(ref);
|
|
20051
|
+
if (seen.has(key)) ctx.addIssue({
|
|
20052
|
+
code: "custom",
|
|
20053
|
+
path: ["sensors", index],
|
|
20054
|
+
message: `duplicate camera sensor ${key}`
|
|
20055
|
+
});
|
|
20056
|
+
seen.add(key);
|
|
20057
|
+
});
|
|
20058
|
+
});
|
|
20059
|
+
var RefFields = {
|
|
20060
|
+
addonId: string(),
|
|
20061
|
+
stableId: string()
|
|
20062
|
+
};
|
|
20063
|
+
var CameraSensorAttachmentSchema = discriminatedUnion("state", [
|
|
20064
|
+
object({
|
|
20065
|
+
...RefFields,
|
|
20066
|
+
state: literal("ready"),
|
|
20067
|
+
deviceId: number(),
|
|
20068
|
+
name: string(),
|
|
20069
|
+
caps: array(string()).readonly()
|
|
20070
|
+
}),
|
|
20071
|
+
object({
|
|
20072
|
+
...RefFields,
|
|
20073
|
+
state: literal("offline"),
|
|
20074
|
+
deviceId: number(),
|
|
20075
|
+
name: string(),
|
|
20076
|
+
reason: _enum(["offline", "disabled"])
|
|
20077
|
+
}),
|
|
20078
|
+
object({
|
|
20079
|
+
...RefFields,
|
|
20080
|
+
state: literal("missing"),
|
|
20081
|
+
reason: string()
|
|
20082
|
+
}),
|
|
20083
|
+
object({
|
|
20084
|
+
...RefFields,
|
|
20085
|
+
state: literal("unsupported"),
|
|
20086
|
+
deviceId: number(),
|
|
20087
|
+
name: string(),
|
|
20088
|
+
reason: string()
|
|
20089
|
+
}),
|
|
20090
|
+
object({
|
|
20091
|
+
...RefFields,
|
|
20092
|
+
state: literal("unreadable"),
|
|
20093
|
+
reason: string()
|
|
20094
|
+
})
|
|
20095
|
+
]);
|
|
20096
|
+
/**
|
|
20097
|
+
* Why a configured camera forwards NOTHING from its sensors, however ready they
|
|
20098
|
+
* are (D672): it does not list `onboard` in `motionSources` (attaching a sensor
|
|
20099
|
+
* does not add it), or it has no active detection config at all (the bridge
|
|
20100
|
+
* reads the active config). Absent = forwarded, or an older node that does not
|
|
20101
|
+
* say.
|
|
20102
|
+
*/
|
|
20103
|
+
var CameraSensorsNotForwardedSchema = _enum(["onboard-not-listed", "no-active-detection"]);
|
|
20104
|
+
var CameraSensorsStatusSchema = discriminatedUnion("state", [
|
|
20105
|
+
object({ state: literal("not-configured") }),
|
|
20106
|
+
object({
|
|
20107
|
+
state: literal("unreadable"),
|
|
20108
|
+
reason: string()
|
|
20109
|
+
}),
|
|
20110
|
+
object({
|
|
20111
|
+
state: literal("configured"),
|
|
20112
|
+
mode: CameraSensorsModeSchema,
|
|
20113
|
+
sensors: array(CameraSensorAttachmentSchema).readonly(),
|
|
20114
|
+
notForwarded: CameraSensorsNotForwardedSchema.optional()
|
|
20115
|
+
})
|
|
20116
|
+
]);
|
|
20117
|
+
Object.freeze({
|
|
20118
|
+
state: "unreadable",
|
|
20119
|
+
reason: "camera sensor mappings not loaded"
|
|
20120
|
+
});
|
|
20121
|
+
/**
|
|
20027
20122
|
* A model choice has a SCOPE, and a scope change has a workflow.
|
|
20028
20123
|
*
|
|
20029
20124
|
* ## The two scopes
|
|
@@ -20772,6 +20867,12 @@ var MotionEventSchema = object({
|
|
|
20772
20867
|
/** Populated by B5 (recording playback URL for this event). */
|
|
20773
20868
|
mediaUrl: string().optional(),
|
|
20774
20869
|
/**
|
|
20870
|
+
* The FIRST trigger of an `onboard` episode, written once at open (D672).
|
|
20871
|
+
* Absent = not recorded (a row written before D672, or an analyzer /
|
|
20872
|
+
* device-activity episode) — never read as "the camera" (D393).
|
|
20873
|
+
*/
|
|
20874
|
+
triggeredBy: MotionTriggeredBySchema.optional(),
|
|
20875
|
+
/**
|
|
20775
20876
|
* One row per motion EPISODE, not one per push (D475). `null` while the
|
|
20776
20877
|
* episode is still open — a further rising edge extends it in place rather
|
|
20777
20878
|
* than inserting a new row. Set once, at close, to `lastOnAt - startedAt`
|
|
@@ -21265,131 +21366,6 @@ var RecentTracksQueryInput = object({
|
|
|
21265
21366
|
/** See {@link ExcludeSourcesDoc}. */
|
|
21266
21367
|
excludeSources: array(TrackSourceSchema).optional()
|
|
21267
21368
|
});
|
|
21268
|
-
/**
|
|
21269
|
-
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
21270
|
-
* `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
|
|
21271
|
-
* 'summary'`, served by the event-media plane at `/m/<id>`), null until the
|
|
21272
|
-
* first frame with a member visible has been materialised (D482 — it was the
|
|
21273
|
-
* row's composite key, which embedded the owner and could name another table's
|
|
21274
|
-
* row once event ids became per-table rowids).
|
|
21275
|
-
*/
|
|
21276
|
-
var SummarySchema = object({
|
|
21277
|
-
id: string(),
|
|
21278
|
-
deviceId: number(),
|
|
21279
|
-
openedAt: number(),
|
|
21280
|
-
lastActiveAt: number(),
|
|
21281
|
-
sealedAt: number().nullable(),
|
|
21282
|
-
memberCount: number().int().nonnegative(),
|
|
21283
|
-
groupShotMediaId: number().int().nullable()
|
|
21284
|
-
});
|
|
21285
|
-
var SummariesQueryInput = object({
|
|
21286
|
-
deviceIds: array(number()).min(1),
|
|
21287
|
-
since: number().optional(),
|
|
21288
|
-
until: number().optional(),
|
|
21289
|
-
limit: number().int().min(1).max(200).default(50),
|
|
21290
|
-
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
21291
|
-
* meaning of "dog" on every summary surface. */
|
|
21292
|
-
classes: array(string().min(1).max(60)).max(40).optional()
|
|
21293
|
-
});
|
|
21294
|
-
var SummaryDetailSchema = object({
|
|
21295
|
-
summary: SummarySchema,
|
|
21296
|
-
/** Members in absorption order, oldest join first. */
|
|
21297
|
-
members: array(object({
|
|
21298
|
-
trackId: string(),
|
|
21299
|
-
/**
|
|
21300
|
-
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
21301
|
-
* and the track no longer exists to fill it.
|
|
21302
|
-
*
|
|
21303
|
-
* The join, not the latest opinion: class voting can re-decide a track's
|
|
21304
|
-
* class afterwards, and a group's composition is the history of who came
|
|
21305
|
-
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
21306
|
-
* dog" — rather than being handed a second, denormalised tally that would
|
|
21307
|
-
* drift from the members it claims to describe.
|
|
21308
|
-
*/
|
|
21309
|
-
className: string().nullable(),
|
|
21310
|
-
/** `primary` is the one member that carries the group's identity. */
|
|
21311
|
-
role: _enum([
|
|
21312
|
-
"primary",
|
|
21313
|
-
"sibling",
|
|
21314
|
-
"child"
|
|
21315
|
-
]).nullable(),
|
|
21316
|
-
joinedAt: number(),
|
|
21317
|
-
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
21318
|
-
* at read time. Absent when nothing resolved, never an empty string. */
|
|
21319
|
-
label: string().optional(),
|
|
21320
|
-
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
21321
|
-
* recognised nobody, and absent for a member whose track has been pruned —
|
|
21322
|
-
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
21323
|
-
subLabel: string().optional()
|
|
21324
|
-
})).readonly()
|
|
21325
|
-
});
|
|
21326
|
-
/**
|
|
21327
|
-
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
21328
|
-
*
|
|
21329
|
-
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
21330
|
-
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
21331
|
-
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
21332
|
-
* are on {@link getSummary}: shipping every member of every group so a client
|
|
21333
|
-
* can count them turns a page of two hundred groups into a thousand records to
|
|
21334
|
-
* draw two hundred badges.
|
|
21335
|
-
*/
|
|
21336
|
-
var SummaryListItemSchema = object({
|
|
21337
|
-
summary: SummarySchema,
|
|
21338
|
-
/** Class counts, most numerous first; `className: null` is a member whose
|
|
21339
|
-
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
21340
|
-
classes: array(object({
|
|
21341
|
-
className: string().nullable(),
|
|
21342
|
-
count: number().int().positive()
|
|
21343
|
-
})).readonly()
|
|
21344
|
-
});
|
|
21345
|
-
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
21346
|
-
/**
|
|
21347
|
-
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
21348
|
-
*
|
|
21349
|
-
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
21350
|
-
* summaries feed that could only answer "the last N for these cameras"
|
|
21351
|
-
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
21352
|
-
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
21353
|
-
* "newest" means, on one screen.
|
|
21354
|
-
*/
|
|
21355
|
-
var RecentSummariesQueryInput = object({
|
|
21356
|
-
/** Devices to merge. An empty array yields an empty page. */
|
|
21357
|
-
deviceIds: array(number()),
|
|
21358
|
-
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
21359
|
-
since: number().optional(),
|
|
21360
|
-
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
21361
|
-
until: number().optional(),
|
|
21362
|
-
limit: number().int().min(1).max(500).default(100),
|
|
21363
|
-
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
21364
|
-
cursor: string().optional(),
|
|
21365
|
-
/**
|
|
21366
|
-
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
21367
|
-
* deliberately the same name: the events filter tree emits one list of ticked
|
|
21368
|
-
* taxonomy nodes, and a summaries feed that called it something else would
|
|
21369
|
-
* make the operator's one filter component produce two shapes.
|
|
21370
|
-
*
|
|
21371
|
-
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
21372
|
-
* me the arrivals with a dog" has to return the group of four people who had
|
|
21373
|
-
* one with them; a filter on the group's own fields could only ever answer
|
|
21374
|
-
* about its primary.
|
|
21375
|
-
*
|
|
21376
|
-
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
21377
|
-
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
21378
|
-
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
21379
|
-
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
21380
|
-
* that read only the class would answer "animal" and never "dog".
|
|
21381
|
-
*
|
|
21382
|
-
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
21383
|
-
*/
|
|
21384
|
-
classes: array(string().min(1).max(60)).max(40).optional()
|
|
21385
|
-
});
|
|
21386
|
-
var RecentSummariesPageSchema = object({
|
|
21387
|
-
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
21388
|
-
* {@link listSummaries} — one list shape, so a card renders the same
|
|
21389
|
-
* whichever feed drew it. */
|
|
21390
|
-
summaries: array(SummaryListItemSchema).readonly(),
|
|
21391
|
-
nextCursor: string().nullable()
|
|
21392
|
-
});
|
|
21393
21369
|
var RecentTracksPageSchema = object({
|
|
21394
21370
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
21395
21371
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -21901,7 +21877,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
21901
21877
|
classes: array(string()).optional(),
|
|
21902
21878
|
/** See {@link ExcludeSourcesDoc}. */
|
|
21903
21879
|
excludeSources: array(TrackSourceSchema).optional()
|
|
21904
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
21880
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
21905
21881
|
kind: "mutation",
|
|
21906
21882
|
auth: "admin"
|
|
21907
21883
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -23081,6 +23057,23 @@ var MotionSourceEnum = _enum([
|
|
|
23081
23057
|
*/
|
|
23082
23058
|
var MotionSourcesSchema = array(MotionSourceEnum);
|
|
23083
23059
|
/**
|
|
23060
|
+
* The operator-facing name of each MOTION source (D672: `onboard` = the
|
|
23061
|
+
* camera's sensors — its own motion plus any sensor attached to it). The wire
|
|
23062
|
+
* value stays `onboard`; only the label changed. `detectionSources: 'onboard'`
|
|
23063
|
+
* ("Camera onboard AI") and the notification source filter keep their labels.
|
|
23064
|
+
*/
|
|
23065
|
+
var MOTION_SOURCE_LABELS = {
|
|
23066
|
+
analyzer: "Frame-diff Analyzer (motion addon)",
|
|
23067
|
+
onboard: "Camera sensors",
|
|
23068
|
+
"device-activity": "Device activity (the device says it is working)"
|
|
23069
|
+
};
|
|
23070
|
+
/** The order the motion-source picker offers them in (not the enum's order). */
|
|
23071
|
+
var MOTION_SOURCE_PICKER_ORDER = [
|
|
23072
|
+
"analyzer",
|
|
23073
|
+
"onboard",
|
|
23074
|
+
"device-activity"
|
|
23075
|
+
];
|
|
23076
|
+
/**
|
|
23084
23077
|
* Which root detector a camera runs — EXACTLY ONE.
|
|
23085
23078
|
*
|
|
23086
23079
|
* Deliberately the SAME vocabulary post-analysis already tags every detection
|
|
@@ -23427,7 +23420,14 @@ var RunnerCameraConfigSchema = object({
|
|
|
23427
23420
|
*/
|
|
23428
23421
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
23429
23422
|
});
|
|
23430
|
-
|
|
23423
|
+
MOTION_SOURCE_PICKER_ORDER.map((value) => value === "onboard" ? {
|
|
23424
|
+
value,
|
|
23425
|
+
label: MOTION_SOURCE_LABELS[value],
|
|
23426
|
+
description: "The camera's own motion, plus any sensor attached to it"
|
|
23427
|
+
} : {
|
|
23428
|
+
value,
|
|
23429
|
+
label: MOTION_SOURCE_LABELS[value]
|
|
23430
|
+
}), motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, preRollInferenceFramesField.min, preRollInferenceFramesField.max, preRollInferenceFramesField.step, preRollInferenceFramesField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
23431
23431
|
/**
|
|
23432
23432
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
23433
23433
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -24001,6 +24001,11 @@ var CameraStatusSchema = object({
|
|
|
24001
24001
|
*/
|
|
24002
24002
|
switchedOff: array(CameraSwitchIdSchema).readonly(),
|
|
24003
24003
|
/**
|
|
24004
|
+
* The camera's attached sensors (D672). Optional only for a status composed
|
|
24005
|
+
* by an orchestrator older than D672; this orchestrator always sets it.
|
|
24006
|
+
*/
|
|
24007
|
+
cameraSensors: CameraSensorsStatusSchema.optional(),
|
|
24008
|
+
/**
|
|
24004
24009
|
* Stages of the bounded fan-out that were CUT SHORT — a timeout or a
|
|
24005
24010
|
* rejection — and whose block is therefore `null` because we could not
|
|
24006
24011
|
* READ it, not because there is nothing there.
|
|
@@ -30072,7 +30077,9 @@ object({
|
|
|
30072
30077
|
detected: boolean(),
|
|
30073
30078
|
timestamp: number(),
|
|
30074
30079
|
source: MotionSourceEnum,
|
|
30075
|
-
regions: array(MotionRegionSchema).readonly().optional()
|
|
30080
|
+
regions: array(MotionRegionSchema).readonly().optional(),
|
|
30081
|
+
/** Who started it (D672). Absent = the camera itself. Only `onboard` carries `sensor`. */
|
|
30082
|
+
triggeredBy: MotionTriggeredBySchema.optional()
|
|
30076
30083
|
});
|
|
30077
30084
|
DeviceType.Camera, DeviceType.Sensor, method(object({ deviceId: number() }), boolean());
|
|
30078
30085
|
object({
|
|
@@ -40579,12 +40586,6 @@ Object.freeze({
|
|
|
40579
40586
|
addonId: null,
|
|
40580
40587
|
access: "view"
|
|
40581
40588
|
},
|
|
40582
|
-
"pipelineAnalytics.getSummary": {
|
|
40583
|
-
capName: "pipeline-analytics",
|
|
40584
|
-
capScope: "device",
|
|
40585
|
-
addonId: null,
|
|
40586
|
-
access: "view"
|
|
40587
|
-
},
|
|
40588
40589
|
"pipelineAnalytics.getTrack": {
|
|
40589
40590
|
capName: "pipeline-analytics",
|
|
40590
40591
|
capScope: "device",
|
|
@@ -40645,12 +40646,6 @@ Object.freeze({
|
|
|
40645
40646
|
addonId: null,
|
|
40646
40647
|
access: "view"
|
|
40647
40648
|
},
|
|
40648
|
-
"pipelineAnalytics.listRecentSummaries": {
|
|
40649
|
-
capName: "pipeline-analytics",
|
|
40650
|
-
capScope: "device",
|
|
40651
|
-
addonId: null,
|
|
40652
|
-
access: "view"
|
|
40653
|
-
},
|
|
40654
40649
|
"pipelineAnalytics.listRecentTracks": {
|
|
40655
40650
|
capName: "pipeline-analytics",
|
|
40656
40651
|
capScope: "device",
|
|
@@ -40681,12 +40676,6 @@ Object.freeze({
|
|
|
40681
40676
|
addonId: null,
|
|
40682
40677
|
access: "view"
|
|
40683
40678
|
},
|
|
40684
|
-
"pipelineAnalytics.listSummaries": {
|
|
40685
|
-
capName: "pipeline-analytics",
|
|
40686
|
-
capScope: "device",
|
|
40687
|
-
addonId: null,
|
|
40688
|
-
access: "view"
|
|
40689
|
-
},
|
|
40690
40679
|
"pipelineAnalytics.listTrackMedia": {
|
|
40691
40680
|
capName: "pipeline-analytics",
|
|
40692
40681
|
capScope: "device",
|
|
@@ -44856,11 +44845,6 @@ Object.freeze({
|
|
|
44856
44845
|
form: "single",
|
|
44857
44846
|
optional: true
|
|
44858
44847
|
}],
|
|
44859
|
-
"pipelineAnalytics.listRecentSummaries": [{
|
|
44860
|
-
name: "deviceIds",
|
|
44861
|
-
form: "array",
|
|
44862
|
-
optional: false
|
|
44863
|
-
}],
|
|
44864
44848
|
"pipelineAnalytics.listRecentTracks": [{
|
|
44865
44849
|
name: "deviceIds",
|
|
44866
44850
|
form: "array",
|
|
@@ -44871,11 +44855,6 @@ Object.freeze({
|
|
|
44871
44855
|
form: "array",
|
|
44872
44856
|
optional: true
|
|
44873
44857
|
}],
|
|
44874
|
-
"pipelineAnalytics.listSummaries": [{
|
|
44875
|
-
name: "deviceIds",
|
|
44876
|
-
form: "array",
|
|
44877
|
-
optional: false
|
|
44878
|
-
}],
|
|
44879
44858
|
"pipelineAnalytics.listTrackMedia": [{
|
|
44880
44859
|
name: "deviceId",
|
|
44881
44860
|
form: "single",
|
|
@@ -46685,7 +46664,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
46685
46664
|
capability: adminUiCapability,
|
|
46686
46665
|
provider: {
|
|
46687
46666
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
46688
|
-
getVersion: async () => ({ version: "1.2.
|
|
46667
|
+
getVersion: async () => ({ version: "1.2.287" })
|
|
46689
46668
|
}
|
|
46690
46669
|
}];
|
|
46691
46670
|
}
|