@camstack/addon-provider-homeassistant 1.2.611 → 1.2.613
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-D72IxYo_.js");
|
|
3
3
|
let node_crypto = require("node:crypto");
|
|
4
4
|
let node_zlib = require("node:zlib");
|
|
5
5
|
//#region src/ha-admin-link.ts
|
package/dist/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as connectivityCapability, At as discriminatedUnion, B as floodCapability, C as buildAddonRouteProvider, Ct as defineEntryKind, D as carbonMonoxideCapability, Dt as _enum, E as calendarSourceCapability, F as deviceAdoptionCapability, Ft as string, G as lawnMowerControlCapability, H as humidifierCapability, It as union, J as motionCapability, K as lockControlCapability, L as enumSensorCapability, Lt as unknown, M as controlCapability, Mt as number, N as coverCapability, Nt as object, O as climateControlCapability, Ot as array, P as deviceAdminLinkCapability, Pt as record, Q as numericSensorCapability, R as eventEmitterCapability, Rt as url, S as brokerCapability, St as createEvent, T as buttonCapability, Tt as entryBody, U as humiditySensorCapability, V as gasCapability, W as imageCapability, X as notificationOutputCapability, Y as normalizeUnit, Z as notifierCapability, _ as automationControlCapability, _t as DeviceRole, at as scriptRunnerCapability, b as binaryCapability, ct as tamperCapability, d as TargetSchema, dt as vacuumControlCapability, et as parseAdminBase, f as accessoriesCapability, ft as valveCapability, g as ambientLightSensorCapability, gt as DeviceFeature, h as alarmPanelCapability, ht as weatherCapability, it as pressureSensorCapability, j as contactCapability, jt as literal, k as colorCapability, kt as boolean, lt as temperatureSensorCapability, m as airQualitySensorCapability, mt as waterHeaterCapability, n as BaseDevice, nt as prepareNotification, ot as smokeCapability, p as addonRoutesCapability, pt as vibrationCapability, q as mediaPlayerCapability, r as BaseDeviceProvider, rt as presenceCapability, s as EnumSensorDateTimeFormatSchema, st as switchCapability, tt as powerMeterCapability, ut as updateCapability, v as batteryCapability, vt as DeviceType, w as buildDeviceAdminUrl, wt as defineRecordKinds, x as brightnessCapability, xt as RecordSecretUnavailableError, y as bestLocationMatch, yt as errMsg, z as fanControlCapability, zt as EventCategory } from "./dist-
|
|
1
|
+
import { A as connectivityCapability, At as discriminatedUnion, B as floodCapability, C as buildAddonRouteProvider, Ct as defineEntryKind, D as carbonMonoxideCapability, Dt as _enum, E as calendarSourceCapability, F as deviceAdoptionCapability, Ft as string, G as lawnMowerControlCapability, H as humidifierCapability, It as union, J as motionCapability, K as lockControlCapability, L as enumSensorCapability, Lt as unknown, M as controlCapability, Mt as number, N as coverCapability, Nt as object, O as climateControlCapability, Ot as array, P as deviceAdminLinkCapability, Pt as record, Q as numericSensorCapability, R as eventEmitterCapability, Rt as url, S as brokerCapability, St as createEvent, T as buttonCapability, Tt as entryBody, U as humiditySensorCapability, V as gasCapability, W as imageCapability, X as notificationOutputCapability, Y as normalizeUnit, Z as notifierCapability, _ as automationControlCapability, _t as DeviceRole, at as scriptRunnerCapability, b as binaryCapability, ct as tamperCapability, d as TargetSchema, dt as vacuumControlCapability, et as parseAdminBase, f as accessoriesCapability, ft as valveCapability, g as ambientLightSensorCapability, gt as DeviceFeature, h as alarmPanelCapability, ht as weatherCapability, it as pressureSensorCapability, j as contactCapability, jt as literal, k as colorCapability, kt as boolean, lt as temperatureSensorCapability, m as airQualitySensorCapability, mt as waterHeaterCapability, n as BaseDevice, nt as prepareNotification, ot as smokeCapability, p as addonRoutesCapability, pt as vibrationCapability, q as mediaPlayerCapability, r as BaseDeviceProvider, rt as presenceCapability, s as EnumSensorDateTimeFormatSchema, st as switchCapability, tt as powerMeterCapability, ut as updateCapability, v as batteryCapability, vt as DeviceType, w as buildDeviceAdminUrl, wt as defineRecordKinds, x as brightnessCapability, xt as RecordSecretUnavailableError, y as bestLocationMatch, yt as errMsg, z as fanControlCapability, zt as EventCategory } from "./dist-BFZx838N.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { brotliCompressSync, deflateSync, gzipSync } from "node:zlib";
|
|
4
4
|
//#region src/ha-admin-link.ts
|
|
@@ -17394,15 +17394,6 @@ var StorageKindSchema = object({
|
|
|
17394
17394
|
declaration: RecordKindDeclarationSchema
|
|
17395
17395
|
});
|
|
17396
17396
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
17397
|
-
collection: string().min(1),
|
|
17398
|
-
expectRows: number().int().nonnegative()
|
|
17399
|
-
}), object({
|
|
17400
|
-
dropped: literal(true),
|
|
17401
|
-
rows: number().int().nonnegative()
|
|
17402
|
-
}), {
|
|
17403
|
-
kind: "mutation",
|
|
17404
|
-
auth: "admin"
|
|
17405
|
-
}), method(object({
|
|
17406
17397
|
owner: string().min(1).optional(),
|
|
17407
17398
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
17408
17399
|
counts: boolean().optional()
|
|
@@ -44016,6 +44007,15 @@ var NcMediaPolicySchema = object({
|
|
|
44016
44007
|
* Replaces `zoneCrop`.
|
|
44017
44008
|
*/
|
|
44018
44009
|
showTriggerZone: boolean().optional(),
|
|
44010
|
+
/**
|
|
44011
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
44012
|
+
* through the track's positions up to the frame shown, the same path the
|
|
44013
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
44014
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
44015
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
44016
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
44017
|
+
*/
|
|
44018
|
+
showSubjectPath: boolean().optional(),
|
|
44019
44019
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
44020
44020
|
attach: _enum([
|
|
44021
44021
|
"best",
|
|
@@ -75264,12 +75264,6 @@ Object.freeze({
|
|
|
75264
75264
|
addonId: null,
|
|
75265
75265
|
access: "create"
|
|
75266
75266
|
},
|
|
75267
|
-
"storageAdmin.dropCollection": {
|
|
75268
|
-
capName: "storage-admin",
|
|
75269
|
-
capScope: "system",
|
|
75270
|
-
addonId: null,
|
|
75271
|
-
access: "delete"
|
|
75272
|
-
},
|
|
75273
75267
|
"storageAdmin.listKinds": {
|
|
75274
75268
|
capName: "storage-admin",
|
|
75275
75269
|
capScope: "system",
|
|
@@ -17395,15 +17395,6 @@ var StorageKindSchema = object({
|
|
|
17395
17395
|
declaration: RecordKindDeclarationSchema
|
|
17396
17396
|
});
|
|
17397
17397
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
17398
|
-
collection: string().min(1),
|
|
17399
|
-
expectRows: number().int().nonnegative()
|
|
17400
|
-
}), object({
|
|
17401
|
-
dropped: literal(true),
|
|
17402
|
-
rows: number().int().nonnegative()
|
|
17403
|
-
}), {
|
|
17404
|
-
kind: "mutation",
|
|
17405
|
-
auth: "admin"
|
|
17406
|
-
}), method(object({
|
|
17407
17398
|
owner: string().min(1).optional(),
|
|
17408
17399
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
17409
17400
|
counts: boolean().optional()
|
|
@@ -44017,6 +44008,15 @@ var NcMediaPolicySchema = object({
|
|
|
44017
44008
|
* Replaces `zoneCrop`.
|
|
44018
44009
|
*/
|
|
44019
44010
|
showTriggerZone: boolean().optional(),
|
|
44011
|
+
/**
|
|
44012
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
44013
|
+
* through the track's positions up to the frame shown, the same path the
|
|
44014
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
44015
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
44016
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
44017
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
44018
|
+
*/
|
|
44019
|
+
showSubjectPath: boolean().optional(),
|
|
44020
44020
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
44021
44021
|
attach: _enum([
|
|
44022
44022
|
"best",
|
|
@@ -75265,12 +75265,6 @@ Object.freeze({
|
|
|
75265
75265
|
addonId: null,
|
|
75266
75266
|
access: "create"
|
|
75267
75267
|
},
|
|
75268
|
-
"storageAdmin.dropCollection": {
|
|
75269
|
-
capName: "storage-admin",
|
|
75270
|
-
capScope: "system",
|
|
75271
|
-
addonId: null,
|
|
75272
|
-
access: "delete"
|
|
75273
|
-
},
|
|
75274
75268
|
"storageAdmin.listKinds": {
|
|
75275
75269
|
capName: "storage-admin",
|
|
75276
75270
|
capScope: "system",
|
|
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
|
-
const require_dist = require("../dist-
|
|
27
|
+
const require_dist = require("../dist-D72IxYo_.js");
|
|
28
28
|
let node_crypto = require("node:crypto");
|
|
29
29
|
require("node:zlib");
|
|
30
30
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as oauthIntegrationCapability, C as buildAddonRouteProvider, Et as nodePin, Ft as string, I as deviceExportCapability, a as COCO_TO_MACRO, bt as BaseAddon, c as FanDirectionSchema, i as CAMERA_SWITCH_ORDER, l as HvacModeSchema, o as CameraSwitchIdSchema, p as addonRoutesCapability, t as AlarmArmModeSchema, u as MediaPlayerRepeatSchema, zt as EventCategory } from "../dist-
|
|
1
|
+
import { $ as oauthIntegrationCapability, C as buildAddonRouteProvider, Et as nodePin, Ft as string, I as deviceExportCapability, a as COCO_TO_MACRO, bt as BaseAddon, c as FanDirectionSchema, i as CAMERA_SWITCH_ORDER, l as HvacModeSchema, o as CameraSwitchIdSchema, p as addonRoutesCapability, t as AlarmArmModeSchema, u as MediaPlayerRepeatSchema, zt as EventCategory } from "../dist-BFZx838N.mjs";
|
|
2
2
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
3
3
|
import "node:zlib";
|
|
4
4
|
import "node:fs";
|