@camstack/addon-training 0.1.70 → 0.1.72
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/{MotionZonesSettings-B9_DluhF.mjs → MotionZonesSettings-DtrBEodK.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-CncKu03o.mjs → PrivacyMaskSettings-DMvD-Aoa.mjs} +2 -2
- package/dist/{SceneMonitorEditor-xUwTVl54.mjs → SceneMonitorEditor-DlaZqKNk.mjs} +1 -1
- package/dist/_stub.js +14 -14
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CP9uBDY3.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CR71IyGN.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B4oJE-uP.mjs +26 -0
- package/dist/{dist-5U0pW8tJ.mjs → dist-Ch3aUw2u.mjs} +237 -61
- package/dist/{dist-BzGklukW.js → dist-F0HQ_GTW.js} +237 -61
- package/dist/{hostInit-DRnOjDpM.mjs → hostInit-CqN7AHWD.mjs} +3 -3
- package/dist/index.js +1 -1
- package/dist/orchestrator/training.addon.js +1 -1
- package/dist/orchestrator/training.addon.mjs +1 -1
- package/dist/{player-overlays-BqBg6DO2.mjs → player-overlays-_18EagGF.mjs} +1 -1
- package/dist/providers/modal/training-modal.addon.js +1 -1
- package/dist/providers/modal/training-modal.addon.mjs +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-vB1EsOnM.mjs → responsive-pyVT1YFE.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-DctmQSuv.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-qU7q9e7k.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-p4t7dbDk.mjs +0 -26
|
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
}) : target, mod));
|
|
33
33
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
34
|
require("node:crypto");
|
|
35
|
-
//#region ../types/dist/event-category-
|
|
35
|
+
//#region ../types/dist/event-category-BfJwUd2S.mjs
|
|
36
36
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
37
37
|
EventCategory["SystemBoot"] = "system.boot";
|
|
38
38
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -349,6 +349,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
349
349
|
*/
|
|
350
350
|
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
351
351
|
/**
|
|
352
|
+
* A camera's motion source has fired constantly with no subject for an hour
|
|
353
|
+
* (motion duty or session count over the bar, zero detections) — it is not
|
|
354
|
+
* blind, its motion zones or sensitivity want tuning (D907). Paired with
|
|
355
|
+
* {@link PipelineMotionCalm}.
|
|
356
|
+
*/
|
|
357
|
+
EventCategory["PipelineMotionNoisy"] = "pipeline.motion-noisy";
|
|
358
|
+
/** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
|
|
359
|
+
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
360
|
+
/**
|
|
352
361
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
353
362
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
354
363
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -720,6 +729,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
720
729
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
721
730
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
722
731
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
732
|
+
/**
|
|
733
|
+
* A notification rule that cannot work (D905): its stored row does not load,
|
|
734
|
+
* or it still names a device / delivery target the prune CONFIRMED deleted.
|
|
735
|
+
* One edge per rule per distinct set of reasons; never on an unanswered read.
|
|
736
|
+
*/
|
|
737
|
+
EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
|
|
738
|
+
/** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
|
|
739
|
+
EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
|
|
723
740
|
EventCategory["DeviceUpdated"] = "device.updated";
|
|
724
741
|
/**
|
|
725
742
|
* Transport-level connectivity. Emitted by the device driver when
|
|
@@ -5580,7 +5597,7 @@ var ZodIssueCode = {
|
|
|
5580
5597
|
var ZodFirstPartyTypeKind;
|
|
5581
5598
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5582
5599
|
//#endregion
|
|
5583
|
-
//#region ../types/dist/sleep-
|
|
5600
|
+
//#region ../types/dist/sleep-DJFUfKvA.mjs
|
|
5584
5601
|
/**
|
|
5585
5602
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5586
5603
|
* window to float samples (D455).
|
|
@@ -8172,7 +8189,7 @@ var EntryDescriptorSchema = object({
|
|
|
8172
8189
|
/** JSON Schema of the entry body; `secret: true` marks a password field. */
|
|
8173
8190
|
fields: record(string(), unknown())
|
|
8174
8191
|
}).strict();
|
|
8175
|
-
/** What crosses the wire
|
|
8192
|
+
/** What crosses the wire from an addon: JSON only, no Zod. An unknown key is refused. */
|
|
8176
8193
|
var RecordKindDeclarationSchema = object({
|
|
8177
8194
|
database: _enum(RECORD_DATABASES).default("settings"),
|
|
8178
8195
|
class: _enum(RECORD_CLASSES),
|
|
@@ -8191,14 +8208,6 @@ var RecordKindDeclarationSchema = object({
|
|
|
8191
8208
|
secretPaths: array(string().min(1)).default([]),
|
|
8192
8209
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8193
8210
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8194
|
-
/**
|
|
8195
|
-
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8196
|
-
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8197
|
-
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8198
|
-
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8199
|
-
* removal still sends it. Never set it.
|
|
8200
|
-
*/
|
|
8201
|
-
adoptsFrom: string().min(1).optional(),
|
|
8202
8211
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8203
8212
|
transactFamily: string().min(1).optional(),
|
|
8204
8213
|
entry: EntryDescriptorSchema.optional()
|
|
@@ -12998,17 +13007,6 @@ object({
|
|
|
12998
13007
|
createdAt: number(),
|
|
12999
13008
|
updatedAt: number()
|
|
13000
13009
|
});
|
|
13001
|
-
object({
|
|
13002
|
-
id: string(),
|
|
13003
|
-
label: string(),
|
|
13004
|
-
isAdmin: boolean().default(false),
|
|
13005
|
-
allowedProviders: AllowedProviderSchema,
|
|
13006
|
-
allowedDevices: AllowedDevicesSchema,
|
|
13007
|
-
tokenHash: string(),
|
|
13008
|
-
tokenPrefix: string(),
|
|
13009
|
-
createdAt: number(),
|
|
13010
|
-
lastUsedAt: number().optional()
|
|
13011
|
-
});
|
|
13012
13010
|
object({
|
|
13013
13011
|
id: string(),
|
|
13014
13012
|
userId: string(),
|
|
@@ -16901,16 +16899,36 @@ var RecordKindStateSchema = _enum([
|
|
|
16901
16899
|
var DeclareKindResultSchema = object({
|
|
16902
16900
|
kindId: number().int(),
|
|
16903
16901
|
state: RecordKindStateSchema,
|
|
16904
|
-
createdIndexes: array(string())
|
|
16905
|
-
/**
|
|
16906
|
-
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16907
|
-
* it stays on the wire, null, because an addon built before the removal reads
|
|
16908
|
-
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16909
|
-
*/
|
|
16910
|
-
adoptionPending: _null()
|
|
16902
|
+
createdIndexes: array(string())
|
|
16911
16903
|
});
|
|
16912
16904
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16913
16905
|
var SecretRefsList = array(string());
|
|
16906
|
+
/**
|
|
16907
|
+
* One op of a `transact`: the single-row writes, each on a kind of the caller.
|
|
16908
|
+
* All ops of one call share ONE database file and ONE `transactFamily`.
|
|
16909
|
+
*/
|
|
16910
|
+
var RecordTransactOpSchema = discriminatedUnion("op", [
|
|
16911
|
+
object({
|
|
16912
|
+
op: literal("put"),
|
|
16913
|
+
kind: RecordKindNameSchema,
|
|
16914
|
+
record: RecordInputSchema,
|
|
16915
|
+
ifRev: number().int().min(0).optional()
|
|
16916
|
+
}),
|
|
16917
|
+
object({
|
|
16918
|
+
op: literal("patch"),
|
|
16919
|
+
kind: RecordKindNameSchema,
|
|
16920
|
+
id: RecordIdSchema,
|
|
16921
|
+
data: RecordBodySchema,
|
|
16922
|
+
at: number().int().nullable().optional(),
|
|
16923
|
+
expiresAt: number().int().nullable().optional(),
|
|
16924
|
+
ifRev: number().int().min(1).optional()
|
|
16925
|
+
}),
|
|
16926
|
+
object({
|
|
16927
|
+
op: literal("delete"),
|
|
16928
|
+
kind: RecordKindNameSchema,
|
|
16929
|
+
id: RecordIdSchema
|
|
16930
|
+
})
|
|
16931
|
+
]);
|
|
16914
16932
|
var RecordSecretRefsSchema = record(string(), record(string(), string()));
|
|
16915
16933
|
method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
|
|
16916
16934
|
kind: "mutation",
|
|
@@ -17017,6 +17035,16 @@ method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema)
|
|
|
17017
17035
|
}), {
|
|
17018
17036
|
kind: "mutation",
|
|
17019
17037
|
auth: "admin"
|
|
17038
|
+
}), method(object({ ops: array(RecordTransactOpSchema).min(1).max(RECORD_BATCH_MAX) }), object({
|
|
17039
|
+
results: array(object({
|
|
17040
|
+
rev: number().int().nullable(),
|
|
17041
|
+
deleted: boolean()
|
|
17042
|
+
})),
|
|
17043
|
+
releasedRefs: SecretRefsList,
|
|
17044
|
+
secretRefs: SecretRefsList
|
|
17045
|
+
}), {
|
|
17046
|
+
kind: "mutation",
|
|
17047
|
+
auth: "admin"
|
|
17020
17048
|
}), method(object({
|
|
17021
17049
|
deviceId: number().int(),
|
|
17022
17050
|
kinds: array(RecordKindNameSchema).optional()
|
|
@@ -42375,9 +42403,13 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42375
42403
|
"node-updating",
|
|
42376
42404
|
"node-inference-unavailable",
|
|
42377
42405
|
"detection-blind",
|
|
42406
|
+
"motion-noisy",
|
|
42407
|
+
"motion-calm",
|
|
42378
42408
|
"recording-stalled",
|
|
42379
42409
|
"recording-healthy",
|
|
42380
42410
|
"recording-degraded",
|
|
42411
|
+
"device-attention-required",
|
|
42412
|
+
"device-attention-resolved",
|
|
42381
42413
|
"storage-location-low",
|
|
42382
42414
|
"storage-location-critical",
|
|
42383
42415
|
"storage-location-ok",
|
|
@@ -42401,6 +42433,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42401
42433
|
"alert-critical",
|
|
42402
42434
|
"alert-error",
|
|
42403
42435
|
"alert-critical-resolved",
|
|
42436
|
+
"rule-broken",
|
|
42437
|
+
"rule-repaired",
|
|
42404
42438
|
"camera-online",
|
|
42405
42439
|
"camera-offline",
|
|
42406
42440
|
"camera-disabled",
|
|
@@ -54832,6 +54866,16 @@ object({
|
|
|
54832
54866
|
powerState: string().nullable(),
|
|
54833
54867
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54834
54868
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54869
|
+
/**
|
|
54870
|
+
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
54871
|
+
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
54872
|
+
* when none is reported. A cleared reminder is not an unknown one.
|
|
54873
|
+
*/
|
|
54874
|
+
filterCleaningDue: boolean().nullable(),
|
|
54875
|
+
/** True while the machine-care (descaling / cleaning-program) reminder is raised; false when clear; null when not reported. */
|
|
54876
|
+
machineCareDue: boolean().nullable(),
|
|
54877
|
+
/** Program runs left before the machine-care reminder is due; null when the appliance does not say. */
|
|
54878
|
+
machineCareRemainingRuns: number().int().nonnegative().nullable(),
|
|
54835
54879
|
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
54836
54880
|
halfLoad: boolean().nullable(),
|
|
54837
54881
|
hygienePlus: boolean().nullable(),
|
|
@@ -61449,16 +61493,6 @@ var UpdateUserInputSchema = object({
|
|
|
61449
61493
|
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
61450
61494
|
scopes: array(TokenScopeSchema).optional()
|
|
61451
61495
|
});
|
|
61452
|
-
var ApiKeySummarySchema = object({
|
|
61453
|
-
id: string(),
|
|
61454
|
-
label: string(),
|
|
61455
|
-
isAdmin: boolean().default(false),
|
|
61456
|
-
allowedProviders: union([array(string()), literal("*")]).optional(),
|
|
61457
|
-
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
61458
|
-
tokenPrefix: string(),
|
|
61459
|
-
createdAt: number(),
|
|
61460
|
-
lastUsedAt: number().optional()
|
|
61461
|
-
});
|
|
61462
61496
|
var OauthSessionSummarySchema = object({
|
|
61463
61497
|
id: string(),
|
|
61464
61498
|
userId: string(),
|
|
@@ -61480,8 +61514,7 @@ var TotpStatusSchema = object({
|
|
|
61480
61514
|
confirmedAt: number().nullable()
|
|
61481
61515
|
});
|
|
61482
61516
|
/**
|
|
61483
|
-
* user-management — singleton capability for user accounts
|
|
61484
|
-
* legacy API-key rows.
|
|
61517
|
+
* user-management — singleton capability for user accounts.
|
|
61485
61518
|
*
|
|
61486
61519
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61487
61520
|
* — the subset check on `setUserScopes` is moot
|
|
@@ -61537,10 +61570,6 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61537
61570
|
}), UserSummarySchema.extend({ passwordHash: string() }).nullable(), {
|
|
61538
61571
|
kind: "mutation",
|
|
61539
61572
|
access: "view"
|
|
61540
|
-
}), method(_void(), array(ApiKeySummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61541
|
-
kind: "mutation",
|
|
61542
|
-
auth: "admin",
|
|
61543
|
-
access: "delete"
|
|
61544
61573
|
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61545
61574
|
kind: "mutation",
|
|
61546
61575
|
auth: "admin",
|
|
@@ -69153,6 +69182,12 @@ Object.freeze({
|
|
|
69153
69182
|
addonId: null,
|
|
69154
69183
|
access: "view"
|
|
69155
69184
|
},
|
|
69185
|
+
"records.transact": {
|
|
69186
|
+
capName: "records",
|
|
69187
|
+
capScope: "system",
|
|
69188
|
+
addonId: null,
|
|
69189
|
+
access: "create"
|
|
69190
|
+
},
|
|
69156
69191
|
"sceneMonitor.captureReference": {
|
|
69157
69192
|
capName: "scene-monitor",
|
|
69158
69193
|
capScope: "device",
|
|
@@ -70485,12 +70520,6 @@ Object.freeze({
|
|
|
70485
70520
|
addonId: null,
|
|
70486
70521
|
access: "view"
|
|
70487
70522
|
},
|
|
70488
|
-
"userManagement.listApiKeys": {
|
|
70489
|
-
capName: "user-management",
|
|
70490
|
-
capScope: "system",
|
|
70491
|
-
addonId: null,
|
|
70492
|
-
access: "view"
|
|
70493
|
-
},
|
|
70494
70523
|
"userManagement.listExternalIdentities": {
|
|
70495
70524
|
capName: "user-management",
|
|
70496
70525
|
capScope: "system",
|
|
@@ -70545,12 +70574,6 @@ Object.freeze({
|
|
|
70545
70574
|
addonId: null,
|
|
70546
70575
|
access: "create"
|
|
70547
70576
|
},
|
|
70548
|
-
"userManagement.revokeApiKey": {
|
|
70549
|
-
capName: "user-management",
|
|
70550
|
-
capScope: "system",
|
|
70551
|
-
addonId: null,
|
|
70552
|
-
access: "delete"
|
|
70553
|
-
},
|
|
70554
70577
|
"userManagement.revokeOauthSession": {
|
|
70555
70578
|
capName: "user-management",
|
|
70556
70579
|
capScope: "system",
|
|
@@ -73915,9 +73938,13 @@ new Map(Object.entries({
|
|
|
73915
73938
|
"stream-online": "device-events",
|
|
73916
73939
|
"stream-offline": "device-events",
|
|
73917
73940
|
"detection-blind": "device-events",
|
|
73941
|
+
"motion-noisy": "device-events",
|
|
73942
|
+
"motion-calm": "device-events",
|
|
73918
73943
|
"recording-stalled": "device-events",
|
|
73919
73944
|
"recording-healthy": "device-events",
|
|
73920
73945
|
"recording-degraded": "device-events",
|
|
73946
|
+
"device-attention-required": "device-events",
|
|
73947
|
+
"device-attention-resolved": "device-events",
|
|
73921
73948
|
"node-online": "system",
|
|
73922
73949
|
"node-offline": "system",
|
|
73923
73950
|
"node-restarting": "system",
|
|
@@ -73934,6 +73961,8 @@ new Map(Object.entries({
|
|
|
73934
73961
|
"alert-critical": "system",
|
|
73935
73962
|
"alert-error": "system",
|
|
73936
73963
|
"alert-critical-resolved": "system",
|
|
73964
|
+
"rule-broken": "system",
|
|
73965
|
+
"rule-repaired": "system",
|
|
73937
73966
|
"storage-location-low": "system",
|
|
73938
73967
|
"storage-location-critical": "system",
|
|
73939
73968
|
"storage-location-ok": "system",
|
|
@@ -73998,6 +74027,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
73998
74027
|
label: "Detecting nothing",
|
|
73999
74028
|
kinds: ["detection-blind"]
|
|
74000
74029
|
},
|
|
74030
|
+
{
|
|
74031
|
+
id: "motion-noise",
|
|
74032
|
+
family: "device-events",
|
|
74033
|
+
label: "Motion without a subject",
|
|
74034
|
+
kinds: ["motion-noisy", "motion-calm"]
|
|
74035
|
+
},
|
|
74001
74036
|
{
|
|
74002
74037
|
id: "recording",
|
|
74003
74038
|
family: "device-events",
|
|
@@ -74008,6 +74043,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
74008
74043
|
"recording-degraded"
|
|
74009
74044
|
]
|
|
74010
74045
|
},
|
|
74046
|
+
{
|
|
74047
|
+
id: "device-attention",
|
|
74048
|
+
family: "device-events",
|
|
74049
|
+
label: "Needs attention",
|
|
74050
|
+
kinds: ["device-attention-required", "device-attention-resolved"]
|
|
74051
|
+
},
|
|
74011
74052
|
{
|
|
74012
74053
|
id: "nodes",
|
|
74013
74054
|
family: "system",
|
|
@@ -74068,6 +74109,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
74068
74109
|
"alert-critical-resolved"
|
|
74069
74110
|
]
|
|
74070
74111
|
},
|
|
74112
|
+
{
|
|
74113
|
+
id: "rule-health",
|
|
74114
|
+
family: "system",
|
|
74115
|
+
label: "Notification rules",
|
|
74116
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
74117
|
+
},
|
|
74071
74118
|
{
|
|
74072
74119
|
id: "alarm",
|
|
74073
74120
|
family: "alarm",
|
|
@@ -74141,6 +74188,7 @@ var ALERT_EPISODE = [
|
|
|
74141
74188
|
"alert-error",
|
|
74142
74189
|
"alert-critical-resolved"
|
|
74143
74190
|
];
|
|
74191
|
+
var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
|
|
74144
74192
|
var UPDATES = [
|
|
74145
74193
|
"addon-update-available",
|
|
74146
74194
|
"server-update-available",
|
|
@@ -74170,9 +74218,12 @@ var DEVICE_EVENTS = [
|
|
|
74170
74218
|
"stream-online",
|
|
74171
74219
|
"stream-offline",
|
|
74172
74220
|
"detection-blind",
|
|
74221
|
+
"motion-noisy",
|
|
74222
|
+
"motion-calm",
|
|
74173
74223
|
"recording-stalled",
|
|
74174
74224
|
"recording-healthy",
|
|
74175
74225
|
"recording-degraded",
|
|
74226
|
+
...DEVICE_ATTENTION,
|
|
74176
74227
|
...ALARM
|
|
74177
74228
|
];
|
|
74178
74229
|
/** Every kind a summary may speak about — the two summarisable families. */
|
|
@@ -74340,7 +74391,13 @@ var STATE_SUMMARY_VARS = [
|
|
|
74340
74391
|
[...RULE_TEXT],
|
|
74341
74392
|
[...RULE_TEXT],
|
|
74342
74393
|
[...RULE_TEXT],
|
|
74343
|
-
|
|
74394
|
+
[...RULE_TEXT],
|
|
74395
|
+
[...RULE_TEXT],
|
|
74396
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
74397
|
+
[...RULE_TEXT],
|
|
74398
|
+
[...RULE_TEXT],
|
|
74399
|
+
[...RULE_TEXT],
|
|
74400
|
+
[...RULE_TEXT],
|
|
74344
74401
|
[...RULE_TEXT],
|
|
74345
74402
|
[...RULE_TEXT],
|
|
74346
74403
|
[...RULE_TEXT],
|
|
@@ -74358,11 +74415,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
74358
74415
|
[...RULE_TEXT],
|
|
74359
74416
|
[...RULE_TEXT],
|
|
74360
74417
|
[...RULE_TEXT],
|
|
74418
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
74361
74419
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74420
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
74362
74421
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74363
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74364
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74365
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
74422
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
74366
74423
|
[...RULE_TEXT],
|
|
74367
74424
|
[...RULE_TEXT],
|
|
74368
74425
|
[...RULE_TEXT],
|
|
@@ -74383,6 +74440,125 @@ var STATE_SUMMARY_VARS = [
|
|
|
74383
74440
|
[...RULE_TEXT],
|
|
74384
74441
|
...STATE_SUMMARY_VARS
|
|
74385
74442
|
];
|
|
74443
|
+
new Map([
|
|
74444
|
+
{
|
|
74445
|
+
id: "device-connectivity",
|
|
74446
|
+
family: "device-events",
|
|
74447
|
+
label: "Device connectivity (offline / back online)",
|
|
74448
|
+
bad: ["device-offline"],
|
|
74449
|
+
recovery: ["device-online"],
|
|
74450
|
+
snapshotLabel: "Devices offline now",
|
|
74451
|
+
snapshotSection: "device-state"
|
|
74452
|
+
},
|
|
74453
|
+
{
|
|
74454
|
+
id: "device-switch",
|
|
74455
|
+
family: "device-events",
|
|
74456
|
+
label: "Device switched off / back on",
|
|
74457
|
+
bad: ["device-disabled"],
|
|
74458
|
+
recovery: ["device-enabled"],
|
|
74459
|
+
snapshotLabel: "Devices switched off now",
|
|
74460
|
+
snapshotSection: "device-state"
|
|
74461
|
+
},
|
|
74462
|
+
{
|
|
74463
|
+
id: "stream-connectivity",
|
|
74464
|
+
family: "device-events",
|
|
74465
|
+
label: "Stream connectivity (offline / back online)",
|
|
74466
|
+
bad: ["stream-offline"],
|
|
74467
|
+
recovery: ["stream-online"],
|
|
74468
|
+
snapshotLabel: "Streams offline now",
|
|
74469
|
+
snapshotSection: "streams"
|
|
74470
|
+
},
|
|
74471
|
+
{
|
|
74472
|
+
id: "battery",
|
|
74473
|
+
family: "device-events",
|
|
74474
|
+
label: "Battery (low / back to normal)",
|
|
74475
|
+
bad: ["device-battery-low"],
|
|
74476
|
+
recovery: ["device-battery-normal"],
|
|
74477
|
+
snapshotLabel: "Batteries low now",
|
|
74478
|
+
snapshotSection: "battery"
|
|
74479
|
+
},
|
|
74480
|
+
{
|
|
74481
|
+
id: "consumables",
|
|
74482
|
+
family: "device-events",
|
|
74483
|
+
label: "Consumables (low / replaced)",
|
|
74484
|
+
bad: ["device-consumable-low"],
|
|
74485
|
+
recovery: ["device-consumable-normal"],
|
|
74486
|
+
snapshotLabel: "Consumables low now",
|
|
74487
|
+
snapshotSection: "consumables"
|
|
74488
|
+
},
|
|
74489
|
+
{
|
|
74490
|
+
id: "tanks",
|
|
74491
|
+
family: "device-events",
|
|
74492
|
+
label: "Tanks (low or full / back to normal)",
|
|
74493
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
74494
|
+
recovery: ["device-tank-normal"],
|
|
74495
|
+
snapshotLabel: "Tanks low or full now",
|
|
74496
|
+
snapshotSection: "tanks"
|
|
74497
|
+
},
|
|
74498
|
+
{
|
|
74499
|
+
id: "motion-noise",
|
|
74500
|
+
family: "device-events",
|
|
74501
|
+
label: "Motion without a subject (constant / calm again)",
|
|
74502
|
+
bad: ["motion-noisy"],
|
|
74503
|
+
recovery: ["motion-calm"],
|
|
74504
|
+
snapshotLabel: "Cameras with constant motion now",
|
|
74505
|
+
snapshotSection: null
|
|
74506
|
+
},
|
|
74507
|
+
{
|
|
74508
|
+
id: "recording-health",
|
|
74509
|
+
family: "device-events",
|
|
74510
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
74511
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
74512
|
+
recovery: ["recording-healthy"],
|
|
74513
|
+
snapshotLabel: "Recordings stalled now",
|
|
74514
|
+
snapshotSection: null
|
|
74515
|
+
},
|
|
74516
|
+
{
|
|
74517
|
+
id: "device-attention",
|
|
74518
|
+
family: "device-events",
|
|
74519
|
+
label: "Device needs attention (raised / resolved)",
|
|
74520
|
+
bad: ["device-attention-required"],
|
|
74521
|
+
recovery: ["device-attention-resolved"],
|
|
74522
|
+
snapshotLabel: "Devices needing attention now",
|
|
74523
|
+
snapshotSection: null
|
|
74524
|
+
},
|
|
74525
|
+
{
|
|
74526
|
+
id: "node-connectivity",
|
|
74527
|
+
family: "system",
|
|
74528
|
+
label: "Node connectivity (offline / back online)",
|
|
74529
|
+
bad: ["node-offline"],
|
|
74530
|
+
recovery: ["node-online"],
|
|
74531
|
+
snapshotLabel: "Nodes offline now",
|
|
74532
|
+
snapshotSection: "nodes"
|
|
74533
|
+
},
|
|
74534
|
+
{
|
|
74535
|
+
id: "storage-space",
|
|
74536
|
+
family: "system",
|
|
74537
|
+
label: "Storage space (low or critical / ok again)",
|
|
74538
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
74539
|
+
recovery: ["storage-location-ok"],
|
|
74540
|
+
snapshotLabel: "Storage locations low now",
|
|
74541
|
+
snapshotSection: null
|
|
74542
|
+
},
|
|
74543
|
+
{
|
|
74544
|
+
id: "critical-alerts",
|
|
74545
|
+
family: "system",
|
|
74546
|
+
label: "Critical alerts (raised / resolved)",
|
|
74547
|
+
bad: ["alert-critical"],
|
|
74548
|
+
recovery: ["alert-critical-resolved"],
|
|
74549
|
+
snapshotLabel: "Critical alerts open now",
|
|
74550
|
+
snapshotSection: null
|
|
74551
|
+
},
|
|
74552
|
+
{
|
|
74553
|
+
id: "rule-health",
|
|
74554
|
+
family: "system",
|
|
74555
|
+
label: "Rule health (broken / repaired)",
|
|
74556
|
+
bad: ["rule-broken"],
|
|
74557
|
+
recovery: ["rule-repaired"],
|
|
74558
|
+
snapshotLabel: "Notification rules broken now",
|
|
74559
|
+
snapshotSection: null
|
|
74560
|
+
}
|
|
74561
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
74386
74562
|
new Set([
|
|
74387
74563
|
"disarmed",
|
|
74388
74564
|
"armed_home",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.398",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.148",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.315",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dist-
|
|
2
|
+
require("./dist-F0HQ_GTW.js");
|
|
3
3
|
const require_orchestrator_training_addon = require("./orchestrator/training.addon.js");
|
|
4
4
|
const require_providers_modal_training_modal_addon = require("./providers/modal/training-modal.addon.js");
|
|
5
5
|
//#region src/providers/fake/fake-provider.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("../dist-
|
|
2
|
+
const require_dist = require("../dist-F0HQ_GTW.js");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
node_path = require_dist.__toESM(node_path);
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, m as defineRecordKinds, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA, u as RECORD_MAX_DATA_BYTES } from "../dist-
|
|
1
|
+
import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, m as defineRecordKinds, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA, u as RECORD_MAX_DATA_BYTES } from "../dist-Ch3aUw2u.mjs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { createReadStream } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as e, u as t, w as n, y as r } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-CEvdvp1T.mjs";
|
|
2
2
|
import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs";
|
|
3
3
|
import { n as s, t as c } from "./chevron-right-cA8Hucbi.mjs";
|
|
4
|
-
import { h as l } from "./responsive-
|
|
4
|
+
import { h as l } from "./responsive-pyVT1YFE.mjs";
|
|
5
5
|
//#region ../ui-library/src/composites/widget-panel.tsx
|
|
6
6
|
n();
|
|
7
7
|
function u({ title: e, icon: t, headerRight: n, collapsible: l = !1, defaultOpen: u = !0, bodyClassName: d = "p-3", children: f }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("../../dist-
|
|
2
|
+
const require_dist = require("../../dist-F0HQ_GTW.js");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
node_path = require_dist.__toESM(node_path, 1);
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as record, S as object, _ as isSecretClear, b as boolean, c as trainingProviderCapability, d as SECRET_CLEAR, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, l as BaseAddon, p as defineEntryKind, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-
|
|
1
|
+
import { C as record, S as object, _ as isSecretClear, b as boolean, c as trainingProviderCapability, d as SECRET_CLEAR, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, l as BaseAddon, p as defineEntryKind, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-Ch3aUw2u.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import path, { dirname, posix } from "node:path";
|
|
4
4
|
import { createHash, createPrivateKey, createPublicKey, createSign, randomBytes, randomUUID } from "node:crypto";
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-qU7q9e7k.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as e, d as t, g as n, l as r, n as i, u as a, w as o, y as s } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-CEvdvp1T.mjs";
|
|
2
2
|
import "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs";
|
|
3
|
-
import { y as c } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
3
|
+
import { y as c } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B4oJE-uP.mjs";
|
|
4
4
|
//#region ../ui-library/src/lib/shared-context.ts
|
|
5
5
|
o();
|
|
6
6
|
function l(e, t) {
|
|
@@ -2762,7 +2762,7 @@ async function or(e) {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
}
|
|
2764
2764
|
async function sr() {
|
|
2765
|
-
return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-
|
|
2765
|
+
return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CR71IyGN.mjs")).catch((e) => {
|
|
2766
2766
|
throw ir = void 0, e;
|
|
2767
2767
|
}), ir;
|
|
2768
2768
|
}
|
package/package.json
CHANGED