@camstack/addon-remote-storage 1.0.0 → 1.0.2
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 +2 -2
- package/dist/sftp.addon.mjs +2 -2
- package/dist/{shared-DTC4efOV.js → shared-B4p10WFZ.js} +5 -5
- package/dist/{shared-7XaboN6K.mjs → shared-DL9Prz1T.mjs} +5 -5
- package/dist/webdav.addon.js +1 -1
- package/dist/webdav.addon.mjs +1 -1
- package/package.json +2 -2
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-B4p10WFZ.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 storageProviderCapability, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as BaseAddon, t as createSessionId } from "./shared-
|
|
1
|
+
import { c as storageProviderCapability, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as BaseAddon, t as createSessionId } from "./shared-DL9Prz1T.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-B4p10WFZ.js");
|
|
6
6
|
let ssh2 = require("ssh2");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_shared.__toESM(node_path);
|
|
@@ -111,7 +111,7 @@ var SFTP_CONFIG_SCHEMA = { sections: [{
|
|
|
111
111
|
* SFTP `storage-provider` cap implementation.
|
|
112
112
|
*
|
|
113
113
|
* Mirrors the contract of the canonical
|
|
114
|
-
* `@camstack/
|
|
114
|
+
* `@camstack/system` `FilesystemStorageProvider`:
|
|
115
115
|
* - small-file primitives (resolve/write/read/exists/list/delete/getAvailableSpace)
|
|
116
116
|
* - chunked upload (.partial → atomic rename) + chunked download
|
|
117
117
|
* - 5-minute idle TTL on every session
|
package/dist/sftp.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as safeJoinRemotePath, c as storageProviderCapability, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as BaseAddon, t as createSessionId } from "./shared-
|
|
1
|
+
import { a as safeJoinRemotePath, c as storageProviderCapability, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as BaseAddon, t as createSessionId } from "./shared-DL9Prz1T.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
|
|
@@ -106,7 +106,7 @@ var SFTP_CONFIG_SCHEMA = { sections: [{
|
|
|
106
106
|
* SFTP `storage-provider` cap implementation.
|
|
107
107
|
*
|
|
108
108
|
* Mirrors the contract of the canonical
|
|
109
|
-
* `@camstack/
|
|
109
|
+
* `@camstack/system` `FilesystemStorageProvider`:
|
|
110
110
|
* - small-file primitives (resolve/write/read/exists/list/delete/getAvailableSpace)
|
|
111
111
|
* - chunked upload (.partial → atomic rename) + chunked download
|
|
112
112
|
* - 5-minute idle TTL on every session
|
|
@@ -12261,7 +12261,7 @@ method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchem
|
|
|
12261
12261
|
* rebuilds without manual reload.
|
|
12262
12262
|
*
|
|
12263
12263
|
* The hub-local builtin `addon-pages-aggregator` (see
|
|
12264
|
-
* `@camstack/
|
|
12264
|
+
* `@camstack/system/builtins/addon-pages-aggregator`) registers the
|
|
12265
12265
|
* provider. Splitting the public aggregator from the raw collection
|
|
12266
12266
|
* keeps both ends in codegen — there's no hand-written
|
|
12267
12267
|
* `addon-pages.router.ts` wrapper anymore.
|
|
@@ -12444,7 +12444,7 @@ method(_void(), array(WidgetMetadataSchema).readonly());
|
|
|
12444
12444
|
* manual reload — same scheme used by `addon-pages`.
|
|
12445
12445
|
*
|
|
12446
12446
|
* The hub-local builtin `addon-widgets-aggregator` (see
|
|
12447
|
-
* `@camstack/
|
|
12447
|
+
* `@camstack/system/builtins/addon-widgets-aggregator`) registers the
|
|
12448
12448
|
* provider. Splitting the public aggregator from the raw collection
|
|
12449
12449
|
* keeps both ends in codegen — there's no hand-written wrapper.
|
|
12450
12450
|
*/
|
|
@@ -15155,7 +15155,7 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
|
|
|
15155
15155
|
* clients — they reverse-connect to the hub. Exposing their interfaces
|
|
15156
15156
|
* via the same surface would leak internal topology with no upside.
|
|
15157
15157
|
*
|
|
15158
|
-
* Implementation in `@camstack/
|
|
15158
|
+
* Implementation in `@camstack/system/builtins/local-network/`.
|
|
15159
15159
|
*/
|
|
15160
15160
|
/** Coarse classification derived from the interface name + IP range. */
|
|
15161
15161
|
var InterfaceKindEnum = _enum([
|
|
@@ -15702,7 +15702,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
15702
15702
|
* jitter, and observed/peak bandwidth per device + per client.
|
|
15703
15703
|
*
|
|
15704
15704
|
* Implementation lives in the server's `NetworkQualityService` (thin
|
|
15705
|
-
* wrapper over the shared `NetworkQualityTracker` from `@camstack/
|
|
15705
|
+
* wrapper over the shared `NetworkQualityTracker` from `@camstack/system`).
|
|
15706
15706
|
* The provider is registered from `trpc.router.ts` against the existing
|
|
15707
15707
|
* service instance — no addon owns this state.
|
|
15708
15708
|
*
|
|
@@ -20554,7 +20554,7 @@ Object.freeze({
|
|
|
20554
20554
|
* Shared helpers for remote-storage providers (SFTP, S3, WebDAV).
|
|
20555
20555
|
*
|
|
20556
20556
|
* Mirrors the contract used by the canonical
|
|
20557
|
-
* `@camstack/
|
|
20557
|
+
* `@camstack/system` `FilesystemStorageProvider`:
|
|
20558
20558
|
* - path-traversal guard reused for `relativePath` resolution
|
|
20559
20559
|
* - chunked-upload / chunked-download session shapes (the actual
|
|
20560
20560
|
* fields differ per backend — provider-specific session types
|
|
@@ -12238,7 +12238,7 @@ method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchem
|
|
|
12238
12238
|
* rebuilds without manual reload.
|
|
12239
12239
|
*
|
|
12240
12240
|
* The hub-local builtin `addon-pages-aggregator` (see
|
|
12241
|
-
* `@camstack/
|
|
12241
|
+
* `@camstack/system/builtins/addon-pages-aggregator`) registers the
|
|
12242
12242
|
* provider. Splitting the public aggregator from the raw collection
|
|
12243
12243
|
* keeps both ends in codegen — there's no hand-written
|
|
12244
12244
|
* `addon-pages.router.ts` wrapper anymore.
|
|
@@ -12421,7 +12421,7 @@ method(_void(), array(WidgetMetadataSchema).readonly());
|
|
|
12421
12421
|
* manual reload — same scheme used by `addon-pages`.
|
|
12422
12422
|
*
|
|
12423
12423
|
* The hub-local builtin `addon-widgets-aggregator` (see
|
|
12424
|
-
* `@camstack/
|
|
12424
|
+
* `@camstack/system/builtins/addon-widgets-aggregator`) registers the
|
|
12425
12425
|
* provider. Splitting the public aggregator from the raw collection
|
|
12426
12426
|
* keeps both ends in codegen — there's no hand-written wrapper.
|
|
12427
12427
|
*/
|
|
@@ -15132,7 +15132,7 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
|
|
|
15132
15132
|
* clients — they reverse-connect to the hub. Exposing their interfaces
|
|
15133
15133
|
* via the same surface would leak internal topology with no upside.
|
|
15134
15134
|
*
|
|
15135
|
-
* Implementation in `@camstack/
|
|
15135
|
+
* Implementation in `@camstack/system/builtins/local-network/`.
|
|
15136
15136
|
*/
|
|
15137
15137
|
/** Coarse classification derived from the interface name + IP range. */
|
|
15138
15138
|
var InterfaceKindEnum = _enum([
|
|
@@ -15679,7 +15679,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
15679
15679
|
* jitter, and observed/peak bandwidth per device + per client.
|
|
15680
15680
|
*
|
|
15681
15681
|
* Implementation lives in the server's `NetworkQualityService` (thin
|
|
15682
|
-
* wrapper over the shared `NetworkQualityTracker` from `@camstack/
|
|
15682
|
+
* wrapper over the shared `NetworkQualityTracker` from `@camstack/system`).
|
|
15683
15683
|
* The provider is registered from `trpc.router.ts` against the existing
|
|
15684
15684
|
* service instance — no addon owns this state.
|
|
15685
15685
|
*
|
|
@@ -20531,7 +20531,7 @@ Object.freeze({
|
|
|
20531
20531
|
* Shared helpers for remote-storage providers (SFTP, S3, WebDAV).
|
|
20532
20532
|
*
|
|
20533
20533
|
* Mirrors the contract used by the canonical
|
|
20534
|
-
* `@camstack/
|
|
20534
|
+
* `@camstack/system` `FilesystemStorageProvider`:
|
|
20535
20535
|
* - path-traversal guard reused for `relativePath` resolution
|
|
20536
20536
|
* - chunked-upload / chunked-download session shapes (the actual
|
|
20537
20537
|
* fields differ per backend — provider-specific session types
|
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-B4p10WFZ.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 storageProviderCapability, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as BaseAddon, t as createSessionId } from "./shared-
|
|
1
|
+
import { a as safeJoinRemotePath, c as storageProviderCapability, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as BaseAddon, t as createSessionId } from "./shared-DL9Prz1T.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-remote-storage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Remote storage providers (SFTP, S3, WebDAV) — unifies remote backends behind the storage-provider cap",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"webdav": "^5.7.0"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
|
-
"@camstack/types": "
|
|
104
|
+
"@camstack/types": "*"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
107
|
"@camstack/types": "*",
|