tango-api-schema 2.5.8 → 2.5.10

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": "2.5.8",
3
+ "version": "2.5.10",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -10,7 +10,7 @@ const collection = new mongoose.Schema(
10
10
  {},
11
11
  {
12
12
  timestamps: true,
13
- strict: true,
13
+ strict: false,
14
14
  versionKey: false,
15
15
  }
16
16
  );
@@ -196,6 +196,10 @@ const planoTaskCompliance = new mongoose.Schema(
196
196
  default: 'pending',
197
197
  enum: ['agree', 'disagree', 'pending']
198
198
  },
199
+ userAction: {
200
+ type: String,
201
+ enum: ['keepPlano', 'acceptAi']
202
+ },
199
203
  image: {
200
204
  type: String
201
205
  },