@camstack/addon-export-google 0.1.64 → 0.1.65
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/export-google.addon.js +162 -9
- package/dist/export-google.addon.mjs +162 -9
- package/package.json +1 -1
|
@@ -5424,7 +5424,7 @@ var ZodIssueCode = {
|
|
|
5424
5424
|
var ZodFirstPartyTypeKind;
|
|
5425
5425
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5426
5426
|
//#endregion
|
|
5427
|
-
//#region ../types/dist/sleep-
|
|
5427
|
+
//#region ../types/dist/sleep-DBKu2-U5.mjs
|
|
5428
5428
|
/**
|
|
5429
5429
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5430
5430
|
* window to float samples (D455).
|
|
@@ -7566,7 +7566,23 @@ var EncodeProfileSchema = object({
|
|
|
7566
7566
|
"zerolatency",
|
|
7567
7567
|
"film",
|
|
7568
7568
|
"animation"
|
|
7569
|
-
]).optional()
|
|
7569
|
+
]).optional(),
|
|
7570
|
+
/**
|
|
7571
|
+
* ONE slice per access unit.
|
|
7572
|
+
*
|
|
7573
|
+
* `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
|
|
7574
|
+
* the encoder as five NAL slices that share one RTP timestamp and carry one
|
|
7575
|
+
* marker bit. A libwebrtc depacketiser sees five frame-starts and one
|
|
7576
|
+
* frame-end per frame: the first pictures render and the video then freezes
|
|
7577
|
+
* for good while the audio, on its own plane, plays on. Measured on this hub
|
|
7578
|
+
* 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
|
|
7579
|
+
*
|
|
7580
|
+
* A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
|
|
7581
|
+
* `outputArgs` on purpose: an opaque array is part of the sharing key, so two
|
|
7582
|
+
* consumers meaning the same thing spelled differently would stop sharing one
|
|
7583
|
+
* child. Absent means "whatever the encoder does" — today's behaviour.
|
|
7584
|
+
*/
|
|
7585
|
+
singleSlicePerFrame: boolean().optional()
|
|
7570
7586
|
}),
|
|
7571
7587
|
audio: union([literal("passthrough"), object({
|
|
7572
7588
|
codec: _enum([
|
|
@@ -7616,7 +7632,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
|
|
|
7616
7632
|
audio: "passthrough"
|
|
7617
7633
|
};
|
|
7618
7634
|
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7619
|
-
({ ...BASE_LIVE_EGRESS_PROFILE });
|
|
7635
|
+
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7620
7636
|
/**
|
|
7621
7637
|
* Deep wiring healthcheck — snapshot of active reachability probes across
|
|
7622
7638
|
* every declared capability + widget of every installed plugin, on every
|
|
@@ -20042,13 +20058,109 @@ var SummariesQueryInput = object({
|
|
|
20042
20058
|
deviceIds: array(number()).min(1),
|
|
20043
20059
|
since: number().optional(),
|
|
20044
20060
|
until: number().optional(),
|
|
20045
|
-
limit: number().int().min(1).max(200).default(50)
|
|
20061
|
+
limit: number().int().min(1).max(200).default(50),
|
|
20062
|
+
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
20063
|
+
* meaning of "dog" on every summary surface. */
|
|
20064
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
20046
20065
|
});
|
|
20047
|
-
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
20048
20066
|
var SummaryDetailSchema = object({
|
|
20049
20067
|
summary: SummarySchema,
|
|
20050
|
-
/**
|
|
20051
|
-
|
|
20068
|
+
/** Members in absorption order, oldest join first. */
|
|
20069
|
+
members: array(object({
|
|
20070
|
+
trackId: string(),
|
|
20071
|
+
/**
|
|
20072
|
+
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
20073
|
+
* and the track no longer exists to fill it.
|
|
20074
|
+
*
|
|
20075
|
+
* The join, not the latest opinion: class voting can re-decide a track's
|
|
20076
|
+
* class afterwards, and a group's composition is the history of who came
|
|
20077
|
+
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
20078
|
+
* dog" — rather than being handed a second, denormalised tally that would
|
|
20079
|
+
* drift from the members it claims to describe.
|
|
20080
|
+
*/
|
|
20081
|
+
className: string().nullable(),
|
|
20082
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
20083
|
+
role: _enum([
|
|
20084
|
+
"primary",
|
|
20085
|
+
"sibling",
|
|
20086
|
+
"child"
|
|
20087
|
+
]).nullable(),
|
|
20088
|
+
joinedAt: number(),
|
|
20089
|
+
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
20090
|
+
* at read time. Absent when nothing resolved, never an empty string. */
|
|
20091
|
+
label: string().optional(),
|
|
20092
|
+
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
20093
|
+
* recognised nobody, and absent for a member whose track has been pruned —
|
|
20094
|
+
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
20095
|
+
subLabel: string().optional()
|
|
20096
|
+
})).readonly()
|
|
20097
|
+
});
|
|
20098
|
+
/**
|
|
20099
|
+
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
20100
|
+
*
|
|
20101
|
+
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
20102
|
+
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
20103
|
+
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
20104
|
+
* are on {@link getSummary}: shipping every member of every group so a client
|
|
20105
|
+
* can count them turns a page of two hundred groups into a thousand records to
|
|
20106
|
+
* draw two hundred badges.
|
|
20107
|
+
*/
|
|
20108
|
+
var SummaryListItemSchema = object({
|
|
20109
|
+
summary: SummarySchema,
|
|
20110
|
+
/** Class counts, most numerous first; `className: null` is a member whose
|
|
20111
|
+
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
20112
|
+
classes: array(object({
|
|
20113
|
+
className: string().nullable(),
|
|
20114
|
+
count: number().int().positive()
|
|
20115
|
+
})).readonly()
|
|
20116
|
+
});
|
|
20117
|
+
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
20118
|
+
/**
|
|
20119
|
+
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
20120
|
+
*
|
|
20121
|
+
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
20122
|
+
* summaries feed that could only answer "the last N for these cameras"
|
|
20123
|
+
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
20124
|
+
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
20125
|
+
* "newest" means, on one screen.
|
|
20126
|
+
*/
|
|
20127
|
+
var RecentSummariesQueryInput = object({
|
|
20128
|
+
/** Devices to merge. An empty array yields an empty page. */
|
|
20129
|
+
deviceIds: array(number()),
|
|
20130
|
+
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
20131
|
+
since: number().optional(),
|
|
20132
|
+
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
20133
|
+
until: number().optional(),
|
|
20134
|
+
limit: number().int().min(1).max(500).default(100),
|
|
20135
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
20136
|
+
cursor: string().optional(),
|
|
20137
|
+
/**
|
|
20138
|
+
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
20139
|
+
* deliberately the same name: the events filter tree emits one list of ticked
|
|
20140
|
+
* taxonomy nodes, and a summaries feed that called it something else would
|
|
20141
|
+
* make the operator's one filter component produce two shapes.
|
|
20142
|
+
*
|
|
20143
|
+
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
20144
|
+
* me the arrivals with a dog" has to return the group of four people who had
|
|
20145
|
+
* one with them; a filter on the group's own fields could only ever answer
|
|
20146
|
+
* about its primary.
|
|
20147
|
+
*
|
|
20148
|
+
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
20149
|
+
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
20150
|
+
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
20151
|
+
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
20152
|
+
* that read only the class would answer "animal" and never "dog".
|
|
20153
|
+
*
|
|
20154
|
+
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
20155
|
+
*/
|
|
20156
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
20157
|
+
});
|
|
20158
|
+
var RecentSummariesPageSchema = object({
|
|
20159
|
+
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
20160
|
+
* {@link listSummaries} — one list shape, so a card renders the same
|
|
20161
|
+
* whichever feed drew it. */
|
|
20162
|
+
summaries: array(SummaryListItemSchema).readonly(),
|
|
20163
|
+
nextCursor: string().nullable()
|
|
20052
20164
|
});
|
|
20053
20165
|
var RecentTracksPageSchema = object({
|
|
20054
20166
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -20462,7 +20574,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20462
20574
|
classes: array(string()).optional(),
|
|
20463
20575
|
/** See {@link ExcludeSourcesDoc}. */
|
|
20464
20576
|
excludeSources: array(TrackSourceSchema).optional()
|
|
20465
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20577
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20466
20578
|
kind: "mutation",
|
|
20467
20579
|
auth: "admin"
|
|
20468
20580
|
}), 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({
|
|
@@ -30087,7 +30199,29 @@ var LoggingSettingsPatchSchema = object({
|
|
|
30087
30199
|
* disarmed the channels it did not mention would make the Levels page and
|
|
30088
30200
|
* the Diagnostics page fight over the same value.
|
|
30089
30201
|
*/
|
|
30090
|
-
channels: array(LogChannelWindowPatchSchema).readonly().optional()
|
|
30202
|
+
channels: array(LogChannelWindowPatchSchema).readonly().optional(),
|
|
30203
|
+
/**
|
|
30204
|
+
* How many days the analytics OPS LOG is kept — the audit trail of what
|
|
30205
|
+
* retention actually deleted.
|
|
30206
|
+
*
|
|
30207
|
+
* It lives HERE, on the logging document, and not on the analytics addon's
|
|
30208
|
+
* settings form, on the operator's instruction: every other log-ish window in
|
|
30209
|
+
* this system is configured through this one document, and a retention audit
|
|
30210
|
+
* configured somewhere else is a second place to look when the question is
|
|
30211
|
+
* "what happened to my data".
|
|
30212
|
+
*
|
|
30213
|
+
* That placement has a cost worth stating: this document ships in the
|
|
30214
|
+
* framework closure, so this knob needs a published `@camstack/server` while
|
|
30215
|
+
* the four windows beside it (D485) reach a node on `camstack deploy`.
|
|
30216
|
+
*
|
|
30217
|
+
* `retention-model.ts` argued this one must NOT follow a device window,
|
|
30218
|
+
* because the audit trail is the history of the SWEEP and not of the camera.
|
|
30219
|
+
* That argument stands and is untouched — what changes is that 30 days stops
|
|
30220
|
+
* being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
|
|
30221
|
+
* rather than 0-as-delete: an audit log truncated to nothing is precisely the
|
|
30222
|
+
* state in which the next 9.5 GiB leak cannot be explained.
|
|
30223
|
+
*/
|
|
30224
|
+
opsLogRetentionDays: number().int().min(0).max(3650).optional()
|
|
30091
30225
|
});
|
|
30092
30226
|
/**
|
|
30093
30227
|
* Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
|
|
@@ -30160,6 +30294,14 @@ var LoggingSettingsStateSchema = object({
|
|
|
30160
30294
|
channels: array(LogChannelDescriptorSchema).readonly(),
|
|
30161
30295
|
/** The channels ARMED right now, each with its deadline. */
|
|
30162
30296
|
activeChannels: array(LogChannelWindowStateSchema).readonly(),
|
|
30297
|
+
/**
|
|
30298
|
+
* The ops-log window in days, as it is in force. `0` = kept forever.
|
|
30299
|
+
*
|
|
30300
|
+
* Reported rather than left to the caller's memory of what it wrote: this is
|
|
30301
|
+
* the value the analytics sweep will actually use, and an operator asking how
|
|
30302
|
+
* long their audit trail lives should not have to infer it from a default.
|
|
30303
|
+
*/
|
|
30304
|
+
opsLogRetentionDays: number().int().min(0),
|
|
30163
30305
|
persisted: boolean()
|
|
30164
30306
|
});
|
|
30165
30307
|
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(), {
|
|
@@ -34319,6 +34461,12 @@ Object.freeze({
|
|
|
34319
34461
|
addonId: null,
|
|
34320
34462
|
access: "view"
|
|
34321
34463
|
},
|
|
34464
|
+
"pipelineAnalytics.listRecentSummaries": {
|
|
34465
|
+
capName: "pipeline-analytics",
|
|
34466
|
+
capScope: "device",
|
|
34467
|
+
addonId: null,
|
|
34468
|
+
access: "view"
|
|
34469
|
+
},
|
|
34322
34470
|
"pipelineAnalytics.listRecentTracks": {
|
|
34323
34471
|
capName: "pipeline-analytics",
|
|
34324
34472
|
capScope: "device",
|
|
@@ -38146,6 +38294,11 @@ Object.freeze({
|
|
|
38146
38294
|
form: "single",
|
|
38147
38295
|
optional: true
|
|
38148
38296
|
}],
|
|
38297
|
+
"pipelineAnalytics.listRecentSummaries": [{
|
|
38298
|
+
name: "deviceIds",
|
|
38299
|
+
form: "array",
|
|
38300
|
+
optional: false
|
|
38301
|
+
}],
|
|
38149
38302
|
"pipelineAnalytics.listRecentTracks": [{
|
|
38150
38303
|
name: "deviceIds",
|
|
38151
38304
|
form: "array",
|
|
@@ -5420,7 +5420,7 @@ var ZodIssueCode = {
|
|
|
5420
5420
|
var ZodFirstPartyTypeKind;
|
|
5421
5421
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5422
5422
|
//#endregion
|
|
5423
|
-
//#region ../types/dist/sleep-
|
|
5423
|
+
//#region ../types/dist/sleep-DBKu2-U5.mjs
|
|
5424
5424
|
/**
|
|
5425
5425
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5426
5426
|
* window to float samples (D455).
|
|
@@ -7562,7 +7562,23 @@ var EncodeProfileSchema = object({
|
|
|
7562
7562
|
"zerolatency",
|
|
7563
7563
|
"film",
|
|
7564
7564
|
"animation"
|
|
7565
|
-
]).optional()
|
|
7565
|
+
]).optional(),
|
|
7566
|
+
/**
|
|
7567
|
+
* ONE slice per access unit.
|
|
7568
|
+
*
|
|
7569
|
+
* `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
|
|
7570
|
+
* the encoder as five NAL slices that share one RTP timestamp and carry one
|
|
7571
|
+
* marker bit. A libwebrtc depacketiser sees five frame-starts and one
|
|
7572
|
+
* frame-end per frame: the first pictures render and the video then freezes
|
|
7573
|
+
* for good while the audio, on its own plane, plays on. Measured on this hub
|
|
7574
|
+
* 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
|
|
7575
|
+
*
|
|
7576
|
+
* A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
|
|
7577
|
+
* `outputArgs` on purpose: an opaque array is part of the sharing key, so two
|
|
7578
|
+
* consumers meaning the same thing spelled differently would stop sharing one
|
|
7579
|
+
* child. Absent means "whatever the encoder does" — today's behaviour.
|
|
7580
|
+
*/
|
|
7581
|
+
singleSlicePerFrame: boolean().optional()
|
|
7566
7582
|
}),
|
|
7567
7583
|
audio: union([literal("passthrough"), object({
|
|
7568
7584
|
codec: _enum([
|
|
@@ -7612,7 +7628,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
|
|
|
7612
7628
|
audio: "passthrough"
|
|
7613
7629
|
};
|
|
7614
7630
|
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7615
|
-
({ ...BASE_LIVE_EGRESS_PROFILE });
|
|
7631
|
+
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7616
7632
|
/**
|
|
7617
7633
|
* Deep wiring healthcheck — snapshot of active reachability probes across
|
|
7618
7634
|
* every declared capability + widget of every installed plugin, on every
|
|
@@ -20038,13 +20054,109 @@ var SummariesQueryInput = object({
|
|
|
20038
20054
|
deviceIds: array(number()).min(1),
|
|
20039
20055
|
since: number().optional(),
|
|
20040
20056
|
until: number().optional(),
|
|
20041
|
-
limit: number().int().min(1).max(200).default(50)
|
|
20057
|
+
limit: number().int().min(1).max(200).default(50),
|
|
20058
|
+
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
20059
|
+
* meaning of "dog" on every summary surface. */
|
|
20060
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
20042
20061
|
});
|
|
20043
|
-
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
20044
20062
|
var SummaryDetailSchema = object({
|
|
20045
20063
|
summary: SummarySchema,
|
|
20046
|
-
/**
|
|
20047
|
-
|
|
20064
|
+
/** Members in absorption order, oldest join first. */
|
|
20065
|
+
members: array(object({
|
|
20066
|
+
trackId: string(),
|
|
20067
|
+
/**
|
|
20068
|
+
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
20069
|
+
* and the track no longer exists to fill it.
|
|
20070
|
+
*
|
|
20071
|
+
* The join, not the latest opinion: class voting can re-decide a track's
|
|
20072
|
+
* class afterwards, and a group's composition is the history of who came
|
|
20073
|
+
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
20074
|
+
* dog" — rather than being handed a second, denormalised tally that would
|
|
20075
|
+
* drift from the members it claims to describe.
|
|
20076
|
+
*/
|
|
20077
|
+
className: string().nullable(),
|
|
20078
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
20079
|
+
role: _enum([
|
|
20080
|
+
"primary",
|
|
20081
|
+
"sibling",
|
|
20082
|
+
"child"
|
|
20083
|
+
]).nullable(),
|
|
20084
|
+
joinedAt: number(),
|
|
20085
|
+
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
20086
|
+
* at read time. Absent when nothing resolved, never an empty string. */
|
|
20087
|
+
label: string().optional(),
|
|
20088
|
+
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
20089
|
+
* recognised nobody, and absent for a member whose track has been pruned —
|
|
20090
|
+
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
20091
|
+
subLabel: string().optional()
|
|
20092
|
+
})).readonly()
|
|
20093
|
+
});
|
|
20094
|
+
/**
|
|
20095
|
+
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
20096
|
+
*
|
|
20097
|
+
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
20098
|
+
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
20099
|
+
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
20100
|
+
* are on {@link getSummary}: shipping every member of every group so a client
|
|
20101
|
+
* can count them turns a page of two hundred groups into a thousand records to
|
|
20102
|
+
* draw two hundred badges.
|
|
20103
|
+
*/
|
|
20104
|
+
var SummaryListItemSchema = object({
|
|
20105
|
+
summary: SummarySchema,
|
|
20106
|
+
/** Class counts, most numerous first; `className: null` is a member whose
|
|
20107
|
+
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
20108
|
+
classes: array(object({
|
|
20109
|
+
className: string().nullable(),
|
|
20110
|
+
count: number().int().positive()
|
|
20111
|
+
})).readonly()
|
|
20112
|
+
});
|
|
20113
|
+
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
20114
|
+
/**
|
|
20115
|
+
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
20116
|
+
*
|
|
20117
|
+
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
20118
|
+
* summaries feed that could only answer "the last N for these cameras"
|
|
20119
|
+
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
20120
|
+
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
20121
|
+
* "newest" means, on one screen.
|
|
20122
|
+
*/
|
|
20123
|
+
var RecentSummariesQueryInput = object({
|
|
20124
|
+
/** Devices to merge. An empty array yields an empty page. */
|
|
20125
|
+
deviceIds: array(number()),
|
|
20126
|
+
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
20127
|
+
since: number().optional(),
|
|
20128
|
+
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
20129
|
+
until: number().optional(),
|
|
20130
|
+
limit: number().int().min(1).max(500).default(100),
|
|
20131
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
20132
|
+
cursor: string().optional(),
|
|
20133
|
+
/**
|
|
20134
|
+
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
20135
|
+
* deliberately the same name: the events filter tree emits one list of ticked
|
|
20136
|
+
* taxonomy nodes, and a summaries feed that called it something else would
|
|
20137
|
+
* make the operator's one filter component produce two shapes.
|
|
20138
|
+
*
|
|
20139
|
+
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
20140
|
+
* me the arrivals with a dog" has to return the group of four people who had
|
|
20141
|
+
* one with them; a filter on the group's own fields could only ever answer
|
|
20142
|
+
* about its primary.
|
|
20143
|
+
*
|
|
20144
|
+
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
20145
|
+
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
20146
|
+
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
20147
|
+
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
20148
|
+
* that read only the class would answer "animal" and never "dog".
|
|
20149
|
+
*
|
|
20150
|
+
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
20151
|
+
*/
|
|
20152
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
20153
|
+
});
|
|
20154
|
+
var RecentSummariesPageSchema = object({
|
|
20155
|
+
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
20156
|
+
* {@link listSummaries} — one list shape, so a card renders the same
|
|
20157
|
+
* whichever feed drew it. */
|
|
20158
|
+
summaries: array(SummaryListItemSchema).readonly(),
|
|
20159
|
+
nextCursor: string().nullable()
|
|
20048
20160
|
});
|
|
20049
20161
|
var RecentTracksPageSchema = object({
|
|
20050
20162
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -20458,7 +20570,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20458
20570
|
classes: array(string()).optional(),
|
|
20459
20571
|
/** See {@link ExcludeSourcesDoc}. */
|
|
20460
20572
|
excludeSources: array(TrackSourceSchema).optional()
|
|
20461
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20573
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20462
20574
|
kind: "mutation",
|
|
20463
20575
|
auth: "admin"
|
|
20464
20576
|
}), 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({
|
|
@@ -30083,7 +30195,29 @@ var LoggingSettingsPatchSchema = object({
|
|
|
30083
30195
|
* disarmed the channels it did not mention would make the Levels page and
|
|
30084
30196
|
* the Diagnostics page fight over the same value.
|
|
30085
30197
|
*/
|
|
30086
|
-
channels: array(LogChannelWindowPatchSchema).readonly().optional()
|
|
30198
|
+
channels: array(LogChannelWindowPatchSchema).readonly().optional(),
|
|
30199
|
+
/**
|
|
30200
|
+
* How many days the analytics OPS LOG is kept — the audit trail of what
|
|
30201
|
+
* retention actually deleted.
|
|
30202
|
+
*
|
|
30203
|
+
* It lives HERE, on the logging document, and not on the analytics addon's
|
|
30204
|
+
* settings form, on the operator's instruction: every other log-ish window in
|
|
30205
|
+
* this system is configured through this one document, and a retention audit
|
|
30206
|
+
* configured somewhere else is a second place to look when the question is
|
|
30207
|
+
* "what happened to my data".
|
|
30208
|
+
*
|
|
30209
|
+
* That placement has a cost worth stating: this document ships in the
|
|
30210
|
+
* framework closure, so this knob needs a published `@camstack/server` while
|
|
30211
|
+
* the four windows beside it (D485) reach a node on `camstack deploy`.
|
|
30212
|
+
*
|
|
30213
|
+
* `retention-model.ts` argued this one must NOT follow a device window,
|
|
30214
|
+
* because the audit trail is the history of the SWEEP and not of the camera.
|
|
30215
|
+
* That argument stands and is untouched — what changes is that 30 days stops
|
|
30216
|
+
* being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
|
|
30217
|
+
* rather than 0-as-delete: an audit log truncated to nothing is precisely the
|
|
30218
|
+
* state in which the next 9.5 GiB leak cannot be explained.
|
|
30219
|
+
*/
|
|
30220
|
+
opsLogRetentionDays: number().int().min(0).max(3650).optional()
|
|
30087
30221
|
});
|
|
30088
30222
|
/**
|
|
30089
30223
|
* Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
|
|
@@ -30156,6 +30290,14 @@ var LoggingSettingsStateSchema = object({
|
|
|
30156
30290
|
channels: array(LogChannelDescriptorSchema).readonly(),
|
|
30157
30291
|
/** The channels ARMED right now, each with its deadline. */
|
|
30158
30292
|
activeChannels: array(LogChannelWindowStateSchema).readonly(),
|
|
30293
|
+
/**
|
|
30294
|
+
* The ops-log window in days, as it is in force. `0` = kept forever.
|
|
30295
|
+
*
|
|
30296
|
+
* Reported rather than left to the caller's memory of what it wrote: this is
|
|
30297
|
+
* the value the analytics sweep will actually use, and an operator asking how
|
|
30298
|
+
* long their audit trail lives should not have to infer it from a default.
|
|
30299
|
+
*/
|
|
30300
|
+
opsLogRetentionDays: number().int().min(0),
|
|
30159
30301
|
persisted: boolean()
|
|
30160
30302
|
});
|
|
30161
30303
|
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(), {
|
|
@@ -34315,6 +34457,12 @@ Object.freeze({
|
|
|
34315
34457
|
addonId: null,
|
|
34316
34458
|
access: "view"
|
|
34317
34459
|
},
|
|
34460
|
+
"pipelineAnalytics.listRecentSummaries": {
|
|
34461
|
+
capName: "pipeline-analytics",
|
|
34462
|
+
capScope: "device",
|
|
34463
|
+
addonId: null,
|
|
34464
|
+
access: "view"
|
|
34465
|
+
},
|
|
34318
34466
|
"pipelineAnalytics.listRecentTracks": {
|
|
34319
34467
|
capName: "pipeline-analytics",
|
|
34320
34468
|
capScope: "device",
|
|
@@ -38142,6 +38290,11 @@ Object.freeze({
|
|
|
38142
38290
|
form: "single",
|
|
38143
38291
|
optional: true
|
|
38144
38292
|
}],
|
|
38293
|
+
"pipelineAnalytics.listRecentSummaries": [{
|
|
38294
|
+
name: "deviceIds",
|
|
38295
|
+
form: "array",
|
|
38296
|
+
optional: false
|
|
38297
|
+
}],
|
|
38145
38298
|
"pipelineAnalytics.listRecentTracks": [{
|
|
38146
38299
|
name: "deviceIds",
|
|
38147
38300
|
form: "array",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.65",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|