@punks/backend-entity-manager 0.0.454 → 0.0.455

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,8 +1,6 @@
1
- /// <reference types="express-serve-static-core" />
2
1
  /// <reference types="multer" />
3
- import { EntitiesImportInput, EntitySerializationFormat } from "../abstractions";
4
- export declare const toEntitiesImportInput: <TPayload>(request: {
5
- format: EntitySerializationFormat;
2
+ import { EntitiesImportInput } from "../abstractions";
3
+ export type toEntitiesImportInputOptions<TPayload> = Omit<EntitiesImportInput<TPayload>, "file"> & {
6
4
  file: Express.Multer.File;
7
- payload?: TPayload | undefined;
8
- }) => EntitiesImportInput<TPayload>;
5
+ };
6
+ export declare const toEntitiesImportInput: <TPayload>(request: toEntitiesImportInputOptions<TPayload>) => EntitiesImportInput<TPayload>;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="qs" />
3
3
  /// <reference types="express" />
4
- /// <reference types="express-serve-static-core" />
5
4
  /// <reference types="multer" />
6
5
  import * as _punks_backend_core from '@punks/backend-core';
7
6
  import { ExcelParseOptions } from '@punks/backend-core';
@@ -4081,11 +4080,10 @@ type LocalizedTexts = LocalizedMap<string>;
4081
4080
 
4082
4081
  declare const createContainer: () => IEntityManagerServiceRoot;
4083
4082
 
4084
- declare const toEntitiesImportInput: <TPayload>(request: {
4085
- format: EntitySerializationFormat;
4083
+ type toEntitiesImportInputOptions<TPayload> = Omit<EntitiesImportInput<TPayload>, "file"> & {
4086
4084
  file: Express.Multer.File;
4087
- payload?: TPayload | undefined;
4088
- }) => EntitiesImportInput<TPayload>;
4085
+ };
4086
+ declare const toEntitiesImportInput: <TPayload>(request: toEntitiesImportInputOptions<TPayload>) => EntitiesImportInput<TPayload>;
4089
4087
 
4090
4088
  declare const PLATFORM_EVENT_NAMESPACE = "platform";
4091
4089
  declare const PlatformEvents: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.454",
3
+ "version": "0.0.455",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",