@camstack/addon-provider-gree 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
|
@@ -13482,6 +13482,43 @@ var ExposeInputSchema = object({
|
|
|
13482
13482
|
});
|
|
13483
13483
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13484
13484
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13485
|
+
/** Wire/storage schema for one icon id. */
|
|
13486
|
+
var LocationIconIdSchema = _enum([
|
|
13487
|
+
"map-pin",
|
|
13488
|
+
"house",
|
|
13489
|
+
"door-open",
|
|
13490
|
+
"sofa",
|
|
13491
|
+
"utensils",
|
|
13492
|
+
"bed-double",
|
|
13493
|
+
"bath",
|
|
13494
|
+
"briefcase",
|
|
13495
|
+
"car",
|
|
13496
|
+
"circle-parking",
|
|
13497
|
+
"route",
|
|
13498
|
+
"trees",
|
|
13499
|
+
"umbrella",
|
|
13500
|
+
"waves-ladder",
|
|
13501
|
+
"fence",
|
|
13502
|
+
"package",
|
|
13503
|
+
"warehouse",
|
|
13504
|
+
"store",
|
|
13505
|
+
"sun",
|
|
13506
|
+
"radar"
|
|
13507
|
+
]);
|
|
13508
|
+
/**
|
|
13509
|
+
* One (location, icon) assignment as it travels.
|
|
13510
|
+
*
|
|
13511
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13512
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13513
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13514
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13515
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13516
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13517
|
+
*/
|
|
13518
|
+
var LocationIconAssignmentSchema = object({
|
|
13519
|
+
locationKey: string(),
|
|
13520
|
+
icon: LocationIconIdSchema
|
|
13521
|
+
});
|
|
13485
13522
|
var ProviderStatusSchema = object({
|
|
13486
13523
|
connected: boolean(),
|
|
13487
13524
|
deviceCount: number(),
|
|
@@ -14074,6 +14111,12 @@ method(object({
|
|
|
14074
14111
|
}), object({ moved: number() }), {
|
|
14075
14112
|
kind: "mutation",
|
|
14076
14113
|
auth: "admin"
|
|
14114
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14115
|
+
location: string(),
|
|
14116
|
+
icon: LocationIconIdSchema.nullable()
|
|
14117
|
+
}), _void(), {
|
|
14118
|
+
kind: "mutation",
|
|
14119
|
+
auth: "admin"
|
|
14077
14120
|
}), method(object({
|
|
14078
14121
|
deviceId: number(),
|
|
14079
14122
|
disabled: boolean()
|
|
@@ -20048,6 +20091,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20048
20091
|
"keyFrame",
|
|
20049
20092
|
"keyFrameSmall",
|
|
20050
20093
|
"thumbnailSmall",
|
|
20094
|
+
"confirmationCrop",
|
|
20051
20095
|
"sceneFrame"
|
|
20052
20096
|
]);
|
|
20053
20097
|
/**
|
|
@@ -36983,6 +37027,12 @@ Object.freeze({
|
|
|
36983
37027
|
addonId: null,
|
|
36984
37028
|
access: "view"
|
|
36985
37029
|
},
|
|
37030
|
+
"deviceManager.listLocationIcons": {
|
|
37031
|
+
capName: "device-manager",
|
|
37032
|
+
capScope: "system",
|
|
37033
|
+
addonId: null,
|
|
37034
|
+
access: "view"
|
|
37035
|
+
},
|
|
36986
37036
|
"deviceManager.listLocations": {
|
|
36987
37037
|
capName: "device-manager",
|
|
36988
37038
|
capScope: "system",
|
|
@@ -37127,6 +37177,12 @@ Object.freeze({
|
|
|
37127
37177
|
addonId: null,
|
|
37128
37178
|
access: "create"
|
|
37129
37179
|
},
|
|
37180
|
+
"deviceManager.setLocationIcon": {
|
|
37181
|
+
capName: "device-manager",
|
|
37182
|
+
capScope: "system",
|
|
37183
|
+
addonId: null,
|
|
37184
|
+
access: "create"
|
|
37185
|
+
},
|
|
37130
37186
|
"deviceManager.setMetadata": {
|
|
37131
37187
|
capName: "device-manager",
|
|
37132
37188
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -13481,6 +13481,43 @@ var ExposeInputSchema = object({
|
|
|
13481
13481
|
});
|
|
13482
13482
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13483
13483
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13484
|
+
/** Wire/storage schema for one icon id. */
|
|
13485
|
+
var LocationIconIdSchema = _enum([
|
|
13486
|
+
"map-pin",
|
|
13487
|
+
"house",
|
|
13488
|
+
"door-open",
|
|
13489
|
+
"sofa",
|
|
13490
|
+
"utensils",
|
|
13491
|
+
"bed-double",
|
|
13492
|
+
"bath",
|
|
13493
|
+
"briefcase",
|
|
13494
|
+
"car",
|
|
13495
|
+
"circle-parking",
|
|
13496
|
+
"route",
|
|
13497
|
+
"trees",
|
|
13498
|
+
"umbrella",
|
|
13499
|
+
"waves-ladder",
|
|
13500
|
+
"fence",
|
|
13501
|
+
"package",
|
|
13502
|
+
"warehouse",
|
|
13503
|
+
"store",
|
|
13504
|
+
"sun",
|
|
13505
|
+
"radar"
|
|
13506
|
+
]);
|
|
13507
|
+
/**
|
|
13508
|
+
* One (location, icon) assignment as it travels.
|
|
13509
|
+
*
|
|
13510
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13511
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13512
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13513
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13514
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13515
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13516
|
+
*/
|
|
13517
|
+
var LocationIconAssignmentSchema = object({
|
|
13518
|
+
locationKey: string(),
|
|
13519
|
+
icon: LocationIconIdSchema
|
|
13520
|
+
});
|
|
13484
13521
|
var ProviderStatusSchema = object({
|
|
13485
13522
|
connected: boolean(),
|
|
13486
13523
|
deviceCount: number(),
|
|
@@ -14073,6 +14110,12 @@ method(object({
|
|
|
14073
14110
|
}), object({ moved: number() }), {
|
|
14074
14111
|
kind: "mutation",
|
|
14075
14112
|
auth: "admin"
|
|
14113
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14114
|
+
location: string(),
|
|
14115
|
+
icon: LocationIconIdSchema.nullable()
|
|
14116
|
+
}), _void(), {
|
|
14117
|
+
kind: "mutation",
|
|
14118
|
+
auth: "admin"
|
|
14076
14119
|
}), method(object({
|
|
14077
14120
|
deviceId: number(),
|
|
14078
14121
|
disabled: boolean()
|
|
@@ -20047,6 +20090,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20047
20090
|
"keyFrame",
|
|
20048
20091
|
"keyFrameSmall",
|
|
20049
20092
|
"thumbnailSmall",
|
|
20093
|
+
"confirmationCrop",
|
|
20050
20094
|
"sceneFrame"
|
|
20051
20095
|
]);
|
|
20052
20096
|
/**
|
|
@@ -36982,6 +37026,12 @@ Object.freeze({
|
|
|
36982
37026
|
addonId: null,
|
|
36983
37027
|
access: "view"
|
|
36984
37028
|
},
|
|
37029
|
+
"deviceManager.listLocationIcons": {
|
|
37030
|
+
capName: "device-manager",
|
|
37031
|
+
capScope: "system",
|
|
37032
|
+
addonId: null,
|
|
37033
|
+
access: "view"
|
|
37034
|
+
},
|
|
36985
37035
|
"deviceManager.listLocations": {
|
|
36986
37036
|
capName: "device-manager",
|
|
36987
37037
|
capScope: "system",
|
|
@@ -37126,6 +37176,12 @@ Object.freeze({
|
|
|
37126
37176
|
addonId: null,
|
|
37127
37177
|
access: "create"
|
|
37128
37178
|
},
|
|
37179
|
+
"deviceManager.setLocationIcon": {
|
|
37180
|
+
capName: "device-manager",
|
|
37181
|
+
capScope: "system",
|
|
37182
|
+
addonId: null,
|
|
37183
|
+
access: "create"
|
|
37184
|
+
},
|
|
37129
37185
|
"deviceManager.setMetadata": {
|
|
37130
37186
|
capName: "device-manager",
|
|
37131
37187
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-gree",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.105",
|
|
4
4
|
"description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|