tango-api-schema 1.0.32 → 1.0.34
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 +1 -1
- package/schema/client.model.js +6 -1
- package/schema/stores.model.js +4 -0
package/package.json
CHANGED
package/schema/client.model.js
CHANGED
|
@@ -20,7 +20,7 @@ const clientSchema = new mongoose.Schema(
|
|
|
20
20
|
userDetail: {
|
|
21
21
|
userId: {
|
|
22
22
|
type: mongoose.Schema.Types.ObjectId,
|
|
23
|
-
ref:
|
|
23
|
+
ref: "User",
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
26
|
active: {
|
|
@@ -173,6 +173,11 @@ const clientSchema = new mongoose.Schema(
|
|
|
173
173
|
type: Date,
|
|
174
174
|
},
|
|
175
175
|
},
|
|
176
|
+
finance: {
|
|
177
|
+
costPerStore: {
|
|
178
|
+
type: Number,
|
|
179
|
+
},
|
|
180
|
+
},
|
|
176
181
|
},
|
|
177
182
|
{
|
|
178
183
|
strict: true,
|
package/schema/stores.model.js
CHANGED
|
@@ -534,15 +534,19 @@ const collection = new mongoose.Schema(
|
|
|
534
534
|
featurePackage: {
|
|
535
535
|
controlCenter: {
|
|
536
536
|
type: Boolean,
|
|
537
|
+
default: false,
|
|
537
538
|
},
|
|
538
539
|
revops: {
|
|
539
540
|
type: Boolean,
|
|
541
|
+
default: false,
|
|
540
542
|
},
|
|
541
543
|
zone: {
|
|
542
544
|
type: Boolean,
|
|
545
|
+
default: false,
|
|
543
546
|
},
|
|
544
547
|
recap:{
|
|
545
548
|
type: Boolean,
|
|
549
|
+
default: false,
|
|
546
550
|
}
|
|
547
551
|
},
|
|
548
552
|
},
|