@solidstarters/solid-core 1.2.117 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidstarters/solid-core",
3
- "version": "1.2.117",
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",
@@ -54,7 +54,6 @@
54
54
  "mailgen": "^2.0.28",
55
55
  "mongoose": "^8.7.0",
56
56
  "mysql2": "^3.13.0",
57
- "nestjs-cls": "^5.4.3",
58
57
  "nodemailer": "^6.9.13",
59
58
  "passport": "^0.7.0",
60
59
  "passport-google-oauth2": "^0.2.0",
@@ -88,7 +87,8 @@
88
87
  "nest-winston": "^1.9.7",
89
88
  "typeorm": "^0.3.20",
90
89
  "typeorm-naming-strategies": "^4.1.0",
91
- "winston": "^3.17.0"
90
+ "winston": "^3.17.0",
91
+ "nestjs-cls": "^5.4.3"
92
92
  },
93
93
  "devDependencies": {
94
94
  "@angular-devkit/schematics": "^19.2.6",
@@ -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
  };
@@ -211,7 +211,19 @@ import { GenerateCodeSubscriber } from './jobs/database/generate-code-subscriber
211
211
  MqMessageQueue,
212
212
  MqMessage,
213
213
  PermissionMetadata,
214
- RoleMetadata
214
+ RoleMetadata,
215
+ Setting,
216
+ SavedFilters,
217
+ UserViewMetadata,
218
+ SecurityRule,
219
+ ListOfValues,
220
+ ChatterMessage,
221
+ ChatterMessageDetails,
222
+ Locale,
223
+ ExportTemplate,
224
+ ExportTransaction,
225
+ ImportTransaction,
226
+ ImportTransactionErrorLog,
215
227
  ]),
216
228
  ConfigModule.forFeature(appBuilderConfig),
217
229
  ConfigModule.forFeature(commonConfig),
@@ -231,24 +243,7 @@ import { GenerateCodeSubscriber } from './jobs/database/generate-code-subscriber
231
243
  }),
232
244
  HttpModule,
233
245
  ConfigModule,
234
- TypeOrmModule.forFeature([Setting]),
235
- TypeOrmModule.forFeature([SavedFilters]),
236
- TypeOrmModule.forFeature([UserViewMetadata]),
237
- TypeOrmModule.forFeature([SecurityRule]),
238
- TypeOrmModule.forFeature([SavedFilters]),
239
- TypeOrmModule.forFeature([ListOfValues]),
240
- TypeOrmModule.forFeature([ChatterMessage]),
241
- TypeOrmModule.forFeature([ChatterMessageDetails]),
242
- TypeOrmModule.forFeature([Locale]),
243
- TypeOrmModule.forFeature([ExportTemplate]),
244
- TypeOrmModule.forFeature([ExportTransaction]),
245
- // TypeOrmModule.forFeature([User]),
246
- ClsModule.forRoot({
247
- middleware: {
248
- mount: true,
249
- }}),
250
- TypeOrmModule.forFeature([ImportTransaction]),
251
- TypeOrmModule.forFeature([ImportTransactionErrorLog]),
246
+ ClsModule,
252
247
  ],
253
248
  controllers: [
254
249
  ModuleMetadataController,