@camstack/addon-matter-broker 0.2.104 → 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 +55 -0
- package/dist/addon.mjs +55 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -13559,6 +13559,43 @@ var ExposeInputSchema = object({
|
|
|
13559
13559
|
});
|
|
13560
13560
|
var UnexposeInputSchema = object({ deviceId: string$2() });
|
|
13561
13561
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13562
|
+
/** Wire/storage schema for one icon id. */
|
|
13563
|
+
var LocationIconIdSchema = _enum([
|
|
13564
|
+
"map-pin",
|
|
13565
|
+
"house",
|
|
13566
|
+
"door-open",
|
|
13567
|
+
"sofa",
|
|
13568
|
+
"utensils",
|
|
13569
|
+
"bed-double",
|
|
13570
|
+
"bath",
|
|
13571
|
+
"briefcase",
|
|
13572
|
+
"car",
|
|
13573
|
+
"circle-parking",
|
|
13574
|
+
"route",
|
|
13575
|
+
"trees",
|
|
13576
|
+
"umbrella",
|
|
13577
|
+
"waves-ladder",
|
|
13578
|
+
"fence",
|
|
13579
|
+
"package",
|
|
13580
|
+
"warehouse",
|
|
13581
|
+
"store",
|
|
13582
|
+
"sun",
|
|
13583
|
+
"radar"
|
|
13584
|
+
]);
|
|
13585
|
+
/**
|
|
13586
|
+
* One (location, icon) assignment as it travels.
|
|
13587
|
+
*
|
|
13588
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13589
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13590
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13591
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13592
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13593
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13594
|
+
*/
|
|
13595
|
+
var LocationIconAssignmentSchema = object({
|
|
13596
|
+
locationKey: string$2(),
|
|
13597
|
+
icon: LocationIconIdSchema
|
|
13598
|
+
});
|
|
13562
13599
|
var ProviderStatusSchema = object({
|
|
13563
13600
|
connected: boolean(),
|
|
13564
13601
|
deviceCount: number(),
|
|
@@ -14151,6 +14188,12 @@ method(object({
|
|
|
14151
14188
|
}), object({ moved: number() }), {
|
|
14152
14189
|
kind: "mutation",
|
|
14153
14190
|
auth: "admin"
|
|
14191
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14192
|
+
location: string$2(),
|
|
14193
|
+
icon: LocationIconIdSchema.nullable()
|
|
14194
|
+
}), _void(), {
|
|
14195
|
+
kind: "mutation",
|
|
14196
|
+
auth: "admin"
|
|
14154
14197
|
}), method(object({
|
|
14155
14198
|
deviceId: number(),
|
|
14156
14199
|
disabled: boolean()
|
|
@@ -37078,6 +37121,12 @@ Object.freeze({
|
|
|
37078
37121
|
addonId: null,
|
|
37079
37122
|
access: "view"
|
|
37080
37123
|
},
|
|
37124
|
+
"deviceManager.listLocationIcons": {
|
|
37125
|
+
capName: "device-manager",
|
|
37126
|
+
capScope: "system",
|
|
37127
|
+
addonId: null,
|
|
37128
|
+
access: "view"
|
|
37129
|
+
},
|
|
37081
37130
|
"deviceManager.listLocations": {
|
|
37082
37131
|
capName: "device-manager",
|
|
37083
37132
|
capScope: "system",
|
|
@@ -37222,6 +37271,12 @@ Object.freeze({
|
|
|
37222
37271
|
addonId: null,
|
|
37223
37272
|
access: "create"
|
|
37224
37273
|
},
|
|
37274
|
+
"deviceManager.setLocationIcon": {
|
|
37275
|
+
capName: "device-manager",
|
|
37276
|
+
capScope: "system",
|
|
37277
|
+
addonId: null,
|
|
37278
|
+
access: "create"
|
|
37279
|
+
},
|
|
37225
37280
|
"deviceManager.setMetadata": {
|
|
37226
37281
|
capName: "device-manager",
|
|
37227
37282
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -13557,6 +13557,43 @@ var ExposeInputSchema = object({
|
|
|
13557
13557
|
});
|
|
13558
13558
|
var UnexposeInputSchema = object({ deviceId: string$2() });
|
|
13559
13559
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13560
|
+
/** Wire/storage schema for one icon id. */
|
|
13561
|
+
var LocationIconIdSchema = _enum([
|
|
13562
|
+
"map-pin",
|
|
13563
|
+
"house",
|
|
13564
|
+
"door-open",
|
|
13565
|
+
"sofa",
|
|
13566
|
+
"utensils",
|
|
13567
|
+
"bed-double",
|
|
13568
|
+
"bath",
|
|
13569
|
+
"briefcase",
|
|
13570
|
+
"car",
|
|
13571
|
+
"circle-parking",
|
|
13572
|
+
"route",
|
|
13573
|
+
"trees",
|
|
13574
|
+
"umbrella",
|
|
13575
|
+
"waves-ladder",
|
|
13576
|
+
"fence",
|
|
13577
|
+
"package",
|
|
13578
|
+
"warehouse",
|
|
13579
|
+
"store",
|
|
13580
|
+
"sun",
|
|
13581
|
+
"radar"
|
|
13582
|
+
]);
|
|
13583
|
+
/**
|
|
13584
|
+
* One (location, icon) assignment as it travels.
|
|
13585
|
+
*
|
|
13586
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13587
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13588
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13589
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13590
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13591
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13592
|
+
*/
|
|
13593
|
+
var LocationIconAssignmentSchema = object({
|
|
13594
|
+
locationKey: string$2(),
|
|
13595
|
+
icon: LocationIconIdSchema
|
|
13596
|
+
});
|
|
13560
13597
|
var ProviderStatusSchema = object({
|
|
13561
13598
|
connected: boolean(),
|
|
13562
13599
|
deviceCount: number(),
|
|
@@ -14149,6 +14186,12 @@ method(object({
|
|
|
14149
14186
|
}), object({ moved: number() }), {
|
|
14150
14187
|
kind: "mutation",
|
|
14151
14188
|
auth: "admin"
|
|
14189
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14190
|
+
location: string$2(),
|
|
14191
|
+
icon: LocationIconIdSchema.nullable()
|
|
14192
|
+
}), _void(), {
|
|
14193
|
+
kind: "mutation",
|
|
14194
|
+
auth: "admin"
|
|
14152
14195
|
}), method(object({
|
|
14153
14196
|
deviceId: number(),
|
|
14154
14197
|
disabled: boolean()
|
|
@@ -37076,6 +37119,12 @@ Object.freeze({
|
|
|
37076
37119
|
addonId: null,
|
|
37077
37120
|
access: "view"
|
|
37078
37121
|
},
|
|
37122
|
+
"deviceManager.listLocationIcons": {
|
|
37123
|
+
capName: "device-manager",
|
|
37124
|
+
capScope: "system",
|
|
37125
|
+
addonId: null,
|
|
37126
|
+
access: "view"
|
|
37127
|
+
},
|
|
37079
37128
|
"deviceManager.listLocations": {
|
|
37080
37129
|
capName: "device-manager",
|
|
37081
37130
|
capScope: "system",
|
|
@@ -37220,6 +37269,12 @@ Object.freeze({
|
|
|
37220
37269
|
addonId: null,
|
|
37221
37270
|
access: "create"
|
|
37222
37271
|
},
|
|
37272
|
+
"deviceManager.setLocationIcon": {
|
|
37273
|
+
capName: "device-manager",
|
|
37274
|
+
capScope: "system",
|
|
37275
|
+
addonId: null,
|
|
37276
|
+
access: "create"
|
|
37277
|
+
},
|
|
37223
37278
|
"deviceManager.setMetadata": {
|
|
37224
37279
|
capName: "device-manager",
|
|
37225
37280
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-matter-broker",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.105",
|
|
4
4
|
"description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|