@punks/backend-entity-manager 0.0.452 → 0.0.453

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.
@@ -36,7 +36,7 @@ export interface IEntitiesDeleteCommand<TEntity, TEntitiesDeleteParameters exten
36
36
  execute(params: TEntitiesDeleteParameters): Promise<IEntitiesDeleteResult>;
37
37
  }
38
38
  export interface IEntitiesExportCommand<TEntity, TEntitySearchParameters extends IEntitySearchParameters<TEntity, TSorting, TCursor>, TSorting extends SortingType, TCursor> {
39
- execute(input: EntitiesExportInput<TEntity, TEntitySearchParameters, TSorting, TCursor>): Promise<EntitiesExportResult>;
39
+ execute<TPayload>(input: EntitiesExportInput<TEntity, TEntitySearchParameters, TSorting, TCursor, TPayload>): Promise<EntitiesExportResult>;
40
40
  }
41
41
  export interface IEntitiesImportCommand<TEntity> {
42
42
  execute(input: EntitiesImportInput<unknown>): Promise<EntitiesImportResult>;
@@ -7,5 +7,5 @@ export declare class EntitiesExportAction<TEntity, TEntitySearchParameters exten
7
7
  private readonly services;
8
8
  private readonly logger;
9
9
  constructor(services: EntityServiceLocator<TEntity, unknown>);
10
- execute(input: EntitiesExportInput<TEntity, TEntitySearchParameters, TSorting, TCursor>): Promise<import("../abstractions/export").EntitiesExportResult>;
10
+ execute<TPayload>(input: EntitiesExportInput<TEntity, TEntitySearchParameters, TSorting, TCursor, TPayload>): Promise<import("../abstractions/export").EntitiesExportResult>;
11
11
  }
package/dist/esm/index.js CHANGED
@@ -574,7 +574,9 @@ class EntitiesExportAction {
574
574
  }
575
575
  async execute(input) {
576
576
  this.logger.debug("Export action started", { input });
577
- const result = await this.services.resolveExportCommand().execute(input);
577
+ const result = await this.services
578
+ .resolveExportCommand()
579
+ .execute(input);
578
580
  this.logger.debug("Export action completed", { input });
579
581
  return result;
580
582
  }