database-connector 1.0.2 → 1.0.3
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/Policy.js +2 -1
- package/models/index.js +16 -2
- package/package.json +1 -1
package/models/Policy.js
CHANGED
package/models/index.js
CHANGED
|
@@ -13,7 +13,6 @@ const connectToDatabase = async (databaseUrl) => {
|
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
// Import des modèles
|
|
17
16
|
const Cart = require('./Cart');
|
|
18
17
|
const Product = require('./Product');
|
|
19
18
|
const View = require('./View');
|
|
@@ -29,10 +28,25 @@ const StoreRate = require('./StoreRate');
|
|
|
29
28
|
const Subscription = require('./Subscription');
|
|
30
29
|
const Plan = require('./Plan');
|
|
31
30
|
const SubscriptionOffer = require('./SubscriptionOffer');
|
|
31
|
+
const FlashDeal = require('./FlashDeal');
|
|
32
|
+
const Notification = require('./Notification');
|
|
33
|
+
const PaymentType = require('./PaymentType');
|
|
34
|
+
const Policy = require('./Policy');
|
|
35
|
+
const ReductionOffer = require('./ReductionOffer');
|
|
36
|
+
const Sale = require('./Sale');
|
|
37
|
+
const StoreCategory = require('./StoreCategory');
|
|
38
|
+
|
|
39
|
+
|
|
32
40
|
|
|
33
|
-
// Exportation
|
|
34
41
|
module.exports = {
|
|
35
42
|
connectToDatabase,
|
|
43
|
+
PaymentType,
|
|
44
|
+
Policy,
|
|
45
|
+
ReductionOffer,
|
|
46
|
+
Sale,
|
|
47
|
+
StoreCategory,
|
|
48
|
+
Notification,
|
|
49
|
+
FlashDeal,
|
|
36
50
|
Cart,
|
|
37
51
|
Product,
|
|
38
52
|
View,
|