@lukiteam/luki-be-general 0.1.6 → 0.1.8
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/dist/constants/param-key.d.ts +5 -0
- package/dist/constants/param-key.js +9 -0
- package/dist/constants/param-key.js.map +1 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.js +118 -1
- package/dist/index.js.map +1 -1
- package/dist/mongo/index.d.ts +4 -29
- package/dist/mongo/index.js +2 -2
- package/dist/mongo/index.js.map +1 -1
- package/dist/mongo/schema/member-config.entity.d.ts +3 -3
- package/dist/mongo/schema/member-config.entity.js +19 -19
- package/dist/mongo/schema/member-config.entity.js.map +1 -1
- package/dist/mongo/schema/notification.entity.d.ts +3 -3
- package/dist/mongo/schema/notification.entity.js +18 -18
- package/dist/mongo/schema/notification.entity.js.map +1 -1
- package/dist/postgresql/entity/notification.entity.d.ts +8 -0
- package/dist/postgresql/entity/notification.entity.js +42 -0
- package/dist/postgresql/entity/notification.entity.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEEPLINK = exports.PARAM_KEYS = void 0;
|
|
4
|
+
exports.PARAM_KEYS = ['birth_date', 'height', 'level', 'like', 'member_id', 'nickname', 'signature', 'weight'];
|
|
5
|
+
exports.DEEPLINK = {
|
|
6
|
+
MESSAGE_SCREEN: (id) => `lukiapp://messagescreen/${id}`,
|
|
7
|
+
OTHER_PROFILE: (id) => `lukiapp://otherprofile/${id}`,
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=param-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"param-key.js","sourceRoot":"","sources":["../../src/constants/param-key.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,CAAC,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;AAEvG,QAAA,QAAQ,GAAG;IACpB,cAAc,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,2BAA2B,EAAE,EAAE;IAC/D,aAAa,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,0BAA0B,EAAE,EAAE;CAChE,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,4 +7,52 @@ export * from './mongo/unit-of-work/unit-of-work.interface';
|
|
|
7
7
|
export * from './mongo/repositories/base.repository';
|
|
8
8
|
export * from './mongo/repositories/repository.factory';
|
|
9
9
|
export * from './mongo/unit-of-work/unit-of-work.module';
|
|
10
|
+
export * from './models/enum';
|
|
10
11
|
export * from './constants/redis-key';
|
|
12
|
+
export * from './constants/param-key';
|
|
13
|
+
export { default as Banners } from './postgresql/entity/banners.entity';
|
|
14
|
+
export { default as BlockedPhone } from './postgresql/entity/blocked-phone.entity';
|
|
15
|
+
export { default as CallHistory } from './postgresql/entity/call-history.entity';
|
|
16
|
+
export { default as CallHistoryDetail } from './postgresql/entity/call-history-detail.entity';
|
|
17
|
+
export { default as CoinsDefinition } from './postgresql/entity/coins-definition.entity';
|
|
18
|
+
export { default as FeedbackAndComplaint } from './postgresql/entity/feedback-and-complaint.entity';
|
|
19
|
+
export { default as MemberBankAccount } from './postgresql/entity/member-bank-account.entity';
|
|
20
|
+
export { default as MemberBlocked } from './postgresql/entity/member-blocked.entity';
|
|
21
|
+
export { default as MemberConfig } from './postgresql/entity/member-config.entity';
|
|
22
|
+
export { default as MemberConnections } from './postgresql/entity/member-connections.entity';
|
|
23
|
+
export { default as MemberFriends } from './postgresql/entity/member-friends.entity';
|
|
24
|
+
export { default as MemberLiked } from './postgresql/entity/member-liked.entity';
|
|
25
|
+
export { default as MemberMission } from './postgresql/entity/member-mission.entity';
|
|
26
|
+
export { default as MemberReminder } from './postgresql/entity/member-reminder.entity';
|
|
27
|
+
export { default as MemberVerification } from './postgresql/entity/member-verification.entity';
|
|
28
|
+
export { default as Member } from './postgresql/entity/member.entity';
|
|
29
|
+
export { default as Message } from './postgresql/entity/message.entity';
|
|
30
|
+
export { default as Mission } from './postgresql/entity/mission.entity';
|
|
31
|
+
export { default as Payment } from './postgresql/entity/payment.entity';
|
|
32
|
+
export { default as ProductPurchase } from './postgresql/entity/product-purchase.entity';
|
|
33
|
+
export { default as Purchase } from './postgresql/entity/purchase.entity';
|
|
34
|
+
export { default as SwipeCountries } from './postgresql/entity/swipe-countries.entity';
|
|
35
|
+
export { default as SystemLogs } from './postgresql/entity/system-logs.entity';
|
|
36
|
+
export { default as SystemSettings } from './postgresql/entity/system-settings.entity';
|
|
37
|
+
export { default as WalletDetail } from './postgresql/entity/wallet-detail.entity';
|
|
38
|
+
export { default as Wallet } from './postgresql/entity/wallet.entity';
|
|
39
|
+
export { default as Notification } from './postgresql/entity/notification.entity';
|
|
40
|
+
export { AgencyPublishers, AgencyPublishersSchema, } from './mongo/schema/agency-publishers.entity';
|
|
41
|
+
export { Agency, AgencySchema, } from './mongo/schema/agency.entity';
|
|
42
|
+
export { Contents, ContentsSchema, } from './mongo/schema/contents.entity';
|
|
43
|
+
export { DefinedTexts, DefinedTextsSchema, } from './mongo/schema/defined-texts.entity';
|
|
44
|
+
export { Highlights, HighlightsSchema, } from './mongo/schema/highlights.entity';
|
|
45
|
+
export { Language, LanguageSchema, } from './mongo/schema/language.entity';
|
|
46
|
+
export { MemberConfigs, MemberConfigSchema, } from './mongo/schema/member-config.entity';
|
|
47
|
+
export { MemberRoles, MemberRolesSchema, } from './mongo/schema/member-roles.entity';
|
|
48
|
+
export { Notifications, NotificationSchema, } from './mongo/schema/notification.entity';
|
|
49
|
+
export { PostComments, PostCommentSchema, } from './mongo/schema/post-comments.entity';
|
|
50
|
+
export { PostLikes, PostLikeSchema, } from './mongo/schema/post-likes.entity';
|
|
51
|
+
export { Posts, PostsSchema, } from './mongo/schema/posts.entity';
|
|
52
|
+
export { Rights, RightsSchema, } from './mongo/schema/rights.entity';
|
|
53
|
+
export { RolesRights, RolesRightsSchema, } from './mongo/schema/roles-rights.entity';
|
|
54
|
+
export { Roles, RolesSchema, } from './mongo/schema/roles.entity';
|
|
55
|
+
export { SpendLog, SpendLogSchema, } from './mongo/schema/spend-log.entity';
|
|
56
|
+
export { StoryPriorityLog, StoryPriorityLogSchema, } from './mongo/schema/story-priority-log.entity';
|
|
57
|
+
export { StorySeenBy, StorySeenBySchema, } from './mongo/schema/story-seen-by.entity';
|
|
58
|
+
export { SystemLog, SystemLogSchema, } from './mongo/schema/system-log.entity';
|
package/dist/index.js
CHANGED
|
@@ -13,8 +13,12 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
13
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
16
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.MONGO_SCHEMAS = exports.POSTGRES_ENTITIES = void 0;
|
|
20
|
+
exports.PostLikes = exports.PostCommentSchema = exports.PostComments = exports.NotificationSchema = exports.Notifications = exports.MemberRolesSchema = exports.MemberRoles = exports.MemberConfigSchema = exports.MemberConfigs = exports.LanguageSchema = exports.Language = exports.HighlightsSchema = exports.Highlights = exports.DefinedTextsSchema = exports.DefinedTexts = exports.ContentsSchema = exports.Contents = exports.AgencySchema = exports.Agency = exports.AgencyPublishersSchema = exports.AgencyPublishers = exports.Notification = exports.Wallet = exports.WalletDetail = exports.SystemSettings = exports.SystemLogs = exports.SwipeCountries = exports.Purchase = exports.ProductPurchase = exports.Payment = exports.Mission = exports.Message = exports.Member = exports.MemberVerification = exports.MemberReminder = exports.MemberMission = exports.MemberLiked = exports.MemberFriends = exports.MemberConnections = exports.MemberConfig = exports.MemberBlocked = exports.MemberBankAccount = exports.FeedbackAndComplaint = exports.CoinsDefinition = exports.CallHistoryDetail = exports.CallHistory = exports.BlockedPhone = exports.Banners = exports.MONGO_SCHEMAS = exports.POSTGRES_ENTITIES = void 0;
|
|
21
|
+
exports.SystemLogSchema = exports.SystemLog = exports.StorySeenBySchema = exports.StorySeenBy = exports.StoryPriorityLogSchema = exports.StoryPriorityLog = exports.SpendLogSchema = exports.SpendLog = exports.RolesSchema = exports.Roles = exports.RolesRightsSchema = exports.RolesRights = exports.RightsSchema = exports.Rights = exports.PostsSchema = exports.Posts = exports.PostLikeSchema = void 0;
|
|
18
22
|
const index_1 = require("./postgresql/index");
|
|
19
23
|
Object.defineProperty(exports, "POSTGRES_ENTITIES", { enumerable: true, get: function () { return index_1.POSTGRES_ENTITIES; } });
|
|
20
24
|
const index_2 = require("./mongo/index");
|
|
@@ -24,5 +28,118 @@ __exportStar(require("./mongo/unit-of-work/unit-of-work.interface"), exports);
|
|
|
24
28
|
__exportStar(require("./mongo/repositories/base.repository"), exports);
|
|
25
29
|
__exportStar(require("./mongo/repositories/repository.factory"), exports);
|
|
26
30
|
__exportStar(require("./mongo/unit-of-work/unit-of-work.module"), exports);
|
|
31
|
+
__exportStar(require("./models/enum"), exports);
|
|
27
32
|
__exportStar(require("./constants/redis-key"), exports);
|
|
33
|
+
__exportStar(require("./constants/param-key"), exports);
|
|
34
|
+
var banners_entity_1 = require("./postgresql/entity/banners.entity");
|
|
35
|
+
Object.defineProperty(exports, "Banners", { enumerable: true, get: function () { return __importDefault(banners_entity_1).default; } });
|
|
36
|
+
var blocked_phone_entity_1 = require("./postgresql/entity/blocked-phone.entity");
|
|
37
|
+
Object.defineProperty(exports, "BlockedPhone", { enumerable: true, get: function () { return __importDefault(blocked_phone_entity_1).default; } });
|
|
38
|
+
var call_history_entity_1 = require("./postgresql/entity/call-history.entity");
|
|
39
|
+
Object.defineProperty(exports, "CallHistory", { enumerable: true, get: function () { return __importDefault(call_history_entity_1).default; } });
|
|
40
|
+
var call_history_detail_entity_1 = require("./postgresql/entity/call-history-detail.entity");
|
|
41
|
+
Object.defineProperty(exports, "CallHistoryDetail", { enumerable: true, get: function () { return __importDefault(call_history_detail_entity_1).default; } });
|
|
42
|
+
var coins_definition_entity_1 = require("./postgresql/entity/coins-definition.entity");
|
|
43
|
+
Object.defineProperty(exports, "CoinsDefinition", { enumerable: true, get: function () { return __importDefault(coins_definition_entity_1).default; } });
|
|
44
|
+
var feedback_and_complaint_entity_1 = require("./postgresql/entity/feedback-and-complaint.entity");
|
|
45
|
+
Object.defineProperty(exports, "FeedbackAndComplaint", { enumerable: true, get: function () { return __importDefault(feedback_and_complaint_entity_1).default; } });
|
|
46
|
+
var member_bank_account_entity_1 = require("./postgresql/entity/member-bank-account.entity");
|
|
47
|
+
Object.defineProperty(exports, "MemberBankAccount", { enumerable: true, get: function () { return __importDefault(member_bank_account_entity_1).default; } });
|
|
48
|
+
var member_blocked_entity_1 = require("./postgresql/entity/member-blocked.entity");
|
|
49
|
+
Object.defineProperty(exports, "MemberBlocked", { enumerable: true, get: function () { return __importDefault(member_blocked_entity_1).default; } });
|
|
50
|
+
var member_config_entity_1 = require("./postgresql/entity/member-config.entity");
|
|
51
|
+
Object.defineProperty(exports, "MemberConfig", { enumerable: true, get: function () { return __importDefault(member_config_entity_1).default; } });
|
|
52
|
+
var member_connections_entity_1 = require("./postgresql/entity/member-connections.entity");
|
|
53
|
+
Object.defineProperty(exports, "MemberConnections", { enumerable: true, get: function () { return __importDefault(member_connections_entity_1).default; } });
|
|
54
|
+
var member_friends_entity_1 = require("./postgresql/entity/member-friends.entity");
|
|
55
|
+
Object.defineProperty(exports, "MemberFriends", { enumerable: true, get: function () { return __importDefault(member_friends_entity_1).default; } });
|
|
56
|
+
var member_liked_entity_1 = require("./postgresql/entity/member-liked.entity");
|
|
57
|
+
Object.defineProperty(exports, "MemberLiked", { enumerable: true, get: function () { return __importDefault(member_liked_entity_1).default; } });
|
|
58
|
+
var member_mission_entity_1 = require("./postgresql/entity/member-mission.entity");
|
|
59
|
+
Object.defineProperty(exports, "MemberMission", { enumerable: true, get: function () { return __importDefault(member_mission_entity_1).default; } });
|
|
60
|
+
var member_reminder_entity_1 = require("./postgresql/entity/member-reminder.entity");
|
|
61
|
+
Object.defineProperty(exports, "MemberReminder", { enumerable: true, get: function () { return __importDefault(member_reminder_entity_1).default; } });
|
|
62
|
+
var member_verification_entity_1 = require("./postgresql/entity/member-verification.entity");
|
|
63
|
+
Object.defineProperty(exports, "MemberVerification", { enumerable: true, get: function () { return __importDefault(member_verification_entity_1).default; } });
|
|
64
|
+
var member_entity_1 = require("./postgresql/entity/member.entity");
|
|
65
|
+
Object.defineProperty(exports, "Member", { enumerable: true, get: function () { return __importDefault(member_entity_1).default; } });
|
|
66
|
+
var message_entity_1 = require("./postgresql/entity/message.entity");
|
|
67
|
+
Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return __importDefault(message_entity_1).default; } });
|
|
68
|
+
var mission_entity_1 = require("./postgresql/entity/mission.entity");
|
|
69
|
+
Object.defineProperty(exports, "Mission", { enumerable: true, get: function () { return __importDefault(mission_entity_1).default; } });
|
|
70
|
+
var payment_entity_1 = require("./postgresql/entity/payment.entity");
|
|
71
|
+
Object.defineProperty(exports, "Payment", { enumerable: true, get: function () { return __importDefault(payment_entity_1).default; } });
|
|
72
|
+
var product_purchase_entity_1 = require("./postgresql/entity/product-purchase.entity");
|
|
73
|
+
Object.defineProperty(exports, "ProductPurchase", { enumerable: true, get: function () { return __importDefault(product_purchase_entity_1).default; } });
|
|
74
|
+
var purchase_entity_1 = require("./postgresql/entity/purchase.entity");
|
|
75
|
+
Object.defineProperty(exports, "Purchase", { enumerable: true, get: function () { return __importDefault(purchase_entity_1).default; } });
|
|
76
|
+
var swipe_countries_entity_1 = require("./postgresql/entity/swipe-countries.entity");
|
|
77
|
+
Object.defineProperty(exports, "SwipeCountries", { enumerable: true, get: function () { return __importDefault(swipe_countries_entity_1).default; } });
|
|
78
|
+
var system_logs_entity_1 = require("./postgresql/entity/system-logs.entity");
|
|
79
|
+
Object.defineProperty(exports, "SystemLogs", { enumerable: true, get: function () { return __importDefault(system_logs_entity_1).default; } });
|
|
80
|
+
var system_settings_entity_1 = require("./postgresql/entity/system-settings.entity");
|
|
81
|
+
Object.defineProperty(exports, "SystemSettings", { enumerable: true, get: function () { return __importDefault(system_settings_entity_1).default; } });
|
|
82
|
+
var wallet_detail_entity_1 = require("./postgresql/entity/wallet-detail.entity");
|
|
83
|
+
Object.defineProperty(exports, "WalletDetail", { enumerable: true, get: function () { return __importDefault(wallet_detail_entity_1).default; } });
|
|
84
|
+
var wallet_entity_1 = require("./postgresql/entity/wallet.entity");
|
|
85
|
+
Object.defineProperty(exports, "Wallet", { enumerable: true, get: function () { return __importDefault(wallet_entity_1).default; } });
|
|
86
|
+
var notification_entity_1 = require("./postgresql/entity/notification.entity");
|
|
87
|
+
Object.defineProperty(exports, "Notification", { enumerable: true, get: function () { return __importDefault(notification_entity_1).default; } });
|
|
88
|
+
var agency_publishers_entity_1 = require("./mongo/schema/agency-publishers.entity");
|
|
89
|
+
Object.defineProperty(exports, "AgencyPublishers", { enumerable: true, get: function () { return agency_publishers_entity_1.AgencyPublishers; } });
|
|
90
|
+
Object.defineProperty(exports, "AgencyPublishersSchema", { enumerable: true, get: function () { return agency_publishers_entity_1.AgencyPublishersSchema; } });
|
|
91
|
+
var agency_entity_1 = require("./mongo/schema/agency.entity");
|
|
92
|
+
Object.defineProperty(exports, "Agency", { enumerable: true, get: function () { return agency_entity_1.Agency; } });
|
|
93
|
+
Object.defineProperty(exports, "AgencySchema", { enumerable: true, get: function () { return agency_entity_1.AgencySchema; } });
|
|
94
|
+
var contents_entity_1 = require("./mongo/schema/contents.entity");
|
|
95
|
+
Object.defineProperty(exports, "Contents", { enumerable: true, get: function () { return contents_entity_1.Contents; } });
|
|
96
|
+
Object.defineProperty(exports, "ContentsSchema", { enumerable: true, get: function () { return contents_entity_1.ContentsSchema; } });
|
|
97
|
+
var defined_texts_entity_1 = require("./mongo/schema/defined-texts.entity");
|
|
98
|
+
Object.defineProperty(exports, "DefinedTexts", { enumerable: true, get: function () { return defined_texts_entity_1.DefinedTexts; } });
|
|
99
|
+
Object.defineProperty(exports, "DefinedTextsSchema", { enumerable: true, get: function () { return defined_texts_entity_1.DefinedTextsSchema; } });
|
|
100
|
+
var highlights_entity_1 = require("./mongo/schema/highlights.entity");
|
|
101
|
+
Object.defineProperty(exports, "Highlights", { enumerable: true, get: function () { return highlights_entity_1.Highlights; } });
|
|
102
|
+
Object.defineProperty(exports, "HighlightsSchema", { enumerable: true, get: function () { return highlights_entity_1.HighlightsSchema; } });
|
|
103
|
+
var language_entity_1 = require("./mongo/schema/language.entity");
|
|
104
|
+
Object.defineProperty(exports, "Language", { enumerable: true, get: function () { return language_entity_1.Language; } });
|
|
105
|
+
Object.defineProperty(exports, "LanguageSchema", { enumerable: true, get: function () { return language_entity_1.LanguageSchema; } });
|
|
106
|
+
var member_config_entity_2 = require("./mongo/schema/member-config.entity");
|
|
107
|
+
Object.defineProperty(exports, "MemberConfigs", { enumerable: true, get: function () { return member_config_entity_2.MemberConfigs; } });
|
|
108
|
+
Object.defineProperty(exports, "MemberConfigSchema", { enumerable: true, get: function () { return member_config_entity_2.MemberConfigSchema; } });
|
|
109
|
+
var member_roles_entity_1 = require("./mongo/schema/member-roles.entity");
|
|
110
|
+
Object.defineProperty(exports, "MemberRoles", { enumerable: true, get: function () { return member_roles_entity_1.MemberRoles; } });
|
|
111
|
+
Object.defineProperty(exports, "MemberRolesSchema", { enumerable: true, get: function () { return member_roles_entity_1.MemberRolesSchema; } });
|
|
112
|
+
var notification_entity_2 = require("./mongo/schema/notification.entity");
|
|
113
|
+
Object.defineProperty(exports, "Notifications", { enumerable: true, get: function () { return notification_entity_2.Notifications; } });
|
|
114
|
+
Object.defineProperty(exports, "NotificationSchema", { enumerable: true, get: function () { return notification_entity_2.NotificationSchema; } });
|
|
115
|
+
var post_comments_entity_1 = require("./mongo/schema/post-comments.entity");
|
|
116
|
+
Object.defineProperty(exports, "PostComments", { enumerable: true, get: function () { return post_comments_entity_1.PostComments; } });
|
|
117
|
+
Object.defineProperty(exports, "PostCommentSchema", { enumerable: true, get: function () { return post_comments_entity_1.PostCommentSchema; } });
|
|
118
|
+
var post_likes_entity_1 = require("./mongo/schema/post-likes.entity");
|
|
119
|
+
Object.defineProperty(exports, "PostLikes", { enumerable: true, get: function () { return post_likes_entity_1.PostLikes; } });
|
|
120
|
+
Object.defineProperty(exports, "PostLikeSchema", { enumerable: true, get: function () { return post_likes_entity_1.PostLikeSchema; } });
|
|
121
|
+
var posts_entity_1 = require("./mongo/schema/posts.entity");
|
|
122
|
+
Object.defineProperty(exports, "Posts", { enumerable: true, get: function () { return posts_entity_1.Posts; } });
|
|
123
|
+
Object.defineProperty(exports, "PostsSchema", { enumerable: true, get: function () { return posts_entity_1.PostsSchema; } });
|
|
124
|
+
var rights_entity_1 = require("./mongo/schema/rights.entity");
|
|
125
|
+
Object.defineProperty(exports, "Rights", { enumerable: true, get: function () { return rights_entity_1.Rights; } });
|
|
126
|
+
Object.defineProperty(exports, "RightsSchema", { enumerable: true, get: function () { return rights_entity_1.RightsSchema; } });
|
|
127
|
+
var roles_rights_entity_1 = require("./mongo/schema/roles-rights.entity");
|
|
128
|
+
Object.defineProperty(exports, "RolesRights", { enumerable: true, get: function () { return roles_rights_entity_1.RolesRights; } });
|
|
129
|
+
Object.defineProperty(exports, "RolesRightsSchema", { enumerable: true, get: function () { return roles_rights_entity_1.RolesRightsSchema; } });
|
|
130
|
+
var roles_entity_1 = require("./mongo/schema/roles.entity");
|
|
131
|
+
Object.defineProperty(exports, "Roles", { enumerable: true, get: function () { return roles_entity_1.Roles; } });
|
|
132
|
+
Object.defineProperty(exports, "RolesSchema", { enumerable: true, get: function () { return roles_entity_1.RolesSchema; } });
|
|
133
|
+
var spend_log_entity_1 = require("./mongo/schema/spend-log.entity");
|
|
134
|
+
Object.defineProperty(exports, "SpendLog", { enumerable: true, get: function () { return spend_log_entity_1.SpendLog; } });
|
|
135
|
+
Object.defineProperty(exports, "SpendLogSchema", { enumerable: true, get: function () { return spend_log_entity_1.SpendLogSchema; } });
|
|
136
|
+
var story_priority_log_entity_1 = require("./mongo/schema/story-priority-log.entity");
|
|
137
|
+
Object.defineProperty(exports, "StoryPriorityLog", { enumerable: true, get: function () { return story_priority_log_entity_1.StoryPriorityLog; } });
|
|
138
|
+
Object.defineProperty(exports, "StoryPriorityLogSchema", { enumerable: true, get: function () { return story_priority_log_entity_1.StoryPriorityLogSchema; } });
|
|
139
|
+
var story_seen_by_entity_1 = require("./mongo/schema/story-seen-by.entity");
|
|
140
|
+
Object.defineProperty(exports, "StorySeenBy", { enumerable: true, get: function () { return story_seen_by_entity_1.StorySeenBy; } });
|
|
141
|
+
Object.defineProperty(exports, "StorySeenBySchema", { enumerable: true, get: function () { return story_seen_by_entity_1.StorySeenBySchema; } });
|
|
142
|
+
var system_log_entity_1 = require("./mongo/schema/system-log.entity");
|
|
143
|
+
Object.defineProperty(exports, "SystemLog", { enumerable: true, get: function () { return system_log_entity_1.SystemLog; } });
|
|
144
|
+
Object.defineProperty(exports, "SystemLogSchema", { enumerable: true, get: function () { return system_log_entity_1.SystemLogSchema; } });
|
|
28
145
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuD;AAG9C,kGAHA,yBAAiB,OAGA;AAF1B,yCAA8C;AAGrC,8FAHA,qBAAa,OAGA;AAEtB,4EAA0D;AAC1D,8EAA4D;AAC5D,uEAAqD;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,SAAS,OAAA;AACT,oHAAA,eAAe,OAAA"}
|
package/dist/mongo/index.d.ts
CHANGED
|
@@ -1,36 +1,11 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
-
/// <reference types="mongoose/types/callback" />
|
|
3
|
-
/// <reference types="mongoose/types/collection" />
|
|
4
|
-
/// <reference types="mongoose/types/connection" />
|
|
5
|
-
/// <reference types="mongoose/types/cursor" />
|
|
6
|
-
/// <reference types="mongoose/types/document" />
|
|
7
|
-
/// <reference types="mongoose/types/error" />
|
|
8
|
-
/// <reference types="mongoose/types/expressions" />
|
|
9
|
-
/// <reference types="mongoose/types/helpers" />
|
|
10
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
-
/// <reference types="mongoose/types/indexes" />
|
|
12
|
-
/// <reference types="mongoose/types/models" />
|
|
13
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
-
/// <reference types="mongoose/types/populate" />
|
|
16
|
-
/// <reference types="mongoose/types/query" />
|
|
17
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
-
/// <reference types="mongoose/types/session" />
|
|
20
|
-
/// <reference types="mongoose/types/types" />
|
|
21
|
-
/// <reference types="mongoose/types/utility" />
|
|
22
|
-
/// <reference types="mongoose/types/validation" />
|
|
23
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
-
/// <reference types="mongoose" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
1
|
import { AgencyPublishers } from "./schema/agency-publishers.entity";
|
|
27
2
|
import { Contents } from "./schema/contents.entity";
|
|
28
3
|
import { DefinedTexts } from "./schema/defined-texts.entity";
|
|
29
4
|
import { Highlights } from "./schema/highlights.entity";
|
|
30
5
|
import { Language } from "./schema/language.entity";
|
|
31
|
-
import {
|
|
6
|
+
import { MemberConfigs } from "./schema/member-config.entity";
|
|
32
7
|
import { MemberRoles } from "./schema/member-roles.entity";
|
|
33
|
-
import {
|
|
8
|
+
import { Notifications } from "./schema/notification.entity";
|
|
34
9
|
import { PostLikes } from "./schema/post-likes.entity";
|
|
35
10
|
import { Posts } from "./schema/posts.entity";
|
|
36
11
|
import { RolesRights } from "./schema/roles-rights.entity";
|
|
@@ -50,7 +25,7 @@ export declare const MONGO_SCHEMAS: ({
|
|
|
50
25
|
schema: import("mongoose").Schema<AgencyPublishers, import("mongoose").Model<AgencyPublishers, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, AgencyPublishers>;
|
|
51
26
|
} | {
|
|
52
27
|
name: string;
|
|
53
|
-
schema: import("mongoose").Schema<
|
|
28
|
+
schema: import("mongoose").Schema<MemberConfigs, import("mongoose").Model<MemberConfigs, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, MemberConfigs>;
|
|
54
29
|
} | {
|
|
55
30
|
name: string;
|
|
56
31
|
schema: import("mongoose").Schema<MemberRoles, import("mongoose").Model<MemberRoles, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, MemberRoles>;
|
|
@@ -86,5 +61,5 @@ export declare const MONGO_SCHEMAS: ({
|
|
|
86
61
|
schema: import("mongoose").Schema<Language, import("mongoose").Model<Language, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Language>;
|
|
87
62
|
} | {
|
|
88
63
|
name: string;
|
|
89
|
-
schema: import("mongoose").Schema<
|
|
64
|
+
schema: import("mongoose").Schema<Notifications, import("mongoose").Model<Notifications, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Notifications>;
|
|
90
65
|
})[];
|
package/dist/mongo/index.js
CHANGED
|
@@ -38,7 +38,7 @@ exports.MONGO_SCHEMAS = [
|
|
|
38
38
|
schema: agency_entity_1.AgencySchema,
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
name: member_config_entity_1.
|
|
41
|
+
name: member_config_entity_1.MemberConfigs.name,
|
|
42
42
|
schema: member_config_entity_1.MemberConfigSchema,
|
|
43
43
|
},
|
|
44
44
|
{
|
|
@@ -94,7 +94,7 @@ exports.MONGO_SCHEMAS = [
|
|
|
94
94
|
schema: language_entity_1.LanguageSchema,
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
|
-
name: notification_entity_1.
|
|
97
|
+
name: notification_entity_1.Notifications.name,
|
|
98
98
|
schema: notification_entity_1.NotificationSchema,
|
|
99
99
|
}
|
|
100
100
|
];
|
package/dist/mongo/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mongo/index.ts"],"names":[],"mappings":";;;AAAA,gFAA6F;AAC7F,0DAA8D;AAC9D,8DAAoE;AACpE,wEAAiF;AACjF,kEAA0E;AAC1E,8DAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mongo/index.ts"],"names":[],"mappings":";;;AAAA,gFAA6F;AAC7F,0DAA8D;AAC9D,8DAAoE;AACpE,wEAAiF;AACjF,kEAA0E;AAC1E,8DAAoE;AACpE,wEAAkF;AAClF,sEAA8E;AAC9E,sEAAiF;AACjF,wEAAgF;AAChF,kEAAuE;AACvE,wDAA2D;AAC3D,0DAA8D;AAC9D,sEAA8E;AAC9E,wDAA2D;AAC3D,gEAAqE;AACrE,kFAA8F;AAC9F,wEAA+E;AAC/E,kEAAwE;AAE3D,QAAA,aAAa,GAAG;IAC3B;QACE,IAAI,EAAE,2BAAQ,CAAC,IAAI;QACnB,MAAM,EAAE,iCAAc;KACvB;IACD;QACE,IAAI,EAAE,6BAAS,CAAC,IAAI;QACpB,MAAM,EAAE,mCAAe;KACxB;IACD;QACE,IAAI,EAAE,2CAAgB,CAAC,IAAI;QAC3B,MAAM,EAAE,iDAAsB;KAC/B;IACD;QACE,IAAI,EAAE,sBAAM,CAAC,IAAI;QACjB,MAAM,EAAE,4BAAY;KACrB;IACD;QACE,IAAI,EAAE,oCAAa,CAAC,IAAI;QACxB,MAAM,EAAE,yCAAkB;KAC3B;IACD;QACE,IAAI,EAAE,iCAAW,CAAC,IAAI;QACtB,MAAM,EAAE,uCAAiB;KAC1B;IACD;QACE,IAAI,EAAE,sBAAM,CAAC,IAAI;QACjB,MAAM,EAAE,4BAAY;KACrB;IACD;QACE,IAAI,EAAE,iCAAW,CAAC,IAAI;QACtB,MAAM,EAAE,uCAAiB;KAC1B;IACD;QACE,IAAI,EAAE,oBAAK,CAAC,IAAI;QAChB,MAAM,EAAE,0BAAW;KACpB;IACD;QACE,IAAI,EAAE,4CAAgB,CAAC,IAAI;QAC3B,MAAM,EAAE,kDAAsB;KAC/B;IACD;QACE,IAAI,EAAE,8BAAU,CAAC,IAAI;QACrB,MAAM,EAAE,oCAAgB;KACzB;IACD;QACE,IAAI,EAAE,mCAAY,CAAC,IAAI;QACvB,MAAM,EAAE,wCAAiB;KAC1B;IACD;QACE,IAAI,EAAE,6BAAS,CAAC,IAAI;QACpB,MAAM,EAAE,kCAAc;KACvB;IACD;QACE,IAAI,EAAE,oBAAK,CAAC,IAAI;QAChB,MAAM,EAAE,0BAAW;KACpB;IACD;QACE,IAAI,EAAE,kCAAW,CAAC,IAAI;QACtB,MAAM,EAAE,wCAAiB;KAC1B;IACD;QACE,IAAI,EAAE,0BAAQ,CAAC,IAAI;QACnB,MAAM,EAAE,gCAAc;KACvB;IACD;QACE,IAAI,EAAE,mCAAY,CAAC,IAAI;QACvB,MAAM,EAAE,yCAAkB;KAC3B;IACD;QACE,IAAI,EAAE,0BAAQ,CAAC,IAAI;QACnB,MAAM,EAAE,gCAAc;KACvB;IACD;QACE,IAAI,EAAE,mCAAa,CAAC,IAAI;QACxB,MAAM,EAAE,wCAAkB;KAC3B;CACF,CAAC"}
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import { Document, Types } from 'mongoose';
|
|
26
|
-
export type MemberConfigDocument =
|
|
27
|
-
export declare class
|
|
26
|
+
export type MemberConfigDocument = MemberConfigs & Document;
|
|
27
|
+
export declare class MemberConfigs {
|
|
28
28
|
member_id: Types.ObjectId;
|
|
29
29
|
background_call: boolean;
|
|
30
30
|
device_type: string;
|
|
@@ -39,4 +39,4 @@ export declare class MemberConfig {
|
|
|
39
39
|
firebase_token: string;
|
|
40
40
|
apns_token: string;
|
|
41
41
|
}
|
|
42
|
-
export declare const MemberConfigSchema: import("mongoose").Schema<
|
|
42
|
+
export declare const MemberConfigSchema: import("mongoose").Schema<MemberConfigs, import("mongoose").Model<MemberConfigs, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, MemberConfigs>;
|
|
@@ -9,69 +9,69 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.MemberConfigSchema = exports.
|
|
12
|
+
exports.MemberConfigSchema = exports.MemberConfigs = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const mongoose_2 = require("mongoose");
|
|
15
|
-
let
|
|
15
|
+
let MemberConfigs = class MemberConfigs {
|
|
16
16
|
};
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, mongoose_1.Prop)({ type: mongoose_2.Types.ObjectId, ref: 'Member', required: true, unique: true }),
|
|
19
19
|
__metadata("design:type", mongoose_2.Types.ObjectId)
|
|
20
|
-
],
|
|
20
|
+
], MemberConfigs.prototype, "member_id", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, mongoose_1.Prop)({ required: true }),
|
|
23
23
|
__metadata("design:type", Boolean)
|
|
24
|
-
],
|
|
24
|
+
], MemberConfigs.prototype, "background_call", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, mongoose_1.Prop)({ required: true }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
28
|
+
], MemberConfigs.prototype, "device_type", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, mongoose_1.Prop)({ required: true }),
|
|
31
31
|
__metadata("design:type", Boolean)
|
|
32
|
-
],
|
|
32
|
+
], MemberConfigs.prototype, "new_message_noti", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, mongoose_1.Prop)({ required: true }),
|
|
35
35
|
__metadata("design:type", Boolean)
|
|
36
|
-
],
|
|
36
|
+
], MemberConfigs.prototype, "liked_noti", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, mongoose_1.Prop)({ required: true }),
|
|
39
39
|
__metadata("design:type", Boolean)
|
|
40
|
-
],
|
|
40
|
+
], MemberConfigs.prototype, "online_reminder", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, mongoose_1.Prop)({ required: true }),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
|
-
],
|
|
44
|
+
], MemberConfigs.prototype, "unique_id", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, mongoose_1.Prop)({ required: true }),
|
|
47
47
|
__metadata("design:type", String)
|
|
48
|
-
],
|
|
48
|
+
], MemberConfigs.prototype, "device_info", void 0);
|
|
49
49
|
__decorate([
|
|
50
50
|
(0, mongoose_1.Prop)({ default: "" }),
|
|
51
51
|
__metadata("design:type", String)
|
|
52
|
-
],
|
|
52
|
+
], MemberConfigs.prototype, "version", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, mongoose_1.Prop)({ required: true }),
|
|
55
55
|
__metadata("design:type", String)
|
|
56
|
-
],
|
|
56
|
+
], MemberConfigs.prototype, "jwt_token", void 0);
|
|
57
57
|
__decorate([
|
|
58
58
|
(0, mongoose_1.Prop)({ required: true }),
|
|
59
59
|
__metadata("design:type", String)
|
|
60
|
-
],
|
|
60
|
+
], MemberConfigs.prototype, "language", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, mongoose_1.Prop)({ required: true }),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
|
-
],
|
|
64
|
+
], MemberConfigs.prototype, "firebase_token", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, mongoose_1.Prop)({ required: true }),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
|
-
],
|
|
69
|
-
|
|
68
|
+
], MemberConfigs.prototype, "apns_token", void 0);
|
|
69
|
+
MemberConfigs = __decorate([
|
|
70
70
|
(0, mongoose_1.Schema)({
|
|
71
71
|
timestamps: true,
|
|
72
72
|
collection: 'MemberConfig'
|
|
73
73
|
})
|
|
74
|
-
],
|
|
75
|
-
exports.
|
|
76
|
-
exports.MemberConfigSchema = mongoose_1.SchemaFactory.createForClass(
|
|
74
|
+
], MemberConfigs);
|
|
75
|
+
exports.MemberConfigs = MemberConfigs;
|
|
76
|
+
exports.MemberConfigSchema = mongoose_1.SchemaFactory.createForClass(MemberConfigs);
|
|
77
77
|
//# sourceMappingURL=member-config.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"member-config.entity.js","sourceRoot":"","sources":["../../../src/mongo/schema/member-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAA2C;AAQpC,IAAM,
|
|
1
|
+
{"version":3,"file":"member-config.entity.js","sourceRoot":"","sources":["../../../src/mongo/schema/member-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAA2C;AAQpC,IAAM,aAAa,GAAnB,MAAM,aAAa;CAuCzB,CAAA;AAtCG;IAAC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,gBAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;8BACjE,gBAAK,CAAC,QAAQ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models/enum/index';
|
|
27
27
|
import { Contents } from './contents.entity';
|
|
28
28
|
import { FilterDto } from './filter.dto';
|
|
29
|
-
export type NotificationDocument =
|
|
30
|
-
export declare class
|
|
29
|
+
export type NotificationDocument = Notifications & Document;
|
|
30
|
+
export declare class Notifications {
|
|
31
31
|
type: EnumNotificationTimeType;
|
|
32
32
|
filter: FilterDto[];
|
|
33
33
|
routine: EnumRoutine;
|
|
@@ -41,4 +41,4 @@ export declare class Notification {
|
|
|
41
41
|
createdAt?: Date;
|
|
42
42
|
updatedAt?: Date;
|
|
43
43
|
}
|
|
44
|
-
export declare const NotificationSchema: import("mongoose").Schema<
|
|
44
|
+
export declare const NotificationSchema: import("mongoose").Schema<Notifications, import("mongoose").Model<Notifications, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Notifications>;
|
|
@@ -9,65 +9,65 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.NotificationSchema = exports.
|
|
12
|
+
exports.NotificationSchema = exports.Notifications = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const index_1 = require("../../models/enum/index");
|
|
15
|
-
let
|
|
15
|
+
let Notifications = class Notifications {
|
|
16
16
|
};
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, mongoose_1.Prop)({ required: true }),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
|
-
],
|
|
20
|
+
], Notifications.prototype, "type", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, mongoose_1.Prop)(),
|
|
23
23
|
__metadata("design:type", Array)
|
|
24
|
-
],
|
|
24
|
+
], Notifications.prototype, "filter", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, mongoose_1.Prop)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
28
|
+
], Notifications.prototype, "routine", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, mongoose_1.Prop)({ required: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
],
|
|
32
|
+
], Notifications.prototype, "status", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, mongoose_1.Prop)({ required: true }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
|
-
],
|
|
36
|
+
], Notifications.prototype, "delivery_status", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, mongoose_1.Prop)(),
|
|
39
39
|
__metadata("design:type", Number)
|
|
40
|
-
],
|
|
40
|
+
], Notifications.prototype, "successCount", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, mongoose_1.Prop)({ required: true }),
|
|
43
43
|
__metadata("design:type", Number)
|
|
44
|
-
],
|
|
44
|
+
], Notifications.prototype, "failedCount", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, mongoose_1.Prop)(),
|
|
47
47
|
__metadata("design:type", Array)
|
|
48
|
-
],
|
|
48
|
+
], Notifications.prototype, "contents", void 0);
|
|
49
49
|
__decorate([
|
|
50
50
|
(0, mongoose_1.Prop)(),
|
|
51
51
|
__metadata("design:type", Number)
|
|
52
|
-
],
|
|
52
|
+
], Notifications.prototype, "hour", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, mongoose_1.Prop)(),
|
|
55
55
|
__metadata("design:type", Number)
|
|
56
|
-
],
|
|
56
|
+
], Notifications.prototype, "minute", void 0);
|
|
57
57
|
__decorate([
|
|
58
58
|
(0, mongoose_1.Prop)(),
|
|
59
59
|
__metadata("design:type", Date)
|
|
60
|
-
],
|
|
60
|
+
], Notifications.prototype, "createdAt", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, mongoose_1.Prop)(),
|
|
63
63
|
__metadata("design:type", Date)
|
|
64
|
-
],
|
|
65
|
-
|
|
64
|
+
], Notifications.prototype, "updatedAt", void 0);
|
|
65
|
+
Notifications = __decorate([
|
|
66
66
|
(0, mongoose_1.Schema)({
|
|
67
67
|
timestamps: true,
|
|
68
68
|
collection: 'Notification'
|
|
69
69
|
})
|
|
70
|
-
],
|
|
71
|
-
exports.
|
|
72
|
-
exports.NotificationSchema = mongoose_1.SchemaFactory.createForClass(
|
|
70
|
+
], Notifications);
|
|
71
|
+
exports.Notifications = Notifications;
|
|
72
|
+
exports.NotificationSchema = mongoose_1.SchemaFactory.createForClass(Notifications);
|
|
73
73
|
//# sourceMappingURL=notification.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.entity.js","sourceRoot":"","sources":["../../../src/mongo/schema/notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,mDAAgH;AASzG,IAAM,
|
|
1
|
+
{"version":3,"file":"notification.entity.js","sourceRoot":"","sources":["../../../src/mongo/schema/notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,mDAAgH;AASzG,IAAM,aAAa,GAAnB,MAAM,aAAa;CAqCzB,CAAA;AAnCG;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACM;AAE/B;IAAC,IAAA,eAAI,GAAE;;6CACa;AAEpB;IAAC,IAAA,eAAI,GAAE;;8CACc;AAErB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACN;AAEnB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACW;AAEpC;IAAC,IAAA,eAAI,GAAE;;mDACe;AAEtB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACJ;AAErB;IAAC,IAAA,eAAI,GAAE;;+CACc;AAErB;IAAC,IAAA,eAAI,GAAE;;2CACM;AAEb;IAAC,IAAA,eAAI,GAAE;;6CACQ;AAEf;IAAC,IAAA,eAAI,GAAE;8BACK,IAAI;gDAAC;AAEjB;IAAC,IAAA,eAAI,GAAE;8BACK,IAAI;gDAAC;AApCR,aAAa;IAJzB,IAAA,iBAAM,EAAC;QACJ,UAAU,EAAE,IAAI;QAChB,UAAU,EAAE,cAAc;KAC7B,CAAC;GACW,aAAa,CAqCzB;AArCY,sCAAa;AAuCb,QAAA,kBAAkB,GAAG,wBAAa,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const sequelize_typescript_1 = require("sequelize-typescript");
|
|
13
|
+
let Notification = class Notification extends sequelize_typescript_1.Model {
|
|
14
|
+
};
|
|
15
|
+
__decorate([
|
|
16
|
+
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.STRING),
|
|
17
|
+
__metadata("design:type", String)
|
|
18
|
+
], Notification.prototype, "topic", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.STRING),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], Notification.prototype, "title", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.STRING),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Notification.prototype, "description", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.BOOLEAN),
|
|
29
|
+
__metadata("design:type", Boolean)
|
|
30
|
+
], Notification.prototype, "save_db", void 0);
|
|
31
|
+
Notification = __decorate([
|
|
32
|
+
(0, sequelize_typescript_1.Table)({
|
|
33
|
+
timestamps: true,
|
|
34
|
+
freezeTableName: true,
|
|
35
|
+
tableName: 'Notification',
|
|
36
|
+
indexes: [
|
|
37
|
+
{ fields: ['id'], unique: true, name: 'indexes_notification_001' }
|
|
38
|
+
]
|
|
39
|
+
})
|
|
40
|
+
], Notification);
|
|
41
|
+
exports.default = Notification;
|
|
42
|
+
//# sourceMappingURL=notification.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.entity.js","sourceRoot":"","sources":["../../../src/postgresql/entity/notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAsE;AAUtE,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAK;CAa/B,CAAA;AAXG;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,MAAM,CAAC;;2CACT;AAEf;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,MAAM,CAAC;;2CACT;AAEf;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,MAAM,CAAC;;iDACH;AAErB;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,OAAO,CAAC;;6CACP;AAZhB,YAAY;IARjB,IAAA,4BAAK,EAAC;QACH,UAAU,EAAE,IAAI;QAChB,eAAe,EAAE,IAAI;QACrB,SAAS,EAAE,cAAc;QACzB,OAAO,EAAE;YACL,EAAE,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,0BAA0B,EAAE;SACrE;KACJ,CAAC;GACI,YAAY,CAajB;AAED,kBAAe,YAAY,CAAC"}
|