@camstack/addon-provider-unifi 0.2.104 → 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 +56 -0
- package/dist/addon.mjs +56 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -13479,6 +13479,43 @@ var ExposeInputSchema = object({
|
|
|
13479
13479
|
});
|
|
13480
13480
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13481
13481
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13482
|
+
/** Wire/storage schema for one icon id. */
|
|
13483
|
+
var LocationIconIdSchema = _enum([
|
|
13484
|
+
"map-pin",
|
|
13485
|
+
"house",
|
|
13486
|
+
"door-open",
|
|
13487
|
+
"sofa",
|
|
13488
|
+
"utensils",
|
|
13489
|
+
"bed-double",
|
|
13490
|
+
"bath",
|
|
13491
|
+
"briefcase",
|
|
13492
|
+
"car",
|
|
13493
|
+
"circle-parking",
|
|
13494
|
+
"route",
|
|
13495
|
+
"trees",
|
|
13496
|
+
"umbrella",
|
|
13497
|
+
"waves-ladder",
|
|
13498
|
+
"fence",
|
|
13499
|
+
"package",
|
|
13500
|
+
"warehouse",
|
|
13501
|
+
"store",
|
|
13502
|
+
"sun",
|
|
13503
|
+
"radar"
|
|
13504
|
+
]);
|
|
13505
|
+
/**
|
|
13506
|
+
* One (location, icon) assignment as it travels.
|
|
13507
|
+
*
|
|
13508
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13509
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13510
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13511
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13512
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13513
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13514
|
+
*/
|
|
13515
|
+
var LocationIconAssignmentSchema = object({
|
|
13516
|
+
locationKey: string(),
|
|
13517
|
+
icon: LocationIconIdSchema
|
|
13518
|
+
});
|
|
13482
13519
|
var ProviderStatusSchema = object({
|
|
13483
13520
|
connected: boolean(),
|
|
13484
13521
|
deviceCount: number(),
|
|
@@ -14071,6 +14108,12 @@ method(object({
|
|
|
14071
14108
|
}), object({ moved: number() }), {
|
|
14072
14109
|
kind: "mutation",
|
|
14073
14110
|
auth: "admin"
|
|
14111
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14112
|
+
location: string(),
|
|
14113
|
+
icon: LocationIconIdSchema.nullable()
|
|
14114
|
+
}), _void(), {
|
|
14115
|
+
kind: "mutation",
|
|
14116
|
+
auth: "admin"
|
|
14074
14117
|
}), method(object({
|
|
14075
14118
|
deviceId: number(),
|
|
14076
14119
|
disabled: boolean()
|
|
@@ -20045,6 +20088,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20045
20088
|
"keyFrame",
|
|
20046
20089
|
"keyFrameSmall",
|
|
20047
20090
|
"thumbnailSmall",
|
|
20091
|
+
"confirmationCrop",
|
|
20048
20092
|
"sceneFrame"
|
|
20049
20093
|
]);
|
|
20050
20094
|
/**
|
|
@@ -36997,6 +37041,12 @@ Object.freeze({
|
|
|
36997
37041
|
addonId: null,
|
|
36998
37042
|
access: "view"
|
|
36999
37043
|
},
|
|
37044
|
+
"deviceManager.listLocationIcons": {
|
|
37045
|
+
capName: "device-manager",
|
|
37046
|
+
capScope: "system",
|
|
37047
|
+
addonId: null,
|
|
37048
|
+
access: "view"
|
|
37049
|
+
},
|
|
37000
37050
|
"deviceManager.listLocations": {
|
|
37001
37051
|
capName: "device-manager",
|
|
37002
37052
|
capScope: "system",
|
|
@@ -37141,6 +37191,12 @@ Object.freeze({
|
|
|
37141
37191
|
addonId: null,
|
|
37142
37192
|
access: "create"
|
|
37143
37193
|
},
|
|
37194
|
+
"deviceManager.setLocationIcon": {
|
|
37195
|
+
capName: "device-manager",
|
|
37196
|
+
capScope: "system",
|
|
37197
|
+
addonId: null,
|
|
37198
|
+
access: "create"
|
|
37199
|
+
},
|
|
37144
37200
|
"deviceManager.setMetadata": {
|
|
37145
37201
|
capName: "device-manager",
|
|
37146
37202
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -13478,6 +13478,43 @@ var ExposeInputSchema = object({
|
|
|
13478
13478
|
});
|
|
13479
13479
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13480
13480
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13481
|
+
/** Wire/storage schema for one icon id. */
|
|
13482
|
+
var LocationIconIdSchema = _enum([
|
|
13483
|
+
"map-pin",
|
|
13484
|
+
"house",
|
|
13485
|
+
"door-open",
|
|
13486
|
+
"sofa",
|
|
13487
|
+
"utensils",
|
|
13488
|
+
"bed-double",
|
|
13489
|
+
"bath",
|
|
13490
|
+
"briefcase",
|
|
13491
|
+
"car",
|
|
13492
|
+
"circle-parking",
|
|
13493
|
+
"route",
|
|
13494
|
+
"trees",
|
|
13495
|
+
"umbrella",
|
|
13496
|
+
"waves-ladder",
|
|
13497
|
+
"fence",
|
|
13498
|
+
"package",
|
|
13499
|
+
"warehouse",
|
|
13500
|
+
"store",
|
|
13501
|
+
"sun",
|
|
13502
|
+
"radar"
|
|
13503
|
+
]);
|
|
13504
|
+
/**
|
|
13505
|
+
* One (location, icon) assignment as it travels.
|
|
13506
|
+
*
|
|
13507
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13508
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13509
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13510
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13511
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13512
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13513
|
+
*/
|
|
13514
|
+
var LocationIconAssignmentSchema = object({
|
|
13515
|
+
locationKey: string(),
|
|
13516
|
+
icon: LocationIconIdSchema
|
|
13517
|
+
});
|
|
13481
13518
|
var ProviderStatusSchema = object({
|
|
13482
13519
|
connected: boolean(),
|
|
13483
13520
|
deviceCount: number(),
|
|
@@ -14070,6 +14107,12 @@ method(object({
|
|
|
14070
14107
|
}), object({ moved: number() }), {
|
|
14071
14108
|
kind: "mutation",
|
|
14072
14109
|
auth: "admin"
|
|
14110
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14111
|
+
location: string(),
|
|
14112
|
+
icon: LocationIconIdSchema.nullable()
|
|
14113
|
+
}), _void(), {
|
|
14114
|
+
kind: "mutation",
|
|
14115
|
+
auth: "admin"
|
|
14073
14116
|
}), method(object({
|
|
14074
14117
|
deviceId: number(),
|
|
14075
14118
|
disabled: boolean()
|
|
@@ -20044,6 +20087,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20044
20087
|
"keyFrame",
|
|
20045
20088
|
"keyFrameSmall",
|
|
20046
20089
|
"thumbnailSmall",
|
|
20090
|
+
"confirmationCrop",
|
|
20047
20091
|
"sceneFrame"
|
|
20048
20092
|
]);
|
|
20049
20093
|
/**
|
|
@@ -36996,6 +37040,12 @@ Object.freeze({
|
|
|
36996
37040
|
addonId: null,
|
|
36997
37041
|
access: "view"
|
|
36998
37042
|
},
|
|
37043
|
+
"deviceManager.listLocationIcons": {
|
|
37044
|
+
capName: "device-manager",
|
|
37045
|
+
capScope: "system",
|
|
37046
|
+
addonId: null,
|
|
37047
|
+
access: "view"
|
|
37048
|
+
},
|
|
36999
37049
|
"deviceManager.listLocations": {
|
|
37000
37050
|
capName: "device-manager",
|
|
37001
37051
|
capScope: "system",
|
|
@@ -37140,6 +37190,12 @@ Object.freeze({
|
|
|
37140
37190
|
addonId: null,
|
|
37141
37191
|
access: "create"
|
|
37142
37192
|
},
|
|
37193
|
+
"deviceManager.setLocationIcon": {
|
|
37194
|
+
capName: "device-manager",
|
|
37195
|
+
capScope: "system",
|
|
37196
|
+
addonId: null,
|
|
37197
|
+
access: "create"
|
|
37198
|
+
},
|
|
37143
37199
|
"deviceManager.setMetadata": {
|
|
37144
37200
|
capName: "device-manager",
|
|
37145
37201
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-unifi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.106",
|
|
4
4
|
"description": "UniFi Network controller device-provider addon for CamStack — local-controller infra switches/APs (as containers) + network-client presence. NO cameras/Protect.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|