tango-api-schema 1.0.33 → 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/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,
|