@camstack/types 1.2.356 → 1.2.357

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 CHANGED
@@ -593,6 +593,10 @@ var CAP_STATE_LEAVES = Object.freeze({
593
593
  "path": "lastContactAt",
594
594
  "valueType": "number"
595
595
  },
596
+ {
597
+ "path": "lastFullRefreshAt",
598
+ "valueType": "number"
599
+ },
596
600
  {
597
601
  "path": "binary",
598
602
  "valueType": "boolean"
package/dist/addon.mjs CHANGED
@@ -592,6 +592,10 @@ var CAP_STATE_LEAVES = Object.freeze({
592
592
  "path": "lastContactAt",
593
593
  "valueType": "number"
594
594
  },
595
+ {
596
+ "path": "lastFullRefreshAt",
597
+ "valueType": "number"
598
+ },
595
599
  {
596
600
  "path": "binary",
597
601
  "valueType": "boolean"
@@ -19,6 +19,7 @@ export declare const BatteryStatusSchema: z.ZodObject<{
19
19
  sleeping: z.ZodBoolean;
20
20
  lastUpdated: z.ZodNumber;
21
21
  lastContactAt: z.ZodOptional<z.ZodNumber>;
22
+ lastFullRefreshAt: z.ZodOptional<z.ZodNumber>;
22
23
  binary: z.ZodOptional<z.ZodBoolean>;
23
24
  }, z.core.$strip>;
24
25
  export type BatteryStatus = z.infer<typeof BatteryStatusSchema>;
@@ -89,6 +90,7 @@ export declare const batteryCapability: {
89
90
  sleeping: z.ZodBoolean;
90
91
  lastUpdated: z.ZodNumber;
91
92
  lastContactAt: z.ZodOptional<z.ZodNumber>;
93
+ lastFullRefreshAt: z.ZodOptional<z.ZodNumber>;
92
94
  binary: z.ZodOptional<z.ZodBoolean>;
93
95
  }, z.core.$strip>;
94
96
  }, z.core.$strip>;
@@ -106,6 +108,7 @@ export declare const batteryCapability: {
106
108
  sleeping: z.ZodBoolean;
107
109
  lastUpdated: z.ZodNumber;
108
110
  lastContactAt: z.ZodOptional<z.ZodNumber>;
111
+ lastFullRefreshAt: z.ZodOptional<z.ZodNumber>;
109
112
  binary: z.ZodOptional<z.ZodBoolean>;
110
113
  }, z.core.$strip>;
111
114
  readonly kind: 'push';
@@ -136,6 +139,7 @@ export declare const batteryCapability: {
136
139
  sleeping: z.ZodBoolean;
137
140
  lastUpdated: z.ZodNumber;
138
141
  lastContactAt: z.ZodOptional<z.ZodNumber>;
142
+ lastFullRefreshAt: z.ZodOptional<z.ZodNumber>;
139
143
  binary: z.ZodOptional<z.ZodBoolean>;
140
144
  }, z.core.$strip>;
141
145
  /**
@@ -5,7 +5,7 @@
5
5
  * `ALL_CAPABILITY_DEFINITIONS` (the whole Zod schema graph, ~+100 MB heap per
6
6
  * runner). See docs/decisions/adr-0028.md.
7
7
  *
8
- * Coverage: 1 advance-derived caps, 71 caps with 340 state leaves.
8
+ * Coverage: 1 advance-derived caps, 71 caps with 341 state leaves.
9
9
  */
10
10
  /** A bindable scalar in a capability's runtime state. */
11
11
  export interface CapStateLeaf {
package/dist/index.js CHANGED
@@ -37086,6 +37086,17 @@ var BatteryStatusSchema = zod.z.object({
37086
37086
  */
37087
37087
  lastContactAt: zod.z.number().optional(),
37088
37088
  /**
37089
+ * Ms epoch of the last COMPLETE scheduled refresh — every fact the provider
37090
+ * holds for the device (level, charging, link, device info, state slices) and
37091
+ * its cached snapshot, read together. Absent = never since this slice was
37092
+ * born. Unlike `lastUpdated` (any write, even a push of one field) this is
37093
+ * the staleness an operator can trust: the provider owns the device fact and
37094
+ * so owns the window on its age (D224, D847). Not a clock in the
37095
+ * runtime-state-durability sense: it moves once per window and must survive
37096
+ * a restart, or every restart would owe the camera a wake.
37097
+ */
37098
+ lastFullRefreshAt: zod.z.number().optional(),
37099
+ /**
37089
37100
  * True when the source is a BINARY low-battery indicator (HA
37090
37101
  * `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
37091
37102
  * charge level — `percentage` is then a coarse stand-in (100 = normal,
package/dist/index.mjs CHANGED
@@ -37085,6 +37085,17 @@ var BatteryStatusSchema = z.object({
37085
37085
  */
37086
37086
  lastContactAt: z.number().optional(),
37087
37087
  /**
37088
+ * Ms epoch of the last COMPLETE scheduled refresh — every fact the provider
37089
+ * holds for the device (level, charging, link, device info, state slices) and
37090
+ * its cached snapshot, read together. Absent = never since this slice was
37091
+ * born. Unlike `lastUpdated` (any write, even a push of one field) this is
37092
+ * the staleness an operator can trust: the provider owns the device fact and
37093
+ * so owns the window on its age (D224, D847). Not a clock in the
37094
+ * runtime-state-durability sense: it moves once per window and must survive
37095
+ * a restart, or every restart would owe the camera a wake.
37096
+ */
37097
+ lastFullRefreshAt: z.number().optional(),
37098
+ /**
37088
37099
  * True when the source is a BINARY low-battery indicator (HA
37089
37100
  * `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
37090
37101
  * charge level — `percentage` is then a coarse stand-in (100 = normal,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.356",
3
+ "version": "1.2.357",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",