@camstack/types 1.2.165 → 1.2.167
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.
|
@@ -444,6 +444,11 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
444
444
|
w: z.ZodNumber;
|
|
445
445
|
h: z.ZodNumber;
|
|
446
446
|
}, z.core.$strip>;
|
|
447
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
448
|
+
frame: "frame";
|
|
449
|
+
recovery: "recovery";
|
|
450
|
+
}>>;
|
|
451
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
447
452
|
}, z.core.$strip>>>;
|
|
448
453
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
449
454
|
timestamp: z.ZodNumber;
|
|
@@ -457,6 +462,11 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
457
462
|
w: z.ZodNumber;
|
|
458
463
|
h: z.ZodNumber;
|
|
459
464
|
}, z.core.$strip>;
|
|
465
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
466
|
+
frame: "frame";
|
|
467
|
+
recovery: "recovery";
|
|
468
|
+
}>>;
|
|
469
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
460
470
|
}, z.core.$strip>;
|
|
461
471
|
mediaKey: z.ZodString;
|
|
462
472
|
}, z.core.$strip>>>;
|
|
@@ -1240,6 +1250,11 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
1240
1250
|
w: z.ZodNumber;
|
|
1241
1251
|
h: z.ZodNumber;
|
|
1242
1252
|
}, z.core.$strip>;
|
|
1253
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1254
|
+
frame: "frame";
|
|
1255
|
+
recovery: "recovery";
|
|
1256
|
+
}>>;
|
|
1257
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1243
1258
|
}, z.core.$strip>>>;
|
|
1244
1259
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1245
1260
|
timestamp: z.ZodNumber;
|
|
@@ -1253,6 +1268,11 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
1253
1268
|
w: z.ZodNumber;
|
|
1254
1269
|
h: z.ZodNumber;
|
|
1255
1270
|
}, z.core.$strip>;
|
|
1271
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1272
|
+
frame: "frame";
|
|
1273
|
+
recovery: "recovery";
|
|
1274
|
+
}>>;
|
|
1275
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1256
1276
|
}, z.core.$strip>;
|
|
1257
1277
|
mediaKey: z.ZodString;
|
|
1258
1278
|
}, z.core.$strip>>>;
|
|
@@ -1705,6 +1725,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1705
1725
|
w: z.ZodNumber;
|
|
1706
1726
|
h: z.ZodNumber;
|
|
1707
1727
|
}, z.core.$strip>;
|
|
1728
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1729
|
+
frame: "frame";
|
|
1730
|
+
recovery: "recovery";
|
|
1731
|
+
}>>;
|
|
1732
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1708
1733
|
}, z.core.$strip>>>;
|
|
1709
1734
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1710
1735
|
timestamp: z.ZodNumber;
|
|
@@ -1718,6 +1743,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1718
1743
|
w: z.ZodNumber;
|
|
1719
1744
|
h: z.ZodNumber;
|
|
1720
1745
|
}, z.core.$strip>;
|
|
1746
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1747
|
+
frame: "frame";
|
|
1748
|
+
recovery: "recovery";
|
|
1749
|
+
}>>;
|
|
1750
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1721
1751
|
}, z.core.$strip>;
|
|
1722
1752
|
mediaKey: z.ZodString;
|
|
1723
1753
|
}, z.core.$strip>>>;
|
|
@@ -1804,6 +1834,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1804
1834
|
w: z.ZodNumber;
|
|
1805
1835
|
h: z.ZodNumber;
|
|
1806
1836
|
}, z.core.$strip>;
|
|
1837
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1838
|
+
frame: "frame";
|
|
1839
|
+
recovery: "recovery";
|
|
1840
|
+
}>>;
|
|
1841
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1807
1842
|
}, z.core.$strip>>>;
|
|
1808
1843
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1809
1844
|
timestamp: z.ZodNumber;
|
|
@@ -1817,6 +1852,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1817
1852
|
w: z.ZodNumber;
|
|
1818
1853
|
h: z.ZodNumber;
|
|
1819
1854
|
}, z.core.$strip>;
|
|
1855
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1856
|
+
frame: "frame";
|
|
1857
|
+
recovery: "recovery";
|
|
1858
|
+
}>>;
|
|
1859
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1820
1860
|
}, z.core.$strip>;
|
|
1821
1861
|
mediaKey: z.ZodString;
|
|
1822
1862
|
}, z.core.$strip>>>;
|
|
@@ -1932,6 +1972,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1932
1972
|
w: z.ZodNumber;
|
|
1933
1973
|
h: z.ZodNumber;
|
|
1934
1974
|
}, z.core.$strip>;
|
|
1975
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1976
|
+
frame: "frame";
|
|
1977
|
+
recovery: "recovery";
|
|
1978
|
+
}>>;
|
|
1979
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1935
1980
|
}, z.core.$strip>>>;
|
|
1936
1981
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1937
1982
|
timestamp: z.ZodNumber;
|
|
@@ -1945,6 +1990,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1945
1990
|
w: z.ZodNumber;
|
|
1946
1991
|
h: z.ZodNumber;
|
|
1947
1992
|
}, z.core.$strip>;
|
|
1993
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1994
|
+
frame: "frame";
|
|
1995
|
+
recovery: "recovery";
|
|
1996
|
+
}>>;
|
|
1997
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1948
1998
|
}, z.core.$strip>;
|
|
1949
1999
|
mediaKey: z.ZodString;
|
|
1950
2000
|
}, z.core.$strip>>>;
|
|
@@ -2056,6 +2106,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2056
2106
|
w: z.ZodNumber;
|
|
2057
2107
|
h: z.ZodNumber;
|
|
2058
2108
|
}, z.core.$strip>;
|
|
2109
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
2110
|
+
frame: "frame";
|
|
2111
|
+
recovery: "recovery";
|
|
2112
|
+
}>>;
|
|
2113
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2059
2114
|
}, z.core.$strip>>>;
|
|
2060
2115
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2061
2116
|
timestamp: z.ZodNumber;
|
|
@@ -2069,6 +2124,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2069
2124
|
w: z.ZodNumber;
|
|
2070
2125
|
h: z.ZodNumber;
|
|
2071
2126
|
}, z.core.$strip>;
|
|
2127
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
2128
|
+
frame: "frame";
|
|
2129
|
+
recovery: "recovery";
|
|
2130
|
+
}>>;
|
|
2131
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2072
2132
|
}, z.core.$strip>;
|
|
2073
2133
|
mediaKey: z.ZodString;
|
|
2074
2134
|
}, z.core.$strip>>>;
|
|
@@ -62,7 +62,7 @@ export declare const PrivacyMaskRegionSchema: z.ZodObject<{
|
|
|
62
62
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
63
63
|
export declare const PrivacyMaskStatusSchema: z.ZodObject<{
|
|
64
64
|
enabled: z.ZodBoolean;
|
|
65
|
-
regions: z.ZodArray<z.ZodObject<{
|
|
65
|
+
regions: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
66
66
|
id: z.ZodNumber;
|
|
67
67
|
enabled: z.ZodBoolean;
|
|
68
68
|
shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -78,7 +78,7 @@ export declare const PrivacyMaskStatusSchema: z.ZodObject<{
|
|
|
78
78
|
y: z.ZodNumber;
|
|
79
79
|
}, z.core.$strip>>;
|
|
80
80
|
}, z.core.$strip>], "kind">;
|
|
81
|
-
}, z.core.$strip
|
|
81
|
+
}, z.core.$strip>>>;
|
|
82
82
|
audioEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
83
83
|
lastFetchedAt: z.ZodNumber;
|
|
84
84
|
}, z.core.$strip>;
|
|
@@ -199,7 +199,7 @@ export declare const privacyMaskCapability: {
|
|
|
199
199
|
readonly status: {
|
|
200
200
|
readonly schema: z.ZodObject<{
|
|
201
201
|
enabled: z.ZodBoolean;
|
|
202
|
-
regions: z.ZodArray<z.ZodObject<{
|
|
202
|
+
regions: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
203
203
|
id: z.ZodNumber;
|
|
204
204
|
enabled: z.ZodBoolean;
|
|
205
205
|
shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -215,7 +215,7 @@ export declare const privacyMaskCapability: {
|
|
|
215
215
|
y: z.ZodNumber;
|
|
216
216
|
}, z.core.$strip>>;
|
|
217
217
|
}, z.core.$strip>], "kind">;
|
|
218
|
-
}, z.core.$strip
|
|
218
|
+
}, z.core.$strip>>>;
|
|
219
219
|
audioEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
220
220
|
lastFetchedAt: z.ZodNumber;
|
|
221
221
|
}, z.core.$strip>;
|
|
@@ -223,7 +223,7 @@ export declare const privacyMaskCapability: {
|
|
|
223
223
|
};
|
|
224
224
|
readonly runtimeState: z.ZodObject<{
|
|
225
225
|
enabled: z.ZodBoolean;
|
|
226
|
-
regions: z.ZodArray<z.ZodObject<{
|
|
226
|
+
regions: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
227
227
|
id: z.ZodNumber;
|
|
228
228
|
enabled: z.ZodBoolean;
|
|
229
229
|
shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -239,7 +239,7 @@ export declare const privacyMaskCapability: {
|
|
|
239
239
|
y: z.ZodNumber;
|
|
240
240
|
}, z.core.$strip>>;
|
|
241
241
|
}, z.core.$strip>], "kind">;
|
|
242
|
-
}, z.core.$strip
|
|
242
|
+
}, z.core.$strip>>>;
|
|
243
243
|
audioEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
244
244
|
lastFetchedAt: z.ZodNumber;
|
|
245
245
|
}, z.core.$strip>;
|
package/dist/index.js
CHANGED
|
@@ -18568,11 +18568,30 @@ var SensorEventSchema = zod.z.object({
|
|
|
18568
18568
|
value: zod.z.record(zod.z.string(), zod.z.unknown()).nullable(),
|
|
18569
18569
|
timestamp: zod.z.number()
|
|
18570
18570
|
});
|
|
18571
|
+
/**
|
|
18572
|
+
* One stored sighting on a track's trajectory.
|
|
18573
|
+
*
|
|
18574
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18575
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18576
|
+
* assume the two are the same on a row written by an older build.
|
|
18577
|
+
*/
|
|
18571
18578
|
var TrackPositionSchema = zod.z.object({
|
|
18572
18579
|
x: zod.z.number(),
|
|
18573
18580
|
y: zod.z.number(),
|
|
18574
18581
|
timestamp: zod.z.number(),
|
|
18575
|
-
bbox: BoundingBoxSchema
|
|
18582
|
+
bbox: BoundingBoxSchema,
|
|
18583
|
+
/**
|
|
18584
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18585
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18586
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18587
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18588
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18589
|
+
* Absent on rows written before D399.
|
|
18590
|
+
*/
|
|
18591
|
+
source: zod.z.enum(["frame", "recovery"]).optional(),
|
|
18592
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18593
|
+
* plotted. Absent on rows written before D399. */
|
|
18594
|
+
score: zod.z.number().optional()
|
|
18576
18595
|
});
|
|
18577
18596
|
var TrackSnapshotSchema = zod.z.object({
|
|
18578
18597
|
timestamp: zod.z.number(),
|
|
@@ -18999,14 +19018,25 @@ var TrackSchema = zod.z.object({
|
|
|
18999
19018
|
*/
|
|
19000
19019
|
hasRider: zod.z.boolean().optional(),
|
|
19001
19020
|
/**
|
|
19002
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19003
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19021
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19022
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19023
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19004
19024
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19005
|
-
* `derive-returned-null tile=standin`,
|
|
19006
|
-
*
|
|
19007
|
-
*
|
|
19025
|
+
* `derive-returned-null tile=standin`,
|
|
19026
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19027
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19028
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19008
19029
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19009
19030
|
*
|
|
19031
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19032
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19033
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19034
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19035
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19036
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19037
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19038
|
+
* tile ended up being.
|
|
19039
|
+
*
|
|
19010
19040
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19011
19041
|
* that predates the field, and every track whose tile landed native all
|
|
19012
19042
|
* omit it. Render nothing when absent.
|
|
@@ -32200,8 +32230,27 @@ var PrivacyMaskRegionSchema = zod.z.object({
|
|
|
32200
32230
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
32201
32231
|
var PrivacyMaskStatusSchema = zod.z.object({
|
|
32202
32232
|
enabled: zod.z.boolean(),
|
|
32203
|
-
/**
|
|
32204
|
-
|
|
32233
|
+
/**
|
|
32234
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
32235
|
+
*
|
|
32236
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
32237
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
32238
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
32239
|
+
* has no zones": those two look identical to an operator right up to the
|
|
32240
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
32241
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
32242
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
32243
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
32244
|
+
* from deleting the mask it could not read.
|
|
32245
|
+
*
|
|
32246
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
32247
|
+
* has no zones. The distinction is the same one {@link
|
|
32248
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
32249
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
32250
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
32251
|
+
* while the other could not.
|
|
32252
|
+
*/
|
|
32253
|
+
regions: zod.z.array(PrivacyMaskRegionSchema).nullable(),
|
|
32205
32254
|
/**
|
|
32206
32255
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
32207
32256
|
* a server-side mirror.
|
package/dist/index.mjs
CHANGED
|
@@ -18567,11 +18567,30 @@ var SensorEventSchema = z.object({
|
|
|
18567
18567
|
value: z.record(z.string(), z.unknown()).nullable(),
|
|
18568
18568
|
timestamp: z.number()
|
|
18569
18569
|
});
|
|
18570
|
+
/**
|
|
18571
|
+
* One stored sighting on a track's trajectory.
|
|
18572
|
+
*
|
|
18573
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18574
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18575
|
+
* assume the two are the same on a row written by an older build.
|
|
18576
|
+
*/
|
|
18570
18577
|
var TrackPositionSchema = z.object({
|
|
18571
18578
|
x: z.number(),
|
|
18572
18579
|
y: z.number(),
|
|
18573
18580
|
timestamp: z.number(),
|
|
18574
|
-
bbox: BoundingBoxSchema
|
|
18581
|
+
bbox: BoundingBoxSchema,
|
|
18582
|
+
/**
|
|
18583
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18584
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18585
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18586
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18587
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18588
|
+
* Absent on rows written before D399.
|
|
18589
|
+
*/
|
|
18590
|
+
source: z.enum(["frame", "recovery"]).optional(),
|
|
18591
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18592
|
+
* plotted. Absent on rows written before D399. */
|
|
18593
|
+
score: z.number().optional()
|
|
18575
18594
|
});
|
|
18576
18595
|
var TrackSnapshotSchema = z.object({
|
|
18577
18596
|
timestamp: z.number(),
|
|
@@ -18998,14 +19017,25 @@ var TrackSchema = z.object({
|
|
|
18998
19017
|
*/
|
|
18999
19018
|
hasRider: z.boolean().optional(),
|
|
19000
19019
|
/**
|
|
19001
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19002
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19020
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19021
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19022
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19003
19023
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19004
|
-
* `derive-returned-null tile=standin`,
|
|
19005
|
-
*
|
|
19006
|
-
*
|
|
19024
|
+
* `derive-returned-null tile=standin`,
|
|
19025
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19026
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19027
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19007
19028
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19008
19029
|
*
|
|
19030
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19031
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19032
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19033
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19034
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19035
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19036
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19037
|
+
* tile ended up being.
|
|
19038
|
+
*
|
|
19009
19039
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19010
19040
|
* that predates the field, and every track whose tile landed native all
|
|
19011
19041
|
* omit it. Render nothing when absent.
|
|
@@ -32199,8 +32229,27 @@ var PrivacyMaskRegionSchema = z.object({
|
|
|
32199
32229
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
32200
32230
|
var PrivacyMaskStatusSchema = z.object({
|
|
32201
32231
|
enabled: z.boolean(),
|
|
32202
|
-
/**
|
|
32203
|
-
|
|
32232
|
+
/**
|
|
32233
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
32234
|
+
*
|
|
32235
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
32236
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
32237
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
32238
|
+
* has no zones": those two look identical to an operator right up to the
|
|
32239
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
32240
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
32241
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
32242
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
32243
|
+
* from deleting the mask it could not read.
|
|
32244
|
+
*
|
|
32245
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
32246
|
+
* has no zones. The distinction is the same one {@link
|
|
32247
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
32248
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
32249
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
32250
|
+
* while the other could not.
|
|
32251
|
+
*/
|
|
32252
|
+
regions: z.array(PrivacyMaskRegionSchema).nullable(),
|
|
32204
32253
|
/**
|
|
32205
32254
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
32206
32255
|
* a server-side mirror.
|