-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.ts
38 lines (32 loc) · 1.11 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
'use strict';
process.env.UNIQUE_SLUG === undefined ? "1" : process.env.UNIQUE_SLUG
export * from './models/BonusProgram';
export * from './models/Dish';
export * from './models/Group';
export * from './models/Maintenance';
export * from './models/MediaFile';
export * from './models/OneTimePassword';
export * from './models/Order';
export * from './models/OrderDish';
export * from './models/PaymentDocument';
export * from './models/PaymentMethod';
export * from './models/Place';
export * from './models/Settings';
export * from './models/City';
export * from './models/Street';
export * from './models/User';
export * from './models/UserBonusProgram';
export * from './models/UserBonusTransaction';
export * from './models/UserDevice';
export * from './models/UserLocation';
export * from './models/UserOrderHistory';
export * from './models/Promotion';
// Helpers
export * from './libs/helpers/OrderHelper'
module.exports = function (sails: any) {
return {
defaults: require('./hook/defaults'),
initialize: require('./hook/initialize').default(sails)
};
};
module.exports.HookTools = require("./libs/hookTools");