@camstack/addon-provider-homematic 1.2.105 → 1.2.107
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 +56 -0
- package/dist/addon.mjs +56 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -13554,6 +13554,43 @@ var ExposeInputSchema = object({
|
|
|
13554
13554
|
});
|
|
13555
13555
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13556
13556
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13557
|
+
/** Wire/storage schema for one icon id. */
|
|
13558
|
+
var LocationIconIdSchema = _enum([
|
|
13559
|
+
"map-pin",
|
|
13560
|
+
"house",
|
|
13561
|
+
"door-open",
|
|
13562
|
+
"sofa",
|
|
13563
|
+
"utensils",
|
|
13564
|
+
"bed-double",
|
|
13565
|
+
"bath",
|
|
13566
|
+
"briefcase",
|
|
13567
|
+
"car",
|
|
13568
|
+
"circle-parking",
|
|
13569
|
+
"route",
|
|
13570
|
+
"trees",
|
|
13571
|
+
"umbrella",
|
|
13572
|
+
"waves-ladder",
|
|
13573
|
+
"fence",
|
|
13574
|
+
"package",
|
|
13575
|
+
"warehouse",
|
|
13576
|
+
"store",
|
|
13577
|
+
"sun",
|
|
13578
|
+
"radar"
|
|
13579
|
+
]);
|
|
13580
|
+
/**
|
|
13581
|
+
* One (location, icon) assignment as it travels.
|
|
13582
|
+
*
|
|
13583
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13584
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13585
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13586
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13587
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13588
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13589
|
+
*/
|
|
13590
|
+
var LocationIconAssignmentSchema = object({
|
|
13591
|
+
locationKey: string(),
|
|
13592
|
+
icon: LocationIconIdSchema
|
|
13593
|
+
});
|
|
13557
13594
|
var ProviderStatusSchema = object({
|
|
13558
13595
|
connected: boolean(),
|
|
13559
13596
|
deviceCount: number(),
|
|
@@ -14146,6 +14183,12 @@ method(object({
|
|
|
14146
14183
|
}), object({ moved: number() }), {
|
|
14147
14184
|
kind: "mutation",
|
|
14148
14185
|
auth: "admin"
|
|
14186
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14187
|
+
location: string(),
|
|
14188
|
+
icon: LocationIconIdSchema.nullable()
|
|
14189
|
+
}), _void(), {
|
|
14190
|
+
kind: "mutation",
|
|
14191
|
+
auth: "admin"
|
|
14149
14192
|
}), method(object({
|
|
14150
14193
|
deviceId: number(),
|
|
14151
14194
|
disabled: boolean()
|
|
@@ -20120,6 +20163,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20120
20163
|
"keyFrame",
|
|
20121
20164
|
"keyFrameSmall",
|
|
20122
20165
|
"thumbnailSmall",
|
|
20166
|
+
"confirmationCrop",
|
|
20123
20167
|
"sceneFrame"
|
|
20124
20168
|
]);
|
|
20125
20169
|
/**
|
|
@@ -37055,6 +37099,12 @@ Object.freeze({
|
|
|
37055
37099
|
addonId: null,
|
|
37056
37100
|
access: "view"
|
|
37057
37101
|
},
|
|
37102
|
+
"deviceManager.listLocationIcons": {
|
|
37103
|
+
capName: "device-manager",
|
|
37104
|
+
capScope: "system",
|
|
37105
|
+
addonId: null,
|
|
37106
|
+
access: "view"
|
|
37107
|
+
},
|
|
37058
37108
|
"deviceManager.listLocations": {
|
|
37059
37109
|
capName: "device-manager",
|
|
37060
37110
|
capScope: "system",
|
|
@@ -37199,6 +37249,12 @@ Object.freeze({
|
|
|
37199
37249
|
addonId: null,
|
|
37200
37250
|
access: "create"
|
|
37201
37251
|
},
|
|
37252
|
+
"deviceManager.setLocationIcon": {
|
|
37253
|
+
capName: "device-manager",
|
|
37254
|
+
capScope: "system",
|
|
37255
|
+
addonId: null,
|
|
37256
|
+
access: "create"
|
|
37257
|
+
},
|
|
37202
37258
|
"deviceManager.setMetadata": {
|
|
37203
37259
|
capName: "device-manager",
|
|
37204
37260
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -13555,6 +13555,43 @@ var ExposeInputSchema = object({
|
|
|
13555
13555
|
});
|
|
13556
13556
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13557
13557
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13558
|
+
/** Wire/storage schema for one icon id. */
|
|
13559
|
+
var LocationIconIdSchema = _enum([
|
|
13560
|
+
"map-pin",
|
|
13561
|
+
"house",
|
|
13562
|
+
"door-open",
|
|
13563
|
+
"sofa",
|
|
13564
|
+
"utensils",
|
|
13565
|
+
"bed-double",
|
|
13566
|
+
"bath",
|
|
13567
|
+
"briefcase",
|
|
13568
|
+
"car",
|
|
13569
|
+
"circle-parking",
|
|
13570
|
+
"route",
|
|
13571
|
+
"trees",
|
|
13572
|
+
"umbrella",
|
|
13573
|
+
"waves-ladder",
|
|
13574
|
+
"fence",
|
|
13575
|
+
"package",
|
|
13576
|
+
"warehouse",
|
|
13577
|
+
"store",
|
|
13578
|
+
"sun",
|
|
13579
|
+
"radar"
|
|
13580
|
+
]);
|
|
13581
|
+
/**
|
|
13582
|
+
* One (location, icon) assignment as it travels.
|
|
13583
|
+
*
|
|
13584
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13585
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13586
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13587
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13588
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13589
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13590
|
+
*/
|
|
13591
|
+
var LocationIconAssignmentSchema = object({
|
|
13592
|
+
locationKey: string(),
|
|
13593
|
+
icon: LocationIconIdSchema
|
|
13594
|
+
});
|
|
13558
13595
|
var ProviderStatusSchema = object({
|
|
13559
13596
|
connected: boolean(),
|
|
13560
13597
|
deviceCount: number(),
|
|
@@ -14147,6 +14184,12 @@ method(object({
|
|
|
14147
14184
|
}), object({ moved: number() }), {
|
|
14148
14185
|
kind: "mutation",
|
|
14149
14186
|
auth: "admin"
|
|
14187
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14188
|
+
location: string(),
|
|
14189
|
+
icon: LocationIconIdSchema.nullable()
|
|
14190
|
+
}), _void(), {
|
|
14191
|
+
kind: "mutation",
|
|
14192
|
+
auth: "admin"
|
|
14150
14193
|
}), method(object({
|
|
14151
14194
|
deviceId: number(),
|
|
14152
14195
|
disabled: boolean()
|
|
@@ -20121,6 +20164,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20121
20164
|
"keyFrame",
|
|
20122
20165
|
"keyFrameSmall",
|
|
20123
20166
|
"thumbnailSmall",
|
|
20167
|
+
"confirmationCrop",
|
|
20124
20168
|
"sceneFrame"
|
|
20125
20169
|
]);
|
|
20126
20170
|
/**
|
|
@@ -37056,6 +37100,12 @@ Object.freeze({
|
|
|
37056
37100
|
addonId: null,
|
|
37057
37101
|
access: "view"
|
|
37058
37102
|
},
|
|
37103
|
+
"deviceManager.listLocationIcons": {
|
|
37104
|
+
capName: "device-manager",
|
|
37105
|
+
capScope: "system",
|
|
37106
|
+
addonId: null,
|
|
37107
|
+
access: "view"
|
|
37108
|
+
},
|
|
37059
37109
|
"deviceManager.listLocations": {
|
|
37060
37110
|
capName: "device-manager",
|
|
37061
37111
|
capScope: "system",
|
|
@@ -37200,6 +37250,12 @@ Object.freeze({
|
|
|
37200
37250
|
addonId: null,
|
|
37201
37251
|
access: "create"
|
|
37202
37252
|
},
|
|
37253
|
+
"deviceManager.setLocationIcon": {
|
|
37254
|
+
capName: "device-manager",
|
|
37255
|
+
capScope: "system",
|
|
37256
|
+
addonId: null,
|
|
37257
|
+
access: "create"
|
|
37258
|
+
},
|
|
37203
37259
|
"deviceManager.setMetadata": {
|
|
37204
37260
|
capName: "device-manager",
|
|
37205
37261
|
capScope: "system",
|
package/package.json
CHANGED