@camstack/types 1.2.604 → 1.2.606
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 +12 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/battery.cap.d.ts +54 -0
- package/dist/composition/helpers/crop-geometry.d.ts +48 -0
- package/dist/composition/helpers/index.d.ts +2 -1
- package/dist/composition/helpers/spec.d.ts +27 -4
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/{implemented-methods-I_l2ENnf.js → implemented-methods-BHN-Utsb.js} +64 -4
- package/dist/{implemented-methods-BUBqZ2a0.mjs → implemented-methods-GRoJIvYs.mjs} +41 -5
- package/dist/index.js +166 -6
- package/dist/index.mjs +156 -7
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/{runtime-capabilities-ql3VRzQu.mjs → runtime-capabilities-C0PIVXwH.mjs} +57 -0
- package/dist/{runtime-capabilities-D9KsXMv7.js → runtime-capabilities-DCRxheYq.js} +57 -0
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
24
|
const require_composed_stable_id = require("./composed-stable-id-DkF5-kuf.js");
|
|
25
|
-
const require_implemented_methods = require("./implemented-methods-
|
|
25
|
+
const require_implemented_methods = require("./implemented-methods-BHN-Utsb.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
1
|
import { s as errMsg } from "./composed-stable-id-DIeNz933.mjs";
|
|
2
|
-
import { B as compositionSourceKey, _r as
|
|
2
|
+
import { B as compositionSourceKey, _r as buildFfmpegArgs, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, ar as FFMPEG_PATH_ENV, cr as FFMPEG_RELEASE, dr as canonicalHash, fr as Fmp4BoxSplitter, lr as getFfmpegArtifact, or as chooseFfmpegBinary, sr as ffmpegBinaryName, t as implementedMethodsOf, ur as getFfmpegDownloadUrl, xr as isSoftwareDecode } from "./implemented-methods-GRoJIvYs.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";
|
|
@@ -17552,6 +17552,45 @@ var CAP_VOCABULARY = {
|
|
|
17552
17552
|
}
|
|
17553
17553
|
],
|
|
17554
17554
|
icon: "battery-charging"
|
|
17555
|
+
},
|
|
17556
|
+
{
|
|
17557
|
+
kind: "enum",
|
|
17558
|
+
field: "chargeState",
|
|
17559
|
+
label: {
|
|
17560
|
+
en: "Charge state",
|
|
17561
|
+
it: "Stato di carica"
|
|
17562
|
+
},
|
|
17563
|
+
values: [
|
|
17564
|
+
{
|
|
17565
|
+
value: "charging",
|
|
17566
|
+
label: {
|
|
17567
|
+
en: "Charging",
|
|
17568
|
+
it: "In carica"
|
|
17569
|
+
}
|
|
17570
|
+
},
|
|
17571
|
+
{
|
|
17572
|
+
value: "full",
|
|
17573
|
+
label: {
|
|
17574
|
+
en: "Full",
|
|
17575
|
+
it: "Carica completa"
|
|
17576
|
+
}
|
|
17577
|
+
},
|
|
17578
|
+
{
|
|
17579
|
+
value: "idle",
|
|
17580
|
+
label: {
|
|
17581
|
+
en: "Not charging",
|
|
17582
|
+
it: "Non in carica"
|
|
17583
|
+
}
|
|
17584
|
+
},
|
|
17585
|
+
{
|
|
17586
|
+
value: "unknown",
|
|
17587
|
+
label: {
|
|
17588
|
+
en: "Unknown",
|
|
17589
|
+
it: "Sconosciuto"
|
|
17590
|
+
}
|
|
17591
|
+
}
|
|
17592
|
+
],
|
|
17593
|
+
icon: "battery-charging"
|
|
17555
17594
|
}
|
|
17556
17595
|
],
|
|
17557
17596
|
events: { onStatusChanged: { notOperatorFacing: "the level / sleeping / charging state triggers each read one field of this change" } },
|
|
@@ -19229,6 +19268,24 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
19229
19268
|
"path": "voltage",
|
|
19230
19269
|
"valueType": "number"
|
|
19231
19270
|
},
|
|
19271
|
+
{
|
|
19272
|
+
"path": "chargeState",
|
|
19273
|
+
"valueType": "enum",
|
|
19274
|
+
"enumValues": [
|
|
19275
|
+
"charging",
|
|
19276
|
+
"full",
|
|
19277
|
+
"idle",
|
|
19278
|
+
"unknown"
|
|
19279
|
+
]
|
|
19280
|
+
},
|
|
19281
|
+
{
|
|
19282
|
+
"path": "currentMa",
|
|
19283
|
+
"valueType": "number"
|
|
19284
|
+
},
|
|
19285
|
+
{
|
|
19286
|
+
"path": "temperatureC",
|
|
19287
|
+
"valueType": "number"
|
|
19288
|
+
},
|
|
19232
19289
|
{
|
|
19233
19290
|
"path": "lastContactAt",
|
|
19234
19291
|
"valueType": "number"
|
|
@@ -17552,6 +17552,45 @@ var CAP_VOCABULARY = {
|
|
|
17552
17552
|
}
|
|
17553
17553
|
],
|
|
17554
17554
|
icon: "battery-charging"
|
|
17555
|
+
},
|
|
17556
|
+
{
|
|
17557
|
+
kind: "enum",
|
|
17558
|
+
field: "chargeState",
|
|
17559
|
+
label: {
|
|
17560
|
+
en: "Charge state",
|
|
17561
|
+
it: "Stato di carica"
|
|
17562
|
+
},
|
|
17563
|
+
values: [
|
|
17564
|
+
{
|
|
17565
|
+
value: "charging",
|
|
17566
|
+
label: {
|
|
17567
|
+
en: "Charging",
|
|
17568
|
+
it: "In carica"
|
|
17569
|
+
}
|
|
17570
|
+
},
|
|
17571
|
+
{
|
|
17572
|
+
value: "full",
|
|
17573
|
+
label: {
|
|
17574
|
+
en: "Full",
|
|
17575
|
+
it: "Carica completa"
|
|
17576
|
+
}
|
|
17577
|
+
},
|
|
17578
|
+
{
|
|
17579
|
+
value: "idle",
|
|
17580
|
+
label: {
|
|
17581
|
+
en: "Not charging",
|
|
17582
|
+
it: "Non in carica"
|
|
17583
|
+
}
|
|
17584
|
+
},
|
|
17585
|
+
{
|
|
17586
|
+
value: "unknown",
|
|
17587
|
+
label: {
|
|
17588
|
+
en: "Unknown",
|
|
17589
|
+
it: "Sconosciuto"
|
|
17590
|
+
}
|
|
17591
|
+
}
|
|
17592
|
+
],
|
|
17593
|
+
icon: "battery-charging"
|
|
17555
17594
|
}
|
|
17556
17595
|
],
|
|
17557
17596
|
events: { onStatusChanged: { notOperatorFacing: "the level / sleeping / charging state triggers each read one field of this change" } },
|
|
@@ -19229,6 +19268,24 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
19229
19268
|
"path": "voltage",
|
|
19230
19269
|
"valueType": "number"
|
|
19231
19270
|
},
|
|
19271
|
+
{
|
|
19272
|
+
"path": "chargeState",
|
|
19273
|
+
"valueType": "enum",
|
|
19274
|
+
"enumValues": [
|
|
19275
|
+
"charging",
|
|
19276
|
+
"full",
|
|
19277
|
+
"idle",
|
|
19278
|
+
"unknown"
|
|
19279
|
+
]
|
|
19280
|
+
},
|
|
19281
|
+
{
|
|
19282
|
+
"path": "currentMa",
|
|
19283
|
+
"valueType": "number"
|
|
19284
|
+
},
|
|
19285
|
+
{
|
|
19286
|
+
"path": "temperatureC",
|
|
19287
|
+
"valueType": "number"
|
|
19288
|
+
},
|
|
19232
19289
|
{
|
|
19233
19290
|
"path": "lastContactAt",
|
|
19234
19291
|
"valueType": "number"
|