tango-api-schema 2.2.63 → 2.2.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.2.63",
3
+ "version": "2.2.65",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -124,7 +124,7 @@ const collection = new Schema(
124
124
  },
125
125
  isImageStream:{
126
126
  type: Boolean,
127
- default: true,
127
+ default: false,
128
128
  },
129
129
  width: {
130
130
  type: Number,
@@ -135,6 +135,11 @@ const collection = new Schema(
135
135
  qrCode: {
136
136
  type: String,
137
137
  },
138
+ compressionRate:{
139
+ type: Number,
140
+ trim: true,
141
+ default: 50,
142
+ },
138
143
  },
139
144
  {
140
145
  strict: true,
@@ -38,7 +38,6 @@ const planoMappingSchema = new mongoose.Schema(
38
38
  },
39
39
  productId: {
40
40
  type: mongoose.Types.ObjectId,
41
- required: true,
42
41
  },
43
42
  rfId: {
44
43
  type: String,
@@ -87,11 +87,6 @@ const store = new mongoose.Schema(
87
87
  type: Boolean,
88
88
  default:false
89
89
  },
90
- compressionRate:{
91
- type: Number,
92
- trim: true,
93
- default: 50,
94
- },
95
90
  apiVersion:{
96
91
  type: String,
97
92
  trim: true,