@punks/backend-entity-manager 0.0.446 → 0.0.447
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 +0 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +0 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -244,7 +244,6 @@ class EntitySerializer {
|
|
|
244
244
|
}
|
|
245
245
|
async parse(data, format, payload) {
|
|
246
246
|
const context = await this.getContext();
|
|
247
|
-
console.log("/serializer/base/parse", payload);
|
|
248
247
|
const definition = await this.getDefinition(context, payload);
|
|
249
248
|
switch (format) {
|
|
250
249
|
case EntitySerializationFormat.Csv:
|
|
@@ -951,7 +950,6 @@ class EntitiesImportCommand {
|
|
|
951
950
|
contentType: input.file.contentType,
|
|
952
951
|
fileName: input.file.fileName,
|
|
953
952
|
});
|
|
954
|
-
console.log("/commands/import/execute", input?.payload);
|
|
955
953
|
const importEntities = await this.parseImportFile(input.file.content, input.format, input?.payload);
|
|
956
954
|
const validEntities = importEntities.filter((x) => x.status.isValid);
|
|
957
955
|
const invalidEntities = importEntities.filter((x) => !x.status.isValid);
|
|
@@ -973,7 +971,6 @@ class EntitiesImportCommand {
|
|
|
973
971
|
};
|
|
974
972
|
}
|
|
975
973
|
async parseImportFile(content, format, payload) {
|
|
976
|
-
console.log("/import/command/parseImportFile", payload);
|
|
977
974
|
return await this.services
|
|
978
975
|
.resolveSerializer()
|
|
979
976
|
.parse(content, format, payload);
|