@camstack/addon-agent-ui 1.2.109 → 1.2.111
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 +57 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -13244,6 +13244,43 @@ var ExposeInputSchema = object({
|
|
|
13244
13244
|
});
|
|
13245
13245
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13246
13246
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13247
|
+
/** Wire/storage schema for one icon id. */
|
|
13248
|
+
var LocationIconIdSchema = _enum([
|
|
13249
|
+
"map-pin",
|
|
13250
|
+
"house",
|
|
13251
|
+
"door-open",
|
|
13252
|
+
"sofa",
|
|
13253
|
+
"utensils",
|
|
13254
|
+
"bed-double",
|
|
13255
|
+
"bath",
|
|
13256
|
+
"briefcase",
|
|
13257
|
+
"car",
|
|
13258
|
+
"circle-parking",
|
|
13259
|
+
"route",
|
|
13260
|
+
"trees",
|
|
13261
|
+
"umbrella",
|
|
13262
|
+
"waves-ladder",
|
|
13263
|
+
"fence",
|
|
13264
|
+
"package",
|
|
13265
|
+
"warehouse",
|
|
13266
|
+
"store",
|
|
13267
|
+
"sun",
|
|
13268
|
+
"radar"
|
|
13269
|
+
]);
|
|
13270
|
+
/**
|
|
13271
|
+
* One (location, icon) assignment as it travels.
|
|
13272
|
+
*
|
|
13273
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13274
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13275
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13276
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13277
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13278
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13279
|
+
*/
|
|
13280
|
+
var LocationIconAssignmentSchema = object({
|
|
13281
|
+
locationKey: string(),
|
|
13282
|
+
icon: LocationIconIdSchema
|
|
13283
|
+
});
|
|
13247
13284
|
var ProviderStatusSchema = object({
|
|
13248
13285
|
connected: boolean(),
|
|
13249
13286
|
deviceCount: number(),
|
|
@@ -13755,6 +13792,12 @@ method(object({
|
|
|
13755
13792
|
}), object({ moved: number() }), {
|
|
13756
13793
|
kind: "mutation",
|
|
13757
13794
|
auth: "admin"
|
|
13795
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13796
|
+
location: string(),
|
|
13797
|
+
icon: LocationIconIdSchema.nullable()
|
|
13798
|
+
}), _void(), {
|
|
13799
|
+
kind: "mutation",
|
|
13800
|
+
auth: "admin"
|
|
13758
13801
|
}), method(object({
|
|
13759
13802
|
deviceId: number(),
|
|
13760
13803
|
disabled: boolean()
|
|
@@ -19651,6 +19694,7 @@ var MediaFileKindEnum = _enum([
|
|
|
19651
19694
|
"keyFrame",
|
|
19652
19695
|
"keyFrameSmall",
|
|
19653
19696
|
"thumbnailSmall",
|
|
19697
|
+
"confirmationCrop",
|
|
19654
19698
|
"sceneFrame"
|
|
19655
19699
|
]);
|
|
19656
19700
|
/**
|
|
@@ -32577,6 +32621,12 @@ Object.freeze({
|
|
|
32577
32621
|
addonId: null,
|
|
32578
32622
|
access: "view"
|
|
32579
32623
|
},
|
|
32624
|
+
"deviceManager.listLocationIcons": {
|
|
32625
|
+
capName: "device-manager",
|
|
32626
|
+
capScope: "system",
|
|
32627
|
+
addonId: null,
|
|
32628
|
+
access: "view"
|
|
32629
|
+
},
|
|
32580
32630
|
"deviceManager.listLocations": {
|
|
32581
32631
|
capName: "device-manager",
|
|
32582
32632
|
capScope: "system",
|
|
@@ -32721,6 +32771,12 @@ Object.freeze({
|
|
|
32721
32771
|
addonId: null,
|
|
32722
32772
|
access: "create"
|
|
32723
32773
|
},
|
|
32774
|
+
"deviceManager.setLocationIcon": {
|
|
32775
|
+
capName: "device-manager",
|
|
32776
|
+
capScope: "system",
|
|
32777
|
+
addonId: null,
|
|
32778
|
+
access: "create"
|
|
32779
|
+
},
|
|
32724
32780
|
"deviceManager.setMetadata": {
|
|
32725
32781
|
capName: "device-manager",
|
|
32726
32782
|
capScope: "system",
|
|
@@ -39839,7 +39895,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
39839
39895
|
capability: adminUiCapability,
|
|
39840
39896
|
provider: {
|
|
39841
39897
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
39842
|
-
getVersion: async () => ({ version: "1.2.
|
|
39898
|
+
getVersion: async () => ({ version: "1.2.111" })
|
|
39843
39899
|
}
|
|
39844
39900
|
}];
|
|
39845
39901
|
}
|