tango-api-schema 2.1.63 → 2.1.65

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.63",
3
+ "version": "2.1.65",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -70,7 +70,9 @@ const downloadSchema = new mongoose.Schema({
70
70
  filePath:{
71
71
  type:Array
72
72
  },
73
-
73
+ answerType: {
74
+ type:String,
75
+ },
74
76
  previewType:{
75
77
  type:String,
76
78
  enum: ['','image','video'],
@@ -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: {