@camstack/addon-terminal 0.1.109 → 0.1.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 +56 -0
- package/dist/addon.mjs +56 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -13578,6 +13578,43 @@ var ExposeInputSchema = object({
|
|
|
13578
13578
|
});
|
|
13579
13579
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13580
13580
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13581
|
+
/** Wire/storage schema for one icon id. */
|
|
13582
|
+
var LocationIconIdSchema = _enum([
|
|
13583
|
+
"map-pin",
|
|
13584
|
+
"house",
|
|
13585
|
+
"door-open",
|
|
13586
|
+
"sofa",
|
|
13587
|
+
"utensils",
|
|
13588
|
+
"bed-double",
|
|
13589
|
+
"bath",
|
|
13590
|
+
"briefcase",
|
|
13591
|
+
"car",
|
|
13592
|
+
"circle-parking",
|
|
13593
|
+
"route",
|
|
13594
|
+
"trees",
|
|
13595
|
+
"umbrella",
|
|
13596
|
+
"waves-ladder",
|
|
13597
|
+
"fence",
|
|
13598
|
+
"package",
|
|
13599
|
+
"warehouse",
|
|
13600
|
+
"store",
|
|
13601
|
+
"sun",
|
|
13602
|
+
"radar"
|
|
13603
|
+
]);
|
|
13604
|
+
/**
|
|
13605
|
+
* One (location, icon) assignment as it travels.
|
|
13606
|
+
*
|
|
13607
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13608
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13609
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13610
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13611
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13612
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13613
|
+
*/
|
|
13614
|
+
var LocationIconAssignmentSchema = object({
|
|
13615
|
+
locationKey: string(),
|
|
13616
|
+
icon: LocationIconIdSchema
|
|
13617
|
+
});
|
|
13581
13618
|
var ProviderStatusSchema = object({
|
|
13582
13619
|
connected: boolean(),
|
|
13583
13620
|
deviceCount: number(),
|
|
@@ -14089,6 +14126,12 @@ method(object({
|
|
|
14089
14126
|
}), object({ moved: number() }), {
|
|
14090
14127
|
kind: "mutation",
|
|
14091
14128
|
auth: "admin"
|
|
14129
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14130
|
+
location: string(),
|
|
14131
|
+
icon: LocationIconIdSchema.nullable()
|
|
14132
|
+
}), _void(), {
|
|
14133
|
+
kind: "mutation",
|
|
14134
|
+
auth: "admin"
|
|
14092
14135
|
}), method(object({
|
|
14093
14136
|
deviceId: number(),
|
|
14094
14137
|
disabled: boolean()
|
|
@@ -20063,6 +20106,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20063
20106
|
"keyFrame",
|
|
20064
20107
|
"keyFrameSmall",
|
|
20065
20108
|
"thumbnailSmall",
|
|
20109
|
+
"confirmationCrop",
|
|
20066
20110
|
"sceneFrame"
|
|
20067
20111
|
]);
|
|
20068
20112
|
/**
|
|
@@ -36728,6 +36772,12 @@ Object.freeze({
|
|
|
36728
36772
|
addonId: null,
|
|
36729
36773
|
access: "view"
|
|
36730
36774
|
},
|
|
36775
|
+
"deviceManager.listLocationIcons": {
|
|
36776
|
+
capName: "device-manager",
|
|
36777
|
+
capScope: "system",
|
|
36778
|
+
addonId: null,
|
|
36779
|
+
access: "view"
|
|
36780
|
+
},
|
|
36731
36781
|
"deviceManager.listLocations": {
|
|
36732
36782
|
capName: "device-manager",
|
|
36733
36783
|
capScope: "system",
|
|
@@ -36872,6 +36922,12 @@ Object.freeze({
|
|
|
36872
36922
|
addonId: null,
|
|
36873
36923
|
access: "create"
|
|
36874
36924
|
},
|
|
36925
|
+
"deviceManager.setLocationIcon": {
|
|
36926
|
+
capName: "device-manager",
|
|
36927
|
+
capScope: "system",
|
|
36928
|
+
addonId: null,
|
|
36929
|
+
access: "create"
|
|
36930
|
+
},
|
|
36875
36931
|
"deviceManager.setMetadata": {
|
|
36876
36932
|
capName: "device-manager",
|
|
36877
36933
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -13555,6 +13555,43 @@ var ExposeInputSchema = object({
|
|
|
13555
13555
|
});
|
|
13556
13556
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13557
13557
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13558
|
+
/** Wire/storage schema for one icon id. */
|
|
13559
|
+
var LocationIconIdSchema = _enum([
|
|
13560
|
+
"map-pin",
|
|
13561
|
+
"house",
|
|
13562
|
+
"door-open",
|
|
13563
|
+
"sofa",
|
|
13564
|
+
"utensils",
|
|
13565
|
+
"bed-double",
|
|
13566
|
+
"bath",
|
|
13567
|
+
"briefcase",
|
|
13568
|
+
"car",
|
|
13569
|
+
"circle-parking",
|
|
13570
|
+
"route",
|
|
13571
|
+
"trees",
|
|
13572
|
+
"umbrella",
|
|
13573
|
+
"waves-ladder",
|
|
13574
|
+
"fence",
|
|
13575
|
+
"package",
|
|
13576
|
+
"warehouse",
|
|
13577
|
+
"store",
|
|
13578
|
+
"sun",
|
|
13579
|
+
"radar"
|
|
13580
|
+
]);
|
|
13581
|
+
/**
|
|
13582
|
+
* One (location, icon) assignment as it travels.
|
|
13583
|
+
*
|
|
13584
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13585
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13586
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13587
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13588
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13589
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13590
|
+
*/
|
|
13591
|
+
var LocationIconAssignmentSchema = object({
|
|
13592
|
+
locationKey: string(),
|
|
13593
|
+
icon: LocationIconIdSchema
|
|
13594
|
+
});
|
|
13558
13595
|
var ProviderStatusSchema = object({
|
|
13559
13596
|
connected: boolean(),
|
|
13560
13597
|
deviceCount: number(),
|
|
@@ -14066,6 +14103,12 @@ method(object({
|
|
|
14066
14103
|
}), object({ moved: number() }), {
|
|
14067
14104
|
kind: "mutation",
|
|
14068
14105
|
auth: "admin"
|
|
14106
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14107
|
+
location: string(),
|
|
14108
|
+
icon: LocationIconIdSchema.nullable()
|
|
14109
|
+
}), _void(), {
|
|
14110
|
+
kind: "mutation",
|
|
14111
|
+
auth: "admin"
|
|
14069
14112
|
}), method(object({
|
|
14070
14113
|
deviceId: number(),
|
|
14071
14114
|
disabled: boolean()
|
|
@@ -20040,6 +20083,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20040
20083
|
"keyFrame",
|
|
20041
20084
|
"keyFrameSmall",
|
|
20042
20085
|
"thumbnailSmall",
|
|
20086
|
+
"confirmationCrop",
|
|
20043
20087
|
"sceneFrame"
|
|
20044
20088
|
]);
|
|
20045
20089
|
/**
|
|
@@ -36705,6 +36749,12 @@ Object.freeze({
|
|
|
36705
36749
|
addonId: null,
|
|
36706
36750
|
access: "view"
|
|
36707
36751
|
},
|
|
36752
|
+
"deviceManager.listLocationIcons": {
|
|
36753
|
+
capName: "device-manager",
|
|
36754
|
+
capScope: "system",
|
|
36755
|
+
addonId: null,
|
|
36756
|
+
access: "view"
|
|
36757
|
+
},
|
|
36708
36758
|
"deviceManager.listLocations": {
|
|
36709
36759
|
capName: "device-manager",
|
|
36710
36760
|
capScope: "system",
|
|
@@ -36849,6 +36899,12 @@ Object.freeze({
|
|
|
36849
36899
|
addonId: null,
|
|
36850
36900
|
access: "create"
|
|
36851
36901
|
},
|
|
36902
|
+
"deviceManager.setLocationIcon": {
|
|
36903
|
+
capName: "device-manager",
|
|
36904
|
+
capScope: "system",
|
|
36905
|
+
addonId: null,
|
|
36906
|
+
access: "create"
|
|
36907
|
+
},
|
|
36852
36908
|
"deviceManager.setMetadata": {
|
|
36853
36909
|
capName: "device-manager",
|
|
36854
36910
|
capScope: "system",
|