@camstack/addon-provider-rademacher 0.2.103 → 0.2.105
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
|
@@ -14464,6 +14464,43 @@ var ExposeInputSchema = object({
|
|
|
14464
14464
|
});
|
|
14465
14465
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
14466
14466
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
14467
|
+
/** Wire/storage schema for one icon id. */
|
|
14468
|
+
var LocationIconIdSchema = _enum([
|
|
14469
|
+
"map-pin",
|
|
14470
|
+
"house",
|
|
14471
|
+
"door-open",
|
|
14472
|
+
"sofa",
|
|
14473
|
+
"utensils",
|
|
14474
|
+
"bed-double",
|
|
14475
|
+
"bath",
|
|
14476
|
+
"briefcase",
|
|
14477
|
+
"car",
|
|
14478
|
+
"circle-parking",
|
|
14479
|
+
"route",
|
|
14480
|
+
"trees",
|
|
14481
|
+
"umbrella",
|
|
14482
|
+
"waves-ladder",
|
|
14483
|
+
"fence",
|
|
14484
|
+
"package",
|
|
14485
|
+
"warehouse",
|
|
14486
|
+
"store",
|
|
14487
|
+
"sun",
|
|
14488
|
+
"radar"
|
|
14489
|
+
]);
|
|
14490
|
+
/**
|
|
14491
|
+
* One (location, icon) assignment as it travels.
|
|
14492
|
+
*
|
|
14493
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
14494
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
14495
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
14496
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
14497
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
14498
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
14499
|
+
*/
|
|
14500
|
+
var LocationIconAssignmentSchema = object({
|
|
14501
|
+
locationKey: string(),
|
|
14502
|
+
icon: LocationIconIdSchema
|
|
14503
|
+
});
|
|
14467
14504
|
var ProviderStatusSchema = object({
|
|
14468
14505
|
connected: boolean(),
|
|
14469
14506
|
deviceCount: number(),
|
|
@@ -15056,6 +15093,12 @@ method(object({
|
|
|
15056
15093
|
}), object({ moved: number() }), {
|
|
15057
15094
|
kind: "mutation",
|
|
15058
15095
|
auth: "admin"
|
|
15096
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
15097
|
+
location: string(),
|
|
15098
|
+
icon: LocationIconIdSchema.nullable()
|
|
15099
|
+
}), _void(), {
|
|
15100
|
+
kind: "mutation",
|
|
15101
|
+
auth: "admin"
|
|
15059
15102
|
}), method(object({
|
|
15060
15103
|
deviceId: number(),
|
|
15061
15104
|
disabled: boolean()
|
|
@@ -21030,6 +21073,7 @@ var MediaFileKindEnum = _enum([
|
|
|
21030
21073
|
"keyFrame",
|
|
21031
21074
|
"keyFrameSmall",
|
|
21032
21075
|
"thumbnailSmall",
|
|
21076
|
+
"confirmationCrop",
|
|
21033
21077
|
"sceneFrame"
|
|
21034
21078
|
]);
|
|
21035
21079
|
/**
|
|
@@ -37965,6 +38009,12 @@ Object.freeze({
|
|
|
37965
38009
|
addonId: null,
|
|
37966
38010
|
access: "view"
|
|
37967
38011
|
},
|
|
38012
|
+
"deviceManager.listLocationIcons": {
|
|
38013
|
+
capName: "device-manager",
|
|
38014
|
+
capScope: "system",
|
|
38015
|
+
addonId: null,
|
|
38016
|
+
access: "view"
|
|
38017
|
+
},
|
|
37968
38018
|
"deviceManager.listLocations": {
|
|
37969
38019
|
capName: "device-manager",
|
|
37970
38020
|
capScope: "system",
|
|
@@ -38109,6 +38159,12 @@ Object.freeze({
|
|
|
38109
38159
|
addonId: null,
|
|
38110
38160
|
access: "create"
|
|
38111
38161
|
},
|
|
38162
|
+
"deviceManager.setLocationIcon": {
|
|
38163
|
+
capName: "device-manager",
|
|
38164
|
+
capScope: "system",
|
|
38165
|
+
addonId: null,
|
|
38166
|
+
access: "create"
|
|
38167
|
+
},
|
|
38112
38168
|
"deviceManager.setMetadata": {
|
|
38113
38169
|
capName: "device-manager",
|
|
38114
38170
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -14463,6 +14463,43 @@ var ExposeInputSchema = object({
|
|
|
14463
14463
|
});
|
|
14464
14464
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
14465
14465
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
14466
|
+
/** Wire/storage schema for one icon id. */
|
|
14467
|
+
var LocationIconIdSchema = _enum([
|
|
14468
|
+
"map-pin",
|
|
14469
|
+
"house",
|
|
14470
|
+
"door-open",
|
|
14471
|
+
"sofa",
|
|
14472
|
+
"utensils",
|
|
14473
|
+
"bed-double",
|
|
14474
|
+
"bath",
|
|
14475
|
+
"briefcase",
|
|
14476
|
+
"car",
|
|
14477
|
+
"circle-parking",
|
|
14478
|
+
"route",
|
|
14479
|
+
"trees",
|
|
14480
|
+
"umbrella",
|
|
14481
|
+
"waves-ladder",
|
|
14482
|
+
"fence",
|
|
14483
|
+
"package",
|
|
14484
|
+
"warehouse",
|
|
14485
|
+
"store",
|
|
14486
|
+
"sun",
|
|
14487
|
+
"radar"
|
|
14488
|
+
]);
|
|
14489
|
+
/**
|
|
14490
|
+
* One (location, icon) assignment as it travels.
|
|
14491
|
+
*
|
|
14492
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
14493
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
14494
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
14495
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
14496
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
14497
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
14498
|
+
*/
|
|
14499
|
+
var LocationIconAssignmentSchema = object({
|
|
14500
|
+
locationKey: string(),
|
|
14501
|
+
icon: LocationIconIdSchema
|
|
14502
|
+
});
|
|
14466
14503
|
var ProviderStatusSchema = object({
|
|
14467
14504
|
connected: boolean(),
|
|
14468
14505
|
deviceCount: number(),
|
|
@@ -15055,6 +15092,12 @@ method(object({
|
|
|
15055
15092
|
}), object({ moved: number() }), {
|
|
15056
15093
|
kind: "mutation",
|
|
15057
15094
|
auth: "admin"
|
|
15095
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
15096
|
+
location: string(),
|
|
15097
|
+
icon: LocationIconIdSchema.nullable()
|
|
15098
|
+
}), _void(), {
|
|
15099
|
+
kind: "mutation",
|
|
15100
|
+
auth: "admin"
|
|
15058
15101
|
}), method(object({
|
|
15059
15102
|
deviceId: number(),
|
|
15060
15103
|
disabled: boolean()
|
|
@@ -21029,6 +21072,7 @@ var MediaFileKindEnum = _enum([
|
|
|
21029
21072
|
"keyFrame",
|
|
21030
21073
|
"keyFrameSmall",
|
|
21031
21074
|
"thumbnailSmall",
|
|
21075
|
+
"confirmationCrop",
|
|
21032
21076
|
"sceneFrame"
|
|
21033
21077
|
]);
|
|
21034
21078
|
/**
|
|
@@ -37964,6 +38008,12 @@ Object.freeze({
|
|
|
37964
38008
|
addonId: null,
|
|
37965
38009
|
access: "view"
|
|
37966
38010
|
},
|
|
38011
|
+
"deviceManager.listLocationIcons": {
|
|
38012
|
+
capName: "device-manager",
|
|
38013
|
+
capScope: "system",
|
|
38014
|
+
addonId: null,
|
|
38015
|
+
access: "view"
|
|
38016
|
+
},
|
|
37967
38017
|
"deviceManager.listLocations": {
|
|
37968
38018
|
capName: "device-manager",
|
|
37969
38019
|
capScope: "system",
|
|
@@ -38108,6 +38158,12 @@ Object.freeze({
|
|
|
38108
38158
|
addonId: null,
|
|
38109
38159
|
access: "create"
|
|
38110
38160
|
},
|
|
38161
|
+
"deviceManager.setLocationIcon": {
|
|
38162
|
+
capName: "device-manager",
|
|
38163
|
+
capScope: "system",
|
|
38164
|
+
addonId: null,
|
|
38165
|
+
access: "create"
|
|
38166
|
+
},
|
|
38111
38167
|
"deviceManager.setMetadata": {
|
|
38112
38168
|
capName: "device-manager",
|
|
38113
38169
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.105",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|