@unchainedshop/core-files 2.11.3 → 2.12.0
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/lib/db/MediaObjectsCollection.d.ts +1 -0
- package/lib/db/MediaObjectsCollection.d.ts.map +1 -0
- package/lib/db/MediaObjectsSchema.d.ts +1 -0
- package/lib/db/MediaObjectsSchema.d.ts.map +1 -0
- package/lib/files-index.d.ts +1 -0
- package/lib/files-index.d.ts.map +1 -0
- package/lib/files-settings.d.ts +1 -0
- package/lib/files-settings.d.ts.map +1 -0
- package/lib/module/configureFilesModule.d.ts +1 -0
- package/lib/module/configureFilesModule.d.ts.map +1 -0
- package/lib/service/createDownloadStreamService.d.ts +1 -0
- package/lib/service/createDownloadStreamService.d.ts.map +1 -0
- package/lib/service/createSignedURLService.d.ts +1 -0
- package/lib/service/createSignedURLService.d.ts.map +1 -0
- package/lib/service/fileServices.d.ts +1 -0
- package/lib/service/fileServices.d.ts.map +1 -0
- package/lib/service/linkFileService.d.ts +1 -0
- package/lib/service/linkFileService.d.ts.map +1 -0
- package/lib/service/removeFilesService.d.ts +1 -0
- package/lib/service/removeFilesService.d.ts.map +1 -0
- package/lib/service/uploadFileFromStreamService.d.ts +1 -0
- package/lib/service/uploadFileFromStreamService.d.ts.map +1 -0
- package/lib/service/uploadFileFromURLService.d.ts +1 -0
- package/lib/service/uploadFileFromURLService.d.ts.map +1 -0
- package/lib/utils/getFileAdapter.d.ts +1 -0
- package/lib/utils/getFileAdapter.d.ts.map +1 -0
- package/lib/utils/getFileFromFileData.d.ts +1 -0
- package/lib/utils/getFileFromFileData.d.ts.map +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaObjectsCollection.d.ts","sourceRoot":"","sources":["../../src/db/MediaObjectsCollection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,eAAO,MAAM,sBAAsB,OAAc,OAAO,CAAC,EAAE,sCAS1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaObjectsSchema.d.ts","sourceRoot":"","sources":["../../src/db/MediaObjectsSchema.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,cAAc,CAAC;AAExC,eAAO,MAAM,kBAAkB,cAY9B,CAAC"}
|
package/lib/files-index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"files-index.d.ts","sourceRoot":"","sources":["../src/files-index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
package/lib/files-settings.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"files-settings.d.ts","sourceRoot":"","sources":["../src/files-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,eAAO,MAAM,mBAAmB,mBAAe,CAAC;AAEhD,eAAO,MAAM,aAAa,EAAE,aAK3B,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ModuleInput } from '@unchainedshop/types/core.js';
|
|
2
2
|
import { FilesModule, FilesSettingsOptions } from '@unchainedshop/types/files.js';
|
|
3
3
|
export declare const configureFilesModule: ({ db, options: filesOptions, }: ModuleInput<FilesSettingsOptions>) => Promise<FilesModule>;
|
|
4
|
+
//# sourceMappingURL=configureFilesModule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configureFilesModule.d.ts","sourceRoot":"","sources":["../../src/module/configureFilesModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAQ,WAAW,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AASxF,eAAO,MAAM,oBAAoB,mCAG9B,WAAW,CAAC,oBAAoB,CAAC,KAAG,OAAO,CAAC,WAAW,CA8DzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDownloadStreamService.d.ts","sourceRoot":"","sources":["../../src/service/createDownloadStreamService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAG5E,eAAO,MAAM,2BAA2B,EAAE,2BAYzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSignedURLService.d.ts","sourceRoot":"","sources":["../../src/service/createSignedURLService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAIvE,eAAO,MAAM,sBAAsB,EAAE,sBAqBpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileServices.d.ts","sourceRoot":"","sources":["../../src/service/fileServices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAQ7D,eAAO,MAAM,YAAY,EAAE,YAO1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkFileService.d.ts","sourceRoot":"","sources":["../../src/service/linkFileService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,eAAO,MAAM,eAAe,EAAE,eAc7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeFilesService.d.ts","sourceRoot":"","sources":["../../src/service/removeFilesService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAIzE,eAAO,MAAM,kBAAkB,EAAE,kBA2BhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadFileFromStreamService.d.ts","sourceRoot":"","sources":["../../src/service/uploadFileFromStreamService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAI5E,eAAO,MAAM,2BAA2B,EAAE,2BAgBzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadFileFromURLService.d.ts","sourceRoot":"","sources":["../../src/service/uploadFileFromURLService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAIzE,eAAO,MAAM,wBAAwB,EAAE,wBAiBtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFileAdapter.d.ts","sourceRoot":"","sources":["../../src/utils/getFileAdapter.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yDAM1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFileFromFileData.d.ts","sourceRoot":"","sources":["../../src/utils/getFileFromFileData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAO,MAAM,mBAAmB,aAAc,cAAc,QAAQ,GAAG;;;;;;;;;CASrE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unchainedshop/core-files",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"main": "lib/files-index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./lib/files-index.js",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/unchainedshop/unchained#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@unchainedshop/events": "^2.
|
|
35
|
-
"@unchainedshop/file-upload": "^2.
|
|
36
|
-
"@unchainedshop/logger": "^2.
|
|
37
|
-
"@unchainedshop/utils": "^2.
|
|
34
|
+
"@unchainedshop/events": "^2.12.0",
|
|
35
|
+
"@unchainedshop/file-upload": "^2.12.0",
|
|
36
|
+
"@unchainedshop/logger": "^2.12.0",
|
|
37
|
+
"@unchainedshop/utils": "^2.12.0",
|
|
38
38
|
"mime-types": "^2.1.35",
|
|
39
39
|
"simpl-schema": "^3.4.6"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "^20.14.9",
|
|
43
|
-
"@unchainedshop/types": "^2.
|
|
43
|
+
"@unchainedshop/types": "^2.12.0",
|
|
44
44
|
"jest": "^29.7.0",
|
|
45
45
|
"ts-jest": "^29.1.5",
|
|
46
|
-
"typescript": "^5.
|
|
46
|
+
"typescript": "^5.5.3"
|
|
47
47
|
}
|
|
48
48
|
}
|