@camstack/types 1.2.233 → 1.2.235
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 +4 -3
- package/dist/addon.mjs +4 -3
- package/dist/capabilities/cap-router-predicates.d.ts +37 -0
- package/dist/capabilities/capability-definition.d.ts +17 -1
- package/dist/capabilities/device-manager.cap.d.ts +18 -3
- package/dist/capabilities/index.d.ts +3 -3
- package/dist/capabilities/videoclips.cap.d.ts +217 -5
- package/dist/generated/addon-api.d.ts +7 -34
- package/dist/generated/capability-router-map.d.ts +4 -4
- package/dist/generated/collection-array-methods.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.js +394 -15
- package/dist/index.mjs +391 -16
- package/dist/{sleep-CiR4z7r9.mjs → sleep-7AN_Txmu.mjs} +2 -0
- package/dist/{sleep-D7DPSeiv.js → sleep-CsgPITp-.js} +2 -0
- package/package.json +1 -1
|
@@ -2317,6 +2317,7 @@ var DEFAULT_RUNTIME_STATE_DURABILITY = "session";
|
|
|
2317
2317
|
function resolveCapMount(def) {
|
|
2318
2318
|
if (def.mount) return def.mount;
|
|
2319
2319
|
if (def.deviceNative === true) return { kind: "device-native" };
|
|
2320
|
+
if (def.scope === "device" && def.kind === "wrapper") return { kind: "device-scoped" };
|
|
2320
2321
|
if (def.mode === "collection") return { kind: "collection" };
|
|
2321
2322
|
return { kind: "singleton" };
|
|
2322
2323
|
}
|
|
@@ -3873,6 +3874,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3873
3874
|
vibration: { getStatus: (input) => dispatch("vibration", "vibration", "getStatus", "query", input) },
|
|
3874
3875
|
videoclips: {
|
|
3875
3876
|
listClips: (input) => dispatch("videoclips", "videoclips", "listClips", "query", input),
|
|
3877
|
+
listSources: (input) => dispatch("videoclips", "videoclips", "listSources", "query", input),
|
|
3876
3878
|
getClipPlayback: (input) => dispatch("videoclips", "videoclips", "getClipPlayback", "query", input)
|
|
3877
3879
|
},
|
|
3878
3880
|
waterHeater: {
|
|
@@ -2317,6 +2317,7 @@ var DEFAULT_RUNTIME_STATE_DURABILITY = "session";
|
|
|
2317
2317
|
function resolveCapMount(def) {
|
|
2318
2318
|
if (def.mount) return def.mount;
|
|
2319
2319
|
if (def.deviceNative === true) return { kind: "device-native" };
|
|
2320
|
+
if (def.scope === "device" && def.kind === "wrapper") return { kind: "device-scoped" };
|
|
2320
2321
|
if (def.mode === "collection") return { kind: "collection" };
|
|
2321
2322
|
return { kind: "singleton" };
|
|
2322
2323
|
}
|
|
@@ -3873,6 +3874,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3873
3874
|
vibration: { getStatus: (input) => dispatch("vibration", "vibration", "getStatus", "query", input) },
|
|
3874
3875
|
videoclips: {
|
|
3875
3876
|
listClips: (input) => dispatch("videoclips", "videoclips", "listClips", "query", input),
|
|
3877
|
+
listSources: (input) => dispatch("videoclips", "videoclips", "listSources", "query", input),
|
|
3876
3878
|
getClipPlayback: (input) => dispatch("videoclips", "videoclips", "getClipPlayback", "query", input)
|
|
3877
3879
|
},
|
|
3878
3880
|
waterHeater: {
|