@camstack/addon-remote-storage 1.0.6 → 1.0.7

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 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-BNnlmGQv.js");
5
+ const require_shared = require("./shared-C_Ep1mdF.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-fq937ye4.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-Dx4AECvI.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";
@@ -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-BNnlmGQv.js");
5
+ const require_shared = require("./shared-C_Ep1mdF.js");
6
6
  let ssh2 = require("ssh2");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_shared.__toESM(node_path);
@@ -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-fq937ye4.mjs";
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-Dx4AECvI.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
@@ -4652,7 +4652,7 @@ function _instanceof(cls, params = {}) {
4652
4652
  return inst;
4653
4653
  }
4654
4654
  //#endregion
4655
- //#region ../types/dist/sleep-D7JeS58T.mjs
4655
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4656
4656
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4657
4657
  EventCategory["SystemBoot"] = "system.boot";
4658
4658
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5626,7 +5626,7 @@ var BaseAddon = class {
5626
5626
  deviceSettingsSchema() {
5627
5627
  return null;
5628
5628
  }
5629
- async getGlobalSettings(overlay, cap) {
5629
+ async getGlobalSettings(overlay, cap, _nodeId) {
5630
5630
  const schema = this.globalSettingsSchema(cap);
5631
5631
  if (!schema) return { sections: [] };
5632
5632
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5635,7 +5635,7 @@ var BaseAddon = class {
5635
5635
  ...overlay
5636
5636
  } : raw);
5637
5637
  }
5638
- async updateGlobalSettings(patch) {
5638
+ async updateGlobalSettings(patch, _nodeId) {
5639
5639
  await this._ctx?.settings?.writeAddonStore(patch);
5640
5640
  await this.resolveConfig();
5641
5641
  await this.onConfigChanged();
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
4629
4629
  return inst;
4630
4630
  }
4631
4631
  //#endregion
4632
- //#region ../types/dist/sleep-D7JeS58T.mjs
4632
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4633
4633
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4634
4634
  EventCategory["SystemBoot"] = "system.boot";
4635
4635
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5603,7 +5603,7 @@ var BaseAddon = class {
5603
5603
  deviceSettingsSchema() {
5604
5604
  return null;
5605
5605
  }
5606
- async getGlobalSettings(overlay, cap) {
5606
+ async getGlobalSettings(overlay, cap, _nodeId) {
5607
5607
  const schema = this.globalSettingsSchema(cap);
5608
5608
  if (!schema) return { sections: [] };
5609
5609
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5612,7 +5612,7 @@ var BaseAddon = class {
5612
5612
  ...overlay
5613
5613
  } : raw);
5614
5614
  }
5615
- async updateGlobalSettings(patch) {
5615
+ async updateGlobalSettings(patch, _nodeId) {
5616
5616
  await this._ctx?.settings?.writeAddonStore(patch);
5617
5617
  await this.resolveConfig();
5618
5618
  await this.onConfigChanged();
@@ -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-BNnlmGQv.js");
5
+ const require_shared = require("./shared-C_Ep1mdF.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
@@ -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-fq937ye4.mjs";
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-Dx4AECvI.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.6",
3
+ "version": "1.0.7",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",