@camstack/addon-provider-petkit 0.2.105 → 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 +55 -0
- package/dist/addon.mjs +55 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -14598,6 +14598,43 @@ var ExposeInputSchema = object({
|
|
|
14598
14598
|
});
|
|
14599
14599
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
14600
14600
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
14601
|
+
/** Wire/storage schema for one icon id. */
|
|
14602
|
+
var LocationIconIdSchema = _enum([
|
|
14603
|
+
"map-pin",
|
|
14604
|
+
"house",
|
|
14605
|
+
"door-open",
|
|
14606
|
+
"sofa",
|
|
14607
|
+
"utensils",
|
|
14608
|
+
"bed-double",
|
|
14609
|
+
"bath",
|
|
14610
|
+
"briefcase",
|
|
14611
|
+
"car",
|
|
14612
|
+
"circle-parking",
|
|
14613
|
+
"route",
|
|
14614
|
+
"trees",
|
|
14615
|
+
"umbrella",
|
|
14616
|
+
"waves-ladder",
|
|
14617
|
+
"fence",
|
|
14618
|
+
"package",
|
|
14619
|
+
"warehouse",
|
|
14620
|
+
"store",
|
|
14621
|
+
"sun",
|
|
14622
|
+
"radar"
|
|
14623
|
+
]);
|
|
14624
|
+
/**
|
|
14625
|
+
* One (location, icon) assignment as it travels.
|
|
14626
|
+
*
|
|
14627
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
14628
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
14629
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
14630
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
14631
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
14632
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
14633
|
+
*/
|
|
14634
|
+
var LocationIconAssignmentSchema = object({
|
|
14635
|
+
locationKey: string(),
|
|
14636
|
+
icon: LocationIconIdSchema
|
|
14637
|
+
});
|
|
14601
14638
|
var ProviderStatusSchema = object({
|
|
14602
14639
|
connected: boolean(),
|
|
14603
14640
|
deviceCount: number(),
|
|
@@ -15190,6 +15227,12 @@ method(object({
|
|
|
15190
15227
|
}), object({ moved: number() }), {
|
|
15191
15228
|
kind: "mutation",
|
|
15192
15229
|
auth: "admin"
|
|
15230
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
15231
|
+
location: string(),
|
|
15232
|
+
icon: LocationIconIdSchema.nullable()
|
|
15233
|
+
}), _void(), {
|
|
15234
|
+
kind: "mutation",
|
|
15235
|
+
auth: "admin"
|
|
15193
15236
|
}), method(object({
|
|
15194
15237
|
deviceId: number(),
|
|
15195
15238
|
disabled: boolean()
|
|
@@ -38108,6 +38151,12 @@ Object.freeze({
|
|
|
38108
38151
|
addonId: null,
|
|
38109
38152
|
access: "view"
|
|
38110
38153
|
},
|
|
38154
|
+
"deviceManager.listLocationIcons": {
|
|
38155
|
+
capName: "device-manager",
|
|
38156
|
+
capScope: "system",
|
|
38157
|
+
addonId: null,
|
|
38158
|
+
access: "view"
|
|
38159
|
+
},
|
|
38111
38160
|
"deviceManager.listLocations": {
|
|
38112
38161
|
capName: "device-manager",
|
|
38113
38162
|
capScope: "system",
|
|
@@ -38252,6 +38301,12 @@ Object.freeze({
|
|
|
38252
38301
|
addonId: null,
|
|
38253
38302
|
access: "create"
|
|
38254
38303
|
},
|
|
38304
|
+
"deviceManager.setLocationIcon": {
|
|
38305
|
+
capName: "device-manager",
|
|
38306
|
+
capScope: "system",
|
|
38307
|
+
addonId: null,
|
|
38308
|
+
access: "create"
|
|
38309
|
+
},
|
|
38255
38310
|
"deviceManager.setMetadata": {
|
|
38256
38311
|
capName: "device-manager",
|
|
38257
38312
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -14597,6 +14597,43 @@ var ExposeInputSchema = object({
|
|
|
14597
14597
|
});
|
|
14598
14598
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
14599
14599
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
14600
|
+
/** Wire/storage schema for one icon id. */
|
|
14601
|
+
var LocationIconIdSchema = _enum([
|
|
14602
|
+
"map-pin",
|
|
14603
|
+
"house",
|
|
14604
|
+
"door-open",
|
|
14605
|
+
"sofa",
|
|
14606
|
+
"utensils",
|
|
14607
|
+
"bed-double",
|
|
14608
|
+
"bath",
|
|
14609
|
+
"briefcase",
|
|
14610
|
+
"car",
|
|
14611
|
+
"circle-parking",
|
|
14612
|
+
"route",
|
|
14613
|
+
"trees",
|
|
14614
|
+
"umbrella",
|
|
14615
|
+
"waves-ladder",
|
|
14616
|
+
"fence",
|
|
14617
|
+
"package",
|
|
14618
|
+
"warehouse",
|
|
14619
|
+
"store",
|
|
14620
|
+
"sun",
|
|
14621
|
+
"radar"
|
|
14622
|
+
]);
|
|
14623
|
+
/**
|
|
14624
|
+
* One (location, icon) assignment as it travels.
|
|
14625
|
+
*
|
|
14626
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
14627
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
14628
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
14629
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
14630
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
14631
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
14632
|
+
*/
|
|
14633
|
+
var LocationIconAssignmentSchema = object({
|
|
14634
|
+
locationKey: string(),
|
|
14635
|
+
icon: LocationIconIdSchema
|
|
14636
|
+
});
|
|
14600
14637
|
var ProviderStatusSchema = object({
|
|
14601
14638
|
connected: boolean(),
|
|
14602
14639
|
deviceCount: number(),
|
|
@@ -15189,6 +15226,12 @@ method(object({
|
|
|
15189
15226
|
}), object({ moved: number() }), {
|
|
15190
15227
|
kind: "mutation",
|
|
15191
15228
|
auth: "admin"
|
|
15229
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
15230
|
+
location: string(),
|
|
15231
|
+
icon: LocationIconIdSchema.nullable()
|
|
15232
|
+
}), _void(), {
|
|
15233
|
+
kind: "mutation",
|
|
15234
|
+
auth: "admin"
|
|
15192
15235
|
}), method(object({
|
|
15193
15236
|
deviceId: number(),
|
|
15194
15237
|
disabled: boolean()
|
|
@@ -38107,6 +38150,12 @@ Object.freeze({
|
|
|
38107
38150
|
addonId: null,
|
|
38108
38151
|
access: "view"
|
|
38109
38152
|
},
|
|
38153
|
+
"deviceManager.listLocationIcons": {
|
|
38154
|
+
capName: "device-manager",
|
|
38155
|
+
capScope: "system",
|
|
38156
|
+
addonId: null,
|
|
38157
|
+
access: "view"
|
|
38158
|
+
},
|
|
38110
38159
|
"deviceManager.listLocations": {
|
|
38111
38160
|
capName: "device-manager",
|
|
38112
38161
|
capScope: "system",
|
|
@@ -38251,6 +38300,12 @@ Object.freeze({
|
|
|
38251
38300
|
addonId: null,
|
|
38252
38301
|
access: "create"
|
|
38253
38302
|
},
|
|
38303
|
+
"deviceManager.setLocationIcon": {
|
|
38304
|
+
capName: "device-manager",
|
|
38305
|
+
capScope: "system",
|
|
38306
|
+
addonId: null,
|
|
38307
|
+
access: "create"
|
|
38308
|
+
},
|
|
38254
38309
|
"deviceManager.setMetadata": {
|
|
38255
38310
|
capName: "device-manager",
|
|
38256
38311
|
capScope: "system",
|
package/package.json
CHANGED