@camstack/addon-remote-storage 1.2.104 → 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/s3.addon.js +1 -1
- package/dist/s3.addon.mjs +1 -1
- package/dist/sftp.addon.js +1 -1
- package/dist/sftp.addon.mjs +1 -1
- package/dist/{shared-C0GTMbfd.mjs → shared-DEmtCoWA.mjs} +188 -0
- package/dist/{shared-Cxbkgr9q.js → shared-cuWwejpK.js} +188 -0
- package/dist/smb.addon.js +1 -1
- package/dist/smb.addon.mjs +1 -1
- package/dist/webdav.addon.js +1 -1
- package/dist/webdav.addon.mjs +1 -1
- package/package.json +1 -1
package/dist/s3.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-cuWwejpK.js");
|
|
6
6
|
let node_stream = require("node:stream");
|
|
7
7
|
let _aws_sdk_client_s3 = require("@aws-sdk/client-s3");
|
|
8
8
|
let _aws_sdk_lib_storage = require("@aws-sdk/lib-storage");
|
package/dist/s3.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-DEmtCoWA.mjs";
|
|
2
2
|
import { PassThrough } from "node:stream";
|
|
3
3
|
import { DeleteObjectCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectsV2Command, PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
|
|
4
4
|
import { Upload } from "@aws-sdk/lib-storage";
|
package/dist/sftp.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-cuWwejpK.js");
|
|
6
6
|
let ssh2 = require("ssh2");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_shared.__toESM(node_path);
|
package/dist/sftp.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-DEmtCoWA.mjs";
|
|
2
2
|
import { Client } from "ssh2";
|
|
3
3
|
import * as path from "node:path";
|
|
4
4
|
//#region src/providers/sftp/sftp-config-schema.ts
|
|
@@ -13226,6 +13226,107 @@ var ExposeInputSchema = object({
|
|
|
13226
13226
|
});
|
|
13227
13227
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13228
13228
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13229
|
+
/** Wire/storage schema for one icon id. */
|
|
13230
|
+
var LocationIconIdSchema = _enum([
|
|
13231
|
+
"map-pin",
|
|
13232
|
+
"house",
|
|
13233
|
+
"door-open",
|
|
13234
|
+
"sofa",
|
|
13235
|
+
"utensils",
|
|
13236
|
+
"bed-double",
|
|
13237
|
+
"bath",
|
|
13238
|
+
"briefcase",
|
|
13239
|
+
"car",
|
|
13240
|
+
"circle-parking",
|
|
13241
|
+
"route",
|
|
13242
|
+
"trees",
|
|
13243
|
+
"umbrella",
|
|
13244
|
+
"waves-ladder",
|
|
13245
|
+
"fence",
|
|
13246
|
+
"package",
|
|
13247
|
+
"warehouse",
|
|
13248
|
+
"store",
|
|
13249
|
+
"sun",
|
|
13250
|
+
"radar"
|
|
13251
|
+
]);
|
|
13252
|
+
/**
|
|
13253
|
+
* One (location, icon) assignment as it travels.
|
|
13254
|
+
*
|
|
13255
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13256
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13257
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13258
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13259
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13260
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13261
|
+
*/
|
|
13262
|
+
var LocationIconAssignmentSchema = object({
|
|
13263
|
+
locationKey: string(),
|
|
13264
|
+
icon: LocationIconIdSchema
|
|
13265
|
+
});
|
|
13266
|
+
/**
|
|
13267
|
+
* One (location, description) assignment as it travels.
|
|
13268
|
+
*
|
|
13269
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13270
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13271
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13272
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13273
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13274
|
+
* off the location itself, on `locationIconKey`.
|
|
13275
|
+
*/
|
|
13276
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13277
|
+
locationKey: string(),
|
|
13278
|
+
description: string()
|
|
13279
|
+
});
|
|
13280
|
+
/**
|
|
13281
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13282
|
+
*
|
|
13283
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13284
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13285
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13286
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13287
|
+
*
|
|
13288
|
+
* ## Why not `zone`
|
|
13289
|
+
*
|
|
13290
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13291
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13292
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13293
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13294
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13295
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13296
|
+
*
|
|
13297
|
+
* ## The key
|
|
13298
|
+
*
|
|
13299
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13300
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13301
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13302
|
+
* silently-dropped location description.
|
|
13303
|
+
*
|
|
13304
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13305
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13306
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13307
|
+
*/
|
|
13308
|
+
/**
|
|
13309
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13310
|
+
* the locations inside it.
|
|
13311
|
+
*
|
|
13312
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13313
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13314
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13315
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13316
|
+
* it has not fetched yet.
|
|
13317
|
+
*
|
|
13318
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13319
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13320
|
+
*/
|
|
13321
|
+
var SiteZoneSchema = object({
|
|
13322
|
+
zoneKey: string(),
|
|
13323
|
+
label: string(),
|
|
13324
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13325
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13326
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13327
|
+
* the ones that most want grouping. */
|
|
13328
|
+
locationKeys: array(string())
|
|
13329
|
+
});
|
|
13229
13330
|
var ProviderStatusSchema = object({
|
|
13230
13331
|
connected: boolean(),
|
|
13231
13332
|
deviceCount: number(),
|
|
@@ -13737,6 +13838,39 @@ method(object({
|
|
|
13737
13838
|
}), object({ moved: number() }), {
|
|
13738
13839
|
kind: "mutation",
|
|
13739
13840
|
auth: "admin"
|
|
13841
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13842
|
+
location: string(),
|
|
13843
|
+
icon: LocationIconIdSchema.nullable()
|
|
13844
|
+
}), _void(), {
|
|
13845
|
+
kind: "mutation",
|
|
13846
|
+
auth: "admin"
|
|
13847
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
13848
|
+
location: string(),
|
|
13849
|
+
description: string().max(400).nullable()
|
|
13850
|
+
}), _void(), {
|
|
13851
|
+
kind: "mutation",
|
|
13852
|
+
auth: "admin"
|
|
13853
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
13854
|
+
name: string(),
|
|
13855
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
13856
|
+
}), _void(), {
|
|
13857
|
+
kind: "mutation",
|
|
13858
|
+
auth: "admin"
|
|
13859
|
+
}), method(object({ name: string() }), _void(), {
|
|
13860
|
+
kind: "mutation",
|
|
13861
|
+
auth: "admin"
|
|
13862
|
+
}), method(object({
|
|
13863
|
+
from: string(),
|
|
13864
|
+
to: string()
|
|
13865
|
+
}), _void(), {
|
|
13866
|
+
kind: "mutation",
|
|
13867
|
+
auth: "admin"
|
|
13868
|
+
}), method(object({
|
|
13869
|
+
location: string(),
|
|
13870
|
+
zone: string().nullable()
|
|
13871
|
+
}), _void(), {
|
|
13872
|
+
kind: "mutation",
|
|
13873
|
+
auth: "admin"
|
|
13740
13874
|
}), method(object({
|
|
13741
13875
|
deviceId: number(),
|
|
13742
13876
|
disabled: boolean()
|
|
@@ -32620,6 +32754,18 @@ Object.freeze({
|
|
|
32620
32754
|
addonId: null,
|
|
32621
32755
|
access: "view"
|
|
32622
32756
|
},
|
|
32757
|
+
"deviceManager.listLocationDescriptions": {
|
|
32758
|
+
capName: "device-manager",
|
|
32759
|
+
capScope: "system",
|
|
32760
|
+
addonId: null,
|
|
32761
|
+
access: "view"
|
|
32762
|
+
},
|
|
32763
|
+
"deviceManager.listLocationIcons": {
|
|
32764
|
+
capName: "device-manager",
|
|
32765
|
+
capScope: "system",
|
|
32766
|
+
addonId: null,
|
|
32767
|
+
access: "view"
|
|
32768
|
+
},
|
|
32623
32769
|
"deviceManager.listLocations": {
|
|
32624
32770
|
capName: "device-manager",
|
|
32625
32771
|
capScope: "system",
|
|
@@ -32632,6 +32778,12 @@ Object.freeze({
|
|
|
32632
32778
|
addonId: null,
|
|
32633
32779
|
access: "view"
|
|
32634
32780
|
},
|
|
32781
|
+
"deviceManager.listSiteZones": {
|
|
32782
|
+
capName: "device-manager",
|
|
32783
|
+
capScope: "system",
|
|
32784
|
+
addonId: null,
|
|
32785
|
+
access: "view"
|
|
32786
|
+
},
|
|
32635
32787
|
"deviceManager.listWrappersForCap": {
|
|
32636
32788
|
capName: "device-manager",
|
|
32637
32789
|
capScope: "system",
|
|
@@ -32716,12 +32868,24 @@ Object.freeze({
|
|
|
32716
32868
|
addonId: null,
|
|
32717
32869
|
access: "delete"
|
|
32718
32870
|
},
|
|
32871
|
+
"deviceManager.removeSiteZone": {
|
|
32872
|
+
capName: "device-manager",
|
|
32873
|
+
capScope: "system",
|
|
32874
|
+
addonId: null,
|
|
32875
|
+
access: "delete"
|
|
32876
|
+
},
|
|
32719
32877
|
"deviceManager.renameLocation": {
|
|
32720
32878
|
capName: "device-manager",
|
|
32721
32879
|
capScope: "system",
|
|
32722
32880
|
addonId: null,
|
|
32723
32881
|
access: "create"
|
|
32724
32882
|
},
|
|
32883
|
+
"deviceManager.renameSiteZone": {
|
|
32884
|
+
capName: "device-manager",
|
|
32885
|
+
capScope: "system",
|
|
32886
|
+
addonId: null,
|
|
32887
|
+
access: "create"
|
|
32888
|
+
},
|
|
32725
32889
|
"deviceManager.runDeviceAction": {
|
|
32726
32890
|
capName: "device-manager",
|
|
32727
32891
|
capScope: "system",
|
|
@@ -32764,6 +32928,24 @@ Object.freeze({
|
|
|
32764
32928
|
addonId: null,
|
|
32765
32929
|
access: "create"
|
|
32766
32930
|
},
|
|
32931
|
+
"deviceManager.setLocationDescription": {
|
|
32932
|
+
capName: "device-manager",
|
|
32933
|
+
capScope: "system",
|
|
32934
|
+
addonId: null,
|
|
32935
|
+
access: "create"
|
|
32936
|
+
},
|
|
32937
|
+
"deviceManager.setLocationIcon": {
|
|
32938
|
+
capName: "device-manager",
|
|
32939
|
+
capScope: "system",
|
|
32940
|
+
addonId: null,
|
|
32941
|
+
access: "create"
|
|
32942
|
+
},
|
|
32943
|
+
"deviceManager.setLocationZone": {
|
|
32944
|
+
capName: "device-manager",
|
|
32945
|
+
capScope: "system",
|
|
32946
|
+
addonId: null,
|
|
32947
|
+
access: "create"
|
|
32948
|
+
},
|
|
32767
32949
|
"deviceManager.setMetadata": {
|
|
32768
32950
|
capName: "device-manager",
|
|
32769
32951
|
capScope: "system",
|
|
@@ -32794,6 +32976,12 @@ Object.freeze({
|
|
|
32794
32976
|
addonId: null,
|
|
32795
32977
|
access: "create"
|
|
32796
32978
|
},
|
|
32979
|
+
"deviceManager.setSiteZone": {
|
|
32980
|
+
capName: "device-manager",
|
|
32981
|
+
capScope: "system",
|
|
32982
|
+
addonId: null,
|
|
32983
|
+
access: "create"
|
|
32984
|
+
},
|
|
32797
32985
|
"deviceManager.setStreamProfileMap": {
|
|
32798
32986
|
capName: "device-manager",
|
|
32799
32987
|
capScope: "system",
|
|
@@ -13249,6 +13249,107 @@ var ExposeInputSchema = object({
|
|
|
13249
13249
|
});
|
|
13250
13250
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13251
13251
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13252
|
+
/** Wire/storage schema for one icon id. */
|
|
13253
|
+
var LocationIconIdSchema = _enum([
|
|
13254
|
+
"map-pin",
|
|
13255
|
+
"house",
|
|
13256
|
+
"door-open",
|
|
13257
|
+
"sofa",
|
|
13258
|
+
"utensils",
|
|
13259
|
+
"bed-double",
|
|
13260
|
+
"bath",
|
|
13261
|
+
"briefcase",
|
|
13262
|
+
"car",
|
|
13263
|
+
"circle-parking",
|
|
13264
|
+
"route",
|
|
13265
|
+
"trees",
|
|
13266
|
+
"umbrella",
|
|
13267
|
+
"waves-ladder",
|
|
13268
|
+
"fence",
|
|
13269
|
+
"package",
|
|
13270
|
+
"warehouse",
|
|
13271
|
+
"store",
|
|
13272
|
+
"sun",
|
|
13273
|
+
"radar"
|
|
13274
|
+
]);
|
|
13275
|
+
/**
|
|
13276
|
+
* One (location, icon) assignment as it travels.
|
|
13277
|
+
*
|
|
13278
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13279
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13280
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13281
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13282
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13283
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13284
|
+
*/
|
|
13285
|
+
var LocationIconAssignmentSchema = object({
|
|
13286
|
+
locationKey: string(),
|
|
13287
|
+
icon: LocationIconIdSchema
|
|
13288
|
+
});
|
|
13289
|
+
/**
|
|
13290
|
+
* One (location, description) assignment as it travels.
|
|
13291
|
+
*
|
|
13292
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13293
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13294
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13295
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13296
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13297
|
+
* off the location itself, on `locationIconKey`.
|
|
13298
|
+
*/
|
|
13299
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13300
|
+
locationKey: string(),
|
|
13301
|
+
description: string()
|
|
13302
|
+
});
|
|
13303
|
+
/**
|
|
13304
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13305
|
+
*
|
|
13306
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13307
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13308
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13309
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13310
|
+
*
|
|
13311
|
+
* ## Why not `zone`
|
|
13312
|
+
*
|
|
13313
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13314
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13315
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13316
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13317
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13318
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13319
|
+
*
|
|
13320
|
+
* ## The key
|
|
13321
|
+
*
|
|
13322
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13323
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13324
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13325
|
+
* silently-dropped location description.
|
|
13326
|
+
*
|
|
13327
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13328
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13329
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13330
|
+
*/
|
|
13331
|
+
/**
|
|
13332
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13333
|
+
* the locations inside it.
|
|
13334
|
+
*
|
|
13335
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13336
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13337
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13338
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13339
|
+
* it has not fetched yet.
|
|
13340
|
+
*
|
|
13341
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13342
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13343
|
+
*/
|
|
13344
|
+
var SiteZoneSchema = object({
|
|
13345
|
+
zoneKey: string(),
|
|
13346
|
+
label: string(),
|
|
13347
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13348
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13349
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13350
|
+
* the ones that most want grouping. */
|
|
13351
|
+
locationKeys: array(string())
|
|
13352
|
+
});
|
|
13252
13353
|
var ProviderStatusSchema = object({
|
|
13253
13354
|
connected: boolean(),
|
|
13254
13355
|
deviceCount: number(),
|
|
@@ -13760,6 +13861,39 @@ method(object({
|
|
|
13760
13861
|
}), object({ moved: number() }), {
|
|
13761
13862
|
kind: "mutation",
|
|
13762
13863
|
auth: "admin"
|
|
13864
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13865
|
+
location: string(),
|
|
13866
|
+
icon: LocationIconIdSchema.nullable()
|
|
13867
|
+
}), _void(), {
|
|
13868
|
+
kind: "mutation",
|
|
13869
|
+
auth: "admin"
|
|
13870
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
13871
|
+
location: string(),
|
|
13872
|
+
description: string().max(400).nullable()
|
|
13873
|
+
}), _void(), {
|
|
13874
|
+
kind: "mutation",
|
|
13875
|
+
auth: "admin"
|
|
13876
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
13877
|
+
name: string(),
|
|
13878
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
13879
|
+
}), _void(), {
|
|
13880
|
+
kind: "mutation",
|
|
13881
|
+
auth: "admin"
|
|
13882
|
+
}), method(object({ name: string() }), _void(), {
|
|
13883
|
+
kind: "mutation",
|
|
13884
|
+
auth: "admin"
|
|
13885
|
+
}), method(object({
|
|
13886
|
+
from: string(),
|
|
13887
|
+
to: string()
|
|
13888
|
+
}), _void(), {
|
|
13889
|
+
kind: "mutation",
|
|
13890
|
+
auth: "admin"
|
|
13891
|
+
}), method(object({
|
|
13892
|
+
location: string(),
|
|
13893
|
+
zone: string().nullable()
|
|
13894
|
+
}), _void(), {
|
|
13895
|
+
kind: "mutation",
|
|
13896
|
+
auth: "admin"
|
|
13763
13897
|
}), method(object({
|
|
13764
13898
|
deviceId: number(),
|
|
13765
13899
|
disabled: boolean()
|
|
@@ -32643,6 +32777,18 @@ Object.freeze({
|
|
|
32643
32777
|
addonId: null,
|
|
32644
32778
|
access: "view"
|
|
32645
32779
|
},
|
|
32780
|
+
"deviceManager.listLocationDescriptions": {
|
|
32781
|
+
capName: "device-manager",
|
|
32782
|
+
capScope: "system",
|
|
32783
|
+
addonId: null,
|
|
32784
|
+
access: "view"
|
|
32785
|
+
},
|
|
32786
|
+
"deviceManager.listLocationIcons": {
|
|
32787
|
+
capName: "device-manager",
|
|
32788
|
+
capScope: "system",
|
|
32789
|
+
addonId: null,
|
|
32790
|
+
access: "view"
|
|
32791
|
+
},
|
|
32646
32792
|
"deviceManager.listLocations": {
|
|
32647
32793
|
capName: "device-manager",
|
|
32648
32794
|
capScope: "system",
|
|
@@ -32655,6 +32801,12 @@ Object.freeze({
|
|
|
32655
32801
|
addonId: null,
|
|
32656
32802
|
access: "view"
|
|
32657
32803
|
},
|
|
32804
|
+
"deviceManager.listSiteZones": {
|
|
32805
|
+
capName: "device-manager",
|
|
32806
|
+
capScope: "system",
|
|
32807
|
+
addonId: null,
|
|
32808
|
+
access: "view"
|
|
32809
|
+
},
|
|
32658
32810
|
"deviceManager.listWrappersForCap": {
|
|
32659
32811
|
capName: "device-manager",
|
|
32660
32812
|
capScope: "system",
|
|
@@ -32739,12 +32891,24 @@ Object.freeze({
|
|
|
32739
32891
|
addonId: null,
|
|
32740
32892
|
access: "delete"
|
|
32741
32893
|
},
|
|
32894
|
+
"deviceManager.removeSiteZone": {
|
|
32895
|
+
capName: "device-manager",
|
|
32896
|
+
capScope: "system",
|
|
32897
|
+
addonId: null,
|
|
32898
|
+
access: "delete"
|
|
32899
|
+
},
|
|
32742
32900
|
"deviceManager.renameLocation": {
|
|
32743
32901
|
capName: "device-manager",
|
|
32744
32902
|
capScope: "system",
|
|
32745
32903
|
addonId: null,
|
|
32746
32904
|
access: "create"
|
|
32747
32905
|
},
|
|
32906
|
+
"deviceManager.renameSiteZone": {
|
|
32907
|
+
capName: "device-manager",
|
|
32908
|
+
capScope: "system",
|
|
32909
|
+
addonId: null,
|
|
32910
|
+
access: "create"
|
|
32911
|
+
},
|
|
32748
32912
|
"deviceManager.runDeviceAction": {
|
|
32749
32913
|
capName: "device-manager",
|
|
32750
32914
|
capScope: "system",
|
|
@@ -32787,6 +32951,24 @@ Object.freeze({
|
|
|
32787
32951
|
addonId: null,
|
|
32788
32952
|
access: "create"
|
|
32789
32953
|
},
|
|
32954
|
+
"deviceManager.setLocationDescription": {
|
|
32955
|
+
capName: "device-manager",
|
|
32956
|
+
capScope: "system",
|
|
32957
|
+
addonId: null,
|
|
32958
|
+
access: "create"
|
|
32959
|
+
},
|
|
32960
|
+
"deviceManager.setLocationIcon": {
|
|
32961
|
+
capName: "device-manager",
|
|
32962
|
+
capScope: "system",
|
|
32963
|
+
addonId: null,
|
|
32964
|
+
access: "create"
|
|
32965
|
+
},
|
|
32966
|
+
"deviceManager.setLocationZone": {
|
|
32967
|
+
capName: "device-manager",
|
|
32968
|
+
capScope: "system",
|
|
32969
|
+
addonId: null,
|
|
32970
|
+
access: "create"
|
|
32971
|
+
},
|
|
32790
32972
|
"deviceManager.setMetadata": {
|
|
32791
32973
|
capName: "device-manager",
|
|
32792
32974
|
capScope: "system",
|
|
@@ -32817,6 +32999,12 @@ Object.freeze({
|
|
|
32817
32999
|
addonId: null,
|
|
32818
33000
|
access: "create"
|
|
32819
33001
|
},
|
|
33002
|
+
"deviceManager.setSiteZone": {
|
|
33003
|
+
capName: "device-manager",
|
|
33004
|
+
capScope: "system",
|
|
33005
|
+
addonId: null,
|
|
33006
|
+
access: "create"
|
|
33007
|
+
},
|
|
32820
33008
|
"deviceManager.setStreamProfileMap": {
|
|
32821
33009
|
capName: "device-manager",
|
|
32822
33010
|
capScope: "system",
|
package/dist/smb.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-cuWwejpK.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_shared.__toESM(node_path);
|
package/dist/smb.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-
|
|
1
|
+
import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-DEmtCoWA.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import * as path from "node:path";
|
|
4
4
|
import * as fsp from "node:fs/promises";
|
package/dist/webdav.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-cuWwejpK.js");
|
|
6
6
|
let node_stream = require("node:stream");
|
|
7
7
|
let webdav = require("webdav");
|
|
8
8
|
//#region src/providers/webdav/webdav-config-schema.ts
|
package/dist/webdav.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-DEmtCoWA.mjs";
|
|
2
2
|
import { PassThrough } from "node:stream";
|
|
3
3
|
import { AuthType, createClient } from "webdav";
|
|
4
4
|
//#region src/providers/webdav/webdav-config-schema.ts
|
package/package.json
CHANGED