@byline/storage-local 2.2.6 → 2.2.8
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.
|
@@ -34,7 +34,7 @@ export interface LocalStorageConfig {
|
|
|
34
34
|
* Create a local filesystem storage provider.
|
|
35
35
|
*
|
|
36
36
|
* Uploaded files are written under `uploadDir`, organised into sub-paths:
|
|
37
|
-
* `<collection>/<
|
|
37
|
+
* `<collection>/<uuid>-<filename>`
|
|
38
38
|
*
|
|
39
39
|
* The provider generates a public URL by prepending `baseUrl` to the
|
|
40
40
|
* storage path. Pair this with a runtime file handler (Express
|
|
@@ -94,7 +94,7 @@ class LocalStorageProvider {
|
|
|
94
94
|
* Create a local filesystem storage provider.
|
|
95
95
|
*
|
|
96
96
|
* Uploaded files are written under `uploadDir`, organised into sub-paths:
|
|
97
|
-
* `<collection>/<
|
|
97
|
+
* `<collection>/<uuid>-<filename>`
|
|
98
98
|
*
|
|
99
99
|
* The provider generates a public URL by prepending `baseUrl` to the
|
|
100
100
|
* storage path. Pair this with a runtime file handler (Express
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@byline/storage-local",
|
|
3
3
|
"private": false,
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
|
-
"version": "2.2.
|
|
5
|
+
"version": "2.2.8",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.9.0"
|
|
8
8
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"npm-run-all": "^4.1.5",
|
|
42
42
|
"uuid": "^14.0.0",
|
|
43
|
-
"@byline/core": "2.2.
|
|
43
|
+
"@byline/core": "2.2.8"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@biomejs/biome": "2.4.15",
|