@punks/backend-entity-manager 0.0.93 → 0.0.94

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,11 +1,14 @@
1
1
  /// <reference types="node" />
2
2
  import { EntitySerializationFormat } from "./serializer";
3
- export type EntitiesImportInput = {
4
- format: EntitySerializationFormat;
3
+ export type EntitiesImportInputFile = {
5
4
  fileName: string;
6
5
  content: Buffer;
7
6
  contentType: string;
8
7
  };
8
+ export type EntitiesImportInput = {
9
+ format: EntitySerializationFormat;
10
+ file: EntitiesImportInputFile;
11
+ };
9
12
  export type EntitiesImportStatistics = {
10
13
  importedCount: number;
11
14
  updatedCount: number;
package/dist/index.d.ts CHANGED
@@ -136,12 +136,15 @@ type EntitiesSampleDownloadResult = {
136
136
  downloadUrl: string;
137
137
  };
138
138
 
139
- type EntitiesImportInput = {
140
- format: EntitySerializationFormat;
139
+ type EntitiesImportInputFile = {
141
140
  fileName: string;
142
141
  content: Buffer;
143
142
  contentType: string;
144
143
  };
144
+ type EntitiesImportInput = {
145
+ format: EntitySerializationFormat;
146
+ file: EntitiesImportInputFile;
147
+ };
145
148
  type EntitiesImportStatistics = {
146
149
  importedCount: number;
147
150
  updatedCount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.93",
3
+ "version": "0.0.94",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",