@dynamatix/gb-schemas 0.24.4 → 0.24.6

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": "@dynamatix/gb-schemas",
3
- "version": "0.24.4",
3
+ "version": "0.24.6",
4
4
  "description": "All the schemas for gatehouse bank back-end.",
5
5
  "main": "lookup.service.js",
6
6
  "scripts": {
package/shared/index.js CHANGED
@@ -9,5 +9,4 @@ export { default as TaskModel} from './task.model.js';
9
9
  export { default as ApprivoSyncJourneyModel } from './apprivo-sync-journey.model.js';
10
10
  export { default as JobRunModel } from './job-run.model.js';
11
11
  export { default as TaskDocumentTypeModel} from './task-document.model.js'
12
- export { default as ErrorLogModel} from './error-log.model.js'
13
12
  export { default as DocumentTypeModel } from './document-type-model.js';
@@ -1,13 +0,0 @@
1
- import mongoose from "mongoose";
2
-
3
- const errorSchema = new mongoose.Schema({
4
- error_message: { type: String, required: true },
5
- status_code: { type: Number, required: true },
6
- route: { type: String, required: true },
7
- user_agent: { type: String, required: true },
8
- stack_trace: [{ type: String }]
9
- },
10
- { timestamps: true });
11
-
12
- const ErrorLogModel = mongoose.model("Error_Log", errorSchema);
13
- export default ErrorLogModel;