@camstack/types 1.2.77 → 1.2.78

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.
@@ -139,6 +139,12 @@ export declare const snapshotCapability: {
139
139
  width: z.ZodNullable<z.ZodNumber>;
140
140
  neverCaptured: z.ZodBoolean;
141
141
  sleeping: z.ZodBoolean;
142
+ stateReason: z.ZodNullable<z.ZodEnum<{
143
+ sleeping: "sleeping";
144
+ unreachable: "unreachable";
145
+ disabled: "disabled";
146
+ waking: "waking";
147
+ }>>;
142
148
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind> & {
143
149
  readonly systemOnly: true;
144
150
  };
package/dist/index.js CHANGED
@@ -19097,7 +19097,16 @@ targets: zod.z.array(zod.z.object({
19097
19097
  /** A sleeping battery camera: the frame is deliberately stale and will
19098
19098
  * NOT refresh in the background. A surface should say so rather than
19099
19099
  * present it as current. */
19100
- sleeping: zod.z.boolean()
19100
+ sleeping: zod.z.boolean(),
19101
+ /** Current device state rendered over the cached frame. State images
19102
+ * remain authoritative even when their photographic background is
19103
+ * old; null means the link must carry a current camera frame. */
19104
+ stateReason: zod.z.enum([
19105
+ "disabled",
19106
+ "sleeping",
19107
+ "unreachable",
19108
+ "waking"
19109
+ ]).nullable()
19101
19110
  })))
19102
19111
  },
19103
19112
  status: {
package/dist/index.mjs CHANGED
@@ -19096,7 +19096,16 @@ targets: z.array(z.object({
19096
19096
  /** A sleeping battery camera: the frame is deliberately stale and will
19097
19097
  * NOT refresh in the background. A surface should say so rather than
19098
19098
  * present it as current. */
19099
- sleeping: z.boolean()
19099
+ sleeping: z.boolean(),
19100
+ /** Current device state rendered over the cached frame. State images
19101
+ * remain authoritative even when their photographic background is
19102
+ * old; null means the link must carry a current camera frame. */
19103
+ stateReason: z.enum([
19104
+ "disabled",
19105
+ "sleeping",
19106
+ "unreachable",
19107
+ "waking"
19108
+ ]).nullable()
19100
19109
  })))
19101
19110
  },
19102
19111
  status: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.77",
3
+ "version": "1.2.78",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",