@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.
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/abstractions/import.d.ts +5 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/abstractions/import.d.ts +5 -2
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EntitySerializationFormat } from "./serializer";
|
|
3
|
-
export type
|
|
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
|
|
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;
|