@camstack/addon-model-studio 1.1.274 → 1.1.275
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-D5MWmul3.mjs → MotionZonesSettings-BIG8aGEv.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-C3Wr7iyO.mjs → PrivacyMaskSettings-CWoTqjnu.mjs} +4 -4
- package/dist/{SceneMonitorEditor-C1_f1Q-S.mjs → SceneMonitorEditor-DtFj9te6.mjs} +3 -3
- package/dist/_stub.js +4700 -4492
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BmHFCtbY.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DZN7cTDO.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Ss7FN2Gd.mjs +26 -0
- package/dist/{hostInit-DXmGI4M9.mjs → hostInit-AEMzVXja.mjs} +3 -3
- package/dist/model-studio.addon.js +255 -23
- package/dist/model-studio.addon.mjs +255 -23
- package/dist/{player-overlays-CBnRP2P1.mjs → player-overlays-B_Mz7Ntr.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-E8SO15pe.mjs → responsive-7Q45kP8J.mjs} +1 -1
- package/dist/{scene-monitor-copy-CwqpqS1B.mjs → scene-monitor-copy-D-U8UjC2.mjs} +1 -1
- package/dist/{square-CLaS5lbJ.mjs → square-CgRaaMPf.mjs} +1 -1
- package/dist/{trash-2-BRMfSpae.mjs → trash-2-CPDY_aHv.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DQeUkSxv.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BkEmqrtC.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CNZj-X83.mjs +0 -26
|
@@ -5783,7 +5783,7 @@ var ZodIssueCode = {
|
|
|
5783
5783
|
var ZodFirstPartyTypeKind;
|
|
5784
5784
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5785
5785
|
//#endregion
|
|
5786
|
-
//#region ../types/dist/sleep-
|
|
5786
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5787
5787
|
/**
|
|
5788
5788
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5789
5789
|
* window to float samples (D455).
|
|
@@ -17441,7 +17441,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17441
17441
|
kind: literal("node"),
|
|
17442
17442
|
nodeId: string().min(1)
|
|
17443
17443
|
})]);
|
|
17444
|
+
/**
|
|
17445
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17446
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17447
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17448
|
+
*/
|
|
17444
17449
|
var DeviceHistoryKindSchema = _enum([
|
|
17450
|
+
"gauge",
|
|
17451
|
+
"counter",
|
|
17452
|
+
"boolean",
|
|
17453
|
+
"enum"
|
|
17454
|
+
]);
|
|
17455
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17456
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17445
17457
|
"gauge",
|
|
17446
17458
|
"counter",
|
|
17447
17459
|
"boolean"
|
|
@@ -17478,7 +17490,13 @@ var SeriesInfoSchema = object({
|
|
|
17478
17490
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17479
17491
|
unit: string().nullable(),
|
|
17480
17492
|
displayName: string(),
|
|
17481
|
-
source: _enum([
|
|
17493
|
+
source: _enum([
|
|
17494
|
+
"cap",
|
|
17495
|
+
"addon",
|
|
17496
|
+
"derived"
|
|
17497
|
+
]),
|
|
17498
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17499
|
+
values: array(string()).readonly().nullable(),
|
|
17482
17500
|
firstTs: number(),
|
|
17483
17501
|
lastTs: number()
|
|
17484
17502
|
});
|
|
@@ -17492,17 +17510,31 @@ var QueryPointSchema = object({
|
|
|
17492
17510
|
twMean: number().nullable(),
|
|
17493
17511
|
min: number(),
|
|
17494
17512
|
max: number(),
|
|
17495
|
-
/** `null` is unknown, never zero (D393). */
|
|
17496
|
-
last: number().nullable()
|
|
17513
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17514
|
+
last: number().nullable(),
|
|
17515
|
+
/**
|
|
17516
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17517
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17518
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17519
|
+
* every other kind, and when it cannot be known.
|
|
17520
|
+
*/
|
|
17521
|
+
delta: number().nullable(),
|
|
17522
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17523
|
+
state: string().nullable(),
|
|
17524
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17525
|
+
states: record(string(), number()).nullable()
|
|
17497
17526
|
});
|
|
17498
17527
|
var QuerySeriesSchema = object({
|
|
17499
17528
|
scope: string(),
|
|
17500
17529
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17501
17530
|
before: object({
|
|
17502
17531
|
t: number(),
|
|
17503
|
-
value: number().nullable()
|
|
17532
|
+
value: number().nullable(),
|
|
17533
|
+
state: string().nullable()
|
|
17504
17534
|
}).nullable(),
|
|
17505
|
-
points: array(QueryPointSchema).readonly()
|
|
17535
|
+
points: array(QueryPointSchema).readonly(),
|
|
17536
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17537
|
+
derivedFrom: string().nullable()
|
|
17506
17538
|
});
|
|
17507
17539
|
/** The window part of a query, shared by the device and node forms. */
|
|
17508
17540
|
var QueryWindowShape = {
|
|
@@ -17518,6 +17550,23 @@ var QueryResultSchema = object({
|
|
|
17518
17550
|
series: array(QuerySeriesSchema).readonly(),
|
|
17519
17551
|
truncated: boolean()
|
|
17520
17552
|
});
|
|
17553
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17554
|
+
var QueryManyItemSchema = union([object({
|
|
17555
|
+
deviceId: number().int(),
|
|
17556
|
+
key: string(),
|
|
17557
|
+
scope: string().optional()
|
|
17558
|
+
}), object({
|
|
17559
|
+
forNodeId: string().min(1),
|
|
17560
|
+
key: string(),
|
|
17561
|
+
scope: string().optional()
|
|
17562
|
+
})]);
|
|
17563
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17564
|
+
ok: literal(true),
|
|
17565
|
+
result: QueryResultSchema
|
|
17566
|
+
}), object({
|
|
17567
|
+
ok: literal(false),
|
|
17568
|
+
error: string()
|
|
17569
|
+
})]);
|
|
17521
17570
|
var TierStatusSchema = object({
|
|
17522
17571
|
tier: DeviceHistoryResolutionSchema,
|
|
17523
17572
|
/** `null` until the first background count answered. */
|
|
@@ -17573,16 +17622,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17573
17622
|
lastRefreshAt: number().nullable()
|
|
17574
17623
|
})
|
|
17575
17624
|
});
|
|
17576
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17625
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17577
17626
|
deviceId: number().int(),
|
|
17578
17627
|
...QueryWindowShape
|
|
17579
17628
|
}), QueryResultSchema), method(object({
|
|
17580
|
-
|
|
17629
|
+
forNodeId: string().min(1),
|
|
17581
17630
|
...QueryWindowShape
|
|
17582
17631
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17632
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17633
|
+
from: QueryWindowShape.from,
|
|
17634
|
+
to: QueryWindowShape.to,
|
|
17635
|
+
resolution: QueryWindowShape.resolution,
|
|
17636
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17637
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17583
17638
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17584
17639
|
subjectKind: _enum(["device", "node"]),
|
|
17585
|
-
kind:
|
|
17640
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17586
17641
|
unit: string().optional(),
|
|
17587
17642
|
displayName: string().min(1),
|
|
17588
17643
|
ingest: _enum(["points", "buckets"])
|
|
@@ -40599,14 +40654,106 @@ var LogEntrySchema = object({
|
|
|
40599
40654
|
meta: record(string(), unknown()).optional(),
|
|
40600
40655
|
tags: record(string(), string()).optional()
|
|
40601
40656
|
});
|
|
40602
|
-
|
|
40603
|
-
|
|
40657
|
+
/**
|
|
40658
|
+
* A history READ against one destination (D898).
|
|
40659
|
+
*
|
|
40660
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40661
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40662
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40663
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40664
|
+
* nanosecond timestamp for Loki.
|
|
40665
|
+
*
|
|
40666
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40667
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40668
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40669
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40670
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40671
|
+
*/
|
|
40672
|
+
var LogReadQuerySchema = object({
|
|
40673
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40674
|
+
requestId: string().min(1).max(64).optional(),
|
|
40675
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40676
|
+
deviceId: number().int().optional(),
|
|
40677
|
+
/**
|
|
40678
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40679
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40680
|
+
*/
|
|
40681
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40682
|
+
/**
|
|
40683
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40684
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40685
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40686
|
+
* name as "which node's provider".
|
|
40687
|
+
*/
|
|
40688
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40689
|
+
/** Any other tag, exact match (AND). */
|
|
40690
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40691
|
+
/** Severity FLOOR: this level and above. */
|
|
40604
40692
|
level: LogLevelSchema.optional(),
|
|
40605
|
-
|
|
40606
|
-
|
|
40607
|
-
|
|
40608
|
-
|
|
40609
|
-
|
|
40693
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40694
|
+
text: string().min(1).max(200).optional(),
|
|
40695
|
+
/** Epoch ms, inclusive. */
|
|
40696
|
+
since: number().optional(),
|
|
40697
|
+
/** Epoch ms, inclusive. */
|
|
40698
|
+
until: number().optional(),
|
|
40699
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40700
|
+
before: string().min(1).max(1024).optional(),
|
|
40701
|
+
/** Newer than this cursor (exclusive). */
|
|
40702
|
+
after: string().min(1).max(1024).optional(),
|
|
40703
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40704
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40705
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40706
|
+
});
|
|
40707
|
+
var LogReadResultSchema = object({
|
|
40708
|
+
/** Newest first. */
|
|
40709
|
+
entries: array(object({
|
|
40710
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40711
|
+
id: string().optional(),
|
|
40712
|
+
/** Epoch ms. */
|
|
40713
|
+
timestamp: number(),
|
|
40714
|
+
level: LogLevelSchema,
|
|
40715
|
+
scope: string().optional(),
|
|
40716
|
+
message: string(),
|
|
40717
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40718
|
+
meta: record(string(), unknown()).optional()
|
|
40719
|
+
})),
|
|
40720
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40721
|
+
nextBefore: string().nullable(),
|
|
40722
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40723
|
+
nextAfter: string().nullable(),
|
|
40724
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40725
|
+
scannedBytes: number().int().nonnegative(),
|
|
40726
|
+
/**
|
|
40727
|
+
* True when the scan in this direction reached the end of the store.
|
|
40728
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40729
|
+
* call again with `nextBefore` to go on.
|
|
40730
|
+
*/
|
|
40731
|
+
done: boolean(),
|
|
40732
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40733
|
+
cancelled: boolean().optional()
|
|
40734
|
+
});
|
|
40735
|
+
var LogReadCapabilitiesSchema = object({
|
|
40736
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40737
|
+
readable: boolean(),
|
|
40738
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40739
|
+
reason: string().nullable(),
|
|
40740
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40741
|
+
filters: object({
|
|
40742
|
+
deviceId: boolean(),
|
|
40743
|
+
addonId: boolean(),
|
|
40744
|
+
nodeId: boolean(),
|
|
40745
|
+
tags: boolean(),
|
|
40746
|
+
level: boolean(),
|
|
40747
|
+
text: boolean(),
|
|
40748
|
+
timeRange: boolean()
|
|
40749
|
+
}),
|
|
40750
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40751
|
+
retentionDays: number().nullable()
|
|
40752
|
+
});
|
|
40753
|
+
method(LogEntrySchema, _void(), { kind: "mutation" }), optionalMethod(_void(), LogReadCapabilitiesSchema, { auth: "admin" }), optionalMethod(LogReadQuerySchema, LogReadResultSchema, { auth: "admin" }), optionalMethod(object({ requestId: string().min(1).max(64) }), object({ cancelled: boolean() }), {
|
|
40754
|
+
kind: "mutation",
|
|
40755
|
+
auth: "admin"
|
|
40756
|
+
});
|
|
40610
40757
|
/**
|
|
40611
40758
|
* `login-method` — collection cap through which auth addons contribute
|
|
40612
40759
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -43168,6 +43315,33 @@ var NcRuleTargetSchema = object({
|
|
|
43168
43315
|
params: record(string(), unknown()).optional()
|
|
43169
43316
|
});
|
|
43170
43317
|
/**
|
|
43318
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43319
|
+
*
|
|
43320
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43321
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43322
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43323
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43324
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43325
|
+
* labelled with class and confidence ("dog 87%").
|
|
43326
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43327
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43328
|
+
* - `none` — no picture.
|
|
43329
|
+
*
|
|
43330
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43331
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43332
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43333
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43334
|
+
* stored kind had landed.
|
|
43335
|
+
*/
|
|
43336
|
+
var NcMediaImageSchema = _enum([
|
|
43337
|
+
"scene-boxes",
|
|
43338
|
+
"crop",
|
|
43339
|
+
"clean",
|
|
43340
|
+
"none"
|
|
43341
|
+
]);
|
|
43342
|
+
/**
|
|
43343
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43344
|
+
*
|
|
43171
43345
|
* Media attachment policy (P1 still-image subset).
|
|
43172
43346
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
43173
43347
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -43181,6 +43355,8 @@ var NcRuleTargetSchema = object({
|
|
|
43181
43355
|
* - `none` — no attachment.
|
|
43182
43356
|
*/
|
|
43183
43357
|
/**
|
|
43358
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43359
|
+
*
|
|
43184
43360
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
43185
43361
|
* conflate it with the selection strategy and betray the request: asking for
|
|
43186
43362
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -43209,16 +43385,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
43209
43385
|
*/
|
|
43210
43386
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
43211
43387
|
var NcMediaPolicySchema = object({
|
|
43388
|
+
/**
|
|
43389
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43390
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43391
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43392
|
+
*/
|
|
43393
|
+
image: NcMediaImageSchema.optional(),
|
|
43394
|
+
/**
|
|
43395
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43396
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43397
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43398
|
+
* Replaces `zoneCrop`.
|
|
43399
|
+
*/
|
|
43400
|
+
showTriggerZone: boolean().optional(),
|
|
43401
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43212
43402
|
attach: _enum([
|
|
43213
43403
|
"best",
|
|
43214
43404
|
"best-matching",
|
|
43215
43405
|
"keyFrame",
|
|
43216
43406
|
"none"
|
|
43217
|
-
]).
|
|
43218
|
-
/**
|
|
43407
|
+
]).optional(),
|
|
43408
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43219
43409
|
frame: NcMediaFrameSchema.optional(),
|
|
43220
|
-
/**
|
|
43221
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43410
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
43222
43411
|
zoneCrop: boolean().optional(),
|
|
43223
43412
|
/**
|
|
43224
43413
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -43390,7 +43579,9 @@ var NcRuleInputSchema = object({
|
|
|
43390
43579
|
* targets.
|
|
43391
43580
|
*/
|
|
43392
43581
|
targetUsers: array(string()).optional(),
|
|
43393
|
-
|
|
43582
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43583
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43584
|
+
media: NcMediaPolicySchema.default({}),
|
|
43394
43585
|
throttle: NcThrottleSchema.default({
|
|
43395
43586
|
cooldownSec: 60,
|
|
43396
43587
|
scope: "rule-device"
|
|
@@ -44327,13 +44518,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44327
44518
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44328
44519
|
unknown: array(number().int())
|
|
44329
44520
|
});
|
|
44521
|
+
/**
|
|
44522
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44523
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44524
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44525
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44526
|
+
*/
|
|
44527
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44528
|
+
ruleId: string(),
|
|
44529
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44530
|
+
ruleName: string(),
|
|
44531
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44532
|
+
deviceId: number().int(),
|
|
44533
|
+
/** The input's current name. */
|
|
44534
|
+
name: string(),
|
|
44535
|
+
/** When it was bypassed (ms epoch). */
|
|
44536
|
+
since: number(),
|
|
44537
|
+
/** Triggers from this input dropped since. */
|
|
44538
|
+
dropped: number().int().min(0)
|
|
44539
|
+
});
|
|
44330
44540
|
var NcAlarmLiveSchema = object({
|
|
44331
44541
|
state: AlarmStateSchema,
|
|
44332
44542
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44333
44543
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44334
44544
|
availableModes: array(AlarmArmModeSchema),
|
|
44335
44545
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44336
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44546
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44547
|
+
/**
|
|
44548
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44549
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44550
|
+
*/
|
|
44551
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44337
44552
|
});
|
|
44338
44553
|
var NcAlarmConfigSchema = object({
|
|
44339
44554
|
/**
|
|
@@ -66070,7 +66285,19 @@ Object.freeze({
|
|
|
66070
66285
|
addonId: null,
|
|
66071
66286
|
access: "view"
|
|
66072
66287
|
},
|
|
66073
|
-
"logDestination.
|
|
66288
|
+
"logDestination.cancelRead": {
|
|
66289
|
+
capName: "log-destination",
|
|
66290
|
+
capScope: "system",
|
|
66291
|
+
addonId: null,
|
|
66292
|
+
access: "create"
|
|
66293
|
+
},
|
|
66294
|
+
"logDestination.describeRead": {
|
|
66295
|
+
capName: "log-destination",
|
|
66296
|
+
capScope: "system",
|
|
66297
|
+
addonId: null,
|
|
66298
|
+
access: "view"
|
|
66299
|
+
},
|
|
66300
|
+
"logDestination.read": {
|
|
66074
66301
|
capName: "log-destination",
|
|
66075
66302
|
capScope: "system",
|
|
66076
66303
|
addonId: null,
|
|
@@ -72077,6 +72304,11 @@ Object.freeze({
|
|
|
72077
72304
|
form: "single",
|
|
72078
72305
|
optional: false
|
|
72079
72306
|
}],
|
|
72307
|
+
"logDestination.read": [{
|
|
72308
|
+
name: "deviceId",
|
|
72309
|
+
form: "single",
|
|
72310
|
+
optional: true
|
|
72311
|
+
}],
|
|
72080
72312
|
"mediaPlayer.getStatus": [{
|
|
72081
72313
|
name: "deviceId",
|
|
72082
72314
|
form: "single",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, d as t, u as n, v as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
|
|
3
|
-
import { g as s, h as c } from "./responsive-
|
|
3
|
+
import { g as s, h as c } from "./responsive-7Q45kP8J.mjs";
|
|
4
4
|
var l = s("chevron-down", [["path", {
|
|
5
5
|
d: "m6 9 6 6 6-6",
|
|
6
6
|
key: "qrunsl"
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BkEmqrtC.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, d as t, g as n, i as r, l as i, n as a, r as o, u as s, v as c, y as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
|
|
3
|
-
import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
3
|
+
import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Ss7FN2Gd.mjs";
|
|
4
4
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
5
5
|
e();
|
|
6
6
|
var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, g as t, l as n, v as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
|
|
2
2
|
import { n as i } from "./ui-text-BqZa5BNK.mjs";
|
|
3
|
-
import { g as a } from "./responsive-
|
|
3
|
+
import { g as a } from "./responsive-7Q45kP8J.mjs";
|
|
4
4
|
var o = a("camera", [["path", {
|
|
5
5
|
d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
|
|
6
6
|
key: "18u6gg"
|
|
@@ -2753,7 +2753,7 @@ async function rr(e) {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
2755
|
async function ir() {
|
|
2756
|
-
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DZN7cTDO.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|