@camstack/types 1.2.585 → 1.2.587
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 +38 -1
- package/dist/addon.d.ts +2 -0
- package/dist/addon.js +21 -5
- package/dist/addon.mjs +18 -6
- package/dist/capabilities/camera-grid-layout.cap.d.ts +3 -5
- package/dist/capabilities/cap-method-absent.d.ts +19 -0
- package/dist/capabilities/device-manager.cap.d.ts +422 -0
- package/dist/capabilities/hero-layout.cap.d.ts +2 -2
- package/dist/capabilities/index.d.ts +11 -7
- package/dist/capabilities/network-link.cap.d.ts +10 -0
- package/dist/capabilities/notification-rules.cap.d.ts +70 -0
- package/dist/capabilities/power-source.cap.d.ts +20 -0
- package/dist/capabilities/recording-export.cap.d.ts +1 -0
- package/dist/capabilities/siren-duration.d.ts +45 -7
- package/dist/capabilities/siren.cap.d.ts +45 -2
- package/dist/capabilities/switch-settable.d.ts +15 -0
- package/dist/capabilities/switch.cap.d.ts +71 -0
- package/dist/capabilities/tags.cap.d.ts +42 -16
- package/dist/capabilities/terminal-session.cap.d.ts +9 -60
- package/dist/capabilities/videoclips.cap.d.ts +3 -0
- package/dist/capabilities/workload.cap.d.ts +655 -0
- package/dist/client.js +119 -6
- package/dist/client.mjs +119 -6
- package/dist/{composed-stable-id-RvQIEpqg.mjs → composed-stable-id-BBL71oUQ.mjs} +20 -0
- package/dist/{composed-stable-id-C3NfRTj8.js → composed-stable-id-CVbyajE5.js} +20 -0
- package/dist/composition/engine-hosted-blocks.d.ts +131 -0
- package/dist/composition/helpers/index.d.ts +1 -1
- package/dist/composition/helpers/spec.d.ts +56 -2
- package/dist/composition/index.d.ts +1 -0
- package/dist/device/base-device.d.ts +29 -0
- package/dist/device/cap-vocabulary/declaration.d.ts +12 -1
- package/dist/device/cap-vocabulary/index.d.ts +4 -4
- package/dist/device/cap-vocabulary/resolve.d.ts +47 -1
- package/dist/device/cap-vocabulary/types.d.ts +26 -1
- package/dist/device/declare-identifiers.d.ts +58 -0
- package/dist/device/device-control-resolution.d.ts +1 -1
- package/dist/device/device-icon.d.ts +7 -0
- package/dist/device/device-identifiers.d.ts +190 -0
- package/dist/device/device-management.d.ts +10 -0
- package/dist/device/device-type.d.ts +22 -2
- package/dist/device/hero/build-hero-model.d.ts +15 -0
- package/dist/device/hero/hero-fragment.d.ts +11 -0
- package/dist/device/hero/hero-layout.d.ts +1 -0
- package/dist/device/hero/hero-look.d.ts +12 -0
- package/dist/device/hero/hero-model.d.ts +4 -4
- package/dist/device/hero/hero-scene.d.ts +7 -0
- package/dist/device/index.d.ts +5 -1
- package/dist/enums/event-category.d.ts +8 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-d9kiqCqC.js → event-category-CE_VCE2G.js} +8 -0
- package/dist/{event-category-Dhcd0TRH.mjs → event-category-Hwx_JSCU.mjs} +8 -0
- package/dist/generated/addon-api.d.ts +106 -14
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/cap-vocabulary.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/customize-catalog.d.ts +1 -1
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +4 -1
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +2 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/{implemented-methods-C7ScGvEz.js → implemented-methods-ChtdIofW.js} +128 -1
- package/dist/{implemented-methods-C5FMXLGP.mjs → implemented-methods-u7ddjc-_.mjs} +57 -2
- package/dist/index.d.ts +7 -3
- package/dist/index.js +2086 -439
- package/dist/index.mjs +2027 -438
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/notification/timelapse-rule.d.ts +3 -0
- package/dist/{sleep-DwRtgB2i.js → sleep-CsZJsb8n.js} +692 -35
- package/dist/{sleep-Ch7Q7UtE.mjs → sleep-D6Pih0Qt.mjs} +669 -36
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_composed_stable_id = require("./composed-stable-id-
|
|
1
|
+
const require_composed_stable_id = require("./composed-stable-id-CVbyajE5.js");
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
let node_crypto = require("node:crypto");
|
|
4
4
|
//#region src/ffmpeg/invocation.ts
|
|
@@ -3156,7 +3156,51 @@ var derivativeHelperObject = zod.z.object({
|
|
|
3156
3156
|
source: HelperMemberSchema
|
|
3157
3157
|
});
|
|
3158
3158
|
var DerivativeHelperSpecSchema = derivativeHelperObject;
|
|
3159
|
+
/** The stream profiles a camera grid can publish. */
|
|
3160
|
+
var GRID_PROFILES = [
|
|
3161
|
+
"high",
|
|
3162
|
+
"mid",
|
|
3163
|
+
"low"
|
|
3164
|
+
];
|
|
3165
|
+
var MAX_GRID_CELLS = 16;
|
|
3166
|
+
/** A rectangle in normalized [0,1] coordinates of whatever contains it. */
|
|
3167
|
+
var GridRectSchema = zod.z.object({
|
|
3168
|
+
x: zod.z.number().min(0).max(1),
|
|
3169
|
+
y: zod.z.number().min(0).max(1),
|
|
3170
|
+
width: zod.z.number().gt(0).max(1),
|
|
3171
|
+
height: zod.z.number().gt(0).max(1)
|
|
3172
|
+
});
|
|
3173
|
+
var GridCellSpecSchema = zod.z.object({
|
|
3174
|
+
source: CompositionSourceRefSchema,
|
|
3175
|
+
region: GridRectSchema,
|
|
3176
|
+
cell: GridRectSchema
|
|
3177
|
+
});
|
|
3178
|
+
var gridHelperObject = zod.z.object({
|
|
3179
|
+
kind: zod.z.literal("grid"),
|
|
3180
|
+
fps: zod.z.number().int().min(1).max(60),
|
|
3181
|
+
publishedProfiles: zod.z.array(zod.z.enum(GRID_PROFILES)).max(3),
|
|
3182
|
+
cells: zod.z.array(GridCellSpecSchema).max(16)
|
|
3183
|
+
});
|
|
3184
|
+
var GridHelperSpecSchema = gridHelperObject;
|
|
3185
|
+
/** A new grid: no cells yet, 10 fps, publishing the mid and low profiles. */
|
|
3186
|
+
var DEFAULT_GRID_FPS = 10;
|
|
3187
|
+
var DEFAULT_GRID_PROFILES = ["mid", "low"];
|
|
3188
|
+
function newGridHelperSpec() {
|
|
3189
|
+
return {
|
|
3190
|
+
kind: "grid",
|
|
3191
|
+
fps: 10,
|
|
3192
|
+
publishedProfiles: [...DEFAULT_GRID_PROFILES],
|
|
3193
|
+
cells: []
|
|
3194
|
+
};
|
|
3195
|
+
}
|
|
3196
|
+
var terminalHelperObject = zod.z.object({
|
|
3197
|
+
kind: zod.z.literal("terminal"),
|
|
3198
|
+
terminalId: zod.z.string().uuid()
|
|
3199
|
+
});
|
|
3200
|
+
var TerminalHelperSpecSchema = terminalHelperObject;
|
|
3159
3201
|
var HelperSpecSchema = zod.z.discriminatedUnion("kind", [
|
|
3202
|
+
gridHelperObject,
|
|
3203
|
+
terminalHelperObject,
|
|
3160
3204
|
GroupHelperSpecSchema,
|
|
3161
3205
|
statisticHelperObject,
|
|
3162
3206
|
integralHelperObject,
|
|
@@ -3178,8 +3222,19 @@ function helperMembers(spec) {
|
|
|
3178
3222
|
case "derivative": return [spec.source];
|
|
3179
3223
|
case "arithmetic": return spec.inputs;
|
|
3180
3224
|
case "expression": return spec.inputs.map((input) => input.member);
|
|
3225
|
+
case "grid":
|
|
3226
|
+
case "terminal": return [];
|
|
3181
3227
|
}
|
|
3182
3228
|
}
|
|
3229
|
+
/** The kinds whose camera an engine serves on the composer's row (planning#580). */
|
|
3230
|
+
var ENGINE_HOSTED_HELPER_KINDS = ["grid", "terminal"];
|
|
3231
|
+
function isEngineHostedHelper(spec) {
|
|
3232
|
+
return spec.kind === "grid" || spec.kind === "terminal";
|
|
3233
|
+
}
|
|
3234
|
+
/** The devices a helper depends on without reading a field of them: a grid's cell sources. */
|
|
3235
|
+
function helperDeviceRefs(spec) {
|
|
3236
|
+
return spec.kind === "grid" ? spec.cells.map((cell) => cell.source) : [];
|
|
3237
|
+
}
|
|
3183
3238
|
//#endregion
|
|
3184
3239
|
//#region src/composition/composition.ts
|
|
3185
3240
|
/**
|
|
@@ -3788,6 +3843,18 @@ Object.defineProperty(exports, "DEFAULT_FIRST_SIGHTING_FRESHNESS_MS", {
|
|
|
3788
3843
|
return DEFAULT_FIRST_SIGHTING_FRESHNESS_MS;
|
|
3789
3844
|
}
|
|
3790
3845
|
});
|
|
3846
|
+
Object.defineProperty(exports, "DEFAULT_GRID_FPS", {
|
|
3847
|
+
enumerable: true,
|
|
3848
|
+
get: function() {
|
|
3849
|
+
return DEFAULT_GRID_FPS;
|
|
3850
|
+
}
|
|
3851
|
+
});
|
|
3852
|
+
Object.defineProperty(exports, "DEFAULT_GRID_PROFILES", {
|
|
3853
|
+
enumerable: true,
|
|
3854
|
+
get: function() {
|
|
3855
|
+
return DEFAULT_GRID_PROFILES;
|
|
3856
|
+
}
|
|
3857
|
+
});
|
|
3791
3858
|
Object.defineProperty(exports, "DEFAULT_HISTORY_RETENTION", {
|
|
3792
3859
|
enumerable: true,
|
|
3793
3860
|
get: function() {
|
|
@@ -3806,6 +3873,12 @@ Object.defineProperty(exports, "DerivativeHelperSpecSchema", {
|
|
|
3806
3873
|
return DerivativeHelperSpecSchema;
|
|
3807
3874
|
}
|
|
3808
3875
|
});
|
|
3876
|
+
Object.defineProperty(exports, "ENGINE_HOSTED_HELPER_KINDS", {
|
|
3877
|
+
enumerable: true,
|
|
3878
|
+
get: function() {
|
|
3879
|
+
return ENGINE_HOSTED_HELPER_KINDS;
|
|
3880
|
+
}
|
|
3881
|
+
});
|
|
3809
3882
|
Object.defineProperty(exports, "EXPRESSION_BUILTINS", {
|
|
3810
3883
|
enumerable: true,
|
|
3811
3884
|
get: function() {
|
|
@@ -3884,12 +3957,36 @@ Object.defineProperty(exports, "Fmp4BoxSplitter", {
|
|
|
3884
3957
|
return Fmp4BoxSplitter;
|
|
3885
3958
|
}
|
|
3886
3959
|
});
|
|
3960
|
+
Object.defineProperty(exports, "GRID_PROFILES", {
|
|
3961
|
+
enumerable: true,
|
|
3962
|
+
get: function() {
|
|
3963
|
+
return GRID_PROFILES;
|
|
3964
|
+
}
|
|
3965
|
+
});
|
|
3887
3966
|
Object.defineProperty(exports, "GROUP_TEMPLATE_IDS", {
|
|
3888
3967
|
enumerable: true,
|
|
3889
3968
|
get: function() {
|
|
3890
3969
|
return GROUP_TEMPLATE_IDS;
|
|
3891
3970
|
}
|
|
3892
3971
|
});
|
|
3972
|
+
Object.defineProperty(exports, "GridCellSpecSchema", {
|
|
3973
|
+
enumerable: true,
|
|
3974
|
+
get: function() {
|
|
3975
|
+
return GridCellSpecSchema;
|
|
3976
|
+
}
|
|
3977
|
+
});
|
|
3978
|
+
Object.defineProperty(exports, "GridHelperSpecSchema", {
|
|
3979
|
+
enumerable: true,
|
|
3980
|
+
get: function() {
|
|
3981
|
+
return GridHelperSpecSchema;
|
|
3982
|
+
}
|
|
3983
|
+
});
|
|
3984
|
+
Object.defineProperty(exports, "GridRectSchema", {
|
|
3985
|
+
enumerable: true,
|
|
3986
|
+
get: function() {
|
|
3987
|
+
return GridRectSchema;
|
|
3988
|
+
}
|
|
3989
|
+
});
|
|
3893
3990
|
Object.defineProperty(exports, "GroupHelperSpecSchema", {
|
|
3894
3991
|
enumerable: true,
|
|
3895
3992
|
get: function() {
|
|
@@ -4010,6 +4107,12 @@ Object.defineProperty(exports, "MAX_EXPRESSION_SOURCE_LENGTH", {
|
|
|
4010
4107
|
return MAX_EXPRESSION_SOURCE_LENGTH;
|
|
4011
4108
|
}
|
|
4012
4109
|
});
|
|
4110
|
+
Object.defineProperty(exports, "MAX_GRID_CELLS", {
|
|
4111
|
+
enumerable: true,
|
|
4112
|
+
get: function() {
|
|
4113
|
+
return MAX_GRID_CELLS;
|
|
4114
|
+
}
|
|
4115
|
+
});
|
|
4013
4116
|
Object.defineProperty(exports, "MAX_HELPER_MEMBERS", {
|
|
4014
4117
|
enumerable: true,
|
|
4015
4118
|
get: function() {
|
|
@@ -4118,6 +4221,12 @@ Object.defineProperty(exports, "StoredDeviceTypeSchema", {
|
|
|
4118
4221
|
return StoredDeviceTypeSchema;
|
|
4119
4222
|
}
|
|
4120
4223
|
});
|
|
4224
|
+
Object.defineProperty(exports, "TerminalHelperSpecSchema", {
|
|
4225
|
+
enumerable: true,
|
|
4226
|
+
get: function() {
|
|
4227
|
+
return TerminalHelperSpecSchema;
|
|
4228
|
+
}
|
|
4229
|
+
});
|
|
4121
4230
|
Object.defineProperty(exports, "ThresholdHelperSpecSchema", {
|
|
4122
4231
|
enumerable: true,
|
|
4123
4232
|
get: function() {
|
|
@@ -4364,6 +4473,12 @@ Object.defineProperty(exports, "getFfmpegDownloadUrl", {
|
|
|
4364
4473
|
return getFfmpegDownloadUrl;
|
|
4365
4474
|
}
|
|
4366
4475
|
});
|
|
4476
|
+
Object.defineProperty(exports, "helperDeviceRefs", {
|
|
4477
|
+
enumerable: true,
|
|
4478
|
+
get: function() {
|
|
4479
|
+
return helperDeviceRefs;
|
|
4480
|
+
}
|
|
4481
|
+
});
|
|
4367
4482
|
Object.defineProperty(exports, "helperMembers", {
|
|
4368
4483
|
enumerable: true,
|
|
4369
4484
|
get: function() {
|
|
@@ -4406,6 +4521,12 @@ Object.defineProperty(exports, "isAirConditioner", {
|
|
|
4406
4521
|
return isAirConditioner;
|
|
4407
4522
|
}
|
|
4408
4523
|
});
|
|
4524
|
+
Object.defineProperty(exports, "isEngineHostedHelper", {
|
|
4525
|
+
enumerable: true,
|
|
4526
|
+
get: function() {
|
|
4527
|
+
return isEngineHostedHelper;
|
|
4528
|
+
}
|
|
4529
|
+
});
|
|
4409
4530
|
Object.defineProperty(exports, "isForwardInputRef", {
|
|
4410
4531
|
enumerable: true,
|
|
4411
4532
|
get: function() {
|
|
@@ -4472,6 +4593,12 @@ Object.defineProperty(exports, "maxDurationMs", {
|
|
|
4472
4593
|
return maxDurationMs;
|
|
4473
4594
|
}
|
|
4474
4595
|
});
|
|
4596
|
+
Object.defineProperty(exports, "newGridHelperSpec", {
|
|
4597
|
+
enumerable: true,
|
|
4598
|
+
get: function() {
|
|
4599
|
+
return newGridHelperSpec;
|
|
4600
|
+
}
|
|
4601
|
+
});
|
|
4475
4602
|
Object.defineProperty(exports, "nextLocalMidnight", {
|
|
4476
4603
|
enumerable: true,
|
|
4477
4604
|
get: function() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DeviceType, i as DeviceRole, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-
|
|
1
|
+
import { a as DeviceType, i as DeviceRole, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-BBL71oUQ.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
//#region src/ffmpeg/invocation.ts
|
|
@@ -3156,7 +3156,51 @@ var derivativeHelperObject = z.object({
|
|
|
3156
3156
|
source: HelperMemberSchema
|
|
3157
3157
|
});
|
|
3158
3158
|
var DerivativeHelperSpecSchema = derivativeHelperObject;
|
|
3159
|
+
/** The stream profiles a camera grid can publish. */
|
|
3160
|
+
var GRID_PROFILES = [
|
|
3161
|
+
"high",
|
|
3162
|
+
"mid",
|
|
3163
|
+
"low"
|
|
3164
|
+
];
|
|
3165
|
+
var MAX_GRID_CELLS = 16;
|
|
3166
|
+
/** A rectangle in normalized [0,1] coordinates of whatever contains it. */
|
|
3167
|
+
var GridRectSchema = z.object({
|
|
3168
|
+
x: z.number().min(0).max(1),
|
|
3169
|
+
y: z.number().min(0).max(1),
|
|
3170
|
+
width: z.number().gt(0).max(1),
|
|
3171
|
+
height: z.number().gt(0).max(1)
|
|
3172
|
+
});
|
|
3173
|
+
var GridCellSpecSchema = z.object({
|
|
3174
|
+
source: CompositionSourceRefSchema,
|
|
3175
|
+
region: GridRectSchema,
|
|
3176
|
+
cell: GridRectSchema
|
|
3177
|
+
});
|
|
3178
|
+
var gridHelperObject = z.object({
|
|
3179
|
+
kind: z.literal("grid"),
|
|
3180
|
+
fps: z.number().int().min(1).max(60),
|
|
3181
|
+
publishedProfiles: z.array(z.enum(GRID_PROFILES)).max(3),
|
|
3182
|
+
cells: z.array(GridCellSpecSchema).max(16)
|
|
3183
|
+
});
|
|
3184
|
+
var GridHelperSpecSchema = gridHelperObject;
|
|
3185
|
+
/** A new grid: no cells yet, 10 fps, publishing the mid and low profiles. */
|
|
3186
|
+
var DEFAULT_GRID_FPS = 10;
|
|
3187
|
+
var DEFAULT_GRID_PROFILES = ["mid", "low"];
|
|
3188
|
+
function newGridHelperSpec() {
|
|
3189
|
+
return {
|
|
3190
|
+
kind: "grid",
|
|
3191
|
+
fps: 10,
|
|
3192
|
+
publishedProfiles: [...DEFAULT_GRID_PROFILES],
|
|
3193
|
+
cells: []
|
|
3194
|
+
};
|
|
3195
|
+
}
|
|
3196
|
+
var terminalHelperObject = z.object({
|
|
3197
|
+
kind: z.literal("terminal"),
|
|
3198
|
+
terminalId: z.string().uuid()
|
|
3199
|
+
});
|
|
3200
|
+
var TerminalHelperSpecSchema = terminalHelperObject;
|
|
3159
3201
|
var HelperSpecSchema = z.discriminatedUnion("kind", [
|
|
3202
|
+
gridHelperObject,
|
|
3203
|
+
terminalHelperObject,
|
|
3160
3204
|
GroupHelperSpecSchema,
|
|
3161
3205
|
statisticHelperObject,
|
|
3162
3206
|
integralHelperObject,
|
|
@@ -3178,8 +3222,19 @@ function helperMembers(spec) {
|
|
|
3178
3222
|
case "derivative": return [spec.source];
|
|
3179
3223
|
case "arithmetic": return spec.inputs;
|
|
3180
3224
|
case "expression": return spec.inputs.map((input) => input.member);
|
|
3225
|
+
case "grid":
|
|
3226
|
+
case "terminal": return [];
|
|
3181
3227
|
}
|
|
3182
3228
|
}
|
|
3229
|
+
/** The kinds whose camera an engine serves on the composer's row (planning#580). */
|
|
3230
|
+
var ENGINE_HOSTED_HELPER_KINDS = ["grid", "terminal"];
|
|
3231
|
+
function isEngineHostedHelper(spec) {
|
|
3232
|
+
return spec.kind === "grid" || spec.kind === "terminal";
|
|
3233
|
+
}
|
|
3234
|
+
/** The devices a helper depends on without reading a field of them: a grid's cell sources. */
|
|
3235
|
+
function helperDeviceRefs(spec) {
|
|
3236
|
+
return spec.kind === "grid" ? spec.cells.map((cell) => cell.source) : [];
|
|
3237
|
+
}
|
|
3183
3238
|
//#endregion
|
|
3184
3239
|
//#region src/composition/composition.ts
|
|
3185
3240
|
/**
|
|
@@ -3554,4 +3609,4 @@ function implementedMethodsOf(methodNames, provider) {
|
|
|
3554
3609
|
return methodNames.filter((name) => typeof Reflect.get(provider, name) === "function");
|
|
3555
3610
|
}
|
|
3556
3611
|
//#endregion
|
|
3557
|
-
export {
|
|
3612
|
+
export { DERIVATIVE_UNITS as $, isSwitchLight as $n, evaluateDerivative as $t, MAX_COMPOSITION_FIELDS_PER_FEATURE as A, evaluateRose as An, DEFAULT_HISTORY_RETENTION as At, featureFieldEntries as B, evaluateSensorLevelEdge as Bn, StatisticWindowSchema as Bt, CompositionPassthroughFeatureSchema as C, MAX_EXPRESSION_SOURCE_LENGTH as Cn, isEngineHostedHelper as Ct, FORWARD_INPUT_KEY as D, disarmRoseMemory as Dn, CALENDAR_PERIODS as Dt, CompositionTargetSchema as E, EXPRESSION_BUILTIN_NAMES as En, CompositionSourceRefSchema as Et, compositionFeatureEnabled as F, SOURCE_CAPS as Fn, MINUTE_MS as Ft, AGGREGATE_REDUCERS as G, StoredDeviceTypeSchema as Gn, openReset as Gt, fieldReads as H, sliceActiveValue as Hn, integralCadenceMs as Ht, compositionItemFieldPath as I, SOURCE_CAP_ACTIVE_FIELD as In, MIN_CUSTOM_MINUTES as It, AggregateReducerSchema as J, climateRoleOf as Jn, planStatisticTier as Jt, ARITHMETIC_OPS as K, canonicalStoredDeviceType as Kn, openStatistic as Kt, compositionReadKey as L, SOURCE_CAP_CHANGED_AT_FIELD as Ln, RESET_PERIODS as Lt, canonicalStoredBlockTarget as M, ExpressionEvalError as Mn, HISTORY_SLOW_MS as Mt, composedDeviceRef as N, ExpressionParseError as Nn, HISTORY_TIERS as Nt, MAX_COMPOSITION_CODE_LENGTH as O, evaluateCount as On, CalendarWindowSchema as Ot, composedDeviceStableId as P, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as Pn, HOUR_MS as Pt, DEFAULT_GRID_PROFILES as Q, isSwitchHeater as Qn, STATISTIC_STATS as Qt, compositionSliceKey as R, SOURCE_DEVICE_TYPES as Rn, ROLLING_SPANS as Rt, CompositionNewTargetSchema as S, MAX_EXPRESSION_EVAL_STEPS as Sn, helperMembers as St, CompositionSeriesSourceSchema as T, EXPRESSION_BUILTINS as Tn, newGridHelperSpec as Tt, isForwardInputRef as U, sliceChangedAt as Un, maxDurationMs as Ut, featureSources as V, isSourceCap as Vn, historyRetentionFromSettings as Vt, ACTIVE_CRITERIA as W, CLIMATE_ROLES as Wn, nextLocalMidnight as Wt, BINARY_AGGREGATES as X, isOutlet as Xn, statisticCadenceMs as Xt, ArithmeticHelperSpecSchema as Y, isAirConditioner as Yn, rollingDurationMs as Yt, DEFAULT_GRID_FPS as Z, isSwitchFan as Zn, SERIES_KINDS as Zt, CompositionForwardArgSchema as _, EXPRESSION_COMPILE_CACHE_CAPACITY as _n, logBannerArgs as _r, NUMERIC_AGGREGATES as _t, CUSTOMIZATION_BLOCK_NAME_PREFIX as a, cloneStatefulExpressionMemory as an, getFfmpegDownloadUrl as ar, GROUP_TEMPLATE_IDS as at, CompositionItemEntrySchema as b, MAX_EXPRESSION_BINDINGS as bn, ThresholdHelperSpecSchema as bt, CompositionCodeSourceSchema as c, evaluateStatefulExpressionCall as cn, AUDIO_PRESETS as cr, GridRectSchema as ct, CompositionExpressionSourceSchema as d, createExpressionScope as dn, buildAudioArgs as dr, HelperMemberSchema as dt, evaluateStatistic as en, FFMPEG_PATH_ENV as er, DerivativeHelperSpecSchema as et, CompositionExtensionCommandSchema as f, evaluateAst as fn, buildFfmpegArgs as fr, HelperSpecSchema as ft, CompositionFieldsFeatureSchema as g, tokenize as gn, isSoftwareDecode as gr, MAX_HELPER_MEMBERS as gt, CompositionFieldSourceSchema as h, parseExpression as hn, invocationFromEncodeProfile as hr, MAX_GRID_CELLS as ht, COMPOSITION_ITEM_KEY_RE as i, EXPRESSION_INJECTED_NOW as in, getFfmpegArtifact as ir, GRID_PROFILES as it, MAX_COMPOSITION_ITEMS as j, isStatefulBuiltin as jn, HISTORY_FAST_MS as jt, MAX_COMPOSITION_FEATURES as k, evaluateDwell as kn, DAY_MS as kt, CompositionCommandTargetSchema as l, toExpressionValue as ln, RESTREAM_INPUT_PROBE as lr, GroupHelperSpecSchema as lt, CompositionFieldReadSchema as m, compileExpressionSafe as mn, buildVideoArgs as mr, IntegralHelperSpecSchema as mt, COMPOSER_ADDON_ID as n, KWH_PER_WATT_MS as nn, ffmpegBinaryName as nr, EXPRESSION_OUTPUTS as nt, CompositionAggregateSourceSchema as o, createStatefulExpressionMemory as on, canonicalHash as or, GridCellSpecSchema as ot, CompositionFeatureSchema as p, compileExpression as pn, buildInputArgs as pr, INTEGRAL_OUTPUTS as pt, ActiveCriterionSchema as q, capAppliesToDeviceKind as qn, planResetTier as qt, COMPOSITION_ITEM_ARRAY_PATH as r, wattMillisecondsToKwh as rn, FFMPEG_RELEASE as rr, ExpressionHelperSpecSchema as rt, CompositionBindingSchema as s, evaluateExpressionSource as sn, Fmp4BoxSplitter as sr, GridHelperSpecSchema as st, implementedMethodsOf as t, integrateReading as tn, chooseFfmpegBinary as tr, ENGINE_HOSTED_HELPER_KINDS as tt, CompositionExistingTargetSchema as u, validateExpressionSource as un, audioPlanFromEncodeProfile as ur, GroupTemplateIdSchema as ut, CompositionForwardCommandSchema as v, EXPRESSION_IDENTIFIER_RE as vn, pickVideoEncoder as vr, StatisticHelperSpecSchema as vt, CompositionSchema as w, RESERVED_BINDING_NAMES as wn, isHistoryHelper as wt, CompositionLiteralBindingSchema as x, MAX_EXPRESSION_CALL_ARGS as xn, helperDeviceRefs as xt, CompositionFromSourceSchema as y, MAX_EXPRESSION_AST_NODES as yn, resolveStreamMaps as yr, TerminalHelperSpecSchema as yt, compositionSourceKey as z, evaluateSensorEdge as zn, RollingWindowSchema as zt };
|
package/dist/index.d.ts
CHANGED
|
@@ -247,7 +247,7 @@ export { DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, evaluateSensorEdge, evaluateSensor
|
|
|
247
247
|
export * from './constants.js';
|
|
248
248
|
export type { AccessoryKindValue } from './device/accessory.js';
|
|
249
249
|
export { ACCESSORY_LABEL, AccessoryKind, accessoryStableId, } from './device/accessory.js';
|
|
250
|
-
export type { AccessoryChildrenAnswer, AccessoryChildrenComplete, AccessoryChildrenRead, AccessoryChildrenUnknown, AccessoryChildSpec, } from './device/base-device.js';
|
|
250
|
+
export type { AccessoryChildrenAnswer, AccessoryChildrenComplete, AccessoryChildrenRead, AccessoryChildrenUnknown, AccessoryChildSpec, DeviceStatusOwnership, } from './device/base-device.js';
|
|
251
251
|
export { accessoryChildrenComplete, accessoryChildrenUnknown, BaseDevice, } from './device/base-device.js';
|
|
252
252
|
export type { CreateDeviceOrigin, CreationSchemaContext, DeviceClassRow, DeviceRestoreReport, DeviceSummary, DiscoveryCandidate, FieldProbeResult, } from './device/base-device-provider.js';
|
|
253
253
|
export { BaseDeviceProvider, toDeviceSummary } from './device/base-device-provider.js';
|
|
@@ -269,8 +269,12 @@ export type { AccessoryControlInput, AccessoryControlKind, AccessoryControlPick,
|
|
|
269
269
|
export { DEVICE_TYPE_CONTROL_KIND, hasMotionTrigger, isNode, MOTION_TRIGGER_FEATURE, pickAccessoryControl, resolveDeviceControlKind, resolveMutate, SENSOR_FEATURES, SENSOR_MAP, } from './device/device-control-resolution.js';
|
|
270
270
|
export * from './device/hero/index.js';
|
|
271
271
|
export { isDoPickerDeviceType } from './device/device-do-actions.js';
|
|
272
|
-
export type { CapVocabularyEntry, CapVocabularyMap, L10n as VocabL10n, ActionEffect, CommandEffect, IndexedVocabAction, VocabActionRefusal, VocabCall, LooseCapVocabularyEntry, LooseVocabEffect, LooseVocabOffer, LooseVocabOpenArg, ResolvedBooleanTrigger, ResolvedEnumTrigger, ResolvedEnumValue, ResolvedEventTrigger, ResolvedNumericTrigger, ResolvedValueTrigger, ResolvedVocabAction, ResolvedVocabTrigger, VocabBindingsInput, VocabCapName, VocabLocale, CapVocabularyDecl, DeviceCapVocabularyDecl, EventVocabularyDecl, LooseMethodActionDecl, MethodActionArgs, MethodActionDecl, MethodActionEffect, MethodActionOpenArg, SystemCapVocabularyDecl, } from './device/cap-vocabulary/index.js';
|
|
273
|
-
export { actionEffect, actionsForDevice as vocabularyActionsForDevice, deviceOffersActions, allVocabActions, auditedFields, CAP_VOCABULARY, CAP_VOCABULARY_BY_NAME, commandEffect, findVocabAction, isCommand, renderVocabPhrase, triggersForDevice as vocabularyTriggersForDevice, VOCAB_TEMPLATES, vocabActionIdFor, vocabCall, VocabActionError, assertDeviceOffers, NOT_A_DEVICE, } from './device/cap-vocabulary/index.js';
|
|
272
|
+
export type { CapVocabularyEntry, CapVocabularyMap, L10n as VocabL10n, ActionEffect, CommandEffect, IndexedVocabAction, VocabActionRefusal, VocabCall, LooseCapVocabularyEntry, LooseVocabEffect, LooseVocabOffer, LooseVocabOpenArg, ResolvedBooleanTrigger, ResolvedEnumTrigger, ResolvedEnumValue, ResolvedEventTrigger, ResolvedNumericTrigger, ResolvedValueTrigger, ActionGateAnswer, ActionGateAnswerOf, DynamicOfferAnswer, DynamicOfferAnswerOf, LooseVocabActionGate, ResolvedVocabAction, ResolvedVocabTrigger, VocabBindingsInput, VocabCapName, VocabLocale, CapVocabularyDecl, DeviceCapVocabularyDecl, EventVocabularyDecl, LooseMethodActionDecl, MethodActionArgs, MethodActionDecl, MethodActionEffect, MethodActionGate, MethodActionOpenArg, SystemCapVocabularyDecl, } from './device/cap-vocabulary/index.js';
|
|
273
|
+
export { actionEffect, actionGateAnswerFrom, actionOfferedWith, actionsForDevice as vocabularyActionsForDevice, deviceOffersActions, offeredActionsWith, allVocabActions, auditedFields, CAP_VOCABULARY, CAP_VOCABULARY_BY_NAME, commandEffect, findVocabAction, isCommand, renderVocabPhrase, triggersForDevice as vocabularyTriggersForDevice, VOCAB_TEMPLATES, vocabActionIdFor, vocabCall, VocabActionError, assertDeviceOffers, NOT_A_DEVICE, } from './device/cap-vocabulary/index.js';
|
|
274
|
+
export { DEVICE_IDENTIFIER_KEYS, DeviceIdentifierEntrySchema, DeviceIdentifierKeySchema, DeviceIdentifierOriginSchema, DeviceIdentifiersSchema, identifierStrength, isEmptyIdentifiers, mergeIdentifiers, normaliseIdentifiers, sameIdentifiers, normaliseMac, } from './device/device-identifiers.js';
|
|
275
|
+
export type { AcceptedValue, DeviceIdentifierEntry, DeviceIdentifierKey, DeviceIdentifierOrigin, DeviceIdentifiers, DeviceIdentifierStrength, NormaliseIdentifiersOptions, NormalisedIdentifiers, NormaliseResult, RawDeviceIdentifiers, RawSerialIdentifier, RawVendorUidIdentifier, RejectedIdentifier, RejectedReason, } from './device/device-identifiers.js';
|
|
276
|
+
export { declareDeviceIdentifiers } from './device/declare-identifiers.js';
|
|
277
|
+
export type { DeclareIdentifiersDeps, DeclareIdentifiersOptions, DeclareIdentifiersOutcome, DeclareIdentifiersResult, IdentifiersWriter, SetIdentifiersInput, } from './device/declare-identifiers.js';
|
|
274
278
|
export type { ChildLayout, ChildLayoutEntry, CreateDeviceSpec, DeviceCapDisplayOverride, DeviceDiscovery, DeviceDisplayOverride, DeviceManualCreation, DeviceMeta, DiscoveredDevice, InitialDeviceMeta, RoleDisplayDefault, SavedDevice, } from './device/device-management.js';
|
|
275
279
|
export type { DeviceProfile, DeviceProfileDefaults, DeviceProfileMatch, PipelinePhaseMode, } from './device/device-profile.js';
|
|
276
280
|
export { BATTERY_DEVICE_PROFILE, DEVICE_PROFILES, deviceMatchesProfile, resolveDeviceProfile, } from './device/device-profile.js';
|