database-connector 2.2.13 → 2.2.14
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/models/Offer.js +0 -6
- package/package.json +1 -1
package/models/Offer.js
CHANGED
|
@@ -68,9 +68,6 @@ const mongoose = require('mongoose');
|
|
|
68
68
|
* items:
|
|
69
69
|
* type: string
|
|
70
70
|
* description: Array of user IDs (used when type is 'specific')
|
|
71
|
-
* description:
|
|
72
|
-
* type: string
|
|
73
|
-
* description: Offer description
|
|
74
71
|
* addToSlider:
|
|
75
72
|
* type: boolean
|
|
76
73
|
* default: false
|
|
@@ -162,9 +159,6 @@ const OfferSchema = new mongoose.Schema(
|
|
|
162
159
|
ref: 'User',
|
|
163
160
|
default: [],
|
|
164
161
|
},
|
|
165
|
-
description: {
|
|
166
|
-
type: String,
|
|
167
|
-
},
|
|
168
162
|
addToSlider: {
|
|
169
163
|
type: Boolean,
|
|
170
164
|
default: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "database-connector",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "MongoDB models package with Mongoose schemas for e-commerce applications. Includes User, Product, Store, Order and more with built-in validation and virtual properties.",
|
|
5
5
|
"main": "models/index.js",
|
|
6
6
|
"scripts": {
|