@camstack/types 1.2.592 → 1.2.593
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 +6 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/device-state-refresh.cap.d.ts +58 -0
- package/dist/capabilities/index.d.ts +3 -1
- package/dist/client.js +5 -0
- package/dist/client.mjs +5 -0
- package/dist/device/command-hold.d.ts +6 -0
- package/dist/device/state-refresh.d.ts +51 -0
- package/dist/generated/addon-api.d.ts +22 -0
- package/dist/generated/cap-vocabulary.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/device-proxy.d.ts +2 -0
- package/dist/generated/device-scoped-caps.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/index.d.ts +1 -0
- package/dist/index.js +158 -1
- package/dist/index.mjs +148 -2
- package/dist/{sleep-D2Ny6tvi.js → sleep-BOK28JE0.js} +20 -2
- package/dist/{sleep-dgC2VKW4.mjs → sleep-DO-ayTnk.mjs} +20 -2
- package/package.json +1 -1
|
@@ -7985,7 +7985,7 @@ var MODEL_FORMATS = [
|
|
|
7985
7985
|
//#region src/generated/cap-vocabulary.ts
|
|
7986
7986
|
/**
|
|
7987
7987
|
* THE cap vocabulary (D920), projected from the declarations of every
|
|
7988
|
-
* `*.cap.ts` (D1050):
|
|
7988
|
+
* `*.cap.ts` (D1050): 214 caps (112 device, 102 system).
|
|
7989
7989
|
* Device caps in their declared picker order, then system caps by name.
|
|
7990
7990
|
*/
|
|
7991
7991
|
var CAP_VOCABULARY = {
|
|
@@ -14904,6 +14904,17 @@ var CAP_VOCABULARY = {
|
|
|
14904
14904
|
},
|
|
14905
14905
|
notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
|
|
14906
14906
|
},
|
|
14907
|
+
"device-state-refresh": {
|
|
14908
|
+
scope: "device",
|
|
14909
|
+
noun: {
|
|
14910
|
+
en: "State refresh",
|
|
14911
|
+
it: "Aggiornamento dello stato"
|
|
14912
|
+
},
|
|
14913
|
+
notOperatorFacing: {
|
|
14914
|
+
refresh: "the core schedules state refreshes itself; an operator never asks for one",
|
|
14915
|
+
resubscribe: "the core schedules state refreshes itself; an operator never asks for one"
|
|
14916
|
+
}
|
|
14917
|
+
},
|
|
14907
14918
|
"recording": {
|
|
14908
14919
|
scope: "device",
|
|
14909
14920
|
noun: {
|
|
@@ -18378,6 +18389,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
18378
18389
|
"device-removal-hook",
|
|
18379
18390
|
"device-runs",
|
|
18380
18391
|
"device-state",
|
|
18392
|
+
"device-state-refresh",
|
|
18381
18393
|
"device-status",
|
|
18382
18394
|
"device-transitions",
|
|
18383
18395
|
"dishwasher",
|
|
@@ -21526,6 +21538,10 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
21526
21538
|
getRun: (input, options) => dispatch("device-runs", "deviceRuns", "getRun", "query", input, void 0, options),
|
|
21527
21539
|
getCurrentRun: (input, options) => dispatch("device-runs", "deviceRuns", "getCurrentRun", "query", input, void 0, options)
|
|
21528
21540
|
};
|
|
21541
|
+
const deviceStateRefreshInterface = {
|
|
21542
|
+
refresh: (input, options) => dispatch("device-state-refresh", "deviceStateRefresh", "refresh", "mutation", input, void 0, options),
|
|
21543
|
+
resubscribe: (input, options) => dispatch("device-state-refresh", "deviceStateRefresh", "resubscribe", "mutation", input, void 0, options)
|
|
21544
|
+
};
|
|
21529
21545
|
const deviceStatusInterface = { getStatus: (input, options) => dispatch("device-status", "deviceStatus", "getStatus", "query", input, void 0, options) };
|
|
21530
21546
|
const deviceTransitionsInterface = {
|
|
21531
21547
|
listTransitions: (input, options) => dispatch("device-transitions", "deviceTransitions", "listTransitions", "query", input, void 0, options),
|
|
@@ -22309,6 +22325,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
22309
22325
|
...bound("device-extension") ? { deviceExtension: deviceExtensionInterface } : {},
|
|
22310
22326
|
...bound("device-ops") ? { deviceOps: deviceOpsInterface } : {},
|
|
22311
22327
|
...bound("device-runs") ? { deviceRuns: deviceRunsInterface } : {},
|
|
22328
|
+
...bound("device-state-refresh") ? { deviceStateRefresh: deviceStateRefreshInterface } : {},
|
|
22312
22329
|
...bound("device-status") ? { deviceStatus: deviceStatusInterface } : {},
|
|
22313
22330
|
...bound("device-transitions") ? { deviceTransitions: deviceTransitionsInterface } : {},
|
|
22314
22331
|
...bound("dishwasher") ? { dishwasher: dishwasherInterface } : {},
|
|
@@ -22422,7 +22439,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
22422
22439
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
22423
22440
|
* (~144MB RSS per runner, D28).
|
|
22424
22441
|
*
|
|
22425
|
-
* Coverage:
|
|
22442
|
+
* Coverage: 112 device-scoped capabilities.
|
|
22426
22443
|
*/
|
|
22427
22444
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
22428
22445
|
"accessories",
|
|
@@ -22454,6 +22471,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
22454
22471
|
"device-extension",
|
|
22455
22472
|
"device-ops",
|
|
22456
22473
|
"device-runs",
|
|
22474
|
+
"device-state-refresh",
|
|
22457
22475
|
"device-status",
|
|
22458
22476
|
"device-transitions",
|
|
22459
22477
|
"dishwasher",
|
|
@@ -7985,7 +7985,7 @@ var MODEL_FORMATS = [
|
|
|
7985
7985
|
//#region src/generated/cap-vocabulary.ts
|
|
7986
7986
|
/**
|
|
7987
7987
|
* THE cap vocabulary (D920), projected from the declarations of every
|
|
7988
|
-
* `*.cap.ts` (D1050):
|
|
7988
|
+
* `*.cap.ts` (D1050): 214 caps (112 device, 102 system).
|
|
7989
7989
|
* Device caps in their declared picker order, then system caps by name.
|
|
7990
7990
|
*/
|
|
7991
7991
|
var CAP_VOCABULARY = {
|
|
@@ -14904,6 +14904,17 @@ var CAP_VOCABULARY = {
|
|
|
14904
14904
|
},
|
|
14905
14905
|
notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
|
|
14906
14906
|
},
|
|
14907
|
+
"device-state-refresh": {
|
|
14908
|
+
scope: "device",
|
|
14909
|
+
noun: {
|
|
14910
|
+
en: "State refresh",
|
|
14911
|
+
it: "Aggiornamento dello stato"
|
|
14912
|
+
},
|
|
14913
|
+
notOperatorFacing: {
|
|
14914
|
+
refresh: "the core schedules state refreshes itself; an operator never asks for one",
|
|
14915
|
+
resubscribe: "the core schedules state refreshes itself; an operator never asks for one"
|
|
14916
|
+
}
|
|
14917
|
+
},
|
|
14907
14918
|
"recording": {
|
|
14908
14919
|
scope: "device",
|
|
14909
14920
|
noun: {
|
|
@@ -18378,6 +18389,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
18378
18389
|
"device-removal-hook",
|
|
18379
18390
|
"device-runs",
|
|
18380
18391
|
"device-state",
|
|
18392
|
+
"device-state-refresh",
|
|
18381
18393
|
"device-status",
|
|
18382
18394
|
"device-transitions",
|
|
18383
18395
|
"dishwasher",
|
|
@@ -21526,6 +21538,10 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
21526
21538
|
getRun: (input, options) => dispatch("device-runs", "deviceRuns", "getRun", "query", input, void 0, options),
|
|
21527
21539
|
getCurrentRun: (input, options) => dispatch("device-runs", "deviceRuns", "getCurrentRun", "query", input, void 0, options)
|
|
21528
21540
|
};
|
|
21541
|
+
const deviceStateRefreshInterface = {
|
|
21542
|
+
refresh: (input, options) => dispatch("device-state-refresh", "deviceStateRefresh", "refresh", "mutation", input, void 0, options),
|
|
21543
|
+
resubscribe: (input, options) => dispatch("device-state-refresh", "deviceStateRefresh", "resubscribe", "mutation", input, void 0, options)
|
|
21544
|
+
};
|
|
21529
21545
|
const deviceStatusInterface = { getStatus: (input, options) => dispatch("device-status", "deviceStatus", "getStatus", "query", input, void 0, options) };
|
|
21530
21546
|
const deviceTransitionsInterface = {
|
|
21531
21547
|
listTransitions: (input, options) => dispatch("device-transitions", "deviceTransitions", "listTransitions", "query", input, void 0, options),
|
|
@@ -22309,6 +22325,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
22309
22325
|
...bound("device-extension") ? { deviceExtension: deviceExtensionInterface } : {},
|
|
22310
22326
|
...bound("device-ops") ? { deviceOps: deviceOpsInterface } : {},
|
|
22311
22327
|
...bound("device-runs") ? { deviceRuns: deviceRunsInterface } : {},
|
|
22328
|
+
...bound("device-state-refresh") ? { deviceStateRefresh: deviceStateRefreshInterface } : {},
|
|
22312
22329
|
...bound("device-status") ? { deviceStatus: deviceStatusInterface } : {},
|
|
22313
22330
|
...bound("device-transitions") ? { deviceTransitions: deviceTransitionsInterface } : {},
|
|
22314
22331
|
...bound("dishwasher") ? { dishwasher: dishwasherInterface } : {},
|
|
@@ -22422,7 +22439,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
22422
22439
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
22423
22440
|
* (~144MB RSS per runner, D28).
|
|
22424
22441
|
*
|
|
22425
|
-
* Coverage:
|
|
22442
|
+
* Coverage: 112 device-scoped capabilities.
|
|
22426
22443
|
*/
|
|
22427
22444
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
22428
22445
|
"accessories",
|
|
@@ -22454,6 +22471,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
22454
22471
|
"device-extension",
|
|
22455
22472
|
"device-ops",
|
|
22456
22473
|
"device-runs",
|
|
22474
|
+
"device-state-refresh",
|
|
22457
22475
|
"device-status",
|
|
22458
22476
|
"device-transitions",
|
|
22459
22477
|
"dishwasher",
|