@camstack/addon-provider-rademacher 0.2.99 → 0.2.100
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 +162 -9
- package/dist/addon.mjs +162 -9
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -6331,7 +6331,7 @@ var ZodIssueCode = {
|
|
|
6331
6331
|
var ZodFirstPartyTypeKind;
|
|
6332
6332
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6333
6333
|
//#endregion
|
|
6334
|
-
//#region ../types/dist/sleep-
|
|
6334
|
+
//#region ../types/dist/sleep-DBKu2-U5.mjs
|
|
6335
6335
|
/**
|
|
6336
6336
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6337
6337
|
* window to float samples (D455).
|
|
@@ -8360,7 +8360,23 @@ var EncodeProfileSchema = object({
|
|
|
8360
8360
|
"zerolatency",
|
|
8361
8361
|
"film",
|
|
8362
8362
|
"animation"
|
|
8363
|
-
]).optional()
|
|
8363
|
+
]).optional(),
|
|
8364
|
+
/**
|
|
8365
|
+
* ONE slice per access unit.
|
|
8366
|
+
*
|
|
8367
|
+
* `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
|
|
8368
|
+
* the encoder as five NAL slices that share one RTP timestamp and carry one
|
|
8369
|
+
* marker bit. A libwebrtc depacketiser sees five frame-starts and one
|
|
8370
|
+
* frame-end per frame: the first pictures render and the video then freezes
|
|
8371
|
+
* for good while the audio, on its own plane, plays on. Measured on this hub
|
|
8372
|
+
* 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
|
|
8373
|
+
*
|
|
8374
|
+
* A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
|
|
8375
|
+
* `outputArgs` on purpose: an opaque array is part of the sharing key, so two
|
|
8376
|
+
* consumers meaning the same thing spelled differently would stop sharing one
|
|
8377
|
+
* child. Absent means "whatever the encoder does" — today's behaviour.
|
|
8378
|
+
*/
|
|
8379
|
+
singleSlicePerFrame: boolean().optional()
|
|
8364
8380
|
}),
|
|
8365
8381
|
audio: union([literal("passthrough"), object({
|
|
8366
8382
|
codec: _enum([
|
|
@@ -8410,7 +8426,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
|
|
|
8410
8426
|
audio: "passthrough"
|
|
8411
8427
|
};
|
|
8412
8428
|
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
8413
|
-
({ ...BASE_LIVE_EGRESS_PROFILE });
|
|
8429
|
+
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
8414
8430
|
/**
|
|
8415
8431
|
* Deep wiring healthcheck — snapshot of active reachability probes across
|
|
8416
8432
|
* every declared capability + widget of every installed plugin, on every
|
|
@@ -21115,13 +21131,109 @@ var SummariesQueryInput = object({
|
|
|
21115
21131
|
deviceIds: array(number()).min(1),
|
|
21116
21132
|
since: number().optional(),
|
|
21117
21133
|
until: number().optional(),
|
|
21118
|
-
limit: number().int().min(1).max(200).default(50)
|
|
21134
|
+
limit: number().int().min(1).max(200).default(50),
|
|
21135
|
+
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
21136
|
+
* meaning of "dog" on every summary surface. */
|
|
21137
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
21119
21138
|
});
|
|
21120
|
-
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
21121
21139
|
var SummaryDetailSchema = object({
|
|
21122
21140
|
summary: SummarySchema,
|
|
21123
|
-
/**
|
|
21124
|
-
|
|
21141
|
+
/** Members in absorption order, oldest join first. */
|
|
21142
|
+
members: array(object({
|
|
21143
|
+
trackId: string(),
|
|
21144
|
+
/**
|
|
21145
|
+
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
21146
|
+
* and the track no longer exists to fill it.
|
|
21147
|
+
*
|
|
21148
|
+
* The join, not the latest opinion: class voting can re-decide a track's
|
|
21149
|
+
* class afterwards, and a group's composition is the history of who came
|
|
21150
|
+
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
21151
|
+
* dog" — rather than being handed a second, denormalised tally that would
|
|
21152
|
+
* drift from the members it claims to describe.
|
|
21153
|
+
*/
|
|
21154
|
+
className: string().nullable(),
|
|
21155
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
21156
|
+
role: _enum([
|
|
21157
|
+
"primary",
|
|
21158
|
+
"sibling",
|
|
21159
|
+
"child"
|
|
21160
|
+
]).nullable(),
|
|
21161
|
+
joinedAt: number(),
|
|
21162
|
+
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
21163
|
+
* at read time. Absent when nothing resolved, never an empty string. */
|
|
21164
|
+
label: string().optional(),
|
|
21165
|
+
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
21166
|
+
* recognised nobody, and absent for a member whose track has been pruned —
|
|
21167
|
+
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
21168
|
+
subLabel: string().optional()
|
|
21169
|
+
})).readonly()
|
|
21170
|
+
});
|
|
21171
|
+
/**
|
|
21172
|
+
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
21173
|
+
*
|
|
21174
|
+
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
21175
|
+
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
21176
|
+
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
21177
|
+
* are on {@link getSummary}: shipping every member of every group so a client
|
|
21178
|
+
* can count them turns a page of two hundred groups into a thousand records to
|
|
21179
|
+
* draw two hundred badges.
|
|
21180
|
+
*/
|
|
21181
|
+
var SummaryListItemSchema = object({
|
|
21182
|
+
summary: SummarySchema,
|
|
21183
|
+
/** Class counts, most numerous first; `className: null` is a member whose
|
|
21184
|
+
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
21185
|
+
classes: array(object({
|
|
21186
|
+
className: string().nullable(),
|
|
21187
|
+
count: number().int().positive()
|
|
21188
|
+
})).readonly()
|
|
21189
|
+
});
|
|
21190
|
+
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
21191
|
+
/**
|
|
21192
|
+
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
21193
|
+
*
|
|
21194
|
+
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
21195
|
+
* summaries feed that could only answer "the last N for these cameras"
|
|
21196
|
+
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
21197
|
+
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
21198
|
+
* "newest" means, on one screen.
|
|
21199
|
+
*/
|
|
21200
|
+
var RecentSummariesQueryInput = object({
|
|
21201
|
+
/** Devices to merge. An empty array yields an empty page. */
|
|
21202
|
+
deviceIds: array(number()),
|
|
21203
|
+
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
21204
|
+
since: number().optional(),
|
|
21205
|
+
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
21206
|
+
until: number().optional(),
|
|
21207
|
+
limit: number().int().min(1).max(500).default(100),
|
|
21208
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
21209
|
+
cursor: string().optional(),
|
|
21210
|
+
/**
|
|
21211
|
+
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
21212
|
+
* deliberately the same name: the events filter tree emits one list of ticked
|
|
21213
|
+
* taxonomy nodes, and a summaries feed that called it something else would
|
|
21214
|
+
* make the operator's one filter component produce two shapes.
|
|
21215
|
+
*
|
|
21216
|
+
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
21217
|
+
* me the arrivals with a dog" has to return the group of four people who had
|
|
21218
|
+
* one with them; a filter on the group's own fields could only ever answer
|
|
21219
|
+
* about its primary.
|
|
21220
|
+
*
|
|
21221
|
+
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
21222
|
+
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
21223
|
+
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
21224
|
+
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
21225
|
+
* that read only the class would answer "animal" and never "dog".
|
|
21226
|
+
*
|
|
21227
|
+
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
21228
|
+
*/
|
|
21229
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
21230
|
+
});
|
|
21231
|
+
var RecentSummariesPageSchema = object({
|
|
21232
|
+
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
21233
|
+
* {@link listSummaries} — one list shape, so a card renders the same
|
|
21234
|
+
* whichever feed drew it. */
|
|
21235
|
+
summaries: array(SummaryListItemSchema).readonly(),
|
|
21236
|
+
nextCursor: string().nullable()
|
|
21125
21237
|
});
|
|
21126
21238
|
var RecentTracksPageSchema = object({
|
|
21127
21239
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -21535,7 +21647,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
21535
21647
|
classes: array(string()).optional(),
|
|
21536
21648
|
/** See {@link ExcludeSourcesDoc}. */
|
|
21537
21649
|
excludeSources: array(TrackSourceSchema).optional()
|
|
21538
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
21650
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
21539
21651
|
kind: "mutation",
|
|
21540
21652
|
auth: "admin"
|
|
21541
21653
|
}), 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({
|
|
@@ -33288,7 +33400,29 @@ var LoggingSettingsPatchSchema = object({
|
|
|
33288
33400
|
* disarmed the channels it did not mention would make the Levels page and
|
|
33289
33401
|
* the Diagnostics page fight over the same value.
|
|
33290
33402
|
*/
|
|
33291
|
-
channels: array(LogChannelWindowPatchSchema).readonly().optional()
|
|
33403
|
+
channels: array(LogChannelWindowPatchSchema).readonly().optional(),
|
|
33404
|
+
/**
|
|
33405
|
+
* How many days the analytics OPS LOG is kept — the audit trail of what
|
|
33406
|
+
* retention actually deleted.
|
|
33407
|
+
*
|
|
33408
|
+
* It lives HERE, on the logging document, and not on the analytics addon's
|
|
33409
|
+
* settings form, on the operator's instruction: every other log-ish window in
|
|
33410
|
+
* this system is configured through this one document, and a retention audit
|
|
33411
|
+
* configured somewhere else is a second place to look when the question is
|
|
33412
|
+
* "what happened to my data".
|
|
33413
|
+
*
|
|
33414
|
+
* That placement has a cost worth stating: this document ships in the
|
|
33415
|
+
* framework closure, so this knob needs a published `@camstack/server` while
|
|
33416
|
+
* the four windows beside it (D485) reach a node on `camstack deploy`.
|
|
33417
|
+
*
|
|
33418
|
+
* `retention-model.ts` argued this one must NOT follow a device window,
|
|
33419
|
+
* because the audit trail is the history of the SWEEP and not of the camera.
|
|
33420
|
+
* That argument stands and is untouched — what changes is that 30 days stops
|
|
33421
|
+
* being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
|
|
33422
|
+
* rather than 0-as-delete: an audit log truncated to nothing is precisely the
|
|
33423
|
+
* state in which the next 9.5 GiB leak cannot be explained.
|
|
33424
|
+
*/
|
|
33425
|
+
opsLogRetentionDays: number().int().min(0).max(3650).optional()
|
|
33292
33426
|
});
|
|
33293
33427
|
/**
|
|
33294
33428
|
* Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
|
|
@@ -33361,6 +33495,14 @@ var LoggingSettingsStateSchema = object({
|
|
|
33361
33495
|
channels: array(LogChannelDescriptorSchema).readonly(),
|
|
33362
33496
|
/** The channels ARMED right now, each with its deadline. */
|
|
33363
33497
|
activeChannels: array(LogChannelWindowStateSchema).readonly(),
|
|
33498
|
+
/**
|
|
33499
|
+
* The ops-log window in days, as it is in force. `0` = kept forever.
|
|
33500
|
+
*
|
|
33501
|
+
* Reported rather than left to the caller's memory of what it wrote: this is
|
|
33502
|
+
* the value the analytics sweep will actually use, and an operator asking how
|
|
33503
|
+
* long their audit trail lives should not have to infer it from a default.
|
|
33504
|
+
*/
|
|
33505
|
+
opsLogRetentionDays: number().int().min(0),
|
|
33364
33506
|
persisted: boolean()
|
|
33365
33507
|
});
|
|
33366
33508
|
method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
|
|
@@ -39361,6 +39503,12 @@ Object.freeze({
|
|
|
39361
39503
|
addonId: null,
|
|
39362
39504
|
access: "view"
|
|
39363
39505
|
},
|
|
39506
|
+
"pipelineAnalytics.listRecentSummaries": {
|
|
39507
|
+
capName: "pipeline-analytics",
|
|
39508
|
+
capScope: "device",
|
|
39509
|
+
addonId: null,
|
|
39510
|
+
access: "view"
|
|
39511
|
+
},
|
|
39364
39512
|
"pipelineAnalytics.listRecentTracks": {
|
|
39365
39513
|
capName: "pipeline-analytics",
|
|
39366
39514
|
capScope: "device",
|
|
@@ -43188,6 +43336,11 @@ Object.freeze({
|
|
|
43188
43336
|
form: "single",
|
|
43189
43337
|
optional: true
|
|
43190
43338
|
}],
|
|
43339
|
+
"pipelineAnalytics.listRecentSummaries": [{
|
|
43340
|
+
name: "deviceIds",
|
|
43341
|
+
form: "array",
|
|
43342
|
+
optional: false
|
|
43343
|
+
}],
|
|
43191
43344
|
"pipelineAnalytics.listRecentTracks": [{
|
|
43192
43345
|
name: "deviceIds",
|
|
43193
43346
|
form: "array",
|
package/dist/addon.mjs
CHANGED
|
@@ -6330,7 +6330,7 @@ var ZodIssueCode = {
|
|
|
6330
6330
|
var ZodFirstPartyTypeKind;
|
|
6331
6331
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6332
6332
|
//#endregion
|
|
6333
|
-
//#region ../types/dist/sleep-
|
|
6333
|
+
//#region ../types/dist/sleep-DBKu2-U5.mjs
|
|
6334
6334
|
/**
|
|
6335
6335
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6336
6336
|
* window to float samples (D455).
|
|
@@ -8359,7 +8359,23 @@ var EncodeProfileSchema = object({
|
|
|
8359
8359
|
"zerolatency",
|
|
8360
8360
|
"film",
|
|
8361
8361
|
"animation"
|
|
8362
|
-
]).optional()
|
|
8362
|
+
]).optional(),
|
|
8363
|
+
/**
|
|
8364
|
+
* ONE slice per access unit.
|
|
8365
|
+
*
|
|
8366
|
+
* `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
|
|
8367
|
+
* the encoder as five NAL slices that share one RTP timestamp and carry one
|
|
8368
|
+
* marker bit. A libwebrtc depacketiser sees five frame-starts and one
|
|
8369
|
+
* frame-end per frame: the first pictures render and the video then freezes
|
|
8370
|
+
* for good while the audio, on its own plane, plays on. Measured on this hub
|
|
8371
|
+
* 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
|
|
8372
|
+
*
|
|
8373
|
+
* A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
|
|
8374
|
+
* `outputArgs` on purpose: an opaque array is part of the sharing key, so two
|
|
8375
|
+
* consumers meaning the same thing spelled differently would stop sharing one
|
|
8376
|
+
* child. Absent means "whatever the encoder does" — today's behaviour.
|
|
8377
|
+
*/
|
|
8378
|
+
singleSlicePerFrame: boolean().optional()
|
|
8363
8379
|
}),
|
|
8364
8380
|
audio: union([literal("passthrough"), object({
|
|
8365
8381
|
codec: _enum([
|
|
@@ -8409,7 +8425,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
|
|
|
8409
8425
|
audio: "passthrough"
|
|
8410
8426
|
};
|
|
8411
8427
|
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
8412
|
-
({ ...BASE_LIVE_EGRESS_PROFILE });
|
|
8428
|
+
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
8413
8429
|
/**
|
|
8414
8430
|
* Deep wiring healthcheck — snapshot of active reachability probes across
|
|
8415
8431
|
* every declared capability + widget of every installed plugin, on every
|
|
@@ -21114,13 +21130,109 @@ var SummariesQueryInput = object({
|
|
|
21114
21130
|
deviceIds: array(number()).min(1),
|
|
21115
21131
|
since: number().optional(),
|
|
21116
21132
|
until: number().optional(),
|
|
21117
|
-
limit: number().int().min(1).max(200).default(50)
|
|
21133
|
+
limit: number().int().min(1).max(200).default(50),
|
|
21134
|
+
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
21135
|
+
* meaning of "dog" on every summary surface. */
|
|
21136
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
21118
21137
|
});
|
|
21119
|
-
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
21120
21138
|
var SummaryDetailSchema = object({
|
|
21121
21139
|
summary: SummarySchema,
|
|
21122
|
-
/**
|
|
21123
|
-
|
|
21140
|
+
/** Members in absorption order, oldest join first. */
|
|
21141
|
+
members: array(object({
|
|
21142
|
+
trackId: string(),
|
|
21143
|
+
/**
|
|
21144
|
+
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
21145
|
+
* and the track no longer exists to fill it.
|
|
21146
|
+
*
|
|
21147
|
+
* The join, not the latest opinion: class voting can re-decide a track's
|
|
21148
|
+
* class afterwards, and a group's composition is the history of who came
|
|
21149
|
+
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
21150
|
+
* dog" — rather than being handed a second, denormalised tally that would
|
|
21151
|
+
* drift from the members it claims to describe.
|
|
21152
|
+
*/
|
|
21153
|
+
className: string().nullable(),
|
|
21154
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
21155
|
+
role: _enum([
|
|
21156
|
+
"primary",
|
|
21157
|
+
"sibling",
|
|
21158
|
+
"child"
|
|
21159
|
+
]).nullable(),
|
|
21160
|
+
joinedAt: number(),
|
|
21161
|
+
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
21162
|
+
* at read time. Absent when nothing resolved, never an empty string. */
|
|
21163
|
+
label: string().optional(),
|
|
21164
|
+
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
21165
|
+
* recognised nobody, and absent for a member whose track has been pruned —
|
|
21166
|
+
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
21167
|
+
subLabel: string().optional()
|
|
21168
|
+
})).readonly()
|
|
21169
|
+
});
|
|
21170
|
+
/**
|
|
21171
|
+
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
21172
|
+
*
|
|
21173
|
+
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
21174
|
+
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
21175
|
+
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
21176
|
+
* are on {@link getSummary}: shipping every member of every group so a client
|
|
21177
|
+
* can count them turns a page of two hundred groups into a thousand records to
|
|
21178
|
+
* draw two hundred badges.
|
|
21179
|
+
*/
|
|
21180
|
+
var SummaryListItemSchema = object({
|
|
21181
|
+
summary: SummarySchema,
|
|
21182
|
+
/** Class counts, most numerous first; `className: null` is a member whose
|
|
21183
|
+
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
21184
|
+
classes: array(object({
|
|
21185
|
+
className: string().nullable(),
|
|
21186
|
+
count: number().int().positive()
|
|
21187
|
+
})).readonly()
|
|
21188
|
+
});
|
|
21189
|
+
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
21190
|
+
/**
|
|
21191
|
+
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
21192
|
+
*
|
|
21193
|
+
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
21194
|
+
* summaries feed that could only answer "the last N for these cameras"
|
|
21195
|
+
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
21196
|
+
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
21197
|
+
* "newest" means, on one screen.
|
|
21198
|
+
*/
|
|
21199
|
+
var RecentSummariesQueryInput = object({
|
|
21200
|
+
/** Devices to merge. An empty array yields an empty page. */
|
|
21201
|
+
deviceIds: array(number()),
|
|
21202
|
+
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
21203
|
+
since: number().optional(),
|
|
21204
|
+
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
21205
|
+
until: number().optional(),
|
|
21206
|
+
limit: number().int().min(1).max(500).default(100),
|
|
21207
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
21208
|
+
cursor: string().optional(),
|
|
21209
|
+
/**
|
|
21210
|
+
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
21211
|
+
* deliberately the same name: the events filter tree emits one list of ticked
|
|
21212
|
+
* taxonomy nodes, and a summaries feed that called it something else would
|
|
21213
|
+
* make the operator's one filter component produce two shapes.
|
|
21214
|
+
*
|
|
21215
|
+
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
21216
|
+
* me the arrivals with a dog" has to return the group of four people who had
|
|
21217
|
+
* one with them; a filter on the group's own fields could only ever answer
|
|
21218
|
+
* about its primary.
|
|
21219
|
+
*
|
|
21220
|
+
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
21221
|
+
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
21222
|
+
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
21223
|
+
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
21224
|
+
* that read only the class would answer "animal" and never "dog".
|
|
21225
|
+
*
|
|
21226
|
+
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
21227
|
+
*/
|
|
21228
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
21229
|
+
});
|
|
21230
|
+
var RecentSummariesPageSchema = object({
|
|
21231
|
+
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
21232
|
+
* {@link listSummaries} — one list shape, so a card renders the same
|
|
21233
|
+
* whichever feed drew it. */
|
|
21234
|
+
summaries: array(SummaryListItemSchema).readonly(),
|
|
21235
|
+
nextCursor: string().nullable()
|
|
21124
21236
|
});
|
|
21125
21237
|
var RecentTracksPageSchema = object({
|
|
21126
21238
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -21534,7 +21646,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
21534
21646
|
classes: array(string()).optional(),
|
|
21535
21647
|
/** See {@link ExcludeSourcesDoc}. */
|
|
21536
21648
|
excludeSources: array(TrackSourceSchema).optional()
|
|
21537
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
21649
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
21538
21650
|
kind: "mutation",
|
|
21539
21651
|
auth: "admin"
|
|
21540
21652
|
}), 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({
|
|
@@ -33287,7 +33399,29 @@ var LoggingSettingsPatchSchema = object({
|
|
|
33287
33399
|
* disarmed the channels it did not mention would make the Levels page and
|
|
33288
33400
|
* the Diagnostics page fight over the same value.
|
|
33289
33401
|
*/
|
|
33290
|
-
channels: array(LogChannelWindowPatchSchema).readonly().optional()
|
|
33402
|
+
channels: array(LogChannelWindowPatchSchema).readonly().optional(),
|
|
33403
|
+
/**
|
|
33404
|
+
* How many days the analytics OPS LOG is kept — the audit trail of what
|
|
33405
|
+
* retention actually deleted.
|
|
33406
|
+
*
|
|
33407
|
+
* It lives HERE, on the logging document, and not on the analytics addon's
|
|
33408
|
+
* settings form, on the operator's instruction: every other log-ish window in
|
|
33409
|
+
* this system is configured through this one document, and a retention audit
|
|
33410
|
+
* configured somewhere else is a second place to look when the question is
|
|
33411
|
+
* "what happened to my data".
|
|
33412
|
+
*
|
|
33413
|
+
* That placement has a cost worth stating: this document ships in the
|
|
33414
|
+
* framework closure, so this knob needs a published `@camstack/server` while
|
|
33415
|
+
* the four windows beside it (D485) reach a node on `camstack deploy`.
|
|
33416
|
+
*
|
|
33417
|
+
* `retention-model.ts` argued this one must NOT follow a device window,
|
|
33418
|
+
* because the audit trail is the history of the SWEEP and not of the camera.
|
|
33419
|
+
* That argument stands and is untouched — what changes is that 30 days stops
|
|
33420
|
+
* being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
|
|
33421
|
+
* rather than 0-as-delete: an audit log truncated to nothing is precisely the
|
|
33422
|
+
* state in which the next 9.5 GiB leak cannot be explained.
|
|
33423
|
+
*/
|
|
33424
|
+
opsLogRetentionDays: number().int().min(0).max(3650).optional()
|
|
33291
33425
|
});
|
|
33292
33426
|
/**
|
|
33293
33427
|
* Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
|
|
@@ -33360,6 +33494,14 @@ var LoggingSettingsStateSchema = object({
|
|
|
33360
33494
|
channels: array(LogChannelDescriptorSchema).readonly(),
|
|
33361
33495
|
/** The channels ARMED right now, each with its deadline. */
|
|
33362
33496
|
activeChannels: array(LogChannelWindowStateSchema).readonly(),
|
|
33497
|
+
/**
|
|
33498
|
+
* The ops-log window in days, as it is in force. `0` = kept forever.
|
|
33499
|
+
*
|
|
33500
|
+
* Reported rather than left to the caller's memory of what it wrote: this is
|
|
33501
|
+
* the value the analytics sweep will actually use, and an operator asking how
|
|
33502
|
+
* long their audit trail lives should not have to infer it from a default.
|
|
33503
|
+
*/
|
|
33504
|
+
opsLogRetentionDays: number().int().min(0),
|
|
33363
33505
|
persisted: boolean()
|
|
33364
33506
|
});
|
|
33365
33507
|
method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
|
|
@@ -39360,6 +39502,12 @@ Object.freeze({
|
|
|
39360
39502
|
addonId: null,
|
|
39361
39503
|
access: "view"
|
|
39362
39504
|
},
|
|
39505
|
+
"pipelineAnalytics.listRecentSummaries": {
|
|
39506
|
+
capName: "pipeline-analytics",
|
|
39507
|
+
capScope: "device",
|
|
39508
|
+
addonId: null,
|
|
39509
|
+
access: "view"
|
|
39510
|
+
},
|
|
39363
39511
|
"pipelineAnalytics.listRecentTracks": {
|
|
39364
39512
|
capName: "pipeline-analytics",
|
|
39365
39513
|
capScope: "device",
|
|
@@ -43187,6 +43335,11 @@ Object.freeze({
|
|
|
43187
43335
|
form: "single",
|
|
43188
43336
|
optional: true
|
|
43189
43337
|
}],
|
|
43338
|
+
"pipelineAnalytics.listRecentSummaries": [{
|
|
43339
|
+
name: "deviceIds",
|
|
43340
|
+
form: "array",
|
|
43341
|
+
optional: false
|
|
43342
|
+
}],
|
|
43190
43343
|
"pipelineAnalytics.listRecentTracks": [{
|
|
43191
43344
|
name: "deviceIds",
|
|
43192
43345
|
form: "array",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.100",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|