@lukiteam/luki-be-general 0.2.17 → 0.2.19
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/index.d.ts +19 -0
- package/dist/index.js.map +1 -1
- package/dist/mongo/schema/agency-members.entity.d.ts +40 -0
- package/dist/mongo/schema/agency-members.entity.js +65 -0
- package/dist/mongo/schema/agency-members.entity.js.map +1 -0
- package/dist/postgresql/index.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -40,21 +40,40 @@ export { default as WalletDetail } from './postgresql/entity/wallet-detail.entit
|
|
|
40
40
|
export { default as Wallet } from './postgresql/entity/wallet.entity';
|
|
41
41
|
export { default as Notification } from './postgresql/entity/notification.entity';
|
|
42
42
|
export { AgencyPublishers, AgencyPublishersSchema, } from './mongo/schema/agency-publishers.entity';
|
|
43
|
+
export type { AgencyPublishersDocument } from './mongo/schema/agency-publishers.entity';
|
|
43
44
|
export { Agency, AgencySchema, } from './mongo/schema/agency.entity';
|
|
45
|
+
export type { AgencyDocument } from './mongo/schema/agency.entity';
|
|
44
46
|
export { Contents, ContentsSchema, } from './mongo/schema/contents.entity';
|
|
47
|
+
export type { ContentsDocument } from './mongo/schema/contents.entity';
|
|
45
48
|
export { DefinedTexts, DefinedTextsSchema, } from './mongo/schema/defined-texts.entity';
|
|
49
|
+
export type { DefinedTextsDocument } from './mongo/schema/defined-texts.entity';
|
|
46
50
|
export { Highlights, HighlightsSchema, } from './mongo/schema/highlights.entity';
|
|
51
|
+
export type { HighlightsDocument } from './mongo/schema/highlights.entity';
|
|
47
52
|
export { Language, LanguageSchema, } from './mongo/schema/language.entity';
|
|
53
|
+
export type { LanguageDocument } from './mongo/schema/language.entity';
|
|
48
54
|
export { MemberConfigs, MemberConfigSchema, } from './mongo/schema/member-config.entity';
|
|
55
|
+
export type { MemberConfigDocument } from './mongo/schema/member-config.entity';
|
|
49
56
|
export { MemberRoles, MemberRolesSchema, } from './mongo/schema/member-roles.entity';
|
|
57
|
+
export type { MemberRolesDocument } from './mongo/schema/member-roles.entity';
|
|
50
58
|
export { Notifications, NotificationSchema, } from './mongo/schema/notification.entity';
|
|
59
|
+
export type { NotificationDocument } from './mongo/schema/notification.entity';
|
|
51
60
|
export { PostComments, PostCommentSchema, } from './mongo/schema/post-comments.entity';
|
|
61
|
+
export type { PostCommentsDocument } from './mongo/schema/post-comments.entity';
|
|
52
62
|
export { PostLikes, PostLikeSchema, } from './mongo/schema/post-likes.entity';
|
|
63
|
+
export type { PostLikesDocument } from './mongo/schema/post-likes.entity';
|
|
53
64
|
export { Posts, PostsSchema, } from './mongo/schema/posts.entity';
|
|
65
|
+
export type { PostsDocument } from './mongo/schema/posts.entity';
|
|
54
66
|
export { Rights, RightsSchema, } from './mongo/schema/rights.entity';
|
|
67
|
+
export type { RightsDocument } from './mongo/schema/rights.entity';
|
|
55
68
|
export { RolesRights, RolesRightsSchema, } from './mongo/schema/roles-rights.entity';
|
|
69
|
+
export type { RolesRightsDocument } from './mongo/schema/roles-rights.entity';
|
|
56
70
|
export { Roles, RolesSchema, } from './mongo/schema/roles.entity';
|
|
71
|
+
export type { RolesDocument } from './mongo/schema/roles.entity';
|
|
57
72
|
export { SpendLog, SpendLogSchema, } from './mongo/schema/spend-log.entity';
|
|
73
|
+
export type { SpendLogDocument } from './mongo/schema/spend-log.entity';
|
|
58
74
|
export { StoryPriorityLog, StoryPriorityLogSchema, } from './mongo/schema/story-priority-log.entity';
|
|
75
|
+
export type { StoryPriorityLogDocument } from './mongo/schema/story-priority-log.entity';
|
|
59
76
|
export { StorySeenBy, StorySeenBySchema, } from './mongo/schema/story-seen-by.entity';
|
|
77
|
+
export type { StorySeenByDocument } from './mongo/schema/story-seen-by.entity';
|
|
60
78
|
export { SystemLog, SystemLogSchema, } from './mongo/schema/system-log.entity';
|
|
79
|
+
export type { SystemLogDocument } from './mongo/schema/system-log.entity';
|
package/dist/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,yHAAA,iBAAiB,OAAA;AAKrB,sEAG0C;AAFtC,8GAAA,SAAS,OAAA;AACT,mHAAA,cAAc,OAAA;AAKlB,4DAGqC;AAFjC,qGAAA,KAAK,OAAA;AACL,2GAAA,WAAW,OAAA;AAKf,8DAGsC;AAFlC,uGAAA,MAAM,OAAA;AACN,6GAAA,YAAY,OAAA;AAKhB,0EAG4C;AAFxC,kHAAA,WAAW,OAAA;AACX,wHAAA,iBAAiB,OAAA;AAKrB,4DAGqC;AAFjC,qGAAA,KAAK,OAAA;AACL,2GAAA,WAAW,OAAA;AAKf,oEAGyC;AAFrC,4GAAA,QAAQ,OAAA;AACR,kHAAA,cAAc,OAAA;AAKlB,sFAGkD;AAF9C,6HAAA,gBAAgB,OAAA;AAChB,mIAAA,sBAAsB,OAAA;AAK1B,4EAG6C;AAFzC,mHAAA,WAAW,OAAA;AACX,yHAAA,iBAAiB,OAAA;AAKrB,sEAG0C;AAFtC,8GAAA,SAAS,OAAA;AACT,oHAAA,eAAe,OAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
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/agency-members.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,mDAAiE;AAQ1D,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"}
|
|
@@ -25,4 +25,4 @@ import SystemSettings from "./entity/system-settings.entity";
|
|
|
25
25
|
import WalletDetail from "./entity/wallet-detail.entity";
|
|
26
26
|
import Wallet from "./entity/wallet.entity";
|
|
27
27
|
import Notification from "./entity/notification.entity";
|
|
28
|
-
export declare const POSTGRES_ENTITIES: (typeof Banners | typeof BlockedPhone | typeof CallHistory | typeof CallHistoryDetail | typeof CoinsDefinition | typeof FeedbackAndComplaint | typeof
|
|
28
|
+
export declare const POSTGRES_ENTITIES: (typeof MemberBankAccount | typeof Banners | typeof BlockedPhone | typeof CallHistory | typeof CallHistoryDetail | typeof CoinsDefinition | typeof FeedbackAndComplaint | typeof MemberBlocked | typeof MemberConfig | typeof MemberConnections | typeof MemberFriends | typeof MemberLiked | typeof MemberMission | typeof MemberReminder | typeof MemberVerification | typeof Member | typeof Message | typeof Mission | typeof Payment | typeof ProductPurchase | typeof Purchase | typeof SwipeCountries | typeof SystemLogs | typeof SystemSettings | typeof WalletDetail | typeof Wallet | typeof Notification)[];
|