@hugo.ye/common 1.0.75 → 1.0.79
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/build/models/campaigns.entity.js +2 -2
- package/build/models/campaigns.entity.js.map +1 -1
- package/build/models/case-file.entity.d.ts +16 -0
- package/build/models/case-file.entity.d.ts.map +1 -0
- package/build/models/case-file.entity.js +89 -0
- package/build/models/case-file.entity.js.map +1 -0
- package/build/models/{order-progress-timeline.entity.d.ts → case-progress-timeline.entity.d.ts} +3 -3
- package/build/models/case-progress-timeline.entity.d.ts.map +1 -0
- package/build/models/{order-progress-timeline.entity.js → case-progress-timeline.entity.js} +14 -13
- package/build/models/case-progress-timeline.entity.js.map +1 -0
- package/build/models/case.entity.d.ts +14 -0
- package/build/models/case.entity.d.ts.map +1 -0
- package/build/models/case.entity.js +85 -0
- package/build/models/case.entity.js.map +1 -0
- package/build/models/chat-contacts-apply.entity.js +2 -2
- package/build/models/chat-contacts-apply.entity.js.map +1 -1
- package/build/models/chat-contacts.entity.js +1 -1
- package/build/models/chat-contacts.entity.js.map +1 -1
- package/build/models/chat-group-user.entity.js +2 -2
- package/build/models/chat-group-user.entity.js.map +1 -1
- package/build/models/chat-group.entity.js +2 -2
- package/build/models/chat-group.entity.js.map +1 -1
- package/build/models/chat-read.entity.js +1 -1
- package/build/models/chat-read.entity.js.map +1 -1
- package/build/models/chat.entity.js +1 -1
- package/build/models/chat.entity.js.map +1 -1
- package/build/models/count-member-daily-amount.entity.js +2 -2
- package/build/models/count-member-daily-amount.entity.js.map +1 -1
- package/build/models/finance.entity.d.ts +12 -0
- package/build/models/finance.entity.d.ts.map +1 -0
- package/build/models/finance.entity.js +68 -0
- package/build/models/finance.entity.js.map +1 -0
- package/build/models/index.d.ts +7 -2
- package/build/models/index.d.ts.map +1 -1
- package/build/models/index.js +7 -2
- package/build/models/index.js.map +1 -1
- package/build/models/member-certification.entity.d.ts +13 -0
- package/build/models/member-certification.entity.d.ts.map +1 -0
- package/build/models/member-certification.entity.js +74 -0
- package/build/models/member-certification.entity.js.map +1 -0
- package/build/models/member.entity.d.ts +7 -1
- package/build/models/member.entity.d.ts.map +1 -1
- package/build/models/member.entity.js +43 -1
- package/build/models/member.entity.js.map +1 -1
- package/build/models/order-file.entity.d.ts +6 -5
- package/build/models/order-file.entity.d.ts.map +1 -1
- package/build/models/order-file.entity.js +19 -12
- package/build/models/order-file.entity.js.map +1 -1
- package/build/models/order.entity.d.ts +3 -2
- package/build/models/order.entity.d.ts.map +1 -1
- package/build/models/order.entity.js +21 -9
- package/build/models/order.entity.js.map +1 -1
- package/build/models/todo.entity.d.ts +12 -0
- package/build/models/todo.entity.d.ts.map +1 -0
- package/build/{models copy/order-progress-timeline.entity.js → models/todo.entity.js} +32 -31
- package/build/models/todo.entity.js.map +1 -0
- package/build/repositories/case-file.repository.d.ts +8 -0
- package/build/repositories/case-file.repository.d.ts.map +1 -0
- package/build/repositories/case-file.repository.js +31 -0
- package/build/repositories/case-file.repository.js.map +1 -0
- package/build/repositories/case-progress-timeline.repository.d.ts +8 -0
- package/build/repositories/case-progress-timeline.repository.d.ts.map +1 -0
- package/build/repositories/case-progress-timeline.repository.js +31 -0
- package/build/repositories/case-progress-timeline.repository.js.map +1 -0
- package/build/repositories/case.repository.d.ts +8 -0
- package/build/repositories/case.repository.d.ts.map +1 -0
- package/build/repositories/case.repository.js +31 -0
- package/build/repositories/case.repository.js.map +1 -0
- package/build/repositories/index.d.ts +4 -0
- package/build/repositories/index.d.ts.map +1 -1
- package/build/repositories/index.js +4 -0
- package/build/repositories/index.js.map +1 -1
- package/build/repositories/order-file.repository.d.ts +8 -0
- package/build/repositories/order-file.repository.d.ts.map +1 -0
- package/build/repositories/order-file.repository.js +31 -0
- package/build/repositories/order-file.repository.js.map +1 -0
- package/build/repositories/todo.repository.d.ts +8 -0
- package/build/repositories/todo.repository.d.ts.map +1 -0
- package/build/repositories/todo.repository.js +31 -0
- package/build/repositories/todo.repository.js.map +1 -0
- package/package.json +1 -1
- package/build/models/order-progress-timeline.entity.d.ts.map +0 -1
- package/build/models/order-progress-timeline.entity.js.map +0 -1
- package/build/models copy/banner-item.entity.d.ts +0 -11
- package/build/models copy/banner-item.entity.d.ts.map +0 -1
- package/build/models copy/banner-item.entity.js +0 -58
- package/build/models copy/banner-item.entity.js.map +0 -1
- package/build/models copy/banner.entity.d.ts +0 -11
- package/build/models copy/banner.entity.d.ts.map +0 -1
- package/build/models copy/banner.entity.js +0 -65
- package/build/models copy/banner.entity.js.map +0 -1
- package/build/models copy/brand.entity.d.ts +0 -13
- package/build/models copy/brand.entity.d.ts.map +0 -1
- package/build/models copy/brand.entity.js +0 -77
- package/build/models copy/brand.entity.js.map +0 -1
- package/build/models copy/campaign-category.entity.d.ts +0 -2
- package/build/models copy/campaign-category.entity.d.ts.map +0 -1
- package/build/models copy/campaign-category.entity.js +0 -2
- package/build/models copy/campaign-category.entity.js.map +0 -1
- package/build/models copy/campaign-items.entity.d.ts +0 -12
- package/build/models copy/campaign-items.entity.d.ts.map +0 -1
- package/build/models copy/campaign-items.entity.js +0 -64
- package/build/models copy/campaign-items.entity.js.map +0 -1
- package/build/models copy/campaign-type.entity.d.ts +0 -2
- package/build/models copy/campaign-type.entity.d.ts.map +0 -1
- package/build/models copy/campaign-type.entity.js +0 -2
- package/build/models copy/campaign-type.entity.js.map +0 -1
- package/build/models copy/campaign-viewer.entity.d.ts +0 -2
- package/build/models copy/campaign-viewer.entity.d.ts.map +0 -1
- package/build/models copy/campaign-viewer.entity.js +0 -2
- package/build/models copy/campaign-viewer.entity.js.map +0 -1
- package/build/models copy/campaigns.entity.d.ts +0 -18
- package/build/models copy/campaigns.entity.d.ts.map +0 -1
- package/build/models copy/campaigns.entity.js +0 -110
- package/build/models copy/campaigns.entity.js.map +0 -1
- package/build/models copy/category.entity.d.ts +0 -14
- package/build/models copy/category.entity.d.ts.map +0 -1
- package/build/models copy/category.entity.js +0 -83
- package/build/models copy/category.entity.js.map +0 -1
- package/build/models copy/chat-contacts-apply.entity.d.ts +0 -8
- package/build/models copy/chat-contacts-apply.entity.d.ts.map +0 -1
- package/build/models copy/chat-contacts-apply.entity.js +0 -46
- package/build/models copy/chat-contacts-apply.entity.js.map +0 -1
- package/build/models copy/chat-contacts.entity.d.ts +0 -8
- package/build/models copy/chat-contacts.entity.d.ts.map +0 -1
- package/build/models copy/chat-contacts.entity.js +0 -40
- package/build/models copy/chat-contacts.entity.js.map +0 -1
- package/build/models copy/chat-group-user.entity.d.ts +0 -7
- package/build/models copy/chat-group-user.entity.d.ts.map +0 -1
- package/build/models copy/chat-group-user.entity.js +0 -39
- package/build/models copy/chat-group-user.entity.js.map +0 -1
- package/build/models copy/chat-group.entity.d.ts +0 -11
- package/build/models copy/chat-group.entity.d.ts.map +0 -1
- package/build/models copy/chat-group.entity.js +0 -66
- package/build/models copy/chat-group.entity.js.map +0 -1
- package/build/models copy/chat-read.entity.d.ts +0 -8
- package/build/models copy/chat-read.entity.d.ts.map +0 -1
- package/build/models copy/chat-read.entity.js +0 -40
- package/build/models copy/chat-read.entity.js.map +0 -1
- package/build/models copy/chat.entity.d.ts +0 -11
- package/build/models copy/chat.entity.d.ts.map +0 -1
- package/build/models copy/chat.entity.js +0 -60
- package/build/models copy/chat.entity.js.map +0 -1
- package/build/models copy/continent.entity.d.ts +0 -6
- package/build/models copy/continent.entity.d.ts.map +0 -1
- package/build/models copy/continent.entity.js +0 -35
- package/build/models copy/continent.entity.js.map +0 -1
- package/build/models copy/count-member-daily-amount.entity.d.ts +0 -7
- package/build/models copy/count-member-daily-amount.entity.d.ts.map +0 -1
- package/build/models copy/count-member-daily-amount.entity.js +0 -42
- package/build/models copy/count-member-daily-amount.entity.js.map +0 -1
- package/build/models copy/count-member-daily-order-status.entity.d.ts +0 -13
- package/build/models copy/count-member-daily-order-status.entity.d.ts.map +0 -1
- package/build/models copy/count-member-daily-order-status.entity.js +0 -78
- package/build/models copy/count-member-daily-order-status.entity.js.map +0 -1
- package/build/models copy/country.entity.d.ts +0 -15
- package/build/models copy/country.entity.d.ts.map +0 -1
- package/build/models copy/country.entity.js +0 -96
- package/build/models copy/country.entity.js.map +0 -1
- package/build/models copy/index.d.ts +0 -42
- package/build/models copy/index.d.ts.map +0 -1
- package/build/models copy/index.js +0 -42
- package/build/models copy/index.js.map +0 -1
- package/build/models copy/log.entity.d.ts +0 -11
- package/build/models copy/log.entity.d.ts.map +0 -1
- package/build/models copy/log.entity.js +0 -63
- package/build/models copy/log.entity.js.map +0 -1
- package/build/models copy/member.entity.d.ts +0 -53
- package/build/models copy/member.entity.d.ts.map +0 -1
- package/build/models copy/member.entity.js +0 -322
- package/build/models copy/member.entity.js.map +0 -1
- package/build/models copy/news.entity.d.ts +0 -15
- package/build/models copy/news.entity.d.ts.map +0 -1
- package/build/models copy/news.entity.js +0 -87
- package/build/models copy/news.entity.js.map +0 -1
- package/build/models copy/order-file.entity.d.ts +0 -13
- package/build/models copy/order-file.entity.d.ts.map +0 -1
- package/build/models copy/order-file.entity.js +0 -74
- package/build/models copy/order-file.entity.js.map +0 -1
- package/build/models copy/order-item.entity.d.ts +0 -13
- package/build/models copy/order-item.entity.d.ts.map +0 -1
- package/build/models copy/order-item.entity.js +0 -70
- package/build/models copy/order-item.entity.js.map +0 -1
- package/build/models copy/order-progress-timeline.entity.d.ts +0 -11
- package/build/models copy/order-progress-timeline.entity.d.ts.map +0 -1
- package/build/models copy/order-progress-timeline.entity.js.map +0 -1
- package/build/models copy/order.entity.d.ts +0 -45
- package/build/models copy/order.entity.d.ts.map +0 -1
- package/build/models copy/order.entity.js +0 -271
- package/build/models copy/order.entity.js.map +0 -1
- package/build/models copy/page.entity.d.ts +0 -13
- package/build/models copy/page.entity.d.ts.map +0 -1
- package/build/models copy/page.entity.js +0 -75
- package/build/models copy/page.entity.js.map +0 -1
- package/build/models copy/product-document.entity.d.ts +0 -14
- package/build/models copy/product-document.entity.d.ts.map +0 -1
- package/build/models copy/product-document.entity.js +0 -76
- package/build/models copy/product-document.entity.js.map +0 -1
- package/build/models copy/product-picture.entity.d.ts +0 -8
- package/build/models copy/product-picture.entity.d.ts.map +0 -1
- package/build/models copy/product-picture.entity.js +0 -40
- package/build/models copy/product-picture.entity.js.map +0 -1
- package/build/models copy/product-sku.entity.d.ts +0 -15
- package/build/models copy/product-sku.entity.d.ts.map +0 -1
- package/build/models copy/product-sku.entity.js +0 -82
- package/build/models copy/product-sku.entity.js.map +0 -1
- package/build/models copy/product.entity.d.ts +0 -33
- package/build/models copy/product.entity.d.ts.map +0 -1
- package/build/models copy/product.entity.js +0 -187
- package/build/models copy/product.entity.js.map +0 -1
- package/build/models copy/recharge-record.entity.d.ts +0 -9
- package/build/models copy/recharge-record.entity.d.ts.map +0 -1
- package/build/models copy/recharge-record.entity.js +0 -50
- package/build/models copy/recharge-record.entity.js.map +0 -1
- package/build/models copy/remove-result.entity.d.ts +0 -4
- package/build/models copy/remove-result.entity.d.ts.map +0 -1
- package/build/models copy/remove-result.entity.js +0 -23
- package/build/models copy/remove-result.entity.js.map +0 -1
- package/build/models copy/roles.entity.d.ts +0 -6
- package/build/models copy/roles.entity.d.ts.map +0 -1
- package/build/models copy/roles.entity.js +0 -34
- package/build/models copy/roles.entity.js.map +0 -1
- package/build/models copy/service-fee.entity.d.ts +0 -19
- package/build/models copy/service-fee.entity.d.ts.map +0 -1
- package/build/models copy/service-fee.entity.js +0 -119
- package/build/models copy/service-fee.entity.js.map +0 -1
- package/build/models copy/service.entity.d.ts +0 -7
- package/build/models copy/service.entity.d.ts.map +0 -1
- package/build/models copy/service.entity.js +0 -40
- package/build/models copy/service.entity.js.map +0 -1
- package/build/models copy/setting-member-level.entity.d.ts +0 -14
- package/build/models copy/setting-member-level.entity.d.ts.map +0 -1
- package/build/models copy/setting-member-level.entity.js +0 -82
- package/build/models copy/setting-member-level.entity.js.map +0 -1
- package/build/models copy/token.entity.d.ts +0 -4
- package/build/models copy/token.entity.d.ts.map +0 -1
- package/build/models copy/token.entity.js +0 -23
- package/build/models copy/token.entity.js.map +0 -1
- package/build/models copy/trademark.entity.d.ts +0 -16
- package/build/models copy/trademark.entity.d.ts.map +0 -1
- package/build/models copy/trademark.entity.js +0 -88
- package/build/models copy/trademark.entity.js.map +0 -1
- package/build/models copy/user-profile.entity.d.ts +0 -15
- package/build/models copy/user-profile.entity.d.ts.map +0 -1
- package/build/models copy/user-profile.entity.js +0 -82
- package/build/models copy/user-profile.entity.js.map +0 -1
- package/build/models copy/users.entity.d.ts +0 -18
- package/build/models copy/users.entity.d.ts.map +0 -1
- package/build/models copy/users.entity.js +0 -103
- package/build/models copy/users.entity.js.map +0 -1
- package/build/models copy/visit-logs.entity.d.ts +0 -8
- package/build/models copy/visit-logs.entity.d.ts.map +0 -1
- package/build/models copy/visit-logs.entity.js +0 -40
- package/build/models copy/visit-logs.entity.js.map +0 -1
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { AbstractEntity, ChatContactsEntity, ChatGroupEntity } from "../index.js";
|
|
11
|
-
import { Directive, Field, ObjectType } from "@nestjs/graphql";
|
|
12
|
-
import { Column, Entity, Index, JoinColumn, JoinTable, ManyToMany, OneToMany, OneToOne } from "typeorm";
|
|
13
|
-
import { RoleEntity, UserProfileEntity } from "../index.js";
|
|
14
|
-
let UserEntity = class UserEntity extends AbstractEntity {
|
|
15
|
-
email;
|
|
16
|
-
password;
|
|
17
|
-
username;
|
|
18
|
-
isOnline;
|
|
19
|
-
createdBy;
|
|
20
|
-
createdDate;
|
|
21
|
-
updatedBy;
|
|
22
|
-
updatedDate;
|
|
23
|
-
roles;
|
|
24
|
-
chatGroups;
|
|
25
|
-
contacts;
|
|
26
|
-
profile;
|
|
27
|
-
};
|
|
28
|
-
__decorate([
|
|
29
|
-
Column(),
|
|
30
|
-
Field({ nullable: true }),
|
|
31
|
-
Index('email-idx'),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], UserEntity.prototype, "email", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
Column(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], UserEntity.prototype, "password", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
Column(),
|
|
40
|
-
Field({ nullable: true }),
|
|
41
|
-
Index('username-idx'),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], UserEntity.prototype, "username", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
Column({ default: false }),
|
|
46
|
-
Field({ nullable: true }),
|
|
47
|
-
__metadata("design:type", Boolean)
|
|
48
|
-
], UserEntity.prototype, "isOnline", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column(),
|
|
51
|
-
Field({ nullable: true }),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], UserEntity.prototype, "createdBy", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
Column({ nullable: true }),
|
|
56
|
-
Field(() => Date, { nullable: true }),
|
|
57
|
-
__metadata("design:type", Date)
|
|
58
|
-
], UserEntity.prototype, "createdDate", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
Column({ nullable: true }),
|
|
61
|
-
Field({ nullable: true }),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], UserEntity.prototype, "updatedBy", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
Column({ nullable: true }),
|
|
66
|
-
Field(() => Date, { nullable: true }),
|
|
67
|
-
__metadata("design:type", Date)
|
|
68
|
-
], UserEntity.prototype, "updatedDate", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
ManyToMany(() => RoleEntity, role => role.users, { cascade: true, nullable: true }),
|
|
71
|
-
JoinTable(),
|
|
72
|
-
Directive('@shareable'),
|
|
73
|
-
Field(() => [RoleEntity], { nullable: true }),
|
|
74
|
-
__metadata("design:type", Array)
|
|
75
|
-
], UserEntity.prototype, "roles", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
ManyToMany(() => ChatGroupEntity, group => group.users, { cascade: true, nullable: true }),
|
|
78
|
-
JoinTable(),
|
|
79
|
-
Directive('@shareable'),
|
|
80
|
-
Field(() => [ChatGroupEntity], { nullable: true }),
|
|
81
|
-
__metadata("design:type", Array)
|
|
82
|
-
], UserEntity.prototype, "chatGroups", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
OneToMany(() => ChatContactsEntity, (contacts) => contacts.user, { cascade: true, nullable: true }),
|
|
85
|
-
JoinTable(),
|
|
86
|
-
Directive('@shareable'),
|
|
87
|
-
Field(() => [ChatContactsEntity], { nullable: true }),
|
|
88
|
-
__metadata("design:type", Array)
|
|
89
|
-
], UserEntity.prototype, "contacts", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
OneToOne(() => UserProfileEntity, (profile) => profile.user, { cascade: true, nullable: true }),
|
|
92
|
-
Field(() => UserProfileEntity, { nullable: true }),
|
|
93
|
-
Directive('@shareable'),
|
|
94
|
-
JoinColumn(),
|
|
95
|
-
__metadata("design:type", Object)
|
|
96
|
-
], UserEntity.prototype, "profile", void 0);
|
|
97
|
-
UserEntity = __decorate([
|
|
98
|
-
Entity(),
|
|
99
|
-
ObjectType(),
|
|
100
|
-
Directive('@key(fields:"id,email,username,isOnline,createdBy,createdDate,updatedBy,updatedDate")')
|
|
101
|
-
], UserEntity);
|
|
102
|
-
export { UserEntity };
|
|
103
|
-
//# sourceMappingURL=users.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"users.entity.js","sourceRoot":"","sources":["../../src/models copy/users.entity.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AbstractEntity, MemberEntity } from "../index.js";
|
|
2
|
-
import { type Relation } from "typeorm";
|
|
3
|
-
export declare class VisitLogEntity extends AbstractEntity<VisitLogEntity> {
|
|
4
|
-
content: string;
|
|
5
|
-
createdDate: Date;
|
|
6
|
-
member: Relation<MemberEntity>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=visit-logs.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visit-logs.entity.d.ts","sourceRoot":"","sources":["../../src/models copy/visit-logs.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3D,OAAO,EAA6B,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnE,qBAGa,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IAI9D,OAAO,EAAE,MAAM,CAAC;IAIhB,WAAW,EAAE,IAAI,CAAC;IAKlB,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAA;CACjC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { AbstractEntity, MemberEntity } from "../index.js";
|
|
11
|
-
import { Directive, Field, ObjectType } from "@nestjs/graphql";
|
|
12
|
-
import { Column, Entity, ManyToOne } from "typeorm";
|
|
13
|
-
let VisitLogEntity = class VisitLogEntity extends AbstractEntity {
|
|
14
|
-
content;
|
|
15
|
-
createdDate;
|
|
16
|
-
member;
|
|
17
|
-
};
|
|
18
|
-
__decorate([
|
|
19
|
-
Column(),
|
|
20
|
-
Field(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], VisitLogEntity.prototype, "content", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
Column(),
|
|
25
|
-
Field(() => Date, { nullable: true }),
|
|
26
|
-
__metadata("design:type", Date)
|
|
27
|
-
], VisitLogEntity.prototype, "createdDate", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
ManyToOne(() => MemberEntity, member => member.visitLogs, { nullable: true, onDelete: 'CASCADE' }),
|
|
30
|
-
Field(() => MemberEntity, { nullable: true }),
|
|
31
|
-
Directive('@shareable'),
|
|
32
|
-
__metadata("design:type", Object)
|
|
33
|
-
], VisitLogEntity.prototype, "member", void 0);
|
|
34
|
-
VisitLogEntity = __decorate([
|
|
35
|
-
ObjectType(),
|
|
36
|
-
Entity(),
|
|
37
|
-
Directive('@key(fields:"id,content,createdDate")')
|
|
38
|
-
], VisitLogEntity);
|
|
39
|
-
export { VisitLogEntity };
|
|
40
|
-
//# sourceMappingURL=visit-logs.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visit-logs.entity.js","sourceRoot":"","sources":["../../src/models copy/visit-logs.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAiB,MAAM,SAAS,CAAC;AAK5D,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,cAA8B;IAI9D,OAAO,CAAS;IAIhB,WAAW,CAAO;IAKlB,MAAM,CAAwB;CACjC,CAAA;AAVG;IAFC,MAAM,EAAE;IACR,KAAK,EAAE;;+CACQ;AAIhB;IAFC,MAAM,EAAE;IACR,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACzB,IAAI;mDAAC;AAKlB;IAHC,SAAS,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAClG,KAAK,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,SAAS,CAAC,YAAY,CAAC;;8CACM;AAbrB,cAAc;IAH1B,UAAU,EAAE;IACZ,MAAM,EAAE;IACR,SAAS,CAAC,uCAAuC,CAAC;GACtC,cAAc,CAc1B"}
|