@solidstarters/solid-core 1.2.118 → 1.2.119
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/services/import-transaction.service.d.ts.map +1 -1
- package/dist/services/import-transaction.service.js +2 -6
- package/dist/services/import-transaction.service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/services/import-transaction.service.ts +2 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidstarters/solid-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.119",
|
|
4
4
|
"description": "This module is a NestJS module containing all the required core providers required by a Solid application",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -286,10 +286,8 @@ export class ImportTransactionService extends CRUDService<ImportTransaction> {
|
|
|
286
286
|
|
|
287
287
|
// Create the headers for the export file
|
|
288
288
|
const headers = [
|
|
289
|
-
'rowNumber', // Row number in the import file
|
|
290
|
-
'errorMessage', // Error message for the failed record
|
|
291
|
-
'errorTrace', // Error trace for debugging
|
|
292
289
|
...Object.keys(firstErrorLogEntry.rowData ? JSON.parse(firstErrorLogEntry.rowData) : {}), // Include all keys from the rowData JSON
|
|
290
|
+
'errorMessage', // Error message for the failed record
|
|
293
291
|
];
|
|
294
292
|
|
|
295
293
|
|
|
@@ -316,10 +314,8 @@ export class ImportTransactionService extends CRUDService<ImportTransaction> {
|
|
|
316
314
|
return errorLogEntries.map(entry => {
|
|
317
315
|
const rowData = entry.rowData ? JSON.parse(entry.rowData) : {};
|
|
318
316
|
return {
|
|
319
|
-
rowNumber: entry.rowNumber,
|
|
320
|
-
errorMessage: entry.errorMessage,
|
|
321
|
-
errorTrace: entry.errorTrace,
|
|
322
317
|
...rowData, // Spread the row data into the record
|
|
318
|
+
errorMessage: entry.errorMessage,
|
|
323
319
|
};
|
|
324
320
|
});
|
|
325
321
|
};
|