@camstack/types 1.2.544 → 1.2.546
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/CHANGELOG.md +13 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/automation/index.d.ts +2 -0
- package/dist/automation/leaf-catalog.d.ts +53 -0
- package/dist/capabilities/device-adoption.cap.d.ts +55 -6
- package/dist/capabilities/device-manager.cap.d.ts +1 -1
- package/dist/capabilities/index.d.ts +2 -4
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -1
- package/dist/client.js +0 -9
- package/dist/client.mjs +0 -9
- package/dist/device/cap-vocabulary/entries/camera.d.ts +1 -1
- package/dist/generated/addon-api.d.ts +0 -43
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +1 -3
- package/dist/generated/capability-router-map.d.ts +2 -5
- package/dist/generated/device-local-state.d.ts +1 -4
- package/dist/generated/device-proxy.d.ts +0 -3
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +313 -230
- package/dist/index.mjs +308 -229
- package/dist/interfaces/capability.d.ts +0 -1
- package/dist/{sleep-DkQKqd5w.mjs → sleep-D_NpiLFP.mjs} +1 -23
- package/dist/{sleep-CiqzUHwB.js → sleep-vzHEmsrO.js} +1 -23
- package/package.json +1 -1
- package/dist/capabilities/device-discovery.cap.d.ts +0 -160
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 1482 method paths across 205 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { MethodRole } from '../auth/viewer-access.js';
|
|
12
12
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 612 methods carry a device reference, of which
|
|
10
10
|
* 195 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
|
@@ -16,7 +16,7 @@ export interface RuntimeStatePolicy {
|
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
19
|
-
* `runtimeState`.
|
|
19
|
+
* `runtimeState`. 81 caps: 41 `restored`, 40 `session`.
|
|
20
20
|
*
|
|
21
21
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
22
22
|
* with `durability: 'session'` has one and has decided not to keep it.
|
package/dist/index.d.ts
CHANGED
|
@@ -197,6 +197,7 @@ export { UnitWarningSchema, capUnitResolver, normalizeActionUnits, normalizeCond
|
|
|
197
197
|
export type { PreparedRecipe, UnitResolver, UnitWarning, UnitsNormalized, } from './automation/index.js';
|
|
198
198
|
export * from './automation/action.js';
|
|
199
199
|
export * from './automation/action-target.js';
|
|
200
|
+
export * from './automation/leaf-catalog.js';
|
|
200
201
|
export * from './automation/scheduler.js';
|
|
201
202
|
export * from './automation/step-condition.js';
|
|
202
203
|
export * from './automation/step-runner.js';
|