@unchainedshop/core-files 2.11.2 → 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.
@@ -1,3 +1,4 @@
1
1
  import { mongodb } from '@unchainedshop/mongodb';
2
2
  import { File } from '@unchainedshop/types/files.js';
3
3
  export declare const MediaObjectsCollection: (db: mongodb.Db) => Promise<mongodb.Collection<File>>;
4
+ //# sourceMappingURL=MediaObjectsCollection.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import SimpleSchema from 'simpl-schema';
2
2
  export declare const MediaObjectsSchema: SimpleSchema;
3
+ //# sourceMappingURL=MediaObjectsSchema.d.ts.map
@@ -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"}
@@ -1,3 +1,4 @@
1
1
  export { configureFilesModule } from './module/configureFilesModule.js';
2
2
  export { fileServices } from './service/fileServices.js';
3
3
  export { filesSettings } from './files-settings.js';
4
+ //# sourceMappingURL=files-index.d.ts.map
@@ -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"}
@@ -1,3 +1,4 @@
1
1
  import { FilesSettings } from '@unchainedshop/types/files.js';
2
2
  export declare const defaultTransformUrl: (url: any) => any;
3
3
  export declare const filesSettings: FilesSettings;
4
+ //# sourceMappingURL=files-settings.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import { CreateDownloadStreamService } from '@unchainedshop/types/files.js';
2
2
  export declare const createDownloadStreamService: CreateDownloadStreamService;
3
+ //# sourceMappingURL=createDownloadStreamService.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import { CreateSignedURLService } from '@unchainedshop/types/files.js';
2
2
  export declare const createSignedURLService: CreateSignedURLService;
3
+ //# sourceMappingURL=createSignedURLService.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import { FileServices } from '@unchainedshop/types/files.js';
2
2
  export declare const fileServices: FileServices;
3
+ //# sourceMappingURL=fileServices.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import { LinkFileService } from '@unchainedshop/types/files.js';
2
2
  export declare const linkFileService: LinkFileService;
3
+ //# sourceMappingURL=linkFileService.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import { RemoveFilesService } from '@unchainedshop/types/files.js';
2
2
  export declare const removeFilesService: RemoveFilesService;
3
+ //# sourceMappingURL=removeFilesService.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import { UploadFileFromStreamService } from '@unchainedshop/types/files.js';
2
2
  export declare const uploadFileFromStreamService: UploadFileFromStreamService;
3
+ //# sourceMappingURL=uploadFileFromStreamService.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import { UploadFileFromURLService } from '@unchainedshop/types/files.js';
2
2
  export declare const uploadFileFromURLService: UploadFileFromURLService;
3
+ //# sourceMappingURL=uploadFileFromURLService.d.ts.map
@@ -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"}
@@ -1 +1,2 @@
1
1
  export declare const getFileAdapter: () => import("@unchainedshop/file-upload").IFileAdapter;
2
+ //# sourceMappingURL=getFileAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFileAdapter.d.ts","sourceRoot":"","sources":["../../src/utils/getFileAdapter.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yDAM1B,CAAC"}
@@ -9,3 +9,4 @@ export declare const getFileFromFileData: (fileData: UploadFileData, meta: any)
9
9
  url: string;
10
10
  meta: any;
11
11
  };
12
+ //# sourceMappingURL=getFileFromFileData.d.ts.map
@@ -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.11.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.11.2",
35
- "@unchainedshop/file-upload": "^2.11.2",
36
- "@unchainedshop/logger": "^2.11.2",
37
- "@unchainedshop/utils": "^2.11.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
- "@types/node": "^20.14.8",
43
- "@unchainedshop/types": "^2.11.2",
42
+ "@types/node": "^20.14.9",
43
+ "@unchainedshop/types": "^2.12.0",
44
44
  "jest": "^29.7.0",
45
45
  "ts-jest": "^29.1.5",
46
- "typescript": "^5.4.5"
46
+ "typescript": "^5.5.3"
47
47
  }
48
48
  }