tango-api-schema 2.2.108 → 2.2.109
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/index.js +4 -1
- package/package.json +1 -1
- package/schema/revopConfig.model.js +19 -0
package/index.js
CHANGED
|
@@ -85,6 +85,8 @@ import planoQrConversionRequest from './schema/planoQrConversionRequest.model.js
|
|
|
85
85
|
import planoStaticData from './schema/planoStaticData.model.js';
|
|
86
86
|
import suspiciousActivityModel from "./schema/suspiciousActivity.model.js";
|
|
87
87
|
import auditConfigModel from "./schema/auditConfig.model.js";
|
|
88
|
+
import revopConfigModel from "./schema/revopConfig.model.js";
|
|
89
|
+
|
|
88
90
|
|
|
89
91
|
|
|
90
92
|
export default {
|
|
@@ -174,6 +176,7 @@ export default {
|
|
|
174
176
|
planoQrConversionRequest,
|
|
175
177
|
planoStaticData,
|
|
176
178
|
suspiciousActivityModel,
|
|
177
|
-
auditConfigModel
|
|
179
|
+
auditConfigModel,
|
|
180
|
+
revopConfigModel
|
|
178
181
|
|
|
179
182
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Schema, model } from 'mongoose';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const revopconfigschema = new Schema( {
|
|
5
|
+
clientId: {
|
|
6
|
+
type: String,
|
|
7
|
+
},
|
|
8
|
+
issueList:{
|
|
9
|
+
type:Array,
|
|
10
|
+
default:[]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
strict: true,
|
|
15
|
+
versionKey: false,
|
|
16
|
+
timestamps: true,
|
|
17
|
+
} );
|
|
18
|
+
|
|
19
|
+
export default model( 'revopconfig', revopconfigschema );
|