@camstack/addon-provider-petkit 0.2.82 → 0.2.83
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 +21 -2
- package/dist/addon.mjs +21 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -30321,8 +30321,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
30321
30321
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
30322
30322
|
var PrivacyMaskStatusSchema = object({
|
|
30323
30323
|
enabled: boolean(),
|
|
30324
|
-
/**
|
|
30325
|
-
|
|
30324
|
+
/**
|
|
30325
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
30326
|
+
*
|
|
30327
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
30328
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
30329
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
30330
|
+
* has no zones": those two look identical to an operator right up to the
|
|
30331
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
30332
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
30333
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
30334
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
30335
|
+
* from deleting the mask it could not read.
|
|
30336
|
+
*
|
|
30337
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
30338
|
+
* has no zones. The distinction is the same one {@link
|
|
30339
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
30340
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
30341
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
30342
|
+
* while the other could not.
|
|
30343
|
+
*/
|
|
30344
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
30326
30345
|
/**
|
|
30327
30346
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
30328
30347
|
* a server-side mirror.
|
package/dist/addon.mjs
CHANGED
|
@@ -30320,8 +30320,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
30320
30320
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
30321
30321
|
var PrivacyMaskStatusSchema = object({
|
|
30322
30322
|
enabled: boolean(),
|
|
30323
|
-
/**
|
|
30324
|
-
|
|
30323
|
+
/**
|
|
30324
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
30325
|
+
*
|
|
30326
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
30327
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
30328
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
30329
|
+
* has no zones": those two look identical to an operator right up to the
|
|
30330
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
30331
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
30332
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
30333
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
30334
|
+
* from deleting the mask it could not read.
|
|
30335
|
+
*
|
|
30336
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
30337
|
+
* has no zones. The distinction is the same one {@link
|
|
30338
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
30339
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
30340
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
30341
|
+
* while the other could not.
|
|
30342
|
+
*/
|
|
30343
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
30325
30344
|
/**
|
|
30326
30345
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
30327
30346
|
* a server-side mirror.
|
package/package.json
CHANGED