tango-api-schema 2.1.62 → 2.1.64

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.1.62",
3
+ "version": "2.1.64",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -13,7 +13,7 @@ const checklistquestionconfigSchema = new mongoose.Schema({
13
13
  // },
14
14
  // answerType: {
15
15
  // type: String,
16
- // enum: ["descriptive","yes/no","multiplechoicesingle","multiplechoicemultiple","image","video","descriptiveImage","multipleImage"],
16
+ // enum: ["descriptive","yes/no","multiplechoicesingle","image","video","descriptiveImage","multipleImage","multiplechoicemultiple","date","time","linearscale"],
17
17
  // default: "descriptive",
18
18
  // },
19
19
  // runAI: {
@@ -85,7 +85,7 @@ const processedchecklistSchema = new mongoose.Schema({
85
85
  },
86
86
  store_id: {
87
87
  type: String,
88
- required:true,
88
+ // required:true,
89
89
  default:''
90
90
  },
91
91
  country: {
@@ -95,7 +95,7 @@ const processedchecklistSchema = new mongoose.Schema({
95
95
  },
96
96
  storeName: {
97
97
  type: String,
98
- required:true,
98
+ // required:true,
99
99
  default:''
100
100
  },
101
101
  userId: {
@@ -173,6 +173,10 @@ const processedchecklistSchema = new mongoose.Schema({
173
173
  },
174
174
  submitMobileTime:{
175
175
  type:String
176
+ },
177
+ aiStoreList: {
178
+ type:Array,
179
+ default:[]
176
180
  }
177
181
  },
178
182
  {
@@ -20,6 +20,26 @@ const roles = new mongoose.Schema(
20
20
  type:Boolean,
21
21
  default:false
22
22
  },
23
+ rolespermission: [
24
+ {
25
+ featureName: {
26
+ type: String,
27
+ },
28
+ modules: [
29
+ {
30
+ name: {
31
+ type: String,
32
+ },
33
+ isAdd: {
34
+ type: Boolean,
35
+ },
36
+ isEdit: {
37
+ type: Boolean,
38
+ },
39
+ },
40
+ ],
41
+ },
42
+ ],
23
43
  permission: [
24
44
  {
25
45
  featureName: {