@camstack/types 1.2.557 → 1.2.559
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 +15 -0
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/automation/action-target.d.ts +8 -0
- package/dist/client.d.ts +2 -1
- package/dist/client.js +289 -0
- package/dist/client.mjs +288 -1
- package/dist/{composed-stable-id-CDNLq7Y8.js → composed-stable-id-BmJ_5GiE.js} +5 -0
- package/dist/{composed-stable-id-CPp3votu.mjs → composed-stable-id-iddnCQ51.mjs} +5 -0
- package/dist/composition/composition.d.ts +8 -0
- package/dist/composition/helpers/index.d.ts +1 -1
- package/dist/composition/helpers/save.d.ts +2 -0
- package/dist/composition/helpers/source-pick.d.ts +11 -5
- package/dist/composition/validate-composition.d.ts +2 -0
- package/dist/device/device-icon.d.ts +136 -0
- package/dist/device/device-kind.d.ts +36 -0
- package/dist/device/device-type.d.ts +5 -0
- package/dist/device/hero/hero-look.d.ts +6 -0
- package/dist/device/hero/hero-measurement.d.ts +7 -0
- package/dist/device/hero/hero-scene.d.ts +1 -0
- package/dist/device/hero/hero-text.d.ts +8 -0
- package/dist/device/hero/index.d.ts +2 -2
- package/dist/device/index.d.ts +3 -1
- package/dist/{implemented-methods-5YMDeE3f.mjs → implemented-methods-CSTk6zYK.mjs} +147 -2
- package/dist/{implemented-methods-Cj65uy2F.js → implemented-methods-CfaRR_ki.js} +212 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +529 -284
- package/dist/index.mjs +507 -278
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-DyIxjZZt.mjs → sleep-BvVGLl30.mjs} +8 -1
- package/dist/{sleep-1RkA30Y1.js → sleep-CyWfD1LJ.js} +8 -1
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -21,8 +21,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
|
-
const require_composed_stable_id = require("./composed-stable-id-
|
|
25
|
-
const require_implemented_methods = require("./implemented-methods-
|
|
24
|
+
const require_composed_stable_id = require("./composed-stable-id-BmJ_5GiE.js");
|
|
25
|
+
const require_implemented_methods = require("./implemented-methods-CfaRR_ki.js");
|
|
26
26
|
let node_crypto = require("node:crypto");
|
|
27
27
|
let node_fs = require("node:fs");
|
|
28
28
|
node_fs = __toESM(node_fs);
|
package/dist/node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as errMsg } from "./composed-stable-id-
|
|
2
|
-
import {
|
|
1
|
+
import { s as errMsg } from "./composed-stable-id-iddnCQ51.mjs";
|
|
2
|
+
import { Gn as FFMPEG_RELEASE, Hn as FFMPEG_PATH_ENV, Jn as canonicalHash, Kn as getFfmpegArtifact, Un as chooseFfmpegBinary, Wn as ffmpegBinaryName, Yn as Fmp4BoxSplitter, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, er as buildFfmpegArgs, ir as isSoftwareDecode, qn as getFfmpegDownloadUrl, t as implementedMethodsOf, z as compositionSourceKey } from "./implemented-methods-CSTk6zYK.mjs";
|
|
3
3
|
import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import { chmodSync, copyFileSync, createWriteStream, existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-Dv-Gcv1f.mjs";
|
|
2
|
-
import { a as DeviceType, i as DeviceRole, s as errMsg } from "./composed-stable-id-
|
|
2
|
+
import { a as DeviceType, i as DeviceRole, s as errMsg } from "./composed-stable-id-iddnCQ51.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/audio/audio-chunk-format.ts
|
|
5
5
|
/**
|
|
@@ -8051,6 +8051,13 @@ var ACTUATOR_CAP_VOCABULARY = {
|
|
|
8051
8051
|
},
|
|
8052
8052
|
state: { on: { icon: "lightbulb" } }
|
|
8053
8053
|
},
|
|
8054
|
+
[DeviceRole.SwitchLight]: {
|
|
8055
|
+
actions: {
|
|
8056
|
+
"switch.on": { icon: "lightbulb" },
|
|
8057
|
+
"switch.off": { icon: "lightbulb-off" }
|
|
8058
|
+
},
|
|
8059
|
+
state: { on: { icon: "lightbulb" } }
|
|
8060
|
+
},
|
|
8054
8061
|
[DeviceRole.Chime]: { actions: {
|
|
8055
8062
|
"switch.on": {
|
|
8056
8063
|
label: t("Enable chime", "Attiva il campanello"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_event_category = require("./event-category-Ps2LC8dN.js");
|
|
2
|
-
const require_composed_stable_id = require("./composed-stable-id-
|
|
2
|
+
const require_composed_stable_id = require("./composed-stable-id-BmJ_5GiE.js");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
//#region src/audio/audio-chunk-format.ts
|
|
5
5
|
/**
|
|
@@ -8051,6 +8051,13 @@ var ACTUATOR_CAP_VOCABULARY = {
|
|
|
8051
8051
|
},
|
|
8052
8052
|
state: { on: { icon: "lightbulb" } }
|
|
8053
8053
|
},
|
|
8054
|
+
[require_composed_stable_id.DeviceRole.SwitchLight]: {
|
|
8055
|
+
actions: {
|
|
8056
|
+
"switch.on": { icon: "lightbulb" },
|
|
8057
|
+
"switch.off": { icon: "lightbulb-off" }
|
|
8058
|
+
},
|
|
8059
|
+
state: { on: { icon: "lightbulb" } }
|
|
8060
|
+
},
|
|
8054
8061
|
[require_composed_stable_id.DeviceRole.Chime]: { actions: {
|
|
8055
8062
|
"switch.on": {
|
|
8056
8063
|
label: t("Enable chime", "Attiva il campanello"),
|