tango-api-schema 1.0.10 → 1.0.11

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": "tango-api-schema",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -128,7 +128,14 @@ const clientSchema=new mongoose.Schema( {
128
128
  default: 'trial',
129
129
  },
130
130
  reportConfigs: {
131
- type: Object,
131
+ report: {
132
+ type: Boolean,
133
+ default: true,
134
+ },
135
+ reportName: {
136
+ type: String,
137
+ required: true,
138
+ },
132
139
  },
133
140
  auditConfigs: {
134
141
  count: {
@@ -23,6 +23,7 @@ const tokenSchema = mongoose.Schema( {
23
23
  }, {
24
24
  strict: true,
25
25
  versionKey: false,
26
+ timestamps: true,
26
27
  } );
27
28
 
28
29
  export default mongoose.model( 'adminToken', tokenSchema, 'adminToken' );