@lukiteam/luki-be-general 0.2.76 → 0.2.78
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/redis-key.d.ts +9 -0
- package/dist/constants/redis-key.js +9 -0
- package/dist/constants/redis-key.js.map +1 -1
- package/dist/index.d.ts +44 -44
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/mongo/index.d.ts +19 -19
- package/dist/mongo/index.js +22 -22
- package/dist/mongo/index.js.map +1 -1
- package/dist/mongo/schema/admin/agency-members.entity.d.ts +40 -0
- package/dist/mongo/schema/admin/agency-members.entity.js +65 -0
- package/dist/mongo/schema/admin/agency-members.entity.js.map +1 -0
- package/dist/mongo/schema/admin/agency-publishers.entity.d.ts +38 -0
- package/dist/mongo/schema/admin/agency-publishers.entity.js +58 -0
- package/dist/mongo/schema/admin/agency-publishers.entity.js.map +1 -0
- package/dist/mongo/schema/admin/agency.entity.d.ts +34 -0
- package/dist/mongo/schema/admin/agency.entity.js +41 -0
- package/dist/mongo/schema/admin/agency.entity.js.map +1 -0
- package/dist/mongo/schema/admin/member-config.entity.d.ts +42 -0
- package/dist/mongo/schema/admin/member-config.entity.js +77 -0
- package/dist/mongo/schema/admin/member-config.entity.js.map +1 -0
- package/dist/mongo/schema/admin/member-roles.entity.d.ts +33 -0
- package/dist/mongo/schema/admin/member-roles.entity.js +38 -0
- package/dist/mongo/schema/admin/member-roles.entity.js.map +1 -0
- package/dist/mongo/schema/admin/member.entity.d.ts +49 -0
- package/dist/mongo/schema/admin/member.entity.js +109 -0
- package/dist/mongo/schema/admin/member.entity.js.map +1 -0
- package/dist/mongo/schema/admin/rights.entity.d.ts +33 -0
- package/dist/mongo/schema/admin/rights.entity.js +37 -0
- package/dist/mongo/schema/admin/rights.entity.js.map +1 -0
- package/dist/mongo/schema/admin/roles-rights.entity.d.ts +33 -0
- package/dist/mongo/schema/admin/roles-rights.entity.js +38 -0
- package/dist/mongo/schema/admin/roles-rights.entity.js.map +1 -0
- package/dist/mongo/schema/admin/roles.entity.d.ts +32 -0
- package/dist/mongo/schema/admin/roles.entity.js +33 -0
- package/dist/mongo/schema/admin/roles.entity.js.map +1 -0
- package/dist/mongo/schema/admin/story-priority-log.entity.d.ts +33 -0
- package/dist/mongo/schema/admin/story-priority-log.entity.js +37 -0
- package/dist/mongo/schema/admin/story-priority-log.entity.js.map +1 -0
- package/dist/mongo/schema/mobile/spend-log.entity.d.ts +35 -0
- package/dist/mongo/schema/mobile/spend-log.entity.js +45 -0
- package/dist/mongo/schema/mobile/spend-log.entity.js.map +1 -0
- package/dist/mongo/schema/mobile/system-log.entity.d.ts +37 -0
- package/dist/mongo/schema/mobile/system-log.entity.js +53 -0
- package/dist/mongo/schema/mobile/system-log.entity.js.map +1 -0
- package/dist/mongo/schema/notification/contents.entity.d.ts +32 -0
- package/dist/mongo/schema/notification/contents.entity.js +36 -0
- package/dist/mongo/schema/notification/contents.entity.js.map +1 -0
- package/dist/mongo/schema/notification/defined-texts.entity.d.ts +33 -0
- package/dist/mongo/schema/notification/defined-texts.entity.js +37 -0
- package/dist/mongo/schema/notification/defined-texts.entity.js.map +1 -0
- package/dist/mongo/schema/notification/filter.dto.d.ts +6 -0
- package/dist/mongo/schema/notification/filter.dto.js +7 -0
- package/dist/mongo/schema/notification/filter.dto.js.map +1 -0
- package/dist/mongo/schema/notification/language.entity.d.ts +31 -0
- package/dist/mongo/schema/notification/language.entity.js +32 -0
- package/dist/mongo/schema/notification/language.entity.js.map +1 -0
- package/dist/mongo/schema/notification/notification.entity.d.ts +44 -0
- package/dist/mongo/schema/notification/notification.entity.js +73 -0
- package/dist/mongo/schema/notification/notification.entity.js.map +1 -0
- package/dist/mongo/schema/post/highlights.entity.d.ts +35 -0
- package/dist/mongo/schema/post/highlights.entity.js +48 -0
- package/dist/mongo/schema/post/highlights.entity.js.map +1 -0
- package/dist/mongo/schema/post/post-comments.entity.d.ts +34 -0
- package/dist/mongo/schema/post/post-comments.entity.js +43 -0
- package/dist/mongo/schema/post/post-comments.entity.js.map +1 -0
- package/dist/mongo/schema/post/post-likes.entity.d.ts +32 -0
- package/dist/mongo/schema/post/post-likes.entity.js +35 -0
- package/dist/mongo/schema/post/post-likes.entity.js.map +1 -0
- package/dist/mongo/schema/post/posts.entity.d.ts +43 -0
- package/dist/mongo/schema/post/posts.entity.js +73 -0
- package/dist/mongo/schema/post/posts.entity.js.map +1 -0
- package/dist/mongo/schema/post/story-seen-by.entity.d.ts +32 -0
- package/dist/mongo/schema/post/story-seen-by.entity.js +36 -0
- package/dist/mongo/schema/post/story-seen-by.entity.js.map +1 -0
- package/dist/mongo/schema/post/story.entity.d.ts +41 -0
- package/dist/mongo/schema/post/story.entity.js +54 -0
- package/dist/mongo/schema/post/story.entity.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -34,4 +34,13 @@ export declare const REDIS_KEY: {
|
|
|
34
34
|
user_online: () => string;
|
|
35
35
|
live_mode_set: () => string;
|
|
36
36
|
live_mode_search_count: (memberId: number | string) => string;
|
|
37
|
+
discovery_key: (params: {
|
|
38
|
+
gender?: string;
|
|
39
|
+
age_min?: number;
|
|
40
|
+
age_max?: number;
|
|
41
|
+
country?: string;
|
|
42
|
+
verified?: string;
|
|
43
|
+
isNewUsers?: boolean;
|
|
44
|
+
seed: string;
|
|
45
|
+
}) => string;
|
|
37
46
|
};
|
|
@@ -37,5 +37,14 @@ exports.REDIS_KEY = {
|
|
|
37
37
|
user_online: () => 'user_online',
|
|
38
38
|
live_mode_set: () => 'live_mode:set',
|
|
39
39
|
live_mode_search_count: (memberId) => `live_mode:search_count:${memberId}`,
|
|
40
|
+
discovery_key: (params) => {
|
|
41
|
+
var _a, _b;
|
|
42
|
+
return `discover:${params.gender || 'A'}:` +
|
|
43
|
+
`${(_a = params.age_min) !== null && _a !== void 0 ? _a : 18}-${(_b = params.age_max) !== null && _b !== void 0 ? _b : 100}:` +
|
|
44
|
+
`${params.country ? params.country.toLowerCase() : 'all'}:` +
|
|
45
|
+
`${params.verified || 'A'}:` +
|
|
46
|
+
`newuser-${params.isNewUsers ? '1' : '0'}:` +
|
|
47
|
+
`${params.seed}`;
|
|
48
|
+
},
|
|
40
49
|
};
|
|
41
50
|
//# sourceMappingURL=redis-key.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redis-key.js","sourceRoot":"","sources":["../../src/constants/redis-key.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACrB,IAAI,EAAE,CAAC,MAAuB,EAAE,EAAE,CAAC,QAAQ,MAAM,EAAE;IACnD,aAAa,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,kBAAkB,IAAI,EAAE;IACzD,cAAc,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,kBAAkB,MAAM,EAAE;IAC9D,wBAAwB,EAAE,CAAC,MAAc,EAAE,IAAY,EAAE,EAAE,CAAC,4BAA4B,MAAM,IAAI,IAAI,EAAE;IACxG,cAAc,EAAE,GAAG,EAAE,CAAC,gBAAgB;IACtC,UAAU,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,cAAc,IAAI,EAAE;IAClD,WAAW,EAAE,GAAG,EAAE,CAAC,aAAa;IAChC,oBAAoB,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,wBAAwB,MAAM,EAAE;IAC1E,UAAU,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,cAAc,QAAQ,EAAE;IAC1D,mBAAmB,EAAE,CAAC,WAAmB,EAAE,EAAE,CAAC,uBAAuB,WAAW,EAAE;IAClF,eAAe,EAAE,CAAC,GAAW,EAAE,EAAE,CAAC,mBAAmB,GAAG,EAAE;IAE1D,iBAAiB,EAAE,yBAAyB;IAE5C,sBAAsB,EAAE,wBAAwB;IAChD,2BAA2B,EAAE,6BAA6B;IAE1D,oBAAoB,EAAE,CAAC,OAAe,EAAE,KAAa,EAAE,EAAE,CAAC,SAAS,OAAO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,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG;YAC3D,GAAG,MAAM,CAAC,QAAQ,IAAI,GAAG,GAAG;YAC5B,WAAW,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG;YAC3C,GAAG,MAAM,CAAC,IAAI,EAAE,CAAA;KAAA;CAEvB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -45,47 +45,47 @@ export { default as SystemSettings } from './postgresql/entity/system-settings.e
|
|
|
45
45
|
export { default as WalletDetail } from './postgresql/entity/wallet-detail.entity';
|
|
46
46
|
export { default as Wallet } from './postgresql/entity/wallet.entity';
|
|
47
47
|
export { default as Notification } from './postgresql/entity/notification.entity';
|
|
48
|
-
export { AgencyPublishers, AgencyPublishersSchema, } from './mongo/schema/agency-publishers.entity';
|
|
49
|
-
export type { AgencyPublishersDocument } from './mongo/schema/agency-publishers.entity';
|
|
50
|
-
export { Agency, AgencySchema, } from './mongo/schema/agency.entity';
|
|
51
|
-
export type { AgencyDocument } from './mongo/schema/agency.entity';
|
|
52
|
-
export { Contents, ContentsSchema, } from './mongo/schema/contents.entity';
|
|
53
|
-
export type { ContentsDocument } from './mongo/schema/contents.entity';
|
|
54
|
-
export { DefinedTexts, DefinedTextsSchema, } from './mongo/schema/defined-texts.entity';
|
|
55
|
-
export type { DefinedTextsDocument } from './mongo/schema/defined-texts.entity';
|
|
56
|
-
export { Highlights, HighlightsSchema, } from './mongo/schema/highlights.entity';
|
|
57
|
-
export type { HighlightsDocument } from './mongo/schema/highlights.entity';
|
|
58
|
-
export { Language, LanguageSchema, } from './mongo/schema/language.entity';
|
|
59
|
-
export type { LanguageDocument } from './mongo/schema/language.entity';
|
|
60
|
-
export { MemberConfigs, MemberConfigSchema, } from './mongo/schema/member-config.entity';
|
|
61
|
-
export type { MemberConfigDocument } from './mongo/schema/member-config.entity';
|
|
62
|
-
export { MemberRoles, MemberRolesSchema, } from './mongo/schema/member-roles.entity';
|
|
63
|
-
export type { MemberRolesDocument } from './mongo/schema/member-roles.entity';
|
|
64
|
-
export { Notifications, NotificationSchema, } from './mongo/schema/notification.entity';
|
|
65
|
-
export type { NotificationDocument } from './mongo/schema/notification.entity';
|
|
66
|
-
export { PostComments, PostCommentSchema, } from './mongo/schema/post-comments.entity';
|
|
67
|
-
export type { PostCommentsDocument } from './mongo/schema/post-comments.entity';
|
|
68
|
-
export { PostLikes, PostLikeSchema, } from './mongo/schema/post-likes.entity';
|
|
69
|
-
export type { PostLikesDocument } from './mongo/schema/post-likes.entity';
|
|
70
|
-
export { Posts, PostsSchema, } from './mongo/schema/posts.entity';
|
|
71
|
-
export type { PostsDocument } from './mongo/schema/posts.entity';
|
|
72
|
-
export { Rights, RightsSchema, } from './mongo/schema/rights.entity';
|
|
73
|
-
export type { RightsDocument } from './mongo/schema/rights.entity';
|
|
74
|
-
export { RolesRights, RolesRightsSchema, } from './mongo/schema/roles-rights.entity';
|
|
75
|
-
export type { RolesRightsDocument } from './mongo/schema/roles-rights.entity';
|
|
76
|
-
export { Roles, RolesSchema, } from './mongo/schema/roles.entity';
|
|
77
|
-
export type { RolesDocument } from './mongo/schema/roles.entity';
|
|
78
|
-
export { SpendLog, SpendLogSchema, } from './mongo/schema/spend-log.entity';
|
|
79
|
-
export type { SpendLogDocument } from './mongo/schema/spend-log.entity';
|
|
80
|
-
export { StoryPriorityLog, StoryPriorityLogSchema, } from './mongo/schema/story-priority-log.entity';
|
|
81
|
-
export type { StoryPriorityLogDocument } from './mongo/schema/story-priority-log.entity';
|
|
82
|
-
export { StorySeenBy, StorySeenBySchema, } from './mongo/schema/story-seen-by.entity';
|
|
83
|
-
export type { StorySeenByDocument } from './mongo/schema/story-seen-by.entity';
|
|
84
|
-
export { SystemLog, SystemLogSchema, } from './mongo/schema/system-log.entity';
|
|
85
|
-
export type { SystemLogDocument } from './mongo/schema/system-log.entity';
|
|
86
|
-
export { AgencyMembers, AgencyMembersSchema, } from './mongo/schema/agency-members.entity';
|
|
87
|
-
export type { AgencyMembersDocument } from './mongo/schema/agency-members.entity';
|
|
88
|
-
export { Members, MemberSchema, } from './mongo/schema/member.entity';
|
|
89
|
-
export type { MemberDocument } from './mongo/schema/member.entity';
|
|
90
|
-
export { Story, StorySchema } from './mongo/schema/story.entity';
|
|
91
|
-
export type { StoryDocument } from './mongo/schema/story.entity';
|
|
48
|
+
export { AgencyPublishers, AgencyPublishersSchema, } from './mongo/schema/admin/agency-publishers.entity';
|
|
49
|
+
export type { AgencyPublishersDocument } from './mongo/schema/admin/agency-publishers.entity';
|
|
50
|
+
export { Agency, AgencySchema, } from './mongo/schema/admin/agency.entity';
|
|
51
|
+
export type { AgencyDocument } from './mongo/schema/admin/agency.entity';
|
|
52
|
+
export { Contents, ContentsSchema, } from './mongo/schema/notification/contents.entity';
|
|
53
|
+
export type { ContentsDocument } from './mongo/schema/notification/contents.entity';
|
|
54
|
+
export { DefinedTexts, DefinedTextsSchema, } from './mongo/schema/notification/defined-texts.entity';
|
|
55
|
+
export type { DefinedTextsDocument } from './mongo/schema/notification/defined-texts.entity';
|
|
56
|
+
export { Highlights, HighlightsSchema, } from './mongo/schema/post/highlights.entity';
|
|
57
|
+
export type { HighlightsDocument } from './mongo/schema/post/highlights.entity';
|
|
58
|
+
export { Language, LanguageSchema, } from './mongo/schema/notification/language.entity';
|
|
59
|
+
export type { LanguageDocument } from './mongo/schema/notification/language.entity';
|
|
60
|
+
export { MemberConfigs, MemberConfigSchema, } from './mongo/schema/admin/member-config.entity';
|
|
61
|
+
export type { MemberConfigDocument } from './mongo/schema/admin/member-config.entity';
|
|
62
|
+
export { MemberRoles, MemberRolesSchema, } from './mongo/schema/admin/member-roles.entity';
|
|
63
|
+
export type { MemberRolesDocument } from './mongo/schema/admin/member-roles.entity';
|
|
64
|
+
export { Notifications, NotificationSchema, } from './mongo/schema/notification/notification.entity';
|
|
65
|
+
export type { NotificationDocument } from './mongo/schema/notification/notification.entity';
|
|
66
|
+
export { PostComments, PostCommentSchema, } from './mongo/schema/post/post-comments.entity';
|
|
67
|
+
export type { PostCommentsDocument } from './mongo/schema/post/post-comments.entity';
|
|
68
|
+
export { PostLikes, PostLikeSchema, } from './mongo/schema/post/post-likes.entity';
|
|
69
|
+
export type { PostLikesDocument } from './mongo/schema/post/post-likes.entity';
|
|
70
|
+
export { Posts, PostsSchema, } from './mongo/schema/post/posts.entity';
|
|
71
|
+
export type { PostsDocument } from './mongo/schema/post/posts.entity';
|
|
72
|
+
export { Rights, RightsSchema, } from './mongo/schema/admin/rights.entity';
|
|
73
|
+
export type { RightsDocument } from './mongo/schema/admin/rights.entity';
|
|
74
|
+
export { RolesRights, RolesRightsSchema, } from './mongo/schema/admin/roles-rights.entity';
|
|
75
|
+
export type { RolesRightsDocument } from './mongo/schema/admin/roles-rights.entity';
|
|
76
|
+
export { Roles, RolesSchema, } from './mongo/schema/admin/roles.entity';
|
|
77
|
+
export type { RolesDocument } from './mongo/schema/admin/roles.entity';
|
|
78
|
+
export { SpendLog, SpendLogSchema, } from './mongo/schema/mobile/spend-log.entity';
|
|
79
|
+
export type { SpendLogDocument } from './mongo/schema/mobile/spend-log.entity';
|
|
80
|
+
export { StoryPriorityLog, StoryPriorityLogSchema, } from './mongo/schema/admin/story-priority-log.entity';
|
|
81
|
+
export type { StoryPriorityLogDocument } from './mongo/schema/admin/story-priority-log.entity';
|
|
82
|
+
export { StorySeenBy, StorySeenBySchema, } from './mongo/schema/post/story-seen-by.entity';
|
|
83
|
+
export type { StorySeenByDocument } from './mongo/schema/post/story-seen-by.entity';
|
|
84
|
+
export { SystemLog, SystemLogSchema, } from './mongo/schema/mobile/system-log.entity';
|
|
85
|
+
export type { SystemLogDocument } from './mongo/schema/mobile/system-log.entity';
|
|
86
|
+
export { AgencyMembers, AgencyMembersSchema, } from './mongo/schema/admin/agency-members.entity';
|
|
87
|
+
export type { AgencyMembersDocument } from './mongo/schema/admin/agency-members.entity';
|
|
88
|
+
export { Members, MemberSchema, } from './mongo/schema/admin/member.entity';
|
|
89
|
+
export type { MemberDocument } from './mongo/schema/admin/member.entity';
|
|
90
|
+
export { Story, StorySchema } from './mongo/schema/post/story.entity';
|
|
91
|
+
export type { StoryDocument } from './mongo/schema/post/story.entity';
|
package/dist/index.js
CHANGED
|
@@ -93,70 +93,70 @@ var wallet_entity_1 = require("./postgresql/entity/wallet.entity");
|
|
|
93
93
|
Object.defineProperty(exports, "Wallet", { enumerable: true, get: function () { return __importDefault(wallet_entity_1).default; } });
|
|
94
94
|
var notification_entity_1 = require("./postgresql/entity/notification.entity");
|
|
95
95
|
Object.defineProperty(exports, "Notification", { enumerable: true, get: function () { return __importDefault(notification_entity_1).default; } });
|
|
96
|
-
var agency_publishers_entity_1 = require("./mongo/schema/agency-publishers.entity");
|
|
96
|
+
var agency_publishers_entity_1 = require("./mongo/schema/admin/agency-publishers.entity");
|
|
97
97
|
Object.defineProperty(exports, "AgencyPublishers", { enumerable: true, get: function () { return agency_publishers_entity_1.AgencyPublishers; } });
|
|
98
98
|
Object.defineProperty(exports, "AgencyPublishersSchema", { enumerable: true, get: function () { return agency_publishers_entity_1.AgencyPublishersSchema; } });
|
|
99
|
-
var agency_entity_1 = require("./mongo/schema/agency.entity");
|
|
99
|
+
var agency_entity_1 = require("./mongo/schema/admin/agency.entity");
|
|
100
100
|
Object.defineProperty(exports, "Agency", { enumerable: true, get: function () { return agency_entity_1.Agency; } });
|
|
101
101
|
Object.defineProperty(exports, "AgencySchema", { enumerable: true, get: function () { return agency_entity_1.AgencySchema; } });
|
|
102
|
-
var contents_entity_1 = require("./mongo/schema/contents.entity");
|
|
102
|
+
var contents_entity_1 = require("./mongo/schema/notification/contents.entity");
|
|
103
103
|
Object.defineProperty(exports, "Contents", { enumerable: true, get: function () { return contents_entity_1.Contents; } });
|
|
104
104
|
Object.defineProperty(exports, "ContentsSchema", { enumerable: true, get: function () { return contents_entity_1.ContentsSchema; } });
|
|
105
|
-
var defined_texts_entity_1 = require("./mongo/schema/defined-texts.entity");
|
|
105
|
+
var defined_texts_entity_1 = require("./mongo/schema/notification/defined-texts.entity");
|
|
106
106
|
Object.defineProperty(exports, "DefinedTexts", { enumerable: true, get: function () { return defined_texts_entity_1.DefinedTexts; } });
|
|
107
107
|
Object.defineProperty(exports, "DefinedTextsSchema", { enumerable: true, get: function () { return defined_texts_entity_1.DefinedTextsSchema; } });
|
|
108
|
-
var highlights_entity_1 = require("./mongo/schema/highlights.entity");
|
|
108
|
+
var highlights_entity_1 = require("./mongo/schema/post/highlights.entity");
|
|
109
109
|
Object.defineProperty(exports, "Highlights", { enumerable: true, get: function () { return highlights_entity_1.Highlights; } });
|
|
110
110
|
Object.defineProperty(exports, "HighlightsSchema", { enumerable: true, get: function () { return highlights_entity_1.HighlightsSchema; } });
|
|
111
|
-
var language_entity_1 = require("./mongo/schema/language.entity");
|
|
111
|
+
var language_entity_1 = require("./mongo/schema/notification/language.entity");
|
|
112
112
|
Object.defineProperty(exports, "Language", { enumerable: true, get: function () { return language_entity_1.Language; } });
|
|
113
113
|
Object.defineProperty(exports, "LanguageSchema", { enumerable: true, get: function () { return language_entity_1.LanguageSchema; } });
|
|
114
|
-
var member_config_entity_2 = require("./mongo/schema/member-config.entity");
|
|
114
|
+
var member_config_entity_2 = require("./mongo/schema/admin/member-config.entity");
|
|
115
115
|
Object.defineProperty(exports, "MemberConfigs", { enumerable: true, get: function () { return member_config_entity_2.MemberConfigs; } });
|
|
116
116
|
Object.defineProperty(exports, "MemberConfigSchema", { enumerable: true, get: function () { return member_config_entity_2.MemberConfigSchema; } });
|
|
117
|
-
var member_roles_entity_1 = require("./mongo/schema/member-roles.entity");
|
|
117
|
+
var member_roles_entity_1 = require("./mongo/schema/admin/member-roles.entity");
|
|
118
118
|
Object.defineProperty(exports, "MemberRoles", { enumerable: true, get: function () { return member_roles_entity_1.MemberRoles; } });
|
|
119
119
|
Object.defineProperty(exports, "MemberRolesSchema", { enumerable: true, get: function () { return member_roles_entity_1.MemberRolesSchema; } });
|
|
120
|
-
var notification_entity_2 = require("./mongo/schema/notification.entity");
|
|
120
|
+
var notification_entity_2 = require("./mongo/schema/notification/notification.entity");
|
|
121
121
|
Object.defineProperty(exports, "Notifications", { enumerable: true, get: function () { return notification_entity_2.Notifications; } });
|
|
122
122
|
Object.defineProperty(exports, "NotificationSchema", { enumerable: true, get: function () { return notification_entity_2.NotificationSchema; } });
|
|
123
|
-
var post_comments_entity_1 = require("./mongo/schema/post-comments.entity");
|
|
123
|
+
var post_comments_entity_1 = require("./mongo/schema/post/post-comments.entity");
|
|
124
124
|
Object.defineProperty(exports, "PostComments", { enumerable: true, get: function () { return post_comments_entity_1.PostComments; } });
|
|
125
125
|
Object.defineProperty(exports, "PostCommentSchema", { enumerable: true, get: function () { return post_comments_entity_1.PostCommentSchema; } });
|
|
126
|
-
var post_likes_entity_1 = require("./mongo/schema/post-likes.entity");
|
|
126
|
+
var post_likes_entity_1 = require("./mongo/schema/post/post-likes.entity");
|
|
127
127
|
Object.defineProperty(exports, "PostLikes", { enumerable: true, get: function () { return post_likes_entity_1.PostLikes; } });
|
|
128
128
|
Object.defineProperty(exports, "PostLikeSchema", { enumerable: true, get: function () { return post_likes_entity_1.PostLikeSchema; } });
|
|
129
|
-
var posts_entity_1 = require("./mongo/schema/posts.entity");
|
|
129
|
+
var posts_entity_1 = require("./mongo/schema/post/posts.entity");
|
|
130
130
|
Object.defineProperty(exports, "Posts", { enumerable: true, get: function () { return posts_entity_1.Posts; } });
|
|
131
131
|
Object.defineProperty(exports, "PostsSchema", { enumerable: true, get: function () { return posts_entity_1.PostsSchema; } });
|
|
132
|
-
var rights_entity_1 = require("./mongo/schema/rights.entity");
|
|
132
|
+
var rights_entity_1 = require("./mongo/schema/admin/rights.entity");
|
|
133
133
|
Object.defineProperty(exports, "Rights", { enumerable: true, get: function () { return rights_entity_1.Rights; } });
|
|
134
134
|
Object.defineProperty(exports, "RightsSchema", { enumerable: true, get: function () { return rights_entity_1.RightsSchema; } });
|
|
135
|
-
var roles_rights_entity_1 = require("./mongo/schema/roles-rights.entity");
|
|
135
|
+
var roles_rights_entity_1 = require("./mongo/schema/admin/roles-rights.entity");
|
|
136
136
|
Object.defineProperty(exports, "RolesRights", { enumerable: true, get: function () { return roles_rights_entity_1.RolesRights; } });
|
|
137
137
|
Object.defineProperty(exports, "RolesRightsSchema", { enumerable: true, get: function () { return roles_rights_entity_1.RolesRightsSchema; } });
|
|
138
|
-
var roles_entity_1 = require("./mongo/schema/roles.entity");
|
|
138
|
+
var roles_entity_1 = require("./mongo/schema/admin/roles.entity");
|
|
139
139
|
Object.defineProperty(exports, "Roles", { enumerable: true, get: function () { return roles_entity_1.Roles; } });
|
|
140
140
|
Object.defineProperty(exports, "RolesSchema", { enumerable: true, get: function () { return roles_entity_1.RolesSchema; } });
|
|
141
|
-
var spend_log_entity_1 = require("./mongo/schema/spend-log.entity");
|
|
141
|
+
var spend_log_entity_1 = require("./mongo/schema/mobile/spend-log.entity");
|
|
142
142
|
Object.defineProperty(exports, "SpendLog", { enumerable: true, get: function () { return spend_log_entity_1.SpendLog; } });
|
|
143
143
|
Object.defineProperty(exports, "SpendLogSchema", { enumerable: true, get: function () { return spend_log_entity_1.SpendLogSchema; } });
|
|
144
|
-
var story_priority_log_entity_1 = require("./mongo/schema/story-priority-log.entity");
|
|
144
|
+
var story_priority_log_entity_1 = require("./mongo/schema/admin/story-priority-log.entity");
|
|
145
145
|
Object.defineProperty(exports, "StoryPriorityLog", { enumerable: true, get: function () { return story_priority_log_entity_1.StoryPriorityLog; } });
|
|
146
146
|
Object.defineProperty(exports, "StoryPriorityLogSchema", { enumerable: true, get: function () { return story_priority_log_entity_1.StoryPriorityLogSchema; } });
|
|
147
|
-
var story_seen_by_entity_1 = require("./mongo/schema/story-seen-by.entity");
|
|
147
|
+
var story_seen_by_entity_1 = require("./mongo/schema/post/story-seen-by.entity");
|
|
148
148
|
Object.defineProperty(exports, "StorySeenBy", { enumerable: true, get: function () { return story_seen_by_entity_1.StorySeenBy; } });
|
|
149
149
|
Object.defineProperty(exports, "StorySeenBySchema", { enumerable: true, get: function () { return story_seen_by_entity_1.StorySeenBySchema; } });
|
|
150
|
-
var system_log_entity_1 = require("./mongo/schema/system-log.entity");
|
|
150
|
+
var system_log_entity_1 = require("./mongo/schema/mobile/system-log.entity");
|
|
151
151
|
Object.defineProperty(exports, "SystemLog", { enumerable: true, get: function () { return system_log_entity_1.SystemLog; } });
|
|
152
152
|
Object.defineProperty(exports, "SystemLogSchema", { enumerable: true, get: function () { return system_log_entity_1.SystemLogSchema; } });
|
|
153
|
-
var agency_members_entity_1 = require("./mongo/schema/agency-members.entity");
|
|
153
|
+
var agency_members_entity_1 = require("./mongo/schema/admin/agency-members.entity");
|
|
154
154
|
Object.defineProperty(exports, "AgencyMembers", { enumerable: true, get: function () { return agency_members_entity_1.AgencyMembers; } });
|
|
155
155
|
Object.defineProperty(exports, "AgencyMembersSchema", { enumerable: true, get: function () { return agency_members_entity_1.AgencyMembersSchema; } });
|
|
156
|
-
var member_entity_2 = require("./mongo/schema/member.entity");
|
|
156
|
+
var member_entity_2 = require("./mongo/schema/admin/member.entity");
|
|
157
157
|
Object.defineProperty(exports, "Members", { enumerable: true, get: function () { return member_entity_2.Members; } });
|
|
158
158
|
Object.defineProperty(exports, "MemberSchema", { enumerable: true, get: function () { return member_entity_2.MemberSchema; } });
|
|
159
|
-
var story_entity_1 = require("./mongo/schema/story.entity");
|
|
159
|
+
var story_entity_1 = require("./mongo/schema/post/story.entity");
|
|
160
160
|
Object.defineProperty(exports, "Story", { enumerable: true, get: function () { return story_entity_1.Story; } });
|
|
161
161
|
Object.defineProperty(exports, "StorySchema", { enumerable: true, get: function () { return story_entity_1.StorySchema; } });
|
|
162
162
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts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9C,oHAAA,YAAY,OAAA;AACZ,yHAAA,iBAAiB,OAAA;AAKrB,2EAG+C;AAF3C,8GAAA,SAAS,OAAA;AACT,mHAAA,cAAc,OAAA;AAKlB,iEAG0C;AAFtC,qGAAA,KAAK,OAAA;AACL,2GAAA,WAAW,OAAA;AAKf,oEAG4C;AAFxC,uGAAA,MAAM,OAAA;AACN,6GAAA,YAAY,OAAA;AAKhB,gFAGkD;AAF9C,kHAAA,WAAW,OAAA;AACX,wHAAA,iBAAiB,OAAA;AAKrB,kEAG2C;AAFvC,qGAAA,KAAK,OAAA;AACL,2GAAA,WAAW,OAAA;AAKf,2EAGgD;AAF5C,4GAAA,QAAQ,OAAA;AACR,kHAAA,cAAc,OAAA;AAKlB,4FAGwD;AAFpD,6HAAA,gBAAgB,OAAA;AAChB,mIAAA,sBAAsB,OAAA;AAK1B,iFAGkD;AAF9C,mHAAA,WAAW,OAAA;AACX,yHAAA,iBAAiB,OAAA;AAKrB,6EAGiD;AAF7C,8GAAA,SAAS,OAAA;AACT,oHAAA,eAAe,OAAA;AAKnB,oFAGoD;AAFhD,sHAAA,aAAa,OAAA;AACb,4HAAA,mBAAmB,OAAA;AAKvB,oEAG4C;AAFxC,wGAAA,OAAO,OAAA;AACP,6GAAA,YAAY,OAAA;AAKhB,iEAGyC;AAFrC,qGAAA,KAAK,OAAA;AACL,2GAAA,WAAW,OAAA"}
|
package/dist/mongo/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { AgencyMembers } from "./schema/agency-members.entity";
|
|
2
|
-
import { AgencyPublishers } from "./schema/agency-publishers.entity";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
1
|
+
import { AgencyMembers } from "./schema/admin/agency-members.entity";
|
|
2
|
+
import { AgencyPublishers } from "./schema/admin/agency-publishers.entity";
|
|
3
|
+
import { Highlights } from "./schema/post/highlights.entity";
|
|
4
|
+
import { Language } from "./schema/notification/language.entity";
|
|
5
|
+
import { MemberConfigs } from "./schema/admin/member-config.entity";
|
|
6
|
+
import { Notifications } from "./schema/notification/notification.entity";
|
|
7
|
+
import { SpendLog } from "./schema/mobile/spend-log.entity";
|
|
8
|
+
import { StoryPriorityLog } from "./schema/admin/story-priority-log.entity";
|
|
9
|
+
import { SystemLog } from "./schema/mobile/system-log.entity";
|
|
10
|
+
import { MemberRoles } from "./schema/admin/member-roles.entity";
|
|
11
|
+
import { RolesRights } from "./schema/admin/roles-rights.entity";
|
|
12
|
+
import { Roles } from "./schema/admin/roles.entity";
|
|
13
|
+
import { PostLikes } from "./schema/post/post-likes.entity";
|
|
14
|
+
import { Posts } from "./schema/post/posts.entity";
|
|
15
|
+
import { StorySeenBy } from "./schema/post/story-seen-by.entity";
|
|
16
|
+
import { Contents } from "./schema/notification/contents.entity";
|
|
17
|
+
import { DefinedTexts } from "./schema/notification/defined-texts.entity";
|
|
18
|
+
import { Members } from "./schema/admin/member.entity";
|
|
19
|
+
import { Story } from "./schema/post/story.entity";
|
|
20
20
|
export declare const MONGO_SCHEMAS: ({
|
|
21
21
|
name: string;
|
|
22
22
|
schema: import("mongoose").Schema<SpendLog, import("mongoose").Model<SpendLog, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, SpendLog>;
|
package/dist/mongo/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MONGO_SCHEMAS = void 0;
|
|
4
|
-
const agency_members_entity_1 = require("./schema/agency-members.entity");
|
|
5
|
-
const agency_publishers_entity_1 = require("./schema/agency-publishers.entity");
|
|
6
|
-
const agency_entity_1 = require("./schema/agency.entity");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
4
|
+
const agency_members_entity_1 = require("./schema/admin/agency-members.entity");
|
|
5
|
+
const agency_publishers_entity_1 = require("./schema/admin/agency-publishers.entity");
|
|
6
|
+
const agency_entity_1 = require("./schema/admin/agency.entity");
|
|
7
|
+
const highlights_entity_1 = require("./schema/post/highlights.entity");
|
|
8
|
+
const language_entity_1 = require("./schema/notification/language.entity");
|
|
9
|
+
const member_config_entity_1 = require("./schema/admin/member-config.entity");
|
|
10
|
+
const notification_entity_1 = require("./schema/notification/notification.entity");
|
|
11
|
+
const spend_log_entity_1 = require("./schema/mobile/spend-log.entity");
|
|
12
|
+
const story_priority_log_entity_1 = require("./schema/admin/story-priority-log.entity");
|
|
13
|
+
const system_log_entity_1 = require("./schema/mobile/system-log.entity");
|
|
14
|
+
const member_roles_entity_1 = require("./schema/admin/member-roles.entity");
|
|
15
|
+
const rights_entity_1 = require("./schema/admin/rights.entity");
|
|
16
|
+
const roles_rights_entity_1 = require("./schema/admin/roles-rights.entity");
|
|
17
|
+
const roles_entity_1 = require("./schema/admin/roles.entity");
|
|
18
|
+
const post_comments_entity_1 = require("./schema/post/post-comments.entity");
|
|
19
|
+
const post_likes_entity_1 = require("./schema/post/post-likes.entity");
|
|
20
|
+
const posts_entity_1 = require("./schema/post/posts.entity");
|
|
21
|
+
const story_seen_by_entity_1 = require("./schema/post/story-seen-by.entity");
|
|
22
|
+
const contents_entity_1 = require("./schema/notification/contents.entity");
|
|
23
|
+
const defined_texts_entity_1 = require("./schema/notification/defined-texts.entity");
|
|
24
|
+
const member_entity_1 = require("./schema/admin/member.entity");
|
|
25
|
+
const story_entity_1 = require("./schema/post/story.entity");
|
|
26
26
|
exports.MONGO_SCHEMAS = [
|
|
27
27
|
{
|
|
28
28
|
name: spend_log_entity_1.SpendLog.name,
|
package/dist/mongo/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mongo/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mongo/index.ts"],"names":[],"mappings":";;;AAAA,gFAA0F;AAC1F,sFAAmG;AACnG,gEAAoE;AACpE,uEAA+E;AAC/E,2EAAiF;AACjF,8EAAwF;AACxF,mFAA8F;AAC9F,uEAA4E;AAC5E,wFAAoG;AACpG,yEAA+E;AAC/E,4EAAoF;AACpF,gEAAoE;AACpE,4EAAoF;AACpF,8DAAiE;AACjE,6EAAqF;AACrF,uEAA4E;AAC5E,6DAAgE;AAChE,6EAAoF;AACpF,2EAAiF;AACjF,qFAA8F;AAC9F,gEAAqE;AACrE,6DAAgE;AAEnD,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,C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|
+
/// <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/types/inferschematype" />
|
|
25
|
+
import { Document } from 'mongoose';
|
|
26
|
+
import { EnumGender } from '../../../models/enum/index';
|
|
27
|
+
export type AgencyMembersDocument = AgencyMembers & Document;
|
|
28
|
+
export declare class AgencyMembers {
|
|
29
|
+
name?: string;
|
|
30
|
+
sur_name?: string;
|
|
31
|
+
nickname: string;
|
|
32
|
+
password: string;
|
|
33
|
+
gender: EnumGender;
|
|
34
|
+
birth_date: Date;
|
|
35
|
+
gsm?: string;
|
|
36
|
+
status: string;
|
|
37
|
+
api_token: string;
|
|
38
|
+
agency_id: string;
|
|
39
|
+
}
|
|
40
|
+
export declare const AgencyMembersSchema: import("mongoose").Schema<AgencyMembers, import("mongoose").Model<AgencyMembers, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, AgencyMembers>;
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
exports.AgencyMembersSchema = exports.AgencyMembers = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
const index_1 = require("../../../models/enum/index");
|
|
15
|
+
let AgencyMembers = class AgencyMembers {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Prop)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], AgencyMembers.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, mongoose_1.Prop)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], AgencyMembers.prototype, "sur_name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)({ required: true, unique: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], AgencyMembers.prototype, "nickname", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], AgencyMembers.prototype, "password", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], AgencyMembers.prototype, "gender", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
39
|
+
__metadata("design:type", Date)
|
|
40
|
+
], AgencyMembers.prototype, "birth_date", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)({ index: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], AgencyMembers.prototype, "gsm", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, mongoose_1.Prop)({ default: index_1.EnumStatus.A }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], AgencyMembers.prototype, "status", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, mongoose_1.Prop)({ default: '' }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], AgencyMembers.prototype, "api_token", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, mongoose_1.Prop)({ default: '' }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], AgencyMembers.prototype, "agency_id", void 0);
|
|
57
|
+
AgencyMembers = __decorate([
|
|
58
|
+
(0, mongoose_1.Schema)({
|
|
59
|
+
timestamps: true,
|
|
60
|
+
collection: 'AgencyMembers'
|
|
61
|
+
})
|
|
62
|
+
], AgencyMembers);
|
|
63
|
+
exports.AgencyMembers = AgencyMembers;
|
|
64
|
+
exports.AgencyMembersSchema = mongoose_1.SchemaFactory.createForClass(AgencyMembers);
|
|
65
|
+
//# sourceMappingURL=agency-members.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agency-members.entity.js","sourceRoot":"","sources":["../../../../src/mongo/schema/admin/agency-members.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,sDAAoE;AAQ7D,IAAM,aAAa,GAAnB,MAAM,aAAa;CA+BzB,CAAA;AA7BC;IAAC,IAAA,eAAI,GAAE;;2CACO;AAEd;IAAC,IAAA,eAAI,GAAE;;+CACW;AAElB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;+CACtB;AAEjB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACR;AAEjB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACN;AAEnB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACb,IAAI;iDAAC;AAEjB;IAAC,IAAA,eAAI,EAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;0CACT;AAEb;IAAC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,kBAAU,CAAC,CAAC,EAAE,CAAC;;6CACjB;AAEf;IAAC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;gDACJ;AAElB;IAAC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;gDACJ;AA9BP,aAAa;IAJzB,IAAA,iBAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,UAAU,EAAE,eAAe;KAC5B,CAAC;GACW,aAAa,CA+BzB;AA/BY,sCAAa;AAgCb,QAAA,mBAAmB,GAAG,wBAAa,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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/types/inferschematype" />
|
|
25
|
+
import { Document, Types } from 'mongoose';
|
|
26
|
+
import { EnumPublisherStatus } from '../../../models/enum/index';
|
|
27
|
+
export type AgencyPublishersDocument = AgencyPublishers & Document;
|
|
28
|
+
export declare class AgencyPublishers {
|
|
29
|
+
status: EnumPublisherStatus;
|
|
30
|
+
agent_id: Types.ObjectId;
|
|
31
|
+
member_id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
sur_name: string;
|
|
34
|
+
gsm: string;
|
|
35
|
+
media: string;
|
|
36
|
+
nickname: string;
|
|
37
|
+
}
|
|
38
|
+
export declare const AgencyPublishersSchema: import("mongoose").Schema<AgencyPublishers, import("mongoose").Model<AgencyPublishers, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, AgencyPublishers>;
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
exports.AgencyPublishersSchema = exports.AgencyPublishers = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
const mongoose_2 = require("mongoose");
|
|
15
|
+
const index_1 = require("../../../models/enum/index");
|
|
16
|
+
let AgencyPublishers = class AgencyPublishers {
|
|
17
|
+
};
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, mongoose_1.Prop)({ default: index_1.EnumPublisherStatus.P }),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], AgencyPublishers.prototype, "status", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, mongoose_1.Prop)({ type: mongoose_2.Types.ObjectId, required: true, ref: 'Agency' }),
|
|
24
|
+
__metadata("design:type", mongoose_2.Types.ObjectId)
|
|
25
|
+
], AgencyPublishers.prototype, "agent_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], AgencyPublishers.prototype, "member_id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, mongoose_1.Prop)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], AgencyPublishers.prototype, "name", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, mongoose_1.Prop)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], AgencyPublishers.prototype, "sur_name", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, mongoose_1.Prop)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], AgencyPublishers.prototype, "gsm", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, mongoose_1.Prop)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], AgencyPublishers.prototype, "media", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, mongoose_1.Prop)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], AgencyPublishers.prototype, "nickname", void 0);
|
|
50
|
+
AgencyPublishers = __decorate([
|
|
51
|
+
(0, mongoose_1.Schema)({
|
|
52
|
+
timestamps: true,
|
|
53
|
+
collection: 'AgencyPublishers'
|
|
54
|
+
})
|
|
55
|
+
], AgencyPublishers);
|
|
56
|
+
exports.AgencyPublishers = AgencyPublishers;
|
|
57
|
+
exports.AgencyPublishersSchema = mongoose_1.SchemaFactory.createForClass(AgencyPublishers);
|
|
58
|
+
//# sourceMappingURL=agency-publishers.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agency-publishers.entity.js","sourceRoot":"","sources":["../../../../src/mongo/schema/admin/agency-publishers.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAA2C;AAC3C,sDAAiE;AAQ1D,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAkB5B,CAAA;AAhBC;IAAC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,2BAAmB,CAAC,CAAC,EAAE,CAAC;;gDACb;AAC5B;IAAC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,gBAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;8BACpD,gBAAK,CAAC,QAAQ;kDAAC;AACzB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACP;AAClB;IAAC,IAAA,eAAI,GAAE;;8CACM;AACb;IAAC,IAAA,eAAI,GAAE;;kDACU;AACjB;IAAC,IAAA,eAAI,GAAE;;6CACK;AACZ;IAAC,IAAA,eAAI,GAAE;;+CACO;AACd;IAAC,IAAA,eAAI,GAAE;;kDACU;AAjBN,gBAAgB;IAJ5B,IAAA,iBAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,UAAU,EAAE,kBAAkB;KAC/B,CAAC;GACW,gBAAgB,CAkB5B;AAlBY,4CAAgB;AAoBhB,QAAA,sBAAsB,GAAG,wBAAa,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC"}
|