@camstack/addon-terminal 0.1.85 → 0.1.87
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/addon.js +36 -9
- package/dist/addon.mjs +36 -9
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -12150,6 +12150,9 @@ var QueryFilterSchema = object({
|
|
|
12150
12150
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
12151
12151
|
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
12152
12152
|
whereNot: record(string(), unknown()).optional(),
|
|
12153
|
+
/** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
|
|
12154
|
+
* empty list excludes nothing. See `QueryFilter.whereNotIn`. */
|
|
12155
|
+
whereNotIn: record(string(), array(unknown())).optional(),
|
|
12153
12156
|
orderBy: object({
|
|
12154
12157
|
field: string(),
|
|
12155
12158
|
direction: _enum(["asc", "desc"])
|
|
@@ -12170,7 +12173,8 @@ var MutationFilterSchema = object({
|
|
|
12170
12173
|
where: record(string(), unknown()).optional(),
|
|
12171
12174
|
whereIn: record(string(), array(unknown())).optional(),
|
|
12172
12175
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
12173
|
-
whereNot: record(string(), unknown()).optional()
|
|
12176
|
+
whereNot: record(string(), unknown()).optional(),
|
|
12177
|
+
whereNotIn: record(string(), array(unknown())).optional()
|
|
12174
12178
|
});
|
|
12175
12179
|
/**
|
|
12176
12180
|
* One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
|
|
@@ -18845,10 +18849,12 @@ var TrackSourceSchema = _enum([
|
|
|
18845
18849
|
* Terminal for the plain `markForTrain` toggle: returning it to `staging` is
|
|
18846
18850
|
* a deliberate action of the retrain page, not a side effect of a checkbox.
|
|
18847
18851
|
*
|
|
18848
|
-
* There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'`
|
|
18849
|
-
*
|
|
18850
|
-
*
|
|
18851
|
-
*
|
|
18852
|
+
* There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
|
|
18853
|
+
* every row is selectable by a positive predicate. (The filter language has
|
|
18854
|
+
* since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
|
|
18855
|
+
* of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
|
|
18856
|
+
* filtered on a NULLABLE column — see `excludeSources`. It did not when this
|
|
18857
|
+
* column was designed, and a NOT NULL column is still the better shape.)
|
|
18852
18858
|
*/
|
|
18853
18859
|
var RetrainStatusSchema = _enum([
|
|
18854
18860
|
"none",
|
|
@@ -19584,7 +19590,9 @@ var RecentTracksQueryInput = object({
|
|
|
19584
19590
|
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19585
19591
|
* exact one.
|
|
19586
19592
|
*/
|
|
19587
|
-
classes: array(string()).optional()
|
|
19593
|
+
classes: array(string()).optional(),
|
|
19594
|
+
/** See {@link ExcludeSourcesDoc}. */
|
|
19595
|
+
excludeSources: array(TrackSourceSchema).optional()
|
|
19588
19596
|
});
|
|
19589
19597
|
/**
|
|
19590
19598
|
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
@@ -20012,7 +20020,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20012
20020
|
* selected is an operator who has not narrowed anything, and an empty
|
|
20013
20021
|
* timeline would read as a camera that saw nothing.
|
|
20014
20022
|
*/
|
|
20015
|
-
classes: array(string()).optional()
|
|
20023
|
+
classes: array(string()).optional(),
|
|
20024
|
+
/** See {@link ExcludeSourcesDoc}. */
|
|
20025
|
+
excludeSources: array(TrackSourceSchema).optional()
|
|
20016
20026
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20017
20027
|
kind: "mutation",
|
|
20018
20028
|
auth: "admin"
|
|
@@ -20517,8 +20527,25 @@ var occupancyRecheckFramesField = {
|
|
|
20517
20527
|
* (analyzer attaches detected `regions[]`; onboard does not — the
|
|
20518
20528
|
* camera typically only reports a binary signal plus an optional
|
|
20519
20529
|
* channel/AI class which lives in dedicated event channels).
|
|
20520
|
-
|
|
20521
|
-
|
|
20530
|
+
*
|
|
20531
|
+
* - `onboard` — the camera's firmware said something moved.
|
|
20532
|
+
* - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
|
|
20533
|
+
* - `device-activity` — the DEVICE said it is doing its job: the
|
|
20534
|
+
* `recording-signal` LEVEL the same device raises for the recorder
|
|
20535
|
+
* ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
|
|
20536
|
+
* republished as a motion source. It attaches **nothing** — no regions, no
|
|
20537
|
+
* class: the only fact it carries is that the device is active, and a robot
|
|
20538
|
+
* vacuum that is itself the moving object has no region worth sending. It is
|
|
20539
|
+
* a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
|
|
20540
|
+
* `analyzer` it must not open the frame-diff side-channel — the runner's
|
|
20541
|
+
* `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
|
|
20542
|
+
* way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
|
|
20543
|
+
*/
|
|
20544
|
+
var MotionSourceEnum = _enum([
|
|
20545
|
+
"onboard",
|
|
20546
|
+
"analyzer",
|
|
20547
|
+
"device-activity"
|
|
20548
|
+
]);
|
|
20522
20549
|
/**
|
|
20523
20550
|
* List of motion sources active on a camera. Empty array is valid:
|
|
20524
20551
|
* "no source" — happens for battery cams without firmware motion when
|
package/dist/addon.mjs
CHANGED
|
@@ -12127,6 +12127,9 @@ var QueryFilterSchema = object({
|
|
|
12127
12127
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
12128
12128
|
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
12129
12129
|
whereNot: record(string(), unknown()).optional(),
|
|
12130
|
+
/** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
|
|
12131
|
+
* empty list excludes nothing. See `QueryFilter.whereNotIn`. */
|
|
12132
|
+
whereNotIn: record(string(), array(unknown())).optional(),
|
|
12130
12133
|
orderBy: object({
|
|
12131
12134
|
field: string(),
|
|
12132
12135
|
direction: _enum(["asc", "desc"])
|
|
@@ -12147,7 +12150,8 @@ var MutationFilterSchema = object({
|
|
|
12147
12150
|
where: record(string(), unknown()).optional(),
|
|
12148
12151
|
whereIn: record(string(), array(unknown())).optional(),
|
|
12149
12152
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
12150
|
-
whereNot: record(string(), unknown()).optional()
|
|
12153
|
+
whereNot: record(string(), unknown()).optional(),
|
|
12154
|
+
whereNotIn: record(string(), array(unknown())).optional()
|
|
12151
12155
|
});
|
|
12152
12156
|
/**
|
|
12153
12157
|
* One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
|
|
@@ -18822,10 +18826,12 @@ var TrackSourceSchema = _enum([
|
|
|
18822
18826
|
* Terminal for the plain `markForTrain` toggle: returning it to `staging` is
|
|
18823
18827
|
* a deliberate action of the retrain page, not a side effect of a checkbox.
|
|
18824
18828
|
*
|
|
18825
|
-
* There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'`
|
|
18826
|
-
*
|
|
18827
|
-
*
|
|
18828
|
-
*
|
|
18829
|
+
* There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
|
|
18830
|
+
* every row is selectable by a positive predicate. (The filter language has
|
|
18831
|
+
* since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
|
|
18832
|
+
* of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
|
|
18833
|
+
* filtered on a NULLABLE column — see `excludeSources`. It did not when this
|
|
18834
|
+
* column was designed, and a NOT NULL column is still the better shape.)
|
|
18829
18835
|
*/
|
|
18830
18836
|
var RetrainStatusSchema = _enum([
|
|
18831
18837
|
"none",
|
|
@@ -19561,7 +19567,9 @@ var RecentTracksQueryInput = object({
|
|
|
19561
19567
|
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19562
19568
|
* exact one.
|
|
19563
19569
|
*/
|
|
19564
|
-
classes: array(string()).optional()
|
|
19570
|
+
classes: array(string()).optional(),
|
|
19571
|
+
/** See {@link ExcludeSourcesDoc}. */
|
|
19572
|
+
excludeSources: array(TrackSourceSchema).optional()
|
|
19565
19573
|
});
|
|
19566
19574
|
/**
|
|
19567
19575
|
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
@@ -19989,7 +19997,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19989
19997
|
* selected is an operator who has not narrowed anything, and an empty
|
|
19990
19998
|
* timeline would read as a camera that saw nothing.
|
|
19991
19999
|
*/
|
|
19992
|
-
classes: array(string()).optional()
|
|
20000
|
+
classes: array(string()).optional(),
|
|
20001
|
+
/** See {@link ExcludeSourcesDoc}. */
|
|
20002
|
+
excludeSources: array(TrackSourceSchema).optional()
|
|
19993
20003
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19994
20004
|
kind: "mutation",
|
|
19995
20005
|
auth: "admin"
|
|
@@ -20494,8 +20504,25 @@ var occupancyRecheckFramesField = {
|
|
|
20494
20504
|
* (analyzer attaches detected `regions[]`; onboard does not — the
|
|
20495
20505
|
* camera typically only reports a binary signal plus an optional
|
|
20496
20506
|
* channel/AI class which lives in dedicated event channels).
|
|
20497
|
-
|
|
20498
|
-
|
|
20507
|
+
*
|
|
20508
|
+
* - `onboard` — the camera's firmware said something moved.
|
|
20509
|
+
* - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
|
|
20510
|
+
* - `device-activity` — the DEVICE said it is doing its job: the
|
|
20511
|
+
* `recording-signal` LEVEL the same device raises for the recorder
|
|
20512
|
+
* ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
|
|
20513
|
+
* republished as a motion source. It attaches **nothing** — no regions, no
|
|
20514
|
+
* class: the only fact it carries is that the device is active, and a robot
|
|
20515
|
+
* vacuum that is itself the moving object has no region worth sending. It is
|
|
20516
|
+
* a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
|
|
20517
|
+
* `analyzer` it must not open the frame-diff side-channel — the runner's
|
|
20518
|
+
* `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
|
|
20519
|
+
* way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
|
|
20520
|
+
*/
|
|
20521
|
+
var MotionSourceEnum = _enum([
|
|
20522
|
+
"onboard",
|
|
20523
|
+
"analyzer",
|
|
20524
|
+
"device-activity"
|
|
20525
|
+
]);
|
|
20499
20526
|
/**
|
|
20500
20527
|
* List of motion sources active on a camera. Empty array is valid:
|
|
20501
20528
|
* "no source" — happens for battery cams without firmware motion when
|