@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
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provider-declared device identifiers (D1059, planning#590).
|
|
3
|
+
*
|
|
4
|
+
* What a device IS, as its owning provider read it from the hardware: the keys a
|
|
5
|
+
* later step matches across integrations to tell that two devices are the same
|
|
6
|
+
* physical object. Separate from `DeviceMetadata` on purpose — metadata is a
|
|
7
|
+
* free-form blob the operator can edit, identifiers are typed, normalised and
|
|
8
|
+
* written ONLY by the provider that owns the device (`device-manager.
|
|
9
|
+
* setIdentifiers`, owner-checked on the transport's caller stamp).
|
|
10
|
+
*
|
|
11
|
+
* | Key | Stored form | Strength |
|
|
12
|
+
* | -------------- | ----------------------------------- | -------- |
|
|
13
|
+
* | `mac` | `aa:bb:cc:dd:ee:ff`, several | strong |
|
|
14
|
+
* | `serial` | `<manufacturer>:<serial>` | strong |
|
|
15
|
+
* | `machine-uuid` | SMBIOS / VM / container uuid | strong |
|
|
16
|
+
* | `vendor-uid` | `<vendor>:<id>` | strong |
|
|
17
|
+
* | `hostname` | lower-case, no domain | weak |
|
|
18
|
+
* | `ip` | IPv4 / IPv6 | weak |
|
|
19
|
+
*
|
|
20
|
+
* Strength is a property of the KEY, derived by {@link identifierStrength} —
|
|
21
|
+
* never stored, so it cannot drift from the table above. A weak key never links
|
|
22
|
+
* two devices on its own.
|
|
23
|
+
*
|
|
24
|
+
* The schema refuses a value that is not in its stored form, so whatever is
|
|
25
|
+
* persisted is already normalised. Build a declaration with
|
|
26
|
+
* {@link normaliseIdentifiers}, which turns the raw values a driver read into
|
|
27
|
+
* that form and names every value it refused.
|
|
28
|
+
*/
|
|
29
|
+
import { z } from 'zod';
|
|
30
|
+
export declare const DEVICE_IDENTIFIER_KEYS: readonly ['mac', 'serial', 'machine-uuid', 'vendor-uid', 'hostname', 'ip'];
|
|
31
|
+
export declare const DeviceIdentifierKeySchema: z.ZodEnum<{
|
|
32
|
+
hostname: "hostname";
|
|
33
|
+
ip: "ip";
|
|
34
|
+
mac: "mac";
|
|
35
|
+
"machine-uuid": "machine-uuid";
|
|
36
|
+
serial: "serial";
|
|
37
|
+
"vendor-uid": "vendor-uid";
|
|
38
|
+
}>;
|
|
39
|
+
export type DeviceIdentifierKey = z.infer<typeof DeviceIdentifierKeySchema>;
|
|
40
|
+
/** `read` — the provider read it from the device; `derived` — computed from something else it read. */
|
|
41
|
+
export declare const DeviceIdentifierOriginSchema: z.ZodEnum<{
|
|
42
|
+
derived: "derived";
|
|
43
|
+
read: "read";
|
|
44
|
+
}>;
|
|
45
|
+
export type DeviceIdentifierOrigin = z.infer<typeof DeviceIdentifierOriginSchema>;
|
|
46
|
+
export type DeviceIdentifierStrength = 'strong' | 'weak';
|
|
47
|
+
export declare const DeviceIdentifierEntrySchema: z.ZodObject<{
|
|
48
|
+
value: z.ZodString;
|
|
49
|
+
origin: z.ZodEnum<{
|
|
50
|
+
derived: "derived";
|
|
51
|
+
read: "read";
|
|
52
|
+
}>;
|
|
53
|
+
readAt: z.ZodNumber;
|
|
54
|
+
}, z.core.$strict>;
|
|
55
|
+
export type DeviceIdentifierEntry = z.infer<typeof DeviceIdentifierEntrySchema>;
|
|
56
|
+
/** The typed declaration. Every key optional; `mac` the only one that holds several. */
|
|
57
|
+
export declare const DeviceIdentifiersSchema: z.ZodObject<{
|
|
58
|
+
mac: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
59
|
+
value: z.ZodString;
|
|
60
|
+
origin: z.ZodEnum<{
|
|
61
|
+
derived: "derived";
|
|
62
|
+
read: "read";
|
|
63
|
+
}>;
|
|
64
|
+
readAt: z.ZodNumber;
|
|
65
|
+
}, z.core.$strict>>>>;
|
|
66
|
+
serial: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
value: z.ZodString;
|
|
68
|
+
origin: z.ZodEnum<{
|
|
69
|
+
derived: "derived";
|
|
70
|
+
read: "read";
|
|
71
|
+
}>;
|
|
72
|
+
readAt: z.ZodNumber;
|
|
73
|
+
}, z.core.$strict>>;
|
|
74
|
+
'machine-uuid': z.ZodOptional<z.ZodObject<{
|
|
75
|
+
value: z.ZodString;
|
|
76
|
+
origin: z.ZodEnum<{
|
|
77
|
+
derived: "derived";
|
|
78
|
+
read: "read";
|
|
79
|
+
}>;
|
|
80
|
+
readAt: z.ZodNumber;
|
|
81
|
+
}, z.core.$strict>>;
|
|
82
|
+
'vendor-uid': z.ZodOptional<z.ZodObject<{
|
|
83
|
+
value: z.ZodString;
|
|
84
|
+
origin: z.ZodEnum<{
|
|
85
|
+
derived: "derived";
|
|
86
|
+
read: "read";
|
|
87
|
+
}>;
|
|
88
|
+
readAt: z.ZodNumber;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
hostname: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
value: z.ZodString;
|
|
92
|
+
origin: z.ZodEnum<{
|
|
93
|
+
derived: "derived";
|
|
94
|
+
read: "read";
|
|
95
|
+
}>;
|
|
96
|
+
readAt: z.ZodNumber;
|
|
97
|
+
}, z.core.$strict>>;
|
|
98
|
+
ip: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
value: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
100
|
+
origin: z.ZodEnum<{
|
|
101
|
+
derived: "derived";
|
|
102
|
+
read: "read";
|
|
103
|
+
}>;
|
|
104
|
+
readAt: z.ZodNumber;
|
|
105
|
+
}, z.core.$strict>>;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
export type DeviceIdentifiers = z.infer<typeof DeviceIdentifiersSchema>;
|
|
108
|
+
/** How much a match on this key says about two devices being the same object. */
|
|
109
|
+
export declare function identifierStrength(key: DeviceIdentifierKey): DeviceIdentifierStrength;
|
|
110
|
+
/** True when the declaration carries no key at all. */
|
|
111
|
+
export declare function isEmptyIdentifiers(identifiers: DeviceIdentifiers): boolean;
|
|
112
|
+
/** A `<manufacturer>:<serial>` pair as the driver read it. */
|
|
113
|
+
export interface RawSerialIdentifier {
|
|
114
|
+
readonly manufacturer: string;
|
|
115
|
+
readonly serial: string;
|
|
116
|
+
}
|
|
117
|
+
/** A `<vendor>:<id>` pair as the driver read it. */
|
|
118
|
+
export interface RawVendorUidIdentifier {
|
|
119
|
+
readonly vendor: string;
|
|
120
|
+
readonly id: string;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* The values a driver read, in whatever spelling the device used. Absent,
|
|
124
|
+
* `null` and blank are all "not known".
|
|
125
|
+
*/
|
|
126
|
+
export interface RawDeviceIdentifiers {
|
|
127
|
+
readonly mac?: string | readonly string[] | null;
|
|
128
|
+
readonly serial?: RawSerialIdentifier | null;
|
|
129
|
+
readonly machineUuid?: string | null;
|
|
130
|
+
readonly vendorUid?: RawVendorUidIdentifier | null;
|
|
131
|
+
readonly hostname?: string | null;
|
|
132
|
+
readonly ip?: string | null;
|
|
133
|
+
/** A connection host as the operator typed it (an address OR a name): it lands
|
|
134
|
+
* on `ip` or `hostname`, whichever it is. Ignored for a key given explicitly. */
|
|
135
|
+
readonly host?: string | null;
|
|
136
|
+
}
|
|
137
|
+
export interface NormaliseIdentifiersOptions {
|
|
138
|
+
/** Epoch ms of the read. Default: now. */
|
|
139
|
+
readonly readAt?: number;
|
|
140
|
+
/** Origin for every key. Default `read`. */
|
|
141
|
+
readonly origin?: DeviceIdentifierOrigin;
|
|
142
|
+
/** Per-key origin, over {@link origin}. */
|
|
143
|
+
readonly originByKey?: Readonly<Partial<Record<DeviceIdentifierKey, DeviceIdentifierOrigin>>>;
|
|
144
|
+
}
|
|
145
|
+
/** One value {@link normaliseIdentifiers} refused, and why — the caller logs it. */
|
|
146
|
+
export interface RejectedIdentifier {
|
|
147
|
+
readonly key: DeviceIdentifierKey;
|
|
148
|
+
readonly value: string;
|
|
149
|
+
readonly reason: string;
|
|
150
|
+
}
|
|
151
|
+
export interface NormalisedIdentifiers {
|
|
152
|
+
readonly identifiers: DeviceIdentifiers;
|
|
153
|
+
readonly rejected: readonly RejectedIdentifier[];
|
|
154
|
+
}
|
|
155
|
+
export interface AcceptedValue {
|
|
156
|
+
readonly ok: true;
|
|
157
|
+
readonly value: string;
|
|
158
|
+
}
|
|
159
|
+
export type NormaliseResult = AcceptedValue | RejectedReason;
|
|
160
|
+
export interface RejectedReason {
|
|
161
|
+
readonly ok: false;
|
|
162
|
+
readonly reason: string;
|
|
163
|
+
}
|
|
164
|
+
/** `AA-BB-CC-DD-EE-FF`, `aabb.ccdd.eeff`, `AABBCCDDEEFF` → `aa:bb:cc:dd:ee:ff`. */
|
|
165
|
+
export declare function normaliseMac(raw: string): NormaliseResult;
|
|
166
|
+
/**
|
|
167
|
+
* Turn what a driver read into a valid {@link DeviceIdentifiers}: MACs lower-case
|
|
168
|
+
* with colons and de-duplicated, a hostname without its domain, an IP validated,
|
|
169
|
+
* a serial prefixed by its manufacturer, a vendor uid by its vendor. A value that
|
|
170
|
+
* cannot be normalised is left out and listed in `rejected` — the caller logs it
|
|
171
|
+
* (with `tags: { deviceId }`), it is never dropped in silence.
|
|
172
|
+
*/
|
|
173
|
+
export declare function normaliseIdentifiers(raw: RawDeviceIdentifiers, options?: NormaliseIdentifiersOptions): NormalisedIdentifiers;
|
|
174
|
+
/**
|
|
175
|
+
* The declaration to store when the owning provider declares `next` over
|
|
176
|
+
* `stored` (D1059).
|
|
177
|
+
*
|
|
178
|
+
* - A kind in `unread` — the provider TRIED to read it and the read failed —
|
|
179
|
+
* keeps its stored entry: a failed read changes nothing (D49).
|
|
180
|
+
* - Every other kind is what `next` says: a kind absent from `next` was read and
|
|
181
|
+
* found absent, so it is removed.
|
|
182
|
+
* - An entry whose value and origin are unchanged keeps its stored `readAt`:
|
|
183
|
+
* `readAt` is when that value was FIRST read, so a provider re-declaring on every
|
|
184
|
+
* boot writes nothing and emits nothing.
|
|
185
|
+
*
|
|
186
|
+
* Returns `null` when nothing is left.
|
|
187
|
+
*/
|
|
188
|
+
export declare function mergeIdentifiers(stored: DeviceIdentifiers | null | undefined, next: DeviceIdentifiers | null, unread?: readonly DeviceIdentifierKey[]): DeviceIdentifiers | null;
|
|
189
|
+
/** True when two declarations hold the same entries, `readAt` included (key order ignored). */
|
|
190
|
+
export declare function sameIdentifiers(a: DeviceIdentifiers | null | undefined, b: DeviceIdentifiers | null | undefined): boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { DeviceIdentifiers } from './device-identifiers.js';
|
|
1
2
|
import type { z } from 'zod';
|
|
2
3
|
import type { IDevice } from './device.js';
|
|
3
4
|
import type { DeviceType } from './device-type.js';
|
|
@@ -78,6 +79,11 @@ export interface SavedDevice {
|
|
|
78
79
|
*
|
|
79
80
|
* Anything else the driver knows can land alongside (`onvifProfile`,
|
|
80
81
|
* `ipAddress`, `apiPort`, …). All values must be JSON-serializable.
|
|
82
|
+
*
|
|
83
|
+
* Identity used to MATCH devices (MAC, serial, vendor uid, machine uuid,
|
|
84
|
+
* hostname, IP) is declared separately, typed and read-only for the operator:
|
|
85
|
+
* `DeviceMeta.identifiers` (D1059). The `mac` / `serialNumber` / `uid` keys
|
|
86
|
+
* above stay for display until a later step retires them.
|
|
81
87
|
*/
|
|
82
88
|
export type DeviceMetadata = Record<string, unknown>;
|
|
83
89
|
/** One child-placement directive on a container's `childLayout`. The child is
|
|
@@ -154,6 +160,10 @@ export interface DeviceMeta {
|
|
|
154
160
|
readonly parentDeviceId: number | null;
|
|
155
161
|
/** Hardware + identity blob; null when nothing has been populated yet. */
|
|
156
162
|
readonly metadata: DeviceMetadata | null;
|
|
163
|
+
/** Provider-declared identifiers (D1059): typed, normalised, written only by
|
|
164
|
+
* the owning provider through `device-manager.setIdentifiers`, read-only for
|
|
165
|
+
* the operator. Absent ⇒ the provider declared none. */
|
|
166
|
+
readonly identifiers?: DeviceIdentifiers;
|
|
157
167
|
/** Optional upstream-system identity + rendering envelope. See
|
|
158
168
|
* `SourceInfo`. Persisted under `metadata.sourceInfo` — this field
|
|
159
169
|
* is the typed projection callers consume directly. `BaseDevice`
|
|
@@ -118,7 +118,11 @@ export declare enum DeviceType {
|
|
|
118
118
|
/** A home energy installation (any vendor): solar, grid, house, a metered heat pump
|
|
119
119
|
* and the storage as branches of one bus. One read-only `energy-system` cap carries
|
|
120
120
|
* every value; the storage is a field of it, never the `battery` cap (#513, #522). */
|
|
121
|
-
EnergySystem = "energy-system"
|
|
121
|
+
EnergySystem = "energy-system",
|
|
122
|
+
/** Something that RUNS on a machine, or the machine itself (#585): a VM, an app
|
|
123
|
+
* container, an LXC, an app, or a host. The kind is the ROLE (D1033, D1056), never
|
|
124
|
+
* a field; one `workload` cap carries the state, the controls and the resources. */
|
|
125
|
+
Workload = "workload"
|
|
122
126
|
}
|
|
123
127
|
export declare enum DeviceFeature {
|
|
124
128
|
BatteryOperated = "battery-operated",
|
|
@@ -349,6 +353,11 @@ export declare enum DeviceRole {
|
|
|
349
353
|
* `light` type: the provider owns the type, and a light implies brightness
|
|
350
354
|
* or colour this relay lacks. */
|
|
351
355
|
SwitchLight = "switch-light",
|
|
356
|
+
/** One port of a network switch that powers the device behind it (PoE): on /
|
|
357
|
+
* off feeds or cuts that power. Its link is `network-link`, its draw
|
|
358
|
+
* `power-meter`. Restarting the powered device through the port is that
|
|
359
|
+
* device's `power-source` cap, never a reboot of the port. */
|
|
360
|
+
PoePort = "poe-port",
|
|
352
361
|
/** Air conditioner / split unit: cooling, fan speed, louvres. */
|
|
353
362
|
ClimateAc = "climate-ac",
|
|
354
363
|
/** Room thermostat: a setpoint and a room temperature. The default. */
|
|
@@ -428,5 +437,16 @@ export declare enum DeviceRole {
|
|
|
428
437
|
GenericNotifier = "generic-notifier",
|
|
429
438
|
/** Emits a pulse train (infrared or RF) on request — the `ir-transmitter`
|
|
430
439
|
* cap. A `DeviceType.Generic` device. */
|
|
431
|
-
IrTransmitter = "ir-transmitter"
|
|
440
|
+
IrTransmitter = "ir-transmitter",
|
|
441
|
+
/** A virtual machine on a hypervisor. */
|
|
442
|
+
Vm = "vm",
|
|
443
|
+
/** An application container (Docker, Podman). */
|
|
444
|
+
AppContainer = "app-container",
|
|
445
|
+
/** A system container (LXC). */
|
|
446
|
+
Lxc = "lxc",
|
|
447
|
+
/** An application or service running on a host. */
|
|
448
|
+
App = "app",
|
|
449
|
+
/** A machine that runs workloads or is an appliance with its own OS: a
|
|
450
|
+
* server, a hypervisor, a gateway console, a CCU. */
|
|
451
|
+
Host = "host"
|
|
432
452
|
}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `buildHeroModel` — the ONE pure function behind every device hero (D1023).
|
|
3
|
+
* The admin device page, the admin quick-detail dialog and the viewer's device
|
|
4
|
+
* screen all draw what it returns; none of them decides anything.
|
|
5
|
+
*
|
|
6
|
+
* Inputs are the device, the caps it is bound to (`getBindings`, per device —
|
|
7
|
+
* never the global cap list, D12), its features and one raw slice per cap. A
|
|
8
|
+
* slice that is missing or does not parse is "not answered": unknown is never
|
|
9
|
+
* off (D315/D393), a heater whose switch has not reported renders `unknown`.
|
|
10
|
+
*/
|
|
11
|
+
import type { SwitchOptions } from '../../capabilities/switch.cap.js';
|
|
1
12
|
import type { ReadingQuantity } from '../../units/quantity.js';
|
|
2
13
|
import type { HeroModel } from './hero-model.js';
|
|
3
14
|
export interface HeroModelInput {
|
|
@@ -24,5 +35,9 @@ export interface HeroModelInput {
|
|
|
24
35
|
readonly access: {
|
|
25
36
|
readonly canActuate: boolean;
|
|
26
37
|
};
|
|
38
|
+
/** The `switch` provider's `getOptions` answer; absent = not asked (a plain on/off switch). */
|
|
39
|
+
readonly switchOptions?: SwitchOptions;
|
|
40
|
+
/** `power-source.getStatus().switchSettable`; absent or `null` = not known (on / off stay). */
|
|
41
|
+
readonly powerSupplySettable?: boolean | null;
|
|
27
42
|
}
|
|
28
43
|
export declare function buildHeroModel(input: HeroModelInput): HeroModel;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* What ONE capability adds to a hero (D1023), and the context it reads.
|
|
3
3
|
* Contributions return a fragment; `buildHeroModel` merges the fragments.
|
|
4
4
|
*/
|
|
5
|
+
import type { SwitchOptions } from '../../capabilities/switch.cap.js';
|
|
5
6
|
import type { ReadingQuantity } from '../../units/quantity.js';
|
|
6
7
|
import type { HeroBadge, HeroConsumablesSlot, HeroConsumptionSlot, HeroFact, HeroOwnPowerSlot, HeroPowerSupplySlot, HeroRemoteSlot, HeroRow, HeroSideTile, HeroTimedRunSlot } from './hero-model.js';
|
|
7
8
|
import type { HeroMeasurement } from './hero-measurement.js';
|
|
@@ -36,6 +37,16 @@ export interface HeroContext {
|
|
|
36
37
|
readonly caps: readonly string[];
|
|
37
38
|
/** What a numeric-sensor measures (stored at adopt); `null`/absent = unknown, the number shows bare. */
|
|
38
39
|
readonly quantity?: ReadingQuantity | null;
|
|
40
|
+
/**
|
|
41
|
+
* The `switch` provider's `getOptions` answer. Absent = not asked: a plain on/off switch.
|
|
42
|
+
* `supportsSetState: false` (a switch that only reports) offers no on/off.
|
|
43
|
+
*/
|
|
44
|
+
readonly switchOptions?: SwitchOptions;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the switch that powers the device can be set (`power-source.getStatus().switchSettable`).
|
|
47
|
+
* Absent or `null` = not known, on / off stay; `false` withdraws power on / off (D1058).
|
|
48
|
+
*/
|
|
49
|
+
readonly powerSupplySettable?: boolean | null;
|
|
39
50
|
}
|
|
40
51
|
export interface HeroFragment {
|
|
41
52
|
readonly reading?: StateReading;
|
|
@@ -25,6 +25,7 @@ export declare const HERO_LAYOUT_BY_TYPE: {
|
|
|
25
25
|
readonly "water-heater": HeroLayout;
|
|
26
26
|
readonly "heat-pump": HeroLayout;
|
|
27
27
|
readonly "energy-system": HeroLayout;
|
|
28
|
+
readonly workload: HeroLayout;
|
|
28
29
|
readonly fan: HeroLayout;
|
|
29
30
|
readonly "media-player": HeroLayout;
|
|
30
31
|
readonly "alarm-panel": HeroLayout;
|
|
@@ -125,6 +125,12 @@ export declare const HERO_LOOK_BY_TYPE: {
|
|
|
125
125
|
background: "alert-wash" | "cool-fall" | "drum" | "glow" | "heat-rise" | "mist" | "plain" | "sky" | "water";
|
|
126
126
|
animation: "blink" | "breathe" | "equalizer" | "fall" | "glow" | "halo" | "none" | "pulse" | "rise" | "spin" | "tumble" | "wave";
|
|
127
127
|
}>>;
|
|
128
|
+
readonly workload: Readonly<Record<"alert" | "idle" | "off" | "offline" | "on" | "running" | "standby" | "unknown", {
|
|
129
|
+
icon: "a-arrow-down" | "a-arrow-up" | "a-large-small" | "accessibility" | "activity" | "air-vent" | "airplay" | "alarm-clock" | "alarm-clock-check" | "alarm-clock-minus" | "alarm-clock-off" | "alarm-clock-plus" | "alarm-smoke" | "album" | "align-center-horizontal" | "align-center-vertical" | "align-end-horizontal" | "align-end-vertical" | "align-horizontal-distribute-center" | "align-horizontal-distribute-end" | "align-horizontal-distribute-start" | "align-horizontal-justify-center" | "align-horizontal-justify-end" | "align-horizontal-justify-start" | "align-horizontal-space-around" | "align-horizontal-space-between" | "align-start-horizontal" | "align-start-vertical" | "align-vertical-distribute-center" | "align-vertical-distribute-end" | "align-vertical-distribute-start" | "align-vertical-justify-center" | "align-vertical-justify-end" | "align-vertical-justify-start" | "align-vertical-space-around" | "align-vertical-space-between" | "ambulance" | "ampersand" | "ampersands" | "amphora" | "anchor" | "angry" | "annoyed" | "antenna" | "anvil" | "aperture" | "app-window" | "app-window-mac" | "apple" | "archive" | "archive-restore" | "archive-x" | "armchair" | "arrow-big-down" | "arrow-big-down-dash" | "arrow-big-left" | "arrow-big-left-dash" | "arrow-big-right" | "arrow-big-right-dash" | "arrow-big-up" | "arrow-big-up-dash" | "arrow-down" | "arrow-down-0-1" | "arrow-down-1-0" | "arrow-down-a-z" | "arrow-down-from-line" | "arrow-down-left" | "arrow-down-narrow-wide" | "arrow-down-right" | "arrow-down-to-dot" | "arrow-down-to-line" | "arrow-down-up" | "arrow-down-wide-narrow" | "arrow-down-z-a" | "arrow-left" | "arrow-left-from-line" | "arrow-left-right" | "arrow-left-to-line" | "arrow-right" | "arrow-right-from-line" | "arrow-right-left" | "arrow-right-to-line" | "arrow-up" | "arrow-up-0-1" | "arrow-up-1-0" | "arrow-up-a-z" | "arrow-up-down" | "arrow-up-from-dot" | "arrow-up-from-line" | "arrow-up-left" | "arrow-up-narrow-wide" | "arrow-up-right" | "arrow-up-to-line" | "arrow-up-wide-narrow" | "arrow-up-z-a" | "arrows-up-from-line" | "asterisk" | "at-sign" | "atom" | "audio-lines" | "audio-waveform" | "award" | "axe" | "axis-3d" | "baby" | "backpack" | "badge" | "badge-alert" | "badge-cent" | "badge-check" | "badge-dollar-sign" | "badge-euro" | "badge-indian-rupee" | "badge-info" | "badge-japanese-yen" | "badge-minus" | "badge-percent" | "badge-plus" | "badge-pound-sterling" | "badge-question-mark" | "badge-russian-ruble" | "badge-swiss-franc" | "badge-turkish-lira" | "badge-x" | "baggage-claim" | "balloon" | "ban" | "banana" | "bandage" | "banknote" | "banknote-arrow-down" | "banknote-arrow-up" | "banknote-x" | "barcode" | "barrel" | "baseline" | "bath" | "battery" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-plus" | "battery-warning" | "beaker" | "bean" | "bean-off" | "bed" | "bed-double" | "bed-single" | "beef" | "beer" | "beer-off" | "bell" | "bell-dot" | "bell-electric" | "bell-minus" | "bell-off" | "bell-plus" | "bell-ring" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "biceps-flexed" | "bike" | "binary" | "binoculars" | "biohazard" | "bird" | "birdhouse" | "bitcoin" | "blend" | "blinds" | "blocks" | "bluetooth" | "bluetooth-connected" | "bluetooth-off" | "bluetooth-searching" | "bold" | "bolt" | "bomb" | "bone" | "book" | "book-a" | "book-alert" | "book-audio" | "book-check" | "book-copy" | "book-dashed" | "book-down" | "book-headphones" | "book-heart" | "book-image" | "book-key" | "book-lock" | "book-marked" | "book-minus" | "book-open" | "book-open-check" | "book-open-text" | "book-plus" | "book-search" | "book-text" | "book-type" | "book-up" | "book-up-2" | "book-user" | "book-x" | "bookmark" | "bookmark-check" | "bookmark-minus" | "bookmark-plus" | "bookmark-x" | "boom-box" | "bot" | "bot-message-square" | "bot-off" | "bottle-wine" | "bow-arrow" | "box" | "boxes" | "braces" | "brackets" | "brain" | "brain-circuit" | "brain-cog" | "brick-wall" | "brick-wall-fire" | "brick-wall-shield" | "briefcase" | "briefcase-business" | "briefcase-conveyor-belt" | "briefcase-medical" | "bring-to-front" | "brush" | "brush-cleaning" | "bubbles" | "bug" | "bug-off" | "bug-play" | "building" | "building-2" | "bus" | "bus-front" | "cable" | "cable-car" | "cake" | "cake-slice" | "calculator" | "calendar" | "calendar-1" | "calendar-arrow-down" | "calendar-arrow-up" | "calendar-check" | "calendar-check-2" | "calendar-clock" | "calendar-cog" | "calendar-days" | "calendar-fold" | "calendar-heart" | "calendar-minus" | "calendar-minus-2" | "calendar-off" | "calendar-plus" | "calendar-plus-2" | "calendar-range" | "calendar-search" | "calendar-sync" | "calendar-x" | "calendar-x-2" | "calendars" | "camera" | "camera-off" | "candy" | "candy-cane" | "candy-off" | "cannabis" | "cannabis-off" | "captions" | "captions-off" | "car" | "car-front" | "car-taxi-front" | "caravan" | "card-sim" | "carrot" | "case-lower" | "case-sensitive" | "case-upper" | "cassette-tape" | "cast" | "castle" | "cat" | "cctv" | "chart-area" | "chart-bar" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-stacked" | "chart-candlestick" | "chart-column" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-gantt" | "chart-line" | "chart-network" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "check" | "check-check" | "check-line" | "chef-hat" | "cherry" | "chess-bishop" | "chess-king" | "chess-knight" | "chess-pawn" | "chess-queen" | "chess-rook" | "chevron-down" | "chevron-first" | "chevron-last" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-left-right-ellipsis" | "chevrons-right" | "chevrons-right-left" | "chevrons-up" | "chevrons-up-down" | "church" | "cigarette" | "cigarette-off" | "circle" | "circle-alert" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-check" | "circle-check-big" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-dashed" | "circle-divide" | "circle-dollar-sign" | "circle-dot" | "circle-dot-dashed" | "circle-ellipsis" | "circle-equal" | "circle-fading-arrow-up" | "circle-fading-plus" | "circle-gauge" | "circle-minus" | "circle-off" | "circle-parking" | "circle-parking-off" | "circle-pause" | "circle-percent" | "circle-pile" | "circle-play" | "circle-plus" | "circle-pound-sterling" | "circle-power" | "circle-question-mark" | "circle-slash" | "circle-slash-2" | "circle-small" | "circle-star" | "circle-stop" | "circle-user" | "circle-user-round" | "circle-x" | "circuit-board" | "citrus" | "clapperboard" | "clipboard" | "clipboard-check" | "clipboard-clock" | "clipboard-copy" | "clipboard-list" | "clipboard-minus" | "clipboard-paste" | "clipboard-pen" | "clipboard-pen-line" | "clipboard-plus" | "clipboard-type" | "clipboard-x" | "clock" | "clock-1" | "clock-10" | "clock-11" | "clock-12" | "clock-2" | "clock-3" | "clock-4" | "clock-5" | "clock-6" | "clock-7" | "clock-8" | "clock-9" | "clock-alert" | "clock-arrow-down" | "clock-arrow-up" | "clock-check" | "clock-fading" | "clock-plus" | "closed-caption" | "cloud" | "cloud-alert" | "cloud-backup" | "cloud-check" | "cloud-cog" | "cloud-download" | "cloud-drizzle" | "cloud-fog" | "cloud-hail" | "cloud-lightning" | "cloud-moon" | "cloud-moon-rain" | "cloud-off" | "cloud-rain" | "cloud-rain-wind" | "cloud-snow" | "cloud-sun" | "cloud-sun-rain" | "cloud-sync" | "cloud-upload" | "cloudy" | "clover" | "club" | "code" | "code-xml" | "coffee" | "cog" | "coins" | "columns-2" | "columns-3" | "columns-3-cog" | "columns-4" | "combine" | "command" | "compass" | "component" | "computer" | "concierge-bell" | "cone" | "construction" | "contact" | "contact-round" | "container" | "contrast" | "cookie" | "cooking-pot" | "copy" | "copy-check" | "copy-minus" | "copy-plus" | "copy-slash" | "copy-x" | "copyleft" | "copyright" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "creative-commons" | "credit-card" | "croissant" | "crop" | "cross" | "crosshair" | "crown" | "cuboid" | "cup-soda" | "currency" | "cylinder" | "dam" | "database" | "database-backup" | "database-search" | "database-zap" | "decimals-arrow-left" | "decimals-arrow-right" | "delete" | "dessert" | "diameter" | "diamond" | "diamond-minus" | "diamond-percent" | "diamond-plus" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "dices" | "diff" | "disc" | "disc-2" | "disc-3" | "disc-album" | "divide" | "dna" | "dna-off" | "dock" | "dog" | "dollar-sign" | "donut" | "door-closed" | "door-closed-locked" | "door-open" | "dot" | "download" | "drafting-compass" | "drama" | "drill" | "drone" | "droplet" | "droplet-off" | "droplets" | "drum" | "drumstick" | "dumbbell" | "ear" | "ear-off" | "earth" | "earth-lock" | "eclipse" | "egg" | "egg-fried" | "egg-off" | "ellipsis" | "ellipsis-vertical" | "equal" | "equal-approximately" | "equal-not" | "eraser" | "ethernet-port" | "euro" | "ev-charger" | "expand" | "external-link" | "eye" | "eye-closed" | "eye-off" | "factory" | "fan" | "fast-forward" | "feather" | "fence" | "ferris-wheel" | "file" | "file-archive" | "file-axis-3d" | "file-badge" | "file-box" | "file-braces" | "file-braces-corner" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-chart-pie" | "file-check" | "file-check-corner" | "file-clock" | "file-code" | "file-code-corner" | "file-cog" | "file-diff" | "file-digit" | "file-down" | "file-exclamation-point" | "file-headphone" | "file-heart" | "file-image" | "file-input" | "file-key" | "file-lock" | "file-minus" | "file-minus-corner" | "file-music" | "file-output" | "file-pen" | "file-pen-line" | "file-play" | "file-plus" | "file-plus-corner" | "file-question-mark" | "file-scan" | "file-search" | "file-search-corner" | "file-signal" | "file-sliders" | "file-spreadsheet" | "file-stack" | "file-symlink" | "file-terminal" | "file-text" | "file-type" | "file-type-corner" | "file-up" | "file-user" | "file-video-camera" | "file-volume" | "file-x" | "file-x-corner" | "files" | "film" | "fingerprint-pattern" | "fire-extinguisher" | "fish" | "fish-off" | "fish-symbol" | "fishing-hook" | "fishing-rod" | "flag" | "flag-off" | "flag-triangle-left" | "flag-triangle-right" | "flame" | "flame-kindling" | "flashlight" | "flashlight-off" | "flask-conical" | "flask-conical-off" | "flask-round" | "flip-horizontal-2" | "flip-vertical-2" | "flower" | "flower-2" | "focus" | "fold-horizontal" | "fold-vertical" | "folder" | "folder-archive" | "folder-check" | "folder-clock" | "folder-closed" | "folder-code" | "folder-cog" | "folder-dot" | "folder-down" | "folder-git" | "folder-git-2" | "folder-heart" | "folder-input" | "folder-kanban" | "folder-key" | "folder-lock" | "folder-minus" | "folder-open" | "folder-open-dot" | "folder-output" | "folder-pen" | "folder-plus" | "folder-root" | "folder-search" | "folder-search-2" | "folder-symlink" | "folder-sync" | "folder-tree" | "folder-up" | "folder-x" | "folders" | "footprints" | "forklift" | "form" | "forward" | "frame" | "frown" | "fuel" | "fullscreen" | "funnel" | "funnel-plus" | "funnel-x" | "gallery-horizontal" | "gallery-horizontal-end" | "gallery-thumbnails" | "gallery-vertical" | "gallery-vertical-end" | "gamepad" | "gamepad-2" | "gamepad-directional" | "gauge" | "gavel" | "gem" | "georgian-lari" | "ghost" | "gift" | "git-branch" | "git-branch-minus" | "git-branch-plus" | "git-commit-horizontal" | "git-commit-vertical" | "git-compare" | "git-compare-arrows" | "git-fork" | "git-graph" | "git-merge" | "git-merge-conflict" | "git-pull-request" | "git-pull-request-arrow" | "git-pull-request-closed" | "git-pull-request-create" | "git-pull-request-create-arrow" | "git-pull-request-draft" | "glass-water" | "glasses" | "globe" | "globe-lock" | "globe-off" | "globe-x" | "goal" | "gpu" | "graduation-cap" | "grape" | "grid-2x2" | "grid-2x2-check" | "grid-2x2-plus" | "grid-2x2-x" | "grid-3x2" | "grid-3x3" | "grip" | "grip-horizontal" | "grip-vertical" | "group" | "guitar" | "ham" | "hamburger" | "hammer" | "hand" | "hand-coins" | "hand-fist" | "hand-grab" | "hand-heart" | "hand-helping" | "hand-metal" | "hand-platter" | "handbag" | "handshake" | "hard-drive" | "hard-drive-download" | "hard-drive-upload" | "hard-hat" | "hash" | "hat-glasses" | "haze" | "hd" | "hdmi-port" | "heading" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "headphone-off" | "headphones" | "headset" | "heart" | "heart-crack" | "heart-handshake" | "heart-minus" | "heart-off" | "heart-plus" | "heart-pulse" | "heater" | "helicopter" | "hexagon" | "highlighter" | "history" | "hop" | "hop-off" | "hospital" | "hotel" | "hourglass" | "house" | "house-heart" | "house-plug" | "house-plus" | "house-wifi" | "ice-cream-bowl" | "ice-cream-cone" | "id-card" | "id-card-lanyard" | "image" | "image-down" | "image-minus" | "image-off" | "image-play" | "image-plus" | "image-up" | "image-upscale" | "images" | "import" | "inbox" | "indian-rupee" | "infinity" | "info" | "inspection-panel" | "italic" | "iteration-ccw" | "iteration-cw" | "japanese-yen" | "joystick" | "kanban" | "kayak" | "key" | "key-round" | "key-square" | "keyboard" | "keyboard-music" | "keyboard-off" | "lamp" | "lamp-ceiling" | "lamp-desk" | "lamp-floor" | "lamp-wall-down" | "lamp-wall-up" | "land-plot" | "landmark" | "languages" | "laptop" | "laptop-minimal" | "laptop-minimal-check" | "lasso" | "lasso-select" | "laugh" | "layers" | "layers-2" | "layers-plus" | "layout-dashboard" | "layout-grid" | "layout-list" | "layout-panel-left" | "layout-panel-top" | "layout-template" | "leaf" | "leafy-green" | "lectern" | "lens-concave" | "lens-convex" | "library" | "library-big" | "life-buoy" | "ligature" | "lightbulb" | "lightbulb-off" | "line-dot-right-horizontal" | "line-squiggle" | "link" | "link-2" | "link-2-off" | "list" | "list-check" | "list-checks" | "list-chevrons-down-up" | "list-chevrons-up-down" | "list-collapse" | "list-end" | "list-filter" | "list-filter-plus" | "list-indent-decrease" | "list-indent-increase" | "list-minus" | "list-music" | "list-ordered" | "list-plus" | "list-restart" | "list-start" | "list-todo" | "list-tree" | "list-video" | "list-x" | "loader" | "loader-circle" | "loader-pinwheel" | "locate" | "locate-fixed" | "locate-off" | "lock" | "lock-keyhole" | "lock-keyhole-open" | "lock-open" | "log-in" | "log-out" | "logs" | "lollipop" | "luggage" | "magnet" | "mail" | "mail-check" | "mail-minus" | "mail-open" | "mail-plus" | "mail-question-mark" | "mail-search" | "mail-warning" | "mail-x" | "mailbox" | "mails" | "map" | "map-minus" | "map-pin" | "map-pin-check" | "map-pin-check-inside" | "map-pin-house" | "map-pin-minus" | "map-pin-minus-inside" | "map-pin-off" | "map-pin-pen" | "map-pin-plus" | "map-pin-plus-inside" | "map-pin-x" | "map-pin-x-inside" | "map-pinned" | "map-plus" | "mars" | "mars-stroke" | "martini" | "maximize" | "maximize-2" | "medal" | "megaphone" | "megaphone-off" | "meh" | "memory-stick" | "menu" | "merge" | "message-circle" | "message-circle-check" | "message-circle-code" | "message-circle-dashed" | "message-circle-heart" | "message-circle-more" | "message-circle-off" | "message-circle-plus" | "message-circle-question-mark" | "message-circle-reply" | "message-circle-warning" | "message-circle-x" | "message-square" | "message-square-check" | "message-square-code" | "message-square-dashed" | "message-square-diff" | "message-square-dot" | "message-square-heart" | "message-square-lock" | "message-square-more" | "message-square-off" | "message-square-plus" | "message-square-quote" | "message-square-reply" | "message-square-share" | "message-square-text" | "message-square-warning" | "message-square-x" | "messages-square" | "metronome" | "mic" | "mic-off" | "mic-vocal" | "microchip" | "microscope" | "microwave" | "milestone" | "milk" | "milk-off" | "minimize" | "minimize-2" | "minus" | "mirror-rectangular" | "mirror-round" | "monitor" | "monitor-check" | "monitor-cloud" | "monitor-cog" | "monitor-dot" | "monitor-down" | "monitor-off" | "monitor-pause" | "monitor-play" | "monitor-smartphone" | "monitor-speaker" | "monitor-stop" | "monitor-up" | "monitor-x" | "moon" | "moon-star" | "motorbike" | "mountain" | "mountain-snow" | "mouse" | "mouse-left" | "mouse-off" | "mouse-pointer" | "mouse-pointer-2" | "mouse-pointer-2-off" | "mouse-pointer-ban" | "mouse-pointer-click" | "mouse-right" | "move" | "move-3d" | "move-diagonal" | "move-diagonal-2" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "music" | "music-2" | "music-3" | "music-4" | "navigation" | "navigation-2" | "navigation-2-off" | "navigation-off" | "network" | "newspaper" | "nfc" | "non-binary" | "notebook" | "notebook-pen" | "notebook-tabs" | "notebook-text" | "notepad-text" | "notepad-text-dashed" | "nut" | "nut-off" | "octagon" | "octagon-alert" | "octagon-minus" | "octagon-pause" | "octagon-x" | "omega" | "option" | "orbit" | "origami" | "package" | "package-2" | "package-check" | "package-minus" | "package-open" | "package-plus" | "package-search" | "package-x" | "paint-bucket" | "paint-roller" | "paintbrush" | "paintbrush-vertical" | "palette" | "panda" | "panel-bottom" | "panel-bottom-close" | "panel-bottom-dashed" | "panel-bottom-open" | "panel-left" | "panel-left-close" | "panel-left-dashed" | "panel-left-open" | "panel-left-right-dashed" | "panel-right" | "panel-right-close" | "panel-right-dashed" | "panel-right-open" | "panel-top" | "panel-top-bottom-dashed" | "panel-top-close" | "panel-top-dashed" | "panel-top-open" | "panels-left-bottom" | "panels-right-bottom" | "panels-top-left" | "paperclip" | "parentheses" | "parking-meter" | "party-popper" | "pause" | "paw-print" | "pc-case" | "pen" | "pen-line" | "pen-off" | "pen-tool" | "pencil" | "pencil-line" | "pencil-off" | "pencil-ruler" | "pentagon" | "percent" | "person-standing" | "philippine-peso" | "phone" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "pi" | "piano" | "pickaxe" | "picture-in-picture" | "picture-in-picture-2" | "piggy-bank" | "pilcrow" | "pilcrow-left" | "pilcrow-right" | "pill" | "pill-bottle" | "pin" | "pin-off" | "pipette" | "pizza" | "plane" | "plane-landing" | "plane-takeoff" | "play" | "plug" | "plug-2" | "plug-zap" | "plus" | "pocket-knife" | "podcast" | "pointer" | "pointer-off" | "popcorn" | "popsicle" | "pound-sterling" | "power" | "power-off" | "presentation" | "printer" | "printer-check" | "printer-x" | "projector" | "proportions" | "puzzle" | "pyramid" | "qr-code" | "quote" | "rabbit" | "radar" | "radiation" | "radical" | "radio" | "radio-receiver" | "radio-tower" | "radius" | "rainbow" | "rat" | "ratio" | "receipt" | "receipt-cent" | "receipt-euro" | "receipt-indian-rupee" | "receipt-japanese-yen" | "receipt-pound-sterling" | "receipt-russian-ruble" | "receipt-swiss-franc" | "receipt-text" | "receipt-turkish-lira" | "rectangle-circle" | "rectangle-ellipsis" | "rectangle-goggles" | "rectangle-horizontal" | "rectangle-vertical" | "recycle" | "redo" | "redo-2" | "redo-dot" | "refresh-ccw" | "refresh-ccw-dot" | "refresh-cw" | "refresh-cw-off" | "refrigerator" | "regex" | "remove-formatting" | "repeat" | "repeat-1" | "repeat-2" | "replace" | "replace-all" | "reply" | "reply-all" | "rewind" | "ribbon" | "rocket" | "rocking-chair" | "roller-coaster" | "rose" | "rotate-3d" | "rotate-ccw" | "rotate-ccw-key" | "rotate-ccw-square" | "rotate-cw" | "rotate-cw-square" | "route" | "route-off" | "router" | "rows-2" | "rows-3" | "rows-4" | "rss" | "ruler" | "ruler-dimension-line" | "russian-ruble" | "sailboat" | "salad" | "sandwich" | "satellite" | "satellite-dish" | "saudi-riyal" | "save" | "save-all" | "save-off" | "scale" | "scale-3d" | "scaling" | "scan" | "scan-barcode" | "scan-eye" | "scan-face" | "scan-heart" | "scan-line" | "scan-qr-code" | "scan-search" | "scan-text" | "school" | "scissors" | "scissors-line-dashed" | "scooter" | "screen-share" | "screen-share-off" | "scroll" | "scroll-text" | "search" | "search-alert" | "search-check" | "search-code" | "search-slash" | "search-x" | "section" | "send" | "send-horizontal" | "send-to-back" | "separator-horizontal" | "separator-vertical" | "server" | "server-cog" | "server-crash" | "server-off" | "settings" | "settings-2" | "shapes" | "share" | "share-2" | "sheet" | "shell" | "shelving-unit" | "shield" | "shield-alert" | "shield-ban" | "shield-check" | "shield-ellipsis" | "shield-half" | "shield-minus" | "shield-off" | "shield-plus" | "shield-question-mark" | "shield-user" | "shield-x" | "ship" | "ship-wheel" | "shirt" | "shopping-bag" | "shopping-basket" | "shopping-cart" | "shovel" | "shower-head" | "shredder" | "shrimp" | "shrink" | "shrub" | "shuffle" | "sigma" | "signal" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "signature" | "signpost" | "signpost-big" | "siren" | "skip-back" | "skip-forward" | "skull" | "slash" | "slice" | "sliders-horizontal" | "sliders-vertical" | "smartphone" | "smartphone-charging" | "smartphone-nfc" | "smile" | "smile-plus" | "snail" | "snowflake" | "soap-dispenser-droplet" | "sofa" | "solar-panel" | "soup" | "space" | "spade" | "sparkle" | "sparkles" | "speaker" | "speech" | "spell-check" | "spell-check-2" | "spline" | "spline-pointer" | "split" | "spool" | "spotlight" | "spray-can" | "sprout" | "square" | "square-activity" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-right-enter" | "square-arrow-right-exit" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-asterisk" | "square-bottom-dashed-scissors" | "square-centerline-dashed-horizontal" | "square-centerline-dashed-vertical" | "square-chart-gantt" | "square-check" | "square-check-big" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-code" | "square-dashed" | "square-dashed-bottom" | "square-dashed-bottom-code" | "square-dashed-kanban" | "square-dashed-mouse-pointer" | "square-dashed-top-solid" | "square-divide" | "square-dot" | "square-equal" | "square-function" | "square-kanban" | "square-library" | "square-m" | "square-menu" | "square-minus" | "square-mouse-pointer" | "square-parking" | "square-parking-off" | "square-pause" | "square-pen" | "square-percent" | "square-pi" | "square-pilcrow" | "square-play" | "square-plus" | "square-power" | "square-radical" | "square-round-corner" | "square-scissors" | "square-sigma" | "square-slash" | "square-split-horizontal" | "square-split-vertical" | "square-square" | "square-stack" | "square-star" | "square-stop" | "square-terminal" | "square-user" | "square-user-round" | "square-x" | "squares-exclude" | "squares-intersect" | "squares-subtract" | "squares-unite" | "squircle" | "squircle-dashed" | "squirrel" | "stamp" | "star" | "star-half" | "star-off" | "step-back" | "step-forward" | "stethoscope" | "sticker" | "sticky-note" | "stone" | "store" | "stretch-horizontal" | "stretch-vertical" | "strikethrough" | "subscript" | "sun" | "sun-dim" | "sun-medium" | "sun-moon" | "sun-snow" | "sunrise" | "sunset" | "superscript" | "swatch-book" | "swiss-franc" | "switch-camera" | "sword" | "swords" | "syringe" | "table" | "table-2" | "table-cells-merge" | "table-cells-split" | "table-columns-split" | "table-of-contents" | "table-properties" | "table-rows-split" | "tablet" | "tablet-smartphone" | "tablets" | "tag" | "tags" | "tally-1" | "tally-2" | "tally-3" | "tally-4" | "tally-5" | "tangent" | "target" | "telescope" | "tent" | "tent-tree" | "terminal" | "test-tube" | "test-tube-diagonal" | "test-tubes" | "text-align-center" | "text-align-end" | "text-align-justify" | "text-align-start" | "text-cursor" | "text-cursor-input" | "text-initial" | "text-quote" | "text-search" | "text-select" | "text-wrap" | "theater" | "thermometer" | "thermometer-snowflake" | "thermometer-sun" | "thumbs-down" | "thumbs-up" | "ticket" | "ticket-check" | "ticket-minus" | "ticket-percent" | "ticket-plus" | "ticket-slash" | "ticket-x" | "tickets" | "tickets-plane" | "timer" | "timer-off" | "timer-reset" | "toggle-left" | "toggle-right" | "toilet" | "tool-case" | "toolbox" | "tornado" | "torus" | "touchpad" | "touchpad-off" | "towel-rack" | "tower-control" | "toy-brick" | "tractor" | "traffic-cone" | "train-front" | "train-front-tunnel" | "train-track" | "tram-front" | "transgender" | "trash" | "trash-2" | "tree-deciduous" | "tree-palm" | "tree-pine" | "trees" | "trending-down" | "trending-up" | "trending-up-down" | "triangle" | "triangle-alert" | "triangle-dashed" | "triangle-right" | "trophy" | "truck" | "truck-electric" | "turkish-lira" | "turntable" | "turtle" | "tv" | "tv-minimal" | "tv-minimal-play" | "type" | "type-outline" | "umbrella" | "umbrella-off" | "underline" | "undo" | "undo-2" | "undo-dot" | "unfold-horizontal" | "unfold-vertical" | "ungroup" | "university" | "unlink" | "unlink-2" | "unplug" | "upload" | "usb" | "user" | "user-check" | "user-cog" | "user-key" | "user-lock" | "user-minus" | "user-pen" | "user-plus" | "user-round" | "user-round-check" | "user-round-cog" | "user-round-key" | "user-round-minus" | "user-round-pen" | "user-round-plus" | "user-round-search" | "user-round-x" | "user-search" | "user-star" | "user-x" | "users" | "users-round" | "utensils" | "utensils-crossed" | "utility-pole" | "van" | "variable" | "vault" | "vector-square" | "vegan" | "venetian-mask" | "venus" | "venus-and-mars" | "vibrate" | "vibrate-off" | "video" | "video-off" | "videotape" | "view" | "voicemail" | "volleyball" | "volume" | "volume-1" | "volume-2" | "volume-off" | "volume-x" | "vote" | "wallet" | "wallet-cards" | "wallet-minimal" | "wallpaper" | "wand" | "wand-sparkles" | "warehouse" | "washing-machine" | "watch" | "waves" | "waves-arrow-down" | "waves-arrow-up" | "waves-ladder" | "waypoints" | "webcam" | "webhook" | "webhook-off" | "weight" | "weight-tilde" | "wheat" | "wheat-off" | "whole-word" | "wifi" | "wifi-cog" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-pen" | "wifi-sync" | "wifi-zero" | "wind" | "wind-arrow-down" | "wine" | "wine-off" | "workflow" | "worm" | "wrench" | "x" | "x-line-top" | "zap" | "zap-off" | "zodiac-aquarius" | "zodiac-aries" | "zodiac-cancer" | "zodiac-capricorn" | "zodiac-gemini" | "zodiac-leo" | "zodiac-libra" | "zodiac-ophiuchus" | "zodiac-pisces" | "zodiac-sagittarius" | "zodiac-scorpio" | "zodiac-taurus" | "zodiac-virgo" | "zoom-in" | "zoom-out";
|
|
130
|
+
tone: "danger" | "info" | "muted" | "primary" | "success" | "warning";
|
|
131
|
+
background: "alert-wash" | "cool-fall" | "drum" | "glow" | "heat-rise" | "mist" | "plain" | "sky" | "water";
|
|
132
|
+
animation: "blink" | "breathe" | "equalizer" | "fall" | "glow" | "halo" | "none" | "pulse" | "rise" | "spin" | "tumble" | "wave";
|
|
133
|
+
}>>;
|
|
128
134
|
readonly fan: Readonly<Record<"alert" | "idle" | "off" | "offline" | "on" | "running" | "standby" | "unknown", {
|
|
129
135
|
icon: "a-arrow-down" | "a-arrow-up" | "a-large-small" | "accessibility" | "activity" | "air-vent" | "airplay" | "alarm-clock" | "alarm-clock-check" | "alarm-clock-minus" | "alarm-clock-off" | "alarm-clock-plus" | "alarm-smoke" | "album" | "align-center-horizontal" | "align-center-vertical" | "align-end-horizontal" | "align-end-vertical" | "align-horizontal-distribute-center" | "align-horizontal-distribute-end" | "align-horizontal-distribute-start" | "align-horizontal-justify-center" | "align-horizontal-justify-end" | "align-horizontal-justify-start" | "align-horizontal-space-around" | "align-horizontal-space-between" | "align-start-horizontal" | "align-start-vertical" | "align-vertical-distribute-center" | "align-vertical-distribute-end" | "align-vertical-distribute-start" | "align-vertical-justify-center" | "align-vertical-justify-end" | "align-vertical-justify-start" | "align-vertical-space-around" | "align-vertical-space-between" | "ambulance" | "ampersand" | "ampersands" | "amphora" | "anchor" | "angry" | "annoyed" | "antenna" | "anvil" | "aperture" | "app-window" | "app-window-mac" | "apple" | "archive" | "archive-restore" | "archive-x" | "armchair" | "arrow-big-down" | "arrow-big-down-dash" | "arrow-big-left" | "arrow-big-left-dash" | "arrow-big-right" | "arrow-big-right-dash" | "arrow-big-up" | "arrow-big-up-dash" | "arrow-down" | "arrow-down-0-1" | "arrow-down-1-0" | "arrow-down-a-z" | "arrow-down-from-line" | "arrow-down-left" | "arrow-down-narrow-wide" | "arrow-down-right" | "arrow-down-to-dot" | "arrow-down-to-line" | "arrow-down-up" | "arrow-down-wide-narrow" | "arrow-down-z-a" | "arrow-left" | "arrow-left-from-line" | "arrow-left-right" | "arrow-left-to-line" | "arrow-right" | "arrow-right-from-line" | "arrow-right-left" | "arrow-right-to-line" | "arrow-up" | "arrow-up-0-1" | "arrow-up-1-0" | "arrow-up-a-z" | "arrow-up-down" | "arrow-up-from-dot" | "arrow-up-from-line" | "arrow-up-left" | "arrow-up-narrow-wide" | "arrow-up-right" | "arrow-up-to-line" | "arrow-up-wide-narrow" | "arrow-up-z-a" | "arrows-up-from-line" | "asterisk" | "at-sign" | "atom" | "audio-lines" | "audio-waveform" | "award" | "axe" | "axis-3d" | "baby" | "backpack" | "badge" | "badge-alert" | "badge-cent" | "badge-check" | "badge-dollar-sign" | "badge-euro" | "badge-indian-rupee" | "badge-info" | "badge-japanese-yen" | "badge-minus" | "badge-percent" | "badge-plus" | "badge-pound-sterling" | "badge-question-mark" | "badge-russian-ruble" | "badge-swiss-franc" | "badge-turkish-lira" | "badge-x" | "baggage-claim" | "balloon" | "ban" | "banana" | "bandage" | "banknote" | "banknote-arrow-down" | "banknote-arrow-up" | "banknote-x" | "barcode" | "barrel" | "baseline" | "bath" | "battery" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-plus" | "battery-warning" | "beaker" | "bean" | "bean-off" | "bed" | "bed-double" | "bed-single" | "beef" | "beer" | "beer-off" | "bell" | "bell-dot" | "bell-electric" | "bell-minus" | "bell-off" | "bell-plus" | "bell-ring" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "biceps-flexed" | "bike" | "binary" | "binoculars" | "biohazard" | "bird" | "birdhouse" | "bitcoin" | "blend" | "blinds" | "blocks" | "bluetooth" | "bluetooth-connected" | "bluetooth-off" | "bluetooth-searching" | "bold" | "bolt" | "bomb" | "bone" | "book" | "book-a" | "book-alert" | "book-audio" | "book-check" | "book-copy" | "book-dashed" | "book-down" | "book-headphones" | "book-heart" | "book-image" | "book-key" | "book-lock" | "book-marked" | "book-minus" | "book-open" | "book-open-check" | "book-open-text" | "book-plus" | "book-search" | "book-text" | "book-type" | "book-up" | "book-up-2" | "book-user" | "book-x" | "bookmark" | "bookmark-check" | "bookmark-minus" | "bookmark-plus" | "bookmark-x" | "boom-box" | "bot" | "bot-message-square" | "bot-off" | "bottle-wine" | "bow-arrow" | "box" | "boxes" | "braces" | "brackets" | "brain" | "brain-circuit" | "brain-cog" | "brick-wall" | "brick-wall-fire" | "brick-wall-shield" | "briefcase" | "briefcase-business" | "briefcase-conveyor-belt" | "briefcase-medical" | "bring-to-front" | "brush" | "brush-cleaning" | "bubbles" | "bug" | "bug-off" | "bug-play" | "building" | "building-2" | "bus" | "bus-front" | "cable" | "cable-car" | "cake" | "cake-slice" | "calculator" | "calendar" | "calendar-1" | "calendar-arrow-down" | "calendar-arrow-up" | "calendar-check" | "calendar-check-2" | "calendar-clock" | "calendar-cog" | "calendar-days" | "calendar-fold" | "calendar-heart" | "calendar-minus" | "calendar-minus-2" | "calendar-off" | "calendar-plus" | "calendar-plus-2" | "calendar-range" | "calendar-search" | "calendar-sync" | "calendar-x" | "calendar-x-2" | "calendars" | "camera" | "camera-off" | "candy" | "candy-cane" | "candy-off" | "cannabis" | "cannabis-off" | "captions" | "captions-off" | "car" | "car-front" | "car-taxi-front" | "caravan" | "card-sim" | "carrot" | "case-lower" | "case-sensitive" | "case-upper" | "cassette-tape" | "cast" | "castle" | "cat" | "cctv" | "chart-area" | "chart-bar" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-stacked" | "chart-candlestick" | "chart-column" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-gantt" | "chart-line" | "chart-network" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "check" | "check-check" | "check-line" | "chef-hat" | "cherry" | "chess-bishop" | "chess-king" | "chess-knight" | "chess-pawn" | "chess-queen" | "chess-rook" | "chevron-down" | "chevron-first" | "chevron-last" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-left-right-ellipsis" | "chevrons-right" | "chevrons-right-left" | "chevrons-up" | "chevrons-up-down" | "church" | "cigarette" | "cigarette-off" | "circle" | "circle-alert" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-check" | "circle-check-big" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-dashed" | "circle-divide" | "circle-dollar-sign" | "circle-dot" | "circle-dot-dashed" | "circle-ellipsis" | "circle-equal" | "circle-fading-arrow-up" | "circle-fading-plus" | "circle-gauge" | "circle-minus" | "circle-off" | "circle-parking" | "circle-parking-off" | "circle-pause" | "circle-percent" | "circle-pile" | "circle-play" | "circle-plus" | "circle-pound-sterling" | "circle-power" | "circle-question-mark" | "circle-slash" | "circle-slash-2" | "circle-small" | "circle-star" | "circle-stop" | "circle-user" | "circle-user-round" | "circle-x" | "circuit-board" | "citrus" | "clapperboard" | "clipboard" | "clipboard-check" | "clipboard-clock" | "clipboard-copy" | "clipboard-list" | "clipboard-minus" | "clipboard-paste" | "clipboard-pen" | "clipboard-pen-line" | "clipboard-plus" | "clipboard-type" | "clipboard-x" | "clock" | "clock-1" | "clock-10" | "clock-11" | "clock-12" | "clock-2" | "clock-3" | "clock-4" | "clock-5" | "clock-6" | "clock-7" | "clock-8" | "clock-9" | "clock-alert" | "clock-arrow-down" | "clock-arrow-up" | "clock-check" | "clock-fading" | "clock-plus" | "closed-caption" | "cloud" | "cloud-alert" | "cloud-backup" | "cloud-check" | "cloud-cog" | "cloud-download" | "cloud-drizzle" | "cloud-fog" | "cloud-hail" | "cloud-lightning" | "cloud-moon" | "cloud-moon-rain" | "cloud-off" | "cloud-rain" | "cloud-rain-wind" | "cloud-snow" | "cloud-sun" | "cloud-sun-rain" | "cloud-sync" | "cloud-upload" | "cloudy" | "clover" | "club" | "code" | "code-xml" | "coffee" | "cog" | "coins" | "columns-2" | "columns-3" | "columns-3-cog" | "columns-4" | "combine" | "command" | "compass" | "component" | "computer" | "concierge-bell" | "cone" | "construction" | "contact" | "contact-round" | "container" | "contrast" | "cookie" | "cooking-pot" | "copy" | "copy-check" | "copy-minus" | "copy-plus" | "copy-slash" | "copy-x" | "copyleft" | "copyright" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "creative-commons" | "credit-card" | "croissant" | "crop" | "cross" | "crosshair" | "crown" | "cuboid" | "cup-soda" | "currency" | "cylinder" | "dam" | "database" | "database-backup" | "database-search" | "database-zap" | "decimals-arrow-left" | "decimals-arrow-right" | "delete" | "dessert" | "diameter" | "diamond" | "diamond-minus" | "diamond-percent" | "diamond-plus" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "dices" | "diff" | "disc" | "disc-2" | "disc-3" | "disc-album" | "divide" | "dna" | "dna-off" | "dock" | "dog" | "dollar-sign" | "donut" | "door-closed" | "door-closed-locked" | "door-open" | "dot" | "download" | "drafting-compass" | "drama" | "drill" | "drone" | "droplet" | "droplet-off" | "droplets" | "drum" | "drumstick" | "dumbbell" | "ear" | "ear-off" | "earth" | "earth-lock" | "eclipse" | "egg" | "egg-fried" | "egg-off" | "ellipsis" | "ellipsis-vertical" | "equal" | "equal-approximately" | "equal-not" | "eraser" | "ethernet-port" | "euro" | "ev-charger" | "expand" | "external-link" | "eye" | "eye-closed" | "eye-off" | "factory" | "fan" | "fast-forward" | "feather" | "fence" | "ferris-wheel" | "file" | "file-archive" | "file-axis-3d" | "file-badge" | "file-box" | "file-braces" | "file-braces-corner" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-chart-pie" | "file-check" | "file-check-corner" | "file-clock" | "file-code" | "file-code-corner" | "file-cog" | "file-diff" | "file-digit" | "file-down" | "file-exclamation-point" | "file-headphone" | "file-heart" | "file-image" | "file-input" | "file-key" | "file-lock" | "file-minus" | "file-minus-corner" | "file-music" | "file-output" | "file-pen" | "file-pen-line" | "file-play" | "file-plus" | "file-plus-corner" | "file-question-mark" | "file-scan" | "file-search" | "file-search-corner" | "file-signal" | "file-sliders" | "file-spreadsheet" | "file-stack" | "file-symlink" | "file-terminal" | "file-text" | "file-type" | "file-type-corner" | "file-up" | "file-user" | "file-video-camera" | "file-volume" | "file-x" | "file-x-corner" | "files" | "film" | "fingerprint-pattern" | "fire-extinguisher" | "fish" | "fish-off" | "fish-symbol" | "fishing-hook" | "fishing-rod" | "flag" | "flag-off" | "flag-triangle-left" | "flag-triangle-right" | "flame" | "flame-kindling" | "flashlight" | "flashlight-off" | "flask-conical" | "flask-conical-off" | "flask-round" | "flip-horizontal-2" | "flip-vertical-2" | "flower" | "flower-2" | "focus" | "fold-horizontal" | "fold-vertical" | "folder" | "folder-archive" | "folder-check" | "folder-clock" | "folder-closed" | "folder-code" | "folder-cog" | "folder-dot" | "folder-down" | "folder-git" | "folder-git-2" | "folder-heart" | "folder-input" | "folder-kanban" | "folder-key" | "folder-lock" | "folder-minus" | "folder-open" | "folder-open-dot" | "folder-output" | "folder-pen" | "folder-plus" | "folder-root" | "folder-search" | "folder-search-2" | "folder-symlink" | "folder-sync" | "folder-tree" | "folder-up" | "folder-x" | "folders" | "footprints" | "forklift" | "form" | "forward" | "frame" | "frown" | "fuel" | "fullscreen" | "funnel" | "funnel-plus" | "funnel-x" | "gallery-horizontal" | "gallery-horizontal-end" | "gallery-thumbnails" | "gallery-vertical" | "gallery-vertical-end" | "gamepad" | "gamepad-2" | "gamepad-directional" | "gauge" | "gavel" | "gem" | "georgian-lari" | "ghost" | "gift" | "git-branch" | "git-branch-minus" | "git-branch-plus" | "git-commit-horizontal" | "git-commit-vertical" | "git-compare" | "git-compare-arrows" | "git-fork" | "git-graph" | "git-merge" | "git-merge-conflict" | "git-pull-request" | "git-pull-request-arrow" | "git-pull-request-closed" | "git-pull-request-create" | "git-pull-request-create-arrow" | "git-pull-request-draft" | "glass-water" | "glasses" | "globe" | "globe-lock" | "globe-off" | "globe-x" | "goal" | "gpu" | "graduation-cap" | "grape" | "grid-2x2" | "grid-2x2-check" | "grid-2x2-plus" | "grid-2x2-x" | "grid-3x2" | "grid-3x3" | "grip" | "grip-horizontal" | "grip-vertical" | "group" | "guitar" | "ham" | "hamburger" | "hammer" | "hand" | "hand-coins" | "hand-fist" | "hand-grab" | "hand-heart" | "hand-helping" | "hand-metal" | "hand-platter" | "handbag" | "handshake" | "hard-drive" | "hard-drive-download" | "hard-drive-upload" | "hard-hat" | "hash" | "hat-glasses" | "haze" | "hd" | "hdmi-port" | "heading" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "headphone-off" | "headphones" | "headset" | "heart" | "heart-crack" | "heart-handshake" | "heart-minus" | "heart-off" | "heart-plus" | "heart-pulse" | "heater" | "helicopter" | "hexagon" | "highlighter" | "history" | "hop" | "hop-off" | "hospital" | "hotel" | "hourglass" | "house" | "house-heart" | "house-plug" | "house-plus" | "house-wifi" | "ice-cream-bowl" | "ice-cream-cone" | "id-card" | "id-card-lanyard" | "image" | "image-down" | "image-minus" | "image-off" | "image-play" | "image-plus" | "image-up" | "image-upscale" | "images" | "import" | "inbox" | "indian-rupee" | "infinity" | "info" | "inspection-panel" | "italic" | "iteration-ccw" | "iteration-cw" | "japanese-yen" | "joystick" | "kanban" | "kayak" | "key" | "key-round" | "key-square" | "keyboard" | "keyboard-music" | "keyboard-off" | "lamp" | "lamp-ceiling" | "lamp-desk" | "lamp-floor" | "lamp-wall-down" | "lamp-wall-up" | "land-plot" | "landmark" | "languages" | "laptop" | "laptop-minimal" | "laptop-minimal-check" | "lasso" | "lasso-select" | "laugh" | "layers" | "layers-2" | "layers-plus" | "layout-dashboard" | "layout-grid" | "layout-list" | "layout-panel-left" | "layout-panel-top" | "layout-template" | "leaf" | "leafy-green" | "lectern" | "lens-concave" | "lens-convex" | "library" | "library-big" | "life-buoy" | "ligature" | "lightbulb" | "lightbulb-off" | "line-dot-right-horizontal" | "line-squiggle" | "link" | "link-2" | "link-2-off" | "list" | "list-check" | "list-checks" | "list-chevrons-down-up" | "list-chevrons-up-down" | "list-collapse" | "list-end" | "list-filter" | "list-filter-plus" | "list-indent-decrease" | "list-indent-increase" | "list-minus" | "list-music" | "list-ordered" | "list-plus" | "list-restart" | "list-start" | "list-todo" | "list-tree" | "list-video" | "list-x" | "loader" | "loader-circle" | "loader-pinwheel" | "locate" | "locate-fixed" | "locate-off" | "lock" | "lock-keyhole" | "lock-keyhole-open" | "lock-open" | "log-in" | "log-out" | "logs" | "lollipop" | "luggage" | "magnet" | "mail" | "mail-check" | "mail-minus" | "mail-open" | "mail-plus" | "mail-question-mark" | "mail-search" | "mail-warning" | "mail-x" | "mailbox" | "mails" | "map" | "map-minus" | "map-pin" | "map-pin-check" | "map-pin-check-inside" | "map-pin-house" | "map-pin-minus" | "map-pin-minus-inside" | "map-pin-off" | "map-pin-pen" | "map-pin-plus" | "map-pin-plus-inside" | "map-pin-x" | "map-pin-x-inside" | "map-pinned" | "map-plus" | "mars" | "mars-stroke" | "martini" | "maximize" | "maximize-2" | "medal" | "megaphone" | "megaphone-off" | "meh" | "memory-stick" | "menu" | "merge" | "message-circle" | "message-circle-check" | "message-circle-code" | "message-circle-dashed" | "message-circle-heart" | "message-circle-more" | "message-circle-off" | "message-circle-plus" | "message-circle-question-mark" | "message-circle-reply" | "message-circle-warning" | "message-circle-x" | "message-square" | "message-square-check" | "message-square-code" | "message-square-dashed" | "message-square-diff" | "message-square-dot" | "message-square-heart" | "message-square-lock" | "message-square-more" | "message-square-off" | "message-square-plus" | "message-square-quote" | "message-square-reply" | "message-square-share" | "message-square-text" | "message-square-warning" | "message-square-x" | "messages-square" | "metronome" | "mic" | "mic-off" | "mic-vocal" | "microchip" | "microscope" | "microwave" | "milestone" | "milk" | "milk-off" | "minimize" | "minimize-2" | "minus" | "mirror-rectangular" | "mirror-round" | "monitor" | "monitor-check" | "monitor-cloud" | "monitor-cog" | "monitor-dot" | "monitor-down" | "monitor-off" | "monitor-pause" | "monitor-play" | "monitor-smartphone" | "monitor-speaker" | "monitor-stop" | "monitor-up" | "monitor-x" | "moon" | "moon-star" | "motorbike" | "mountain" | "mountain-snow" | "mouse" | "mouse-left" | "mouse-off" | "mouse-pointer" | "mouse-pointer-2" | "mouse-pointer-2-off" | "mouse-pointer-ban" | "mouse-pointer-click" | "mouse-right" | "move" | "move-3d" | "move-diagonal" | "move-diagonal-2" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "music" | "music-2" | "music-3" | "music-4" | "navigation" | "navigation-2" | "navigation-2-off" | "navigation-off" | "network" | "newspaper" | "nfc" | "non-binary" | "notebook" | "notebook-pen" | "notebook-tabs" | "notebook-text" | "notepad-text" | "notepad-text-dashed" | "nut" | "nut-off" | "octagon" | "octagon-alert" | "octagon-minus" | "octagon-pause" | "octagon-x" | "omega" | "option" | "orbit" | "origami" | "package" | "package-2" | "package-check" | "package-minus" | "package-open" | "package-plus" | "package-search" | "package-x" | "paint-bucket" | "paint-roller" | "paintbrush" | "paintbrush-vertical" | "palette" | "panda" | "panel-bottom" | "panel-bottom-close" | "panel-bottom-dashed" | "panel-bottom-open" | "panel-left" | "panel-left-close" | "panel-left-dashed" | "panel-left-open" | "panel-left-right-dashed" | "panel-right" | "panel-right-close" | "panel-right-dashed" | "panel-right-open" | "panel-top" | "panel-top-bottom-dashed" | "panel-top-close" | "panel-top-dashed" | "panel-top-open" | "panels-left-bottom" | "panels-right-bottom" | "panels-top-left" | "paperclip" | "parentheses" | "parking-meter" | "party-popper" | "pause" | "paw-print" | "pc-case" | "pen" | "pen-line" | "pen-off" | "pen-tool" | "pencil" | "pencil-line" | "pencil-off" | "pencil-ruler" | "pentagon" | "percent" | "person-standing" | "philippine-peso" | "phone" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "pi" | "piano" | "pickaxe" | "picture-in-picture" | "picture-in-picture-2" | "piggy-bank" | "pilcrow" | "pilcrow-left" | "pilcrow-right" | "pill" | "pill-bottle" | "pin" | "pin-off" | "pipette" | "pizza" | "plane" | "plane-landing" | "plane-takeoff" | "play" | "plug" | "plug-2" | "plug-zap" | "plus" | "pocket-knife" | "podcast" | "pointer" | "pointer-off" | "popcorn" | "popsicle" | "pound-sterling" | "power" | "power-off" | "presentation" | "printer" | "printer-check" | "printer-x" | "projector" | "proportions" | "puzzle" | "pyramid" | "qr-code" | "quote" | "rabbit" | "radar" | "radiation" | "radical" | "radio" | "radio-receiver" | "radio-tower" | "radius" | "rainbow" | "rat" | "ratio" | "receipt" | "receipt-cent" | "receipt-euro" | "receipt-indian-rupee" | "receipt-japanese-yen" | "receipt-pound-sterling" | "receipt-russian-ruble" | "receipt-swiss-franc" | "receipt-text" | "receipt-turkish-lira" | "rectangle-circle" | "rectangle-ellipsis" | "rectangle-goggles" | "rectangle-horizontal" | "rectangle-vertical" | "recycle" | "redo" | "redo-2" | "redo-dot" | "refresh-ccw" | "refresh-ccw-dot" | "refresh-cw" | "refresh-cw-off" | "refrigerator" | "regex" | "remove-formatting" | "repeat" | "repeat-1" | "repeat-2" | "replace" | "replace-all" | "reply" | "reply-all" | "rewind" | "ribbon" | "rocket" | "rocking-chair" | "roller-coaster" | "rose" | "rotate-3d" | "rotate-ccw" | "rotate-ccw-key" | "rotate-ccw-square" | "rotate-cw" | "rotate-cw-square" | "route" | "route-off" | "router" | "rows-2" | "rows-3" | "rows-4" | "rss" | "ruler" | "ruler-dimension-line" | "russian-ruble" | "sailboat" | "salad" | "sandwich" | "satellite" | "satellite-dish" | "saudi-riyal" | "save" | "save-all" | "save-off" | "scale" | "scale-3d" | "scaling" | "scan" | "scan-barcode" | "scan-eye" | "scan-face" | "scan-heart" | "scan-line" | "scan-qr-code" | "scan-search" | "scan-text" | "school" | "scissors" | "scissors-line-dashed" | "scooter" | "screen-share" | "screen-share-off" | "scroll" | "scroll-text" | "search" | "search-alert" | "search-check" | "search-code" | "search-slash" | "search-x" | "section" | "send" | "send-horizontal" | "send-to-back" | "separator-horizontal" | "separator-vertical" | "server" | "server-cog" | "server-crash" | "server-off" | "settings" | "settings-2" | "shapes" | "share" | "share-2" | "sheet" | "shell" | "shelving-unit" | "shield" | "shield-alert" | "shield-ban" | "shield-check" | "shield-ellipsis" | "shield-half" | "shield-minus" | "shield-off" | "shield-plus" | "shield-question-mark" | "shield-user" | "shield-x" | "ship" | "ship-wheel" | "shirt" | "shopping-bag" | "shopping-basket" | "shopping-cart" | "shovel" | "shower-head" | "shredder" | "shrimp" | "shrink" | "shrub" | "shuffle" | "sigma" | "signal" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "signature" | "signpost" | "signpost-big" | "siren" | "skip-back" | "skip-forward" | "skull" | "slash" | "slice" | "sliders-horizontal" | "sliders-vertical" | "smartphone" | "smartphone-charging" | "smartphone-nfc" | "smile" | "smile-plus" | "snail" | "snowflake" | "soap-dispenser-droplet" | "sofa" | "solar-panel" | "soup" | "space" | "spade" | "sparkle" | "sparkles" | "speaker" | "speech" | "spell-check" | "spell-check-2" | "spline" | "spline-pointer" | "split" | "spool" | "spotlight" | "spray-can" | "sprout" | "square" | "square-activity" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-right-enter" | "square-arrow-right-exit" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-asterisk" | "square-bottom-dashed-scissors" | "square-centerline-dashed-horizontal" | "square-centerline-dashed-vertical" | "square-chart-gantt" | "square-check" | "square-check-big" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-code" | "square-dashed" | "square-dashed-bottom" | "square-dashed-bottom-code" | "square-dashed-kanban" | "square-dashed-mouse-pointer" | "square-dashed-top-solid" | "square-divide" | "square-dot" | "square-equal" | "square-function" | "square-kanban" | "square-library" | "square-m" | "square-menu" | "square-minus" | "square-mouse-pointer" | "square-parking" | "square-parking-off" | "square-pause" | "square-pen" | "square-percent" | "square-pi" | "square-pilcrow" | "square-play" | "square-plus" | "square-power" | "square-radical" | "square-round-corner" | "square-scissors" | "square-sigma" | "square-slash" | "square-split-horizontal" | "square-split-vertical" | "square-square" | "square-stack" | "square-star" | "square-stop" | "square-terminal" | "square-user" | "square-user-round" | "square-x" | "squares-exclude" | "squares-intersect" | "squares-subtract" | "squares-unite" | "squircle" | "squircle-dashed" | "squirrel" | "stamp" | "star" | "star-half" | "star-off" | "step-back" | "step-forward" | "stethoscope" | "sticker" | "sticky-note" | "stone" | "store" | "stretch-horizontal" | "stretch-vertical" | "strikethrough" | "subscript" | "sun" | "sun-dim" | "sun-medium" | "sun-moon" | "sun-snow" | "sunrise" | "sunset" | "superscript" | "swatch-book" | "swiss-franc" | "switch-camera" | "sword" | "swords" | "syringe" | "table" | "table-2" | "table-cells-merge" | "table-cells-split" | "table-columns-split" | "table-of-contents" | "table-properties" | "table-rows-split" | "tablet" | "tablet-smartphone" | "tablets" | "tag" | "tags" | "tally-1" | "tally-2" | "tally-3" | "tally-4" | "tally-5" | "tangent" | "target" | "telescope" | "tent" | "tent-tree" | "terminal" | "test-tube" | "test-tube-diagonal" | "test-tubes" | "text-align-center" | "text-align-end" | "text-align-justify" | "text-align-start" | "text-cursor" | "text-cursor-input" | "text-initial" | "text-quote" | "text-search" | "text-select" | "text-wrap" | "theater" | "thermometer" | "thermometer-snowflake" | "thermometer-sun" | "thumbs-down" | "thumbs-up" | "ticket" | "ticket-check" | "ticket-minus" | "ticket-percent" | "ticket-plus" | "ticket-slash" | "ticket-x" | "tickets" | "tickets-plane" | "timer" | "timer-off" | "timer-reset" | "toggle-left" | "toggle-right" | "toilet" | "tool-case" | "toolbox" | "tornado" | "torus" | "touchpad" | "touchpad-off" | "towel-rack" | "tower-control" | "toy-brick" | "tractor" | "traffic-cone" | "train-front" | "train-front-tunnel" | "train-track" | "tram-front" | "transgender" | "trash" | "trash-2" | "tree-deciduous" | "tree-palm" | "tree-pine" | "trees" | "trending-down" | "trending-up" | "trending-up-down" | "triangle" | "triangle-alert" | "triangle-dashed" | "triangle-right" | "trophy" | "truck" | "truck-electric" | "turkish-lira" | "turntable" | "turtle" | "tv" | "tv-minimal" | "tv-minimal-play" | "type" | "type-outline" | "umbrella" | "umbrella-off" | "underline" | "undo" | "undo-2" | "undo-dot" | "unfold-horizontal" | "unfold-vertical" | "ungroup" | "university" | "unlink" | "unlink-2" | "unplug" | "upload" | "usb" | "user" | "user-check" | "user-cog" | "user-key" | "user-lock" | "user-minus" | "user-pen" | "user-plus" | "user-round" | "user-round-check" | "user-round-cog" | "user-round-key" | "user-round-minus" | "user-round-pen" | "user-round-plus" | "user-round-search" | "user-round-x" | "user-search" | "user-star" | "user-x" | "users" | "users-round" | "utensils" | "utensils-crossed" | "utility-pole" | "van" | "variable" | "vault" | "vector-square" | "vegan" | "venetian-mask" | "venus" | "venus-and-mars" | "vibrate" | "vibrate-off" | "video" | "video-off" | "videotape" | "view" | "voicemail" | "volleyball" | "volume" | "volume-1" | "volume-2" | "volume-off" | "volume-x" | "vote" | "wallet" | "wallet-cards" | "wallet-minimal" | "wallpaper" | "wand" | "wand-sparkles" | "warehouse" | "washing-machine" | "watch" | "waves" | "waves-arrow-down" | "waves-arrow-up" | "waves-ladder" | "waypoints" | "webcam" | "webhook" | "webhook-off" | "weight" | "weight-tilde" | "wheat" | "wheat-off" | "whole-word" | "wifi" | "wifi-cog" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-pen" | "wifi-sync" | "wifi-zero" | "wind" | "wind-arrow-down" | "wine" | "wine-off" | "workflow" | "worm" | "wrench" | "x" | "x-line-top" | "zap" | "zap-off" | "zodiac-aquarius" | "zodiac-aries" | "zodiac-cancer" | "zodiac-capricorn" | "zodiac-gemini" | "zodiac-leo" | "zodiac-libra" | "zodiac-ophiuchus" | "zodiac-pisces" | "zodiac-sagittarius" | "zodiac-scorpio" | "zodiac-taurus" | "zodiac-virgo" | "zoom-in" | "zoom-out";
|
|
130
136
|
tone: "danger" | "info" | "muted" | "primary" | "success" | "warning";
|
|
@@ -277,6 +283,7 @@ export declare const HERO_LOOK_BY_ROLE: {
|
|
|
277
283
|
background: "alert-wash" | "cool-fall" | "drum" | "glow" | "heat-rise" | "mist" | "plain" | "sky" | "water";
|
|
278
284
|
animation: "blink" | "breathe" | "equalizer" | "fall" | "glow" | "halo" | "none" | "pulse" | "rise" | "spin" | "tumble" | "wave";
|
|
279
285
|
}>>;
|
|
286
|
+
readonly "poe-port": 'inherit';
|
|
280
287
|
readonly "climate-ac": 'inherit';
|
|
281
288
|
readonly "climate-thermostat": 'inherit';
|
|
282
289
|
readonly "climate-floor": 'inherit';
|
|
@@ -382,6 +389,11 @@ export declare const HERO_LOOK_BY_ROLE: {
|
|
|
382
389
|
readonly "email-notifier": 'inherit';
|
|
383
390
|
readonly "generic-notifier": 'inherit';
|
|
384
391
|
readonly "ir-transmitter": 'inherit';
|
|
392
|
+
readonly vm: 'inherit';
|
|
393
|
+
readonly "app-container": 'inherit';
|
|
394
|
+
readonly lxc: 'inherit';
|
|
395
|
+
readonly app: 'inherit';
|
|
396
|
+
readonly host: 'inherit';
|
|
385
397
|
};
|
|
386
398
|
/**
|
|
387
399
|
* The look of a (role, type) pair, for a state. Role beats type beats the generic default.
|
|
@@ -465,8 +465,8 @@ export declare const HeroPowerSupplySlotSchema: z.ZodObject<{
|
|
|
465
465
|
on: z.ZodNullable<z.ZodBoolean>;
|
|
466
466
|
confirmOffWhileRunning: z.ZodBoolean;
|
|
467
467
|
running: z.ZodNullable<z.ZodBoolean>;
|
|
468
|
-
powerOn: z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown
|
|
469
|
-
powerOff: z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown
|
|
468
|
+
powerOn: z.ZodNullable<z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown>>>;
|
|
469
|
+
powerOff: z.ZodNullable<z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown>>>;
|
|
470
470
|
restart: z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown>>;
|
|
471
471
|
}, z.core.$strip>;
|
|
472
472
|
export type HeroPowerSupplySlot = z.infer<typeof HeroPowerSupplySlotSchema>;
|
|
@@ -985,8 +985,8 @@ export declare const HeroModelSchema: z.ZodObject<{
|
|
|
985
985
|
on: z.ZodNullable<z.ZodBoolean>;
|
|
986
986
|
confirmOffWhileRunning: z.ZodBoolean;
|
|
987
987
|
running: z.ZodNullable<z.ZodBoolean>;
|
|
988
|
-
powerOn: z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown
|
|
989
|
-
powerOff: z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown
|
|
988
|
+
powerOn: z.ZodNullable<z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown>>>;
|
|
989
|
+
powerOff: z.ZodNullable<z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown>>>;
|
|
990
990
|
restart: z.ZodType<HeroAction, unknown, z.core.$ZodTypeInternals<HeroAction, unknown>>;
|
|
991
991
|
}, z.core.$strip>>;
|
|
992
992
|
rows: z.ZodArray<z.ZodObject<{
|
|
@@ -132,6 +132,7 @@ export declare const HERO_SCENE_BY_TYPE: {
|
|
|
132
132
|
readonly "water-heater": 'heater';
|
|
133
133
|
readonly "heat-pump": 'heat-pump';
|
|
134
134
|
readonly "energy-system": 'generic';
|
|
135
|
+
readonly workload: 'generic';
|
|
135
136
|
readonly fan: 'fan';
|
|
136
137
|
readonly "media-player": 'tv';
|
|
137
138
|
readonly "alarm-panel": 'alarm';
|
|
@@ -174,6 +175,7 @@ export declare const HERO_SCENE_BY_ROLE: {
|
|
|
174
175
|
readonly "switch-heater": 'heater';
|
|
175
176
|
readonly "switch-fan": 'fan';
|
|
176
177
|
readonly "switch-light": 'light';
|
|
178
|
+
readonly "poe-port": 'plug';
|
|
177
179
|
readonly "climate-ac": 'ac';
|
|
178
180
|
readonly "climate-thermostat": 'inherit';
|
|
179
181
|
readonly "climate-floor": 'inherit';
|
|
@@ -219,6 +221,11 @@ export declare const HERO_SCENE_BY_ROLE: {
|
|
|
219
221
|
readonly "email-notifier": 'inherit';
|
|
220
222
|
readonly "generic-notifier": 'inherit';
|
|
221
223
|
readonly "ir-transmitter": 'inherit';
|
|
224
|
+
readonly vm: 'inherit';
|
|
225
|
+
readonly "app-container": 'inherit';
|
|
226
|
+
readonly lxc: 'inherit';
|
|
227
|
+
readonly app: 'inherit';
|
|
228
|
+
readonly host: 'inherit';
|
|
222
229
|
};
|
|
223
230
|
/** The scene id of a (role, type) pair. Role beats type; a type this build does not know gets the terminal. */
|
|
224
231
|
export declare function resolveHeroSceneId(role: string | null, type: string): HeroSceneId;
|
package/dist/device/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ACCESSORY_LABEL, AccessoryKind, type AccessoryKindValue, accessoryStableId, } from './accessory.js';
|
|
2
|
-
export type { AccessoryChildrenAnswer, AccessoryChildrenComplete, AccessoryChildrenRead, AccessoryChildrenUnknown, AccessoryChildSpec, } from './base-device.js';
|
|
2
|
+
export type { AccessoryChildrenAnswer, AccessoryChildrenComplete, AccessoryChildrenRead, AccessoryChildrenUnknown, AccessoryChildSpec, DeviceStatusOwnership, } from './base-device.js';
|
|
3
3
|
export { accessoryChildrenComplete, accessoryChildrenUnknown, BaseDevice } from './base-device.js';
|
|
4
4
|
export type { CreateDeviceOrigin, CreationSchemaContext, DeviceRestoreReport, DeviceSummary, DiscoveryCandidate, FieldProbeResult, ProviderStatus, } from './base-device-provider.js';
|
|
5
5
|
export { BaseDeviceProvider, toDeviceSummary } from './base-device-provider.js';
|
|
@@ -14,6 +14,10 @@ export type { IDevice } from './device.js';
|
|
|
14
14
|
export { DeviceConfig } from './device-config.js';
|
|
15
15
|
export type { DeviceConstructor, DeviceContext, DeviceManagerApi, DevicePersistConfigOptions, IDeviceRegistry, IDeviceRegistryReader, } from './device-context.js';
|
|
16
16
|
export type { ChildLayout, ChildLayoutEntry, CreateDeviceSpec, DeviceDiscovery, DeviceManualCreation, DeviceMeta, DiscoveredDevice, InitialDeviceMeta, SavedDevice, } from './device-management.js';
|
|
17
|
+
export { DEVICE_IDENTIFIER_KEYS, DeviceIdentifierEntrySchema, DeviceIdentifierKeySchema, DeviceIdentifierOriginSchema, DeviceIdentifiersSchema, identifierStrength, isEmptyIdentifiers, mergeIdentifiers, normaliseIdentifiers, sameIdentifiers, normaliseMac, } from './device-identifiers.js';
|
|
18
|
+
export type { AcceptedValue, DeviceIdentifierEntry, DeviceIdentifierKey, DeviceIdentifierOrigin, DeviceIdentifiers, DeviceIdentifierStrength, NormaliseIdentifiersOptions, NormalisedIdentifiers, NormaliseResult, RawDeviceIdentifiers, RawSerialIdentifier, RawVendorUidIdentifier, RejectedIdentifier, RejectedReason, } from './device-identifiers.js';
|
|
19
|
+
export { declareDeviceIdentifiers } from './declare-identifiers.js';
|
|
20
|
+
export type { DeclareIdentifiersDeps, DeclareIdentifiersOptions, DeclareIdentifiersOutcome, DeclareIdentifiersResult, IdentifiersWriter, SetIdentifiersInput, } from './declare-identifiers.js';
|
|
17
21
|
export type { DeviceProfile, DeviceProfileDefaults, DeviceProfileMatch, PipelinePhaseMode, } from './device-profile.js';
|
|
18
22
|
export { BATTERY_DEVICE_PROFILE, DEVICE_PROFILES, deviceMatchesProfile, resolveDeviceProfile, } from './device-profile.js';
|
|
19
23
|
export type { IDeviceRuntimeState, Snapshot as RuntimeStateSnapshot, } from './device-runtime-state.js';
|