@camstack/types 1.2.92 → 1.2.93

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.
@@ -103,6 +103,7 @@ export declare const snapshotCapability: {
103
103
  reason: z.ZodNullable<z.ZodEnum<{
104
104
  sleeping: "sleeping";
105
105
  unreachable: "unreachable";
106
+ offline: "offline";
106
107
  disabled: "disabled";
107
108
  waking: "waking";
108
109
  }>>;
@@ -175,6 +176,7 @@ export declare const snapshotCapability: {
175
176
  stateReason: z.ZodNullable<z.ZodEnum<{
176
177
  sleeping: "sleeping";
177
178
  unreachable: "unreachable";
179
+ offline: "offline";
178
180
  disabled: "disabled";
179
181
  waking: "waking";
180
182
  }>>;
package/dist/index.js CHANGED
@@ -19179,6 +19179,7 @@ var snapshotCapability = {
19179
19179
  isBattery: zod.z.boolean(),
19180
19180
  reason: zod.z.enum([
19181
19181
  "disabled",
19182
+ "offline",
19182
19183
  "sleeping",
19183
19184
  "unreachable",
19184
19185
  "waking"
@@ -19268,9 +19269,17 @@ targets: zod.z.array(zod.z.object({
19268
19269
  sleeping: zod.z.boolean(),
19269
19270
  /** Current device state rendered over the cached frame. State images
19270
19271
  * remain authoritative even when their photographic background is
19271
- * old; null means the link must carry a current camera frame. */
19272
+ * old; null means the link must carry a current camera frame.
19273
+ *
19274
+ * **This is the ONLY source a surface may derive an inactive tile
19275
+ * from.** A client that reads a device's `online`/`disabled` flags and
19276
+ * draws its own verdict will disagree with the pixels it is painting
19277
+ * — the frame comes from here, and so must the sentence over it
19278
+ * (D190). Pair with `ageMs` for the age of the photograph behind the
19279
+ * state. */
19272
19280
  stateReason: zod.z.enum([
19273
19281
  "disabled",
19282
+ "offline",
19274
19283
  "sleeping",
19275
19284
  "unreachable",
19276
19285
  "waking"
package/dist/index.mjs CHANGED
@@ -19178,6 +19178,7 @@ var snapshotCapability = {
19178
19178
  isBattery: z.boolean(),
19179
19179
  reason: z.enum([
19180
19180
  "disabled",
19181
+ "offline",
19181
19182
  "sleeping",
19182
19183
  "unreachable",
19183
19184
  "waking"
@@ -19267,9 +19268,17 @@ targets: z.array(z.object({
19267
19268
  sleeping: z.boolean(),
19268
19269
  /** Current device state rendered over the cached frame. State images
19269
19270
  * remain authoritative even when their photographic background is
19270
- * old; null means the link must carry a current camera frame. */
19271
+ * old; null means the link must carry a current camera frame.
19272
+ *
19273
+ * **This is the ONLY source a surface may derive an inactive tile
19274
+ * from.** A client that reads a device's `online`/`disabled` flags and
19275
+ * draws its own verdict will disagree with the pixels it is painting
19276
+ * — the frame comes from here, and so must the sentence over it
19277
+ * (D190). Pair with `ageMs` for the age of the photograph behind the
19278
+ * state. */
19271
19279
  stateReason: z.enum([
19272
19280
  "disabled",
19281
+ "offline",
19273
19282
  "sleeping",
19274
19283
  "unreachable",
19275
19284
  "waking"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",