@camstack/types 1.2.557 → 1.2.558

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/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-CDNLq7Y8.js");
25
- const require_implemented_methods = require("./implemented-methods-Cj65uy2F.js");
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-CPp3votu.mjs";
2
- import { Fn as getFfmpegArtifact, In as getFfmpegDownloadUrl, Ln as canonicalHash, Mn as chooseFfmpegBinary, Nn as ffmpegBinaryName, Pn as FFMPEG_RELEASE, R as compositionSourceKey, Rn as Fmp4BoxSplitter, Un as buildFfmpegArgs, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, jn as FFMPEG_PATH_ENV, qn as isSoftwareDecode, t as implementedMethodsOf } from "./implemented-methods-5YMDeE3f.mjs";
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-CPp3votu.mjs";
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-CDNLq7Y8.js");
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"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.557",
3
+ "version": "1.2.558",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",