@camstack/addon-remote-storage 1.2.103 → 1.2.105
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-DqWt_U16.js → shared-BrFtikFi.js} +56 -0
- package/dist/{shared-DPTTju9B.mjs → shared-TCTbz2PY.mjs} +56 -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-BrFtikFi.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-TCTbz2PY.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-BrFtikFi.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-TCTbz2PY.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
|
|
@@ -13249,6 +13249,43 @@ 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
|
+
});
|
|
13252
13289
|
var ProviderStatusSchema = object({
|
|
13253
13290
|
connected: boolean(),
|
|
13254
13291
|
deviceCount: number(),
|
|
@@ -13760,6 +13797,12 @@ method(object({
|
|
|
13760
13797
|
}), object({ moved: number() }), {
|
|
13761
13798
|
kind: "mutation",
|
|
13762
13799
|
auth: "admin"
|
|
13800
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13801
|
+
location: string(),
|
|
13802
|
+
icon: LocationIconIdSchema.nullable()
|
|
13803
|
+
}), _void(), {
|
|
13804
|
+
kind: "mutation",
|
|
13805
|
+
auth: "admin"
|
|
13763
13806
|
}), method(object({
|
|
13764
13807
|
deviceId: number(),
|
|
13765
13808
|
disabled: boolean()
|
|
@@ -19656,6 +19699,7 @@ var MediaFileKindEnum = _enum([
|
|
|
19656
19699
|
"keyFrame",
|
|
19657
19700
|
"keyFrameSmall",
|
|
19658
19701
|
"thumbnailSmall",
|
|
19702
|
+
"confirmationCrop",
|
|
19659
19703
|
"sceneFrame"
|
|
19660
19704
|
]);
|
|
19661
19705
|
/**
|
|
@@ -32642,6 +32686,12 @@ Object.freeze({
|
|
|
32642
32686
|
addonId: null,
|
|
32643
32687
|
access: "view"
|
|
32644
32688
|
},
|
|
32689
|
+
"deviceManager.listLocationIcons": {
|
|
32690
|
+
capName: "device-manager",
|
|
32691
|
+
capScope: "system",
|
|
32692
|
+
addonId: null,
|
|
32693
|
+
access: "view"
|
|
32694
|
+
},
|
|
32645
32695
|
"deviceManager.listLocations": {
|
|
32646
32696
|
capName: "device-manager",
|
|
32647
32697
|
capScope: "system",
|
|
@@ -32786,6 +32836,12 @@ Object.freeze({
|
|
|
32786
32836
|
addonId: null,
|
|
32787
32837
|
access: "create"
|
|
32788
32838
|
},
|
|
32839
|
+
"deviceManager.setLocationIcon": {
|
|
32840
|
+
capName: "device-manager",
|
|
32841
|
+
capScope: "system",
|
|
32842
|
+
addonId: null,
|
|
32843
|
+
access: "create"
|
|
32844
|
+
},
|
|
32789
32845
|
"deviceManager.setMetadata": {
|
|
32790
32846
|
capName: "device-manager",
|
|
32791
32847
|
capScope: "system",
|
|
@@ -13226,6 +13226,43 @@ 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
|
+
});
|
|
13229
13266
|
var ProviderStatusSchema = object({
|
|
13230
13267
|
connected: boolean(),
|
|
13231
13268
|
deviceCount: number(),
|
|
@@ -13737,6 +13774,12 @@ method(object({
|
|
|
13737
13774
|
}), object({ moved: number() }), {
|
|
13738
13775
|
kind: "mutation",
|
|
13739
13776
|
auth: "admin"
|
|
13777
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13778
|
+
location: string(),
|
|
13779
|
+
icon: LocationIconIdSchema.nullable()
|
|
13780
|
+
}), _void(), {
|
|
13781
|
+
kind: "mutation",
|
|
13782
|
+
auth: "admin"
|
|
13740
13783
|
}), method(object({
|
|
13741
13784
|
deviceId: number(),
|
|
13742
13785
|
disabled: boolean()
|
|
@@ -19633,6 +19676,7 @@ var MediaFileKindEnum = _enum([
|
|
|
19633
19676
|
"keyFrame",
|
|
19634
19677
|
"keyFrameSmall",
|
|
19635
19678
|
"thumbnailSmall",
|
|
19679
|
+
"confirmationCrop",
|
|
19636
19680
|
"sceneFrame"
|
|
19637
19681
|
]);
|
|
19638
19682
|
/**
|
|
@@ -32619,6 +32663,12 @@ Object.freeze({
|
|
|
32619
32663
|
addonId: null,
|
|
32620
32664
|
access: "view"
|
|
32621
32665
|
},
|
|
32666
|
+
"deviceManager.listLocationIcons": {
|
|
32667
|
+
capName: "device-manager",
|
|
32668
|
+
capScope: "system",
|
|
32669
|
+
addonId: null,
|
|
32670
|
+
access: "view"
|
|
32671
|
+
},
|
|
32622
32672
|
"deviceManager.listLocations": {
|
|
32623
32673
|
capName: "device-manager",
|
|
32624
32674
|
capScope: "system",
|
|
@@ -32763,6 +32813,12 @@ Object.freeze({
|
|
|
32763
32813
|
addonId: null,
|
|
32764
32814
|
access: "create"
|
|
32765
32815
|
},
|
|
32816
|
+
"deviceManager.setLocationIcon": {
|
|
32817
|
+
capName: "device-manager",
|
|
32818
|
+
capScope: "system",
|
|
32819
|
+
addonId: null,
|
|
32820
|
+
access: "create"
|
|
32821
|
+
},
|
|
32766
32822
|
"deviceManager.setMetadata": {
|
|
32767
32823
|
capName: "device-manager",
|
|
32768
32824
|
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-BrFtikFi.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-TCTbz2PY.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-BrFtikFi.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-TCTbz2PY.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