@camstack/addon-remote-storage 1.2.42 → 1.2.44

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.
@@ -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-DSJ7V_r6.js");
5
+ const require_shared = require("./shared-CzYVi403.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-8LifrPLV.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-DsnRUNmJ.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@camstack/addon-remote-storage",
3
- "version": "1.2.42",
4
- "description": "Remote storage providers (SFTP, S3, WebDAV) — unifies remote backends behind the storage-provider cap",
3
+ "version": "1.2.44",
4
+ "description": "Remote storage providers (SFTP, S3, WebDAV, SMB) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",
7
7
  "addon",
@@ -9,7 +9,8 @@
9
9
  "storage",
10
10
  "sftp",
11
11
  "s3",
12
- "webdav"
12
+ "webdav",
13
+ "smb"
13
14
  ],
14
15
  "license": "MIT",
15
16
  "repository": {
@@ -31,7 +32,7 @@
31
32
  "displayName": "Remote Storage",
32
33
  "bundle": {
33
34
  "displayName": "Remote Storage",
34
- "description": "SFTP, S3 and WebDAV storage providers for backups and recordings."
35
+ "description": "SFTP, S3, WebDAV and SMB storage providers. Remote backends serve cap-mediated location kinds (backups); recordings and event media are local-path kinds and are refused (D296)."
35
36
  },
36
37
  "addons": [
37
38
  {
@@ -42,7 +43,7 @@
42
43
  "category": "system",
43
44
  "name": "SFTP Storage",
44
45
  "version": "0.1.1",
45
- "description": "SFTP / SSH-2 storage-provider for the storage cap (backups, recordings, …).",
46
+ "description": "SFTP / SSH-2 storage-provider for cap-mediated storage kinds (backups).",
46
47
  "entry": "./dist/sftp.addon.js",
47
48
  "icon": "assets/icon.svg",
48
49
  "color": "#9333ea",
@@ -90,12 +91,44 @@
90
91
  "name": "storage-provider"
91
92
  }
92
93
  ]
94
+ },
95
+ {
96
+ "id": "smb-storage",
97
+ "execution": {
98
+ "group": "remote-storage"
99
+ },
100
+ "category": "system",
101
+ "name": "SMB Storage",
102
+ "version": "0.1.0",
103
+ "description": "SMB / CIFS storage-provider for a NAS share. Serves cap-mediated location kinds (backups); refused for recordings and event media by the storage access constraint.",
104
+ "entry": "./dist/smb.addon.js",
105
+ "icon": "assets/icon.svg",
106
+ "color": "#0ea5e9",
107
+ "instanceMode": "unique",
108
+ "systemDependencies": [
109
+ {
110
+ "binary": "smbclient",
111
+ "packages": {
112
+ "apt": "smbclient",
113
+ "apk": "samba-client",
114
+ "dnf": "samba-client",
115
+ "brew": "samba"
116
+ },
117
+ "reason": "The SMB provider drives Samba's own smbclient binary; it is not present in the CamStack container image."
118
+ }
119
+ ],
120
+ "capabilities": [
121
+ {
122
+ "name": "storage-provider"
123
+ }
124
+ ]
93
125
  }
94
126
  ],
95
127
  "runtimeDependencies": [
96
128
  "@aws-sdk/client-s3",
97
129
  "@aws-sdk/lib-storage",
98
- "webdav"
130
+ "webdav",
131
+ "samba-client"
99
132
  ]
100
133
  },
101
134
  "files": [
@@ -111,6 +144,7 @@
111
144
  "dependencies": {
112
145
  "@aws-sdk/client-s3": "^3.700.0",
113
146
  "@aws-sdk/lib-storage": "^3.700.0",
147
+ "samba-client": "^7.2.0",
114
148
  "ssh2": "^1.16.0",
115
149
  "webdav": "^5.7.0"
116
150
  },