@camstack/addon-mqtt-broker 1.2.105 → 1.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/mqtt-broker.addon.js +55 -0
- package/dist/mqtt-broker.addon.mjs +55 -0
- package/package.json +1 -1
|
@@ -13319,6 +13319,43 @@ var ExposeInputSchema = object({
|
|
|
13319
13319
|
});
|
|
13320
13320
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13321
13321
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13322
|
+
/** Wire/storage schema for one icon id. */
|
|
13323
|
+
var LocationIconIdSchema = _enum([
|
|
13324
|
+
"map-pin",
|
|
13325
|
+
"house",
|
|
13326
|
+
"door-open",
|
|
13327
|
+
"sofa",
|
|
13328
|
+
"utensils",
|
|
13329
|
+
"bed-double",
|
|
13330
|
+
"bath",
|
|
13331
|
+
"briefcase",
|
|
13332
|
+
"car",
|
|
13333
|
+
"circle-parking",
|
|
13334
|
+
"route",
|
|
13335
|
+
"trees",
|
|
13336
|
+
"umbrella",
|
|
13337
|
+
"waves-ladder",
|
|
13338
|
+
"fence",
|
|
13339
|
+
"package",
|
|
13340
|
+
"warehouse",
|
|
13341
|
+
"store",
|
|
13342
|
+
"sun",
|
|
13343
|
+
"radar"
|
|
13344
|
+
]);
|
|
13345
|
+
/**
|
|
13346
|
+
* One (location, icon) assignment as it travels.
|
|
13347
|
+
*
|
|
13348
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13349
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13350
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13351
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13352
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13353
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13354
|
+
*/
|
|
13355
|
+
var LocationIconAssignmentSchema = object({
|
|
13356
|
+
locationKey: string(),
|
|
13357
|
+
icon: LocationIconIdSchema
|
|
13358
|
+
});
|
|
13322
13359
|
var ProviderStatusSchema = object({
|
|
13323
13360
|
connected: boolean(),
|
|
13324
13361
|
deviceCount: number(),
|
|
@@ -13830,6 +13867,12 @@ method(object({
|
|
|
13830
13867
|
}), object({ moved: number() }), {
|
|
13831
13868
|
kind: "mutation",
|
|
13832
13869
|
auth: "admin"
|
|
13870
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13871
|
+
location: string(),
|
|
13872
|
+
icon: LocationIconIdSchema.nullable()
|
|
13873
|
+
}), _void(), {
|
|
13874
|
+
kind: "mutation",
|
|
13875
|
+
auth: "admin"
|
|
13833
13876
|
}), method(object({
|
|
13834
13877
|
deviceId: number(),
|
|
13835
13878
|
disabled: boolean()
|
|
@@ -32672,6 +32715,12 @@ Object.freeze({
|
|
|
32672
32715
|
addonId: null,
|
|
32673
32716
|
access: "view"
|
|
32674
32717
|
},
|
|
32718
|
+
"deviceManager.listLocationIcons": {
|
|
32719
|
+
capName: "device-manager",
|
|
32720
|
+
capScope: "system",
|
|
32721
|
+
addonId: null,
|
|
32722
|
+
access: "view"
|
|
32723
|
+
},
|
|
32675
32724
|
"deviceManager.listLocations": {
|
|
32676
32725
|
capName: "device-manager",
|
|
32677
32726
|
capScope: "system",
|
|
@@ -32816,6 +32865,12 @@ Object.freeze({
|
|
|
32816
32865
|
addonId: null,
|
|
32817
32866
|
access: "create"
|
|
32818
32867
|
},
|
|
32868
|
+
"deviceManager.setLocationIcon": {
|
|
32869
|
+
capName: "device-manager",
|
|
32870
|
+
capScope: "system",
|
|
32871
|
+
addonId: null,
|
|
32872
|
+
access: "create"
|
|
32873
|
+
},
|
|
32819
32874
|
"deviceManager.setMetadata": {
|
|
32820
32875
|
capName: "device-manager",
|
|
32821
32876
|
capScope: "system",
|
|
@@ -13314,6 +13314,43 @@ var ExposeInputSchema = object({
|
|
|
13314
13314
|
});
|
|
13315
13315
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13316
13316
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13317
|
+
/** Wire/storage schema for one icon id. */
|
|
13318
|
+
var LocationIconIdSchema = _enum([
|
|
13319
|
+
"map-pin",
|
|
13320
|
+
"house",
|
|
13321
|
+
"door-open",
|
|
13322
|
+
"sofa",
|
|
13323
|
+
"utensils",
|
|
13324
|
+
"bed-double",
|
|
13325
|
+
"bath",
|
|
13326
|
+
"briefcase",
|
|
13327
|
+
"car",
|
|
13328
|
+
"circle-parking",
|
|
13329
|
+
"route",
|
|
13330
|
+
"trees",
|
|
13331
|
+
"umbrella",
|
|
13332
|
+
"waves-ladder",
|
|
13333
|
+
"fence",
|
|
13334
|
+
"package",
|
|
13335
|
+
"warehouse",
|
|
13336
|
+
"store",
|
|
13337
|
+
"sun",
|
|
13338
|
+
"radar"
|
|
13339
|
+
]);
|
|
13340
|
+
/**
|
|
13341
|
+
* One (location, icon) assignment as it travels.
|
|
13342
|
+
*
|
|
13343
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13344
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13345
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13346
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13347
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13348
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13349
|
+
*/
|
|
13350
|
+
var LocationIconAssignmentSchema = object({
|
|
13351
|
+
locationKey: string(),
|
|
13352
|
+
icon: LocationIconIdSchema
|
|
13353
|
+
});
|
|
13317
13354
|
var ProviderStatusSchema = object({
|
|
13318
13355
|
connected: boolean(),
|
|
13319
13356
|
deviceCount: number(),
|
|
@@ -13825,6 +13862,12 @@ method(object({
|
|
|
13825
13862
|
}), object({ moved: number() }), {
|
|
13826
13863
|
kind: "mutation",
|
|
13827
13864
|
auth: "admin"
|
|
13865
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13866
|
+
location: string(),
|
|
13867
|
+
icon: LocationIconIdSchema.nullable()
|
|
13868
|
+
}), _void(), {
|
|
13869
|
+
kind: "mutation",
|
|
13870
|
+
auth: "admin"
|
|
13828
13871
|
}), method(object({
|
|
13829
13872
|
deviceId: number(),
|
|
13830
13873
|
disabled: boolean()
|
|
@@ -32667,6 +32710,12 @@ Object.freeze({
|
|
|
32667
32710
|
addonId: null,
|
|
32668
32711
|
access: "view"
|
|
32669
32712
|
},
|
|
32713
|
+
"deviceManager.listLocationIcons": {
|
|
32714
|
+
capName: "device-manager",
|
|
32715
|
+
capScope: "system",
|
|
32716
|
+
addonId: null,
|
|
32717
|
+
access: "view"
|
|
32718
|
+
},
|
|
32670
32719
|
"deviceManager.listLocations": {
|
|
32671
32720
|
capName: "device-manager",
|
|
32672
32721
|
capScope: "system",
|
|
@@ -32811,6 +32860,12 @@ Object.freeze({
|
|
|
32811
32860
|
addonId: null,
|
|
32812
32861
|
access: "create"
|
|
32813
32862
|
},
|
|
32863
|
+
"deviceManager.setLocationIcon": {
|
|
32864
|
+
capName: "device-manager",
|
|
32865
|
+
capScope: "system",
|
|
32866
|
+
addonId: null,
|
|
32867
|
+
access: "create"
|
|
32868
|
+
},
|
|
32814
32869
|
"deviceManager.setMetadata": {
|
|
32815
32870
|
capName: "device-manager",
|
|
32816
32871
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.106",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|