@punks/backend-entity-manager 0.0.463 → 0.0.464
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/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -906,7 +906,7 @@ class EntitiesExportCommand {
|
|
|
906
906
|
this.settings = settings;
|
|
907
907
|
}
|
|
908
908
|
async execute(input) {
|
|
909
|
-
const sheetItems = await this.getExportSheetItems(input.filter);
|
|
909
|
+
const sheetItems = await this.getExportSheetItems(input.filter, input.payload);
|
|
910
910
|
const outputFile = await this.buildExportFile(sheetItems, input.options.format, input.payload);
|
|
911
911
|
const downloadUrl = await this.uploadExportFile(outputFile);
|
|
912
912
|
return {
|
|
@@ -939,8 +939,8 @@ class EntitiesExportCommand {
|
|
|
939
939
|
buildAbsoluteBucketPath(relativePath) {
|
|
940
940
|
return `${this.settings.exportBucket.rootFolderPath ?? ""}/exports/${createDayPath$1(new Date())}/${relativePath}`;
|
|
941
941
|
}
|
|
942
|
-
async getExportSheetItems(filters) {
|
|
943
|
-
return await this.services.resolveSerializer().export(filters);
|
|
942
|
+
async getExportSheetItems(filters, payload) {
|
|
943
|
+
return await this.services.resolveSerializer().export(filters, payload);
|
|
944
944
|
}
|
|
945
945
|
get bucket() {
|
|
946
946
|
return this.services.getRootServices().resolveDefaultBucketProvider();
|