@camstack/addon-provider-velux 0.2.104 → 0.2.106
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
|
@@ -13479,6 +13479,43 @@ var ExposeInputSchema = object({
|
|
|
13479
13479
|
});
|
|
13480
13480
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13481
13481
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13482
|
+
/** Wire/storage schema for one icon id. */
|
|
13483
|
+
var LocationIconIdSchema = _enum([
|
|
13484
|
+
"map-pin",
|
|
13485
|
+
"house",
|
|
13486
|
+
"door-open",
|
|
13487
|
+
"sofa",
|
|
13488
|
+
"utensils",
|
|
13489
|
+
"bed-double",
|
|
13490
|
+
"bath",
|
|
13491
|
+
"briefcase",
|
|
13492
|
+
"car",
|
|
13493
|
+
"circle-parking",
|
|
13494
|
+
"route",
|
|
13495
|
+
"trees",
|
|
13496
|
+
"umbrella",
|
|
13497
|
+
"waves-ladder",
|
|
13498
|
+
"fence",
|
|
13499
|
+
"package",
|
|
13500
|
+
"warehouse",
|
|
13501
|
+
"store",
|
|
13502
|
+
"sun",
|
|
13503
|
+
"radar"
|
|
13504
|
+
]);
|
|
13505
|
+
/**
|
|
13506
|
+
* One (location, icon) assignment as it travels.
|
|
13507
|
+
*
|
|
13508
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13509
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13510
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13511
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13512
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13513
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13514
|
+
*/
|
|
13515
|
+
var LocationIconAssignmentSchema = object({
|
|
13516
|
+
locationKey: string(),
|
|
13517
|
+
icon: LocationIconIdSchema
|
|
13518
|
+
});
|
|
13482
13519
|
var ProviderStatusSchema = object({
|
|
13483
13520
|
connected: boolean(),
|
|
13484
13521
|
deviceCount: number(),
|
|
@@ -14071,6 +14108,12 @@ method(object({
|
|
|
14071
14108
|
}), object({ moved: number() }), {
|
|
14072
14109
|
kind: "mutation",
|
|
14073
14110
|
auth: "admin"
|
|
14111
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14112
|
+
location: string(),
|
|
14113
|
+
icon: LocationIconIdSchema.nullable()
|
|
14114
|
+
}), _void(), {
|
|
14115
|
+
kind: "mutation",
|
|
14116
|
+
auth: "admin"
|
|
14074
14117
|
}), method(object({
|
|
14075
14118
|
deviceId: number(),
|
|
14076
14119
|
disabled: boolean()
|
|
@@ -20045,6 +20088,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20045
20088
|
"keyFrame",
|
|
20046
20089
|
"keyFrameSmall",
|
|
20047
20090
|
"thumbnailSmall",
|
|
20091
|
+
"confirmationCrop",
|
|
20048
20092
|
"sceneFrame"
|
|
20049
20093
|
]);
|
|
20050
20094
|
/**
|
|
@@ -36980,6 +37024,12 @@ Object.freeze({
|
|
|
36980
37024
|
addonId: null,
|
|
36981
37025
|
access: "view"
|
|
36982
37026
|
},
|
|
37027
|
+
"deviceManager.listLocationIcons": {
|
|
37028
|
+
capName: "device-manager",
|
|
37029
|
+
capScope: "system",
|
|
37030
|
+
addonId: null,
|
|
37031
|
+
access: "view"
|
|
37032
|
+
},
|
|
36983
37033
|
"deviceManager.listLocations": {
|
|
36984
37034
|
capName: "device-manager",
|
|
36985
37035
|
capScope: "system",
|
|
@@ -37124,6 +37174,12 @@ Object.freeze({
|
|
|
37124
37174
|
addonId: null,
|
|
37125
37175
|
access: "create"
|
|
37126
37176
|
},
|
|
37177
|
+
"deviceManager.setLocationIcon": {
|
|
37178
|
+
capName: "device-manager",
|
|
37179
|
+
capScope: "system",
|
|
37180
|
+
addonId: null,
|
|
37181
|
+
access: "create"
|
|
37182
|
+
},
|
|
37127
37183
|
"deviceManager.setMetadata": {
|
|
37128
37184
|
capName: "device-manager",
|
|
37129
37185
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -13478,6 +13478,43 @@ var ExposeInputSchema = object({
|
|
|
13478
13478
|
});
|
|
13479
13479
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13480
13480
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13481
|
+
/** Wire/storage schema for one icon id. */
|
|
13482
|
+
var LocationIconIdSchema = _enum([
|
|
13483
|
+
"map-pin",
|
|
13484
|
+
"house",
|
|
13485
|
+
"door-open",
|
|
13486
|
+
"sofa",
|
|
13487
|
+
"utensils",
|
|
13488
|
+
"bed-double",
|
|
13489
|
+
"bath",
|
|
13490
|
+
"briefcase",
|
|
13491
|
+
"car",
|
|
13492
|
+
"circle-parking",
|
|
13493
|
+
"route",
|
|
13494
|
+
"trees",
|
|
13495
|
+
"umbrella",
|
|
13496
|
+
"waves-ladder",
|
|
13497
|
+
"fence",
|
|
13498
|
+
"package",
|
|
13499
|
+
"warehouse",
|
|
13500
|
+
"store",
|
|
13501
|
+
"sun",
|
|
13502
|
+
"radar"
|
|
13503
|
+
]);
|
|
13504
|
+
/**
|
|
13505
|
+
* One (location, icon) assignment as it travels.
|
|
13506
|
+
*
|
|
13507
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13508
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13509
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13510
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13511
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13512
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13513
|
+
*/
|
|
13514
|
+
var LocationIconAssignmentSchema = object({
|
|
13515
|
+
locationKey: string(),
|
|
13516
|
+
icon: LocationIconIdSchema
|
|
13517
|
+
});
|
|
13481
13518
|
var ProviderStatusSchema = object({
|
|
13482
13519
|
connected: boolean(),
|
|
13483
13520
|
deviceCount: number(),
|
|
@@ -14070,6 +14107,12 @@ method(object({
|
|
|
14070
14107
|
}), object({ moved: number() }), {
|
|
14071
14108
|
kind: "mutation",
|
|
14072
14109
|
auth: "admin"
|
|
14110
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14111
|
+
location: string(),
|
|
14112
|
+
icon: LocationIconIdSchema.nullable()
|
|
14113
|
+
}), _void(), {
|
|
14114
|
+
kind: "mutation",
|
|
14115
|
+
auth: "admin"
|
|
14073
14116
|
}), method(object({
|
|
14074
14117
|
deviceId: number(),
|
|
14075
14118
|
disabled: boolean()
|
|
@@ -20044,6 +20087,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20044
20087
|
"keyFrame",
|
|
20045
20088
|
"keyFrameSmall",
|
|
20046
20089
|
"thumbnailSmall",
|
|
20090
|
+
"confirmationCrop",
|
|
20047
20091
|
"sceneFrame"
|
|
20048
20092
|
]);
|
|
20049
20093
|
/**
|
|
@@ -36979,6 +37023,12 @@ Object.freeze({
|
|
|
36979
37023
|
addonId: null,
|
|
36980
37024
|
access: "view"
|
|
36981
37025
|
},
|
|
37026
|
+
"deviceManager.listLocationIcons": {
|
|
37027
|
+
capName: "device-manager",
|
|
37028
|
+
capScope: "system",
|
|
37029
|
+
addonId: null,
|
|
37030
|
+
access: "view"
|
|
37031
|
+
},
|
|
36982
37032
|
"deviceManager.listLocations": {
|
|
36983
37033
|
capName: "device-manager",
|
|
36984
37034
|
capScope: "system",
|
|
@@ -37123,6 +37173,12 @@ Object.freeze({
|
|
|
37123
37173
|
addonId: null,
|
|
37124
37174
|
access: "create"
|
|
37125
37175
|
},
|
|
37176
|
+
"deviceManager.setLocationIcon": {
|
|
37177
|
+
capName: "device-manager",
|
|
37178
|
+
capScope: "system",
|
|
37179
|
+
addonId: null,
|
|
37180
|
+
access: "create"
|
|
37181
|
+
},
|
|
37126
37182
|
"deviceManager.setMetadata": {
|
|
37127
37183
|
capName: "device-manager",
|
|
37128
37184
|
capScope: "system",
|
package/package.json
CHANGED