echadospalante-core 11.3.3 → 11.4.0

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.
Files changed (120) hide show
  1. package/package.json +1 -1
  2. package/src/app/modules/domain/events/event-contact.ts +3 -0
  3. package/dist/app/modules/domain/auth/index.d.ts +0 -3
  4. package/dist/app/modules/domain/auth/index.js +0 -2
  5. package/dist/app/modules/domain/auth/token-payload.d.ts +0 -5
  6. package/dist/app/modules/domain/auth/token-payload.js +0 -2
  7. package/dist/app/modules/domain/contributions/donation.d.ts +0 -10
  8. package/dist/app/modules/domain/contributions/donation.js +0 -2
  9. package/dist/app/modules/domain/contributions/index.d.ts +0 -2
  10. package/dist/app/modules/domain/contributions/index.js +0 -2
  11. package/dist/app/modules/domain/contributions/sponsor.d.ts +0 -10
  12. package/dist/app/modules/domain/contributions/sponsor.js +0 -2
  13. package/dist/app/modules/domain/events/event-category.d.ts +0 -10
  14. package/dist/app/modules/domain/events/event-category.js +0 -2
  15. package/dist/app/modules/domain/events/event-location.d.ts +0 -8
  16. package/dist/app/modules/domain/events/event-location.js +0 -2
  17. package/dist/app/modules/domain/events/event.d.ts +0 -39
  18. package/dist/app/modules/domain/events/event.js +0 -2
  19. package/dist/app/modules/domain/events/index.d.ts +0 -4
  20. package/dist/app/modules/domain/events/index.js +0 -2
  21. package/dist/app/modules/domain/notifications/index.d.ts +0 -2
  22. package/dist/app/modules/domain/notifications/index.js +0 -5
  23. package/dist/app/modules/domain/notifications/notification.d.ts +0 -25
  24. package/dist/app/modules/domain/notifications/notification.js +0 -19
  25. package/dist/app/modules/domain/publications/clap.d.ts +0 -8
  26. package/dist/app/modules/domain/publications/clap.js +0 -2
  27. package/dist/app/modules/domain/publications/comment.d.ts +0 -9
  28. package/dist/app/modules/domain/publications/comment.js +0 -2
  29. package/dist/app/modules/domain/publications/content.d.ts +0 -10
  30. package/dist/app/modules/domain/publications/content.js +0 -12
  31. package/dist/app/modules/domain/publications/index.d.ts +0 -6
  32. package/dist/app/modules/domain/publications/index.js +0 -5
  33. package/dist/app/modules/domain/publications/publication.d.ts +0 -27
  34. package/dist/app/modules/domain/publications/publication.js +0 -11
  35. package/dist/app/modules/domain/shared/content-type.d.ts +0 -7
  36. package/dist/app/modules/domain/shared/content-type.js +0 -11
  37. package/dist/app/modules/domain/shared/geo.d.ts +0 -16
  38. package/dist/app/modules/domain/shared/geo.js +0 -2
  39. package/dist/app/modules/domain/shared/index.d.ts +0 -2
  40. package/dist/app/modules/domain/shared/index.js +0 -5
  41. package/dist/app/modules/domain/shared/pagination.d.ts +0 -4
  42. package/dist/app/modules/domain/shared/pagination.js +0 -2
  43. package/dist/app/modules/domain/user/contact.d.ts +0 -13
  44. package/dist/app/modules/domain/user/contact.js +0 -2
  45. package/dist/app/modules/domain/user/detail.d.ts +0 -20
  46. package/dist/app/modules/domain/user/detail.js +0 -2
  47. package/dist/app/modules/domain/user/index.d.ts +0 -4
  48. package/dist/app/modules/domain/user/index.js +0 -5
  49. package/dist/app/modules/domain/user/role.d.ts +0 -15
  50. package/dist/app/modules/domain/user/role.js +0 -10
  51. package/dist/app/modules/domain/user/user.d.ts +0 -21
  52. package/dist/app/modules/domain/user/user.js +0 -2
  53. package/dist/app/modules/domain/ventures/category.d.ts +0 -13
  54. package/dist/app/modules/domain/ventures/category.js +0 -2
  55. package/dist/app/modules/domain/ventures/contact.d.ts +0 -9
  56. package/dist/app/modules/domain/ventures/contact.js +0 -2
  57. package/dist/app/modules/domain/ventures/detail.d.ts +0 -13
  58. package/dist/app/modules/domain/ventures/detail.js +0 -2
  59. package/dist/app/modules/domain/ventures/index.d.ts +0 -5
  60. package/dist/app/modules/domain/ventures/index.js +0 -2
  61. package/dist/app/modules/domain/ventures/location.d.ts +0 -10
  62. package/dist/app/modules/domain/ventures/location.js +0 -2
  63. package/dist/app/modules/domain/ventures/subscription.d.ts +0 -8
  64. package/dist/app/modules/domain/ventures/subscription.js +0 -2
  65. package/dist/app/modules/domain/ventures/venture.d.ts +0 -49
  66. package/dist/app/modules/domain/ventures/venture.js +0 -2
  67. package/dist/app/modules/infrastructure/database/entities/department.data.d.ts +0 -8
  68. package/dist/app/modules/infrastructure/database/entities/department.data.js +0 -47
  69. package/dist/app/modules/infrastructure/database/entities/event-category.data.d.ts +0 -10
  70. package/dist/app/modules/infrastructure/database/entities/event-category.data.js +0 -62
  71. package/dist/app/modules/infrastructure/database/entities/event-contact.data.d.ts +0 -7
  72. package/dist/app/modules/infrastructure/database/entities/event-contact.data.js +0 -40
  73. package/dist/app/modules/infrastructure/database/entities/event-donation.data.d.ts +0 -10
  74. package/dist/app/modules/infrastructure/database/entities/event-donation.data.js +0 -53
  75. package/dist/app/modules/infrastructure/database/entities/event-location.data.d.ts +0 -8
  76. package/dist/app/modules/infrastructure/database/entities/event-location.data.js +0 -45
  77. package/dist/app/modules/infrastructure/database/entities/index.d.ts +0 -23
  78. package/dist/app/modules/infrastructure/database/entities/index.js +0 -49
  79. package/dist/app/modules/infrastructure/database/entities/municipality.data.d.ts +0 -10
  80. package/dist/app/modules/infrastructure/database/entities/municipality.data.js +0 -52
  81. package/dist/app/modules/infrastructure/database/entities/notification.data.d.ts +0 -14
  82. package/dist/app/modules/infrastructure/database/entities/notification.data.js +0 -68
  83. package/dist/app/modules/infrastructure/database/entities/publication-clap.data.d.ts +0 -8
  84. package/dist/app/modules/infrastructure/database/entities/publication-clap.data.js +0 -43
  85. package/dist/app/modules/infrastructure/database/entities/publication-comment.data.d.ts +0 -9
  86. package/dist/app/modules/infrastructure/database/entities/publication-comment.data.js +0 -48
  87. package/dist/app/modules/infrastructure/database/entities/publication-content.data.d.ts +0 -10
  88. package/dist/app/modules/infrastructure/database/entities/publication-content.data.js +0 -52
  89. package/dist/app/modules/infrastructure/database/entities/role.data.d.ts +0 -10
  90. package/dist/app/modules/infrastructure/database/entities/role.data.js +0 -51
  91. package/dist/app/modules/infrastructure/database/entities/user-contact.data.d.ts +0 -13
  92. package/dist/app/modules/infrastructure/database/entities/user-contact.data.js +0 -70
  93. package/dist/app/modules/infrastructure/database/entities/user-detail.data.d.ts +0 -23
  94. package/dist/app/modules/infrastructure/database/entities/user-detail.data.js +0 -89
  95. package/dist/app/modules/infrastructure/database/entities/user.data.d.ts +0 -20
  96. package/dist/app/modules/infrastructure/database/entities/user.data.js +0 -97
  97. package/dist/app/modules/infrastructure/database/entities/venture-category.data.d.ts +0 -12
  98. package/dist/app/modules/infrastructure/database/entities/venture-category.data.js +0 -61
  99. package/dist/app/modules/infrastructure/database/entities/venture-contact.data.d.ts +0 -9
  100. package/dist/app/modules/infrastructure/database/entities/venture-contact.data.js +0 -50
  101. package/dist/app/modules/infrastructure/database/entities/venture-detail.data.d.ts +0 -15
  102. package/dist/app/modules/infrastructure/database/entities/venture-detail.data.js +0 -64
  103. package/dist/app/modules/infrastructure/database/entities/venture-event.data.d.ts +0 -21
  104. package/dist/app/modules/infrastructure/database/entities/venture-event.data.js +0 -101
  105. package/dist/app/modules/infrastructure/database/entities/venture-location.data.d.ts +0 -10
  106. package/dist/app/modules/infrastructure/database/entities/venture-location.data.js +0 -51
  107. package/dist/app/modules/infrastructure/database/entities/venture-publication.data.d.ts +0 -18
  108. package/dist/app/modules/infrastructure/database/entities/venture-publication.data.js +0 -80
  109. package/dist/app/modules/infrastructure/database/entities/venture-sponsorship.data.d.ts +0 -10
  110. package/dist/app/modules/infrastructure/database/entities/venture-sponsorship.data.js +0 -53
  111. package/dist/app/modules/infrastructure/database/entities/venture-subscription.data.d.ts +0 -8
  112. package/dist/app/modules/infrastructure/database/entities/venture-subscription.data.js +0 -43
  113. package/dist/app/modules/infrastructure/database/entities/venture.data.d.ts +0 -21
  114. package/dist/app/modules/infrastructure/database/entities/venture.data.js +0 -105
  115. package/dist/app/modules/utilities/index.d.ts +0 -3
  116. package/dist/app/modules/utilities/index.js +0 -2
  117. package/dist/app/modules/utilities/object-utilities.d.ts +0 -16
  118. package/dist/app/modules/utilities/object-utilities.js +0 -2
  119. package/dist/index.d.ts +0 -11
  120. package/dist/index.js +0 -27
@@ -1,49 +0,0 @@
1
- import { UserDetail } from "../user";
2
- import { VentureCategory } from "./category";
3
- import { VentureContact } from "./contact";
4
- import { VentureDetail } from "./detail";
5
- import { VentureLocation } from "./location";
6
- export interface Venture {
7
- id: string;
8
- name: string;
9
- slug: string;
10
- coverPhoto: string;
11
- description: string;
12
- active: boolean;
13
- verified: boolean;
14
- detail?: VentureDetail;
15
- ownerDetail?: UserDetail;
16
- categories: VentureCategory[];
17
- contact?: VentureContact;
18
- location?: VentureLocation;
19
- createdAt: Date;
20
- updatedAt: Date;
21
- }
22
- export interface VentureCreate {
23
- name: string;
24
- description: string;
25
- coverPhoto: string;
26
- categoriesIds: string[];
27
- contact?: {
28
- email?: string;
29
- phoneNumber?: string;
30
- };
31
- location?: {
32
- lat?: number;
33
- lng?: number;
34
- description?: string;
35
- };
36
- }
37
- export interface VentureUpdate {
38
- coverPhoto: string;
39
- categoriesIds: string[];
40
- contact?: {
41
- email?: string;
42
- phoneNumber?: string;
43
- };
44
- location?: {
45
- lat?: number;
46
- lng?: number;
47
- description?: string;
48
- };
49
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import { MunicipalityData } from "./municipality.data";
2
- export declare class DepartmentData {
3
- id: number;
4
- name: string;
5
- createdAt: Date;
6
- updatedAt: Date;
7
- municipalities: MunicipalityData[];
8
- }
@@ -1,47 +0,0 @@
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.DepartmentData = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const municipality_data_1 = require("./municipality.data");
15
- let DepartmentData = class DepartmentData {
16
- id;
17
- name;
18
- createdAt;
19
- updatedAt;
20
- municipalities;
21
- };
22
- exports.DepartmentData = DepartmentData;
23
- __decorate([
24
- (0, typeorm_1.PrimaryGeneratedColumn)(),
25
- __metadata("design:type", Number)
26
- ], DepartmentData.prototype, "id", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)(),
29
- __metadata("design:type", String)
30
- ], DepartmentData.prototype, "name", void 0);
31
- __decorate([
32
- (0, typeorm_1.CreateDateColumn)(),
33
- __metadata("design:type", Date)
34
- ], DepartmentData.prototype, "createdAt", void 0);
35
- __decorate([
36
- (0, typeorm_1.UpdateDateColumn)(),
37
- __metadata("design:type", Date)
38
- ], DepartmentData.prototype, "updatedAt", void 0);
39
- __decorate([
40
- (0, typeorm_1.OneToMany)(() => municipality_data_1.MunicipalityData, (municipality) => municipality.department),
41
- __metadata("design:type", Array)
42
- ], DepartmentData.prototype, "municipalities", void 0);
43
- exports.DepartmentData = DepartmentData = __decorate([
44
- (0, typeorm_1.Entity)({
45
- name: "department",
46
- })
47
- ], DepartmentData);
@@ -1,10 +0,0 @@
1
- import { VentureEventData } from "./venture-event.data";
2
- export declare class EventCategoryData {
3
- id: string;
4
- name: string;
5
- slug: string;
6
- description: string;
7
- createdAt: Date;
8
- updatedAt: Date;
9
- events: VentureEventData[];
10
- }
@@ -1,62 +0,0 @@
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.EventCategoryData = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const venture_event_data_1 = require("./venture-event.data");
15
- let EventCategoryData = class EventCategoryData {
16
- id;
17
- name;
18
- slug;
19
- description;
20
- createdAt;
21
- updatedAt;
22
- events;
23
- };
24
- exports.EventCategoryData = EventCategoryData;
25
- __decorate([
26
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
27
- __metadata("design:type", String)
28
- ], EventCategoryData.prototype, "id", void 0);
29
- __decorate([
30
- (0, typeorm_1.Column)({ unique: true }),
31
- __metadata("design:type", String)
32
- ], EventCategoryData.prototype, "name", void 0);
33
- __decorate([
34
- (0, typeorm_1.Column)({ unique: true }),
35
- __metadata("design:type", String)
36
- ], EventCategoryData.prototype, "slug", void 0);
37
- __decorate([
38
- (0, typeorm_1.Column)(),
39
- __metadata("design:type", String)
40
- ], EventCategoryData.prototype, "description", void 0);
41
- __decorate([
42
- (0, typeorm_1.CreateDateColumn)(),
43
- __metadata("design:type", Date)
44
- ], EventCategoryData.prototype, "createdAt", void 0);
45
- __decorate([
46
- (0, typeorm_1.UpdateDateColumn)(),
47
- __metadata("design:type", Date)
48
- ], EventCategoryData.prototype, "updatedAt", void 0);
49
- __decorate([
50
- (0, typeorm_1.ManyToMany)(() => venture_event_data_1.VentureEventData, (ventureEvent) => ventureEvent.categories),
51
- (0, typeorm_1.JoinTable)({
52
- name: "x_event_event_category",
53
- joinColumn: { name: "categoryId", referencedColumnName: "id" },
54
- inverseJoinColumn: { name: "eventId", referencedColumnName: "id" },
55
- }),
56
- __metadata("design:type", Array)
57
- ], EventCategoryData.prototype, "events", void 0);
58
- exports.EventCategoryData = EventCategoryData = __decorate([
59
- (0, typeorm_1.Entity)({
60
- name: "event_category",
61
- })
62
- ], EventCategoryData);
@@ -1,7 +0,0 @@
1
- import { VentureEventData } from "./venture-event.data";
2
- export declare class EventContactData {
3
- id: string;
4
- contactPhoneNumber?: string;
5
- contactEmail?: string;
6
- event?: VentureEventData;
7
- }
@@ -1,40 +0,0 @@
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.EventContactData = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const venture_event_data_1 = require("./venture-event.data");
15
- let EventContactData = class EventContactData {
16
- id;
17
- contactPhoneNumber;
18
- contactEmail;
19
- event;
20
- };
21
- exports.EventContactData = EventContactData;
22
- __decorate([
23
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
24
- __metadata("design:type", String)
25
- ], EventContactData.prototype, "id", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)("varchar", { nullable: true }),
28
- __metadata("design:type", String)
29
- ], EventContactData.prototype, "contactPhoneNumber", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)("varchar", { nullable: true }),
32
- __metadata("design:type", String)
33
- ], EventContactData.prototype, "contactEmail", void 0);
34
- __decorate([
35
- (0, typeorm_1.OneToOne)(() => venture_event_data_1.VentureEventData, (ventureEvent) => ventureEvent.contact),
36
- __metadata("design:type", venture_event_data_1.VentureEventData)
37
- ], EventContactData.prototype, "event", void 0);
38
- exports.EventContactData = EventContactData = __decorate([
39
- (0, typeorm_1.Entity)({ name: "event_contact" })
40
- ], EventContactData);
@@ -1,10 +0,0 @@
1
- import { UserDetailData } from "./user-detail.data";
2
- import { VentureEventData } from "./venture-event.data";
3
- export declare class EventDonationData {
4
- id: string;
5
- currency: string;
6
- amount: number;
7
- createdAt: Date;
8
- donor: UserDetailData;
9
- event: VentureEventData;
10
- }
@@ -1,53 +0,0 @@
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.EventDonationData = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const user_detail_data_1 = require("./user-detail.data");
15
- const venture_event_data_1 = require("./venture-event.data");
16
- let EventDonationData = class EventDonationData {
17
- id;
18
- currency;
19
- amount;
20
- createdAt;
21
- donor;
22
- event;
23
- };
24
- exports.EventDonationData = EventDonationData;
25
- __decorate([
26
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
27
- __metadata("design:type", String)
28
- ], EventDonationData.prototype, "id", void 0);
29
- __decorate([
30
- (0, typeorm_1.Column)(),
31
- __metadata("design:type", String)
32
- ], EventDonationData.prototype, "currency", void 0);
33
- __decorate([
34
- (0, typeorm_1.Column)(),
35
- __metadata("design:type", Number)
36
- ], EventDonationData.prototype, "amount", void 0);
37
- __decorate([
38
- (0, typeorm_1.CreateDateColumn)(),
39
- __metadata("design:type", Date)
40
- ], EventDonationData.prototype, "createdAt", void 0);
41
- __decorate([
42
- (0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetailData, (userDetail) => userDetail.donations),
43
- (0, typeorm_1.JoinColumn)({ name: "donorDetailId" }),
44
- __metadata("design:type", user_detail_data_1.UserDetailData)
45
- ], EventDonationData.prototype, "donor", void 0);
46
- __decorate([
47
- (0, typeorm_1.ManyToOne)(() => venture_event_data_1.VentureEventData, (ventureEvent) => ventureEvent.donations),
48
- (0, typeorm_1.JoinColumn)({ name: "eventId" }),
49
- __metadata("design:type", venture_event_data_1.VentureEventData)
50
- ], EventDonationData.prototype, "event", void 0);
51
- exports.EventDonationData = EventDonationData = __decorate([
52
- (0, typeorm_1.Entity)({ name: "event_donation" })
53
- ], EventDonationData);
@@ -1,8 +0,0 @@
1
- import { VentureEventData } from "./venture-event.data";
2
- export declare class EventLocationData {
3
- id: string;
4
- lat?: number;
5
- lng?: number;
6
- description?: string;
7
- event?: VentureEventData;
8
- }
@@ -1,45 +0,0 @@
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.EventLocationData = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const venture_event_data_1 = require("./venture-event.data");
15
- let EventLocationData = class EventLocationData {
16
- id;
17
- lat;
18
- lng;
19
- description;
20
- event;
21
- };
22
- exports.EventLocationData = EventLocationData;
23
- __decorate([
24
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
25
- __metadata("design:type", String)
26
- ], EventLocationData.prototype, "id", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)("float", { nullable: true }),
29
- __metadata("design:type", Number)
30
- ], EventLocationData.prototype, "lat", void 0);
31
- __decorate([
32
- (0, typeorm_1.Column)("float", { nullable: true }),
33
- __metadata("design:type", Number)
34
- ], EventLocationData.prototype, "lng", void 0);
35
- __decorate([
36
- (0, typeorm_1.Column)({ nullable: true }),
37
- __metadata("design:type", String)
38
- ], EventLocationData.prototype, "description", void 0);
39
- __decorate([
40
- (0, typeorm_1.OneToOne)(() => venture_event_data_1.VentureEventData, (ventureEvent) => ventureEvent.location),
41
- __metadata("design:type", venture_event_data_1.VentureEventData)
42
- ], EventLocationData.prototype, "event", void 0);
43
- exports.EventLocationData = EventLocationData = __decorate([
44
- (0, typeorm_1.Entity)({ name: "event_location" })
45
- ], EventLocationData);
@@ -1,23 +0,0 @@
1
- export { DepartmentData } from "./department.data";
2
- export { EventCategoryData } from "./event-category.data";
3
- export { EventContactData } from "./event-contact.data";
4
- export { EventDonationData } from "./event-donation.data";
5
- export { EventLocationData } from "./event-location.data";
6
- export { MunicipalityData } from "./municipality.data";
7
- export { NotificationData } from "./notification.data";
8
- export { PublicationClapData } from "./publication-clap.data";
9
- export { PublicationCommentData } from "./publication-comment.data";
10
- export { PublicationContentData } from "./publication-content.data";
11
- export { RoleData } from "./role.data";
12
- export { UserContactData } from "./user-contact.data";
13
- export { UserDetailData } from "./user-detail.data";
14
- export { UserData } from "./user.data";
15
- export { VentureCategoryData } from "./venture-category.data";
16
- export { VentureContactData } from "./venture-contact.data";
17
- export { VentureDetailData } from "./venture-detail.data";
18
- export { VentureEventData } from "./venture-event.data";
19
- export { VentureLocationData } from "./venture-location.data";
20
- export { VenturePublicationData } from "./venture-publication.data";
21
- export { VentureSponsorshipData } from "./venture-sponsorship.data";
22
- export { VentureSubscriptionData } from "./venture-subscription.data";
23
- export { VentureData } from "./venture.data";
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VentureData = exports.VentureSubscriptionData = exports.VentureSponsorshipData = exports.VenturePublicationData = exports.VentureLocationData = exports.VentureEventData = exports.VentureDetailData = exports.VentureContactData = exports.VentureCategoryData = exports.UserData = exports.UserDetailData = exports.UserContactData = exports.RoleData = exports.PublicationContentData = exports.PublicationCommentData = exports.PublicationClapData = exports.NotificationData = exports.MunicipalityData = exports.EventLocationData = exports.EventDonationData = exports.EventContactData = exports.EventCategoryData = exports.DepartmentData = void 0;
4
- var department_data_1 = require("./department.data");
5
- Object.defineProperty(exports, "DepartmentData", { enumerable: true, get: function () { return department_data_1.DepartmentData; } });
6
- var event_category_data_1 = require("./event-category.data");
7
- Object.defineProperty(exports, "EventCategoryData", { enumerable: true, get: function () { return event_category_data_1.EventCategoryData; } });
8
- var event_contact_data_1 = require("./event-contact.data");
9
- Object.defineProperty(exports, "EventContactData", { enumerable: true, get: function () { return event_contact_data_1.EventContactData; } });
10
- var event_donation_data_1 = require("./event-donation.data");
11
- Object.defineProperty(exports, "EventDonationData", { enumerable: true, get: function () { return event_donation_data_1.EventDonationData; } });
12
- var event_location_data_1 = require("./event-location.data");
13
- Object.defineProperty(exports, "EventLocationData", { enumerable: true, get: function () { return event_location_data_1.EventLocationData; } });
14
- var municipality_data_1 = require("./municipality.data");
15
- Object.defineProperty(exports, "MunicipalityData", { enumerable: true, get: function () { return municipality_data_1.MunicipalityData; } });
16
- var notification_data_1 = require("./notification.data");
17
- Object.defineProperty(exports, "NotificationData", { enumerable: true, get: function () { return notification_data_1.NotificationData; } });
18
- var publication_clap_data_1 = require("./publication-clap.data");
19
- Object.defineProperty(exports, "PublicationClapData", { enumerable: true, get: function () { return publication_clap_data_1.PublicationClapData; } });
20
- var publication_comment_data_1 = require("./publication-comment.data");
21
- Object.defineProperty(exports, "PublicationCommentData", { enumerable: true, get: function () { return publication_comment_data_1.PublicationCommentData; } });
22
- var publication_content_data_1 = require("./publication-content.data");
23
- Object.defineProperty(exports, "PublicationContentData", { enumerable: true, get: function () { return publication_content_data_1.PublicationContentData; } });
24
- var role_data_1 = require("./role.data");
25
- Object.defineProperty(exports, "RoleData", { enumerable: true, get: function () { return role_data_1.RoleData; } });
26
- var user_contact_data_1 = require("./user-contact.data");
27
- Object.defineProperty(exports, "UserContactData", { enumerable: true, get: function () { return user_contact_data_1.UserContactData; } });
28
- var user_detail_data_1 = require("./user-detail.data");
29
- Object.defineProperty(exports, "UserDetailData", { enumerable: true, get: function () { return user_detail_data_1.UserDetailData; } });
30
- var user_data_1 = require("./user.data");
31
- Object.defineProperty(exports, "UserData", { enumerable: true, get: function () { return user_data_1.UserData; } });
32
- var venture_category_data_1 = require("./venture-category.data");
33
- Object.defineProperty(exports, "VentureCategoryData", { enumerable: true, get: function () { return venture_category_data_1.VentureCategoryData; } });
34
- var venture_contact_data_1 = require("./venture-contact.data");
35
- Object.defineProperty(exports, "VentureContactData", { enumerable: true, get: function () { return venture_contact_data_1.VentureContactData; } });
36
- var venture_detail_data_1 = require("./venture-detail.data");
37
- Object.defineProperty(exports, "VentureDetailData", { enumerable: true, get: function () { return venture_detail_data_1.VentureDetailData; } });
38
- var venture_event_data_1 = require("./venture-event.data");
39
- Object.defineProperty(exports, "VentureEventData", { enumerable: true, get: function () { return venture_event_data_1.VentureEventData; } });
40
- var venture_location_data_1 = require("./venture-location.data");
41
- Object.defineProperty(exports, "VentureLocationData", { enumerable: true, get: function () { return venture_location_data_1.VentureLocationData; } });
42
- var venture_publication_data_1 = require("./venture-publication.data");
43
- Object.defineProperty(exports, "VenturePublicationData", { enumerable: true, get: function () { return venture_publication_data_1.VenturePublicationData; } });
44
- var venture_sponsorship_data_1 = require("./venture-sponsorship.data");
45
- Object.defineProperty(exports, "VentureSponsorshipData", { enumerable: true, get: function () { return venture_sponsorship_data_1.VentureSponsorshipData; } });
46
- var venture_subscription_data_1 = require("./venture-subscription.data");
47
- Object.defineProperty(exports, "VentureSubscriptionData", { enumerable: true, get: function () { return venture_subscription_data_1.VentureSubscriptionData; } });
48
- var venture_data_1 = require("./venture.data");
49
- Object.defineProperty(exports, "VentureData", { enumerable: true, get: function () { return venture_data_1.VentureData; } });
@@ -1,10 +0,0 @@
1
- import { DepartmentData } from "./department.data";
2
- import { UserDetailData } from "./user-detail.data";
3
- export declare class MunicipalityData {
4
- id: number;
5
- name: string;
6
- createdAt: Date;
7
- updatedAt: Date;
8
- department: DepartmentData;
9
- userDetails: UserDetailData[];
10
- }
@@ -1,52 +0,0 @@
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.MunicipalityData = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const department_data_1 = require("./department.data");
15
- const user_detail_data_1 = require("./user-detail.data");
16
- let MunicipalityData = class MunicipalityData {
17
- id;
18
- name;
19
- createdAt;
20
- updatedAt;
21
- department;
22
- userDetails;
23
- };
24
- exports.MunicipalityData = MunicipalityData;
25
- __decorate([
26
- (0, typeorm_1.PrimaryGeneratedColumn)(),
27
- __metadata("design:type", Number)
28
- ], MunicipalityData.prototype, "id", void 0);
29
- __decorate([
30
- (0, typeorm_1.Column)(),
31
- __metadata("design:type", String)
32
- ], MunicipalityData.prototype, "name", void 0);
33
- __decorate([
34
- (0, typeorm_1.CreateDateColumn)(),
35
- __metadata("design:type", Date)
36
- ], MunicipalityData.prototype, "createdAt", void 0);
37
- __decorate([
38
- (0, typeorm_1.UpdateDateColumn)(),
39
- __metadata("design:type", Date)
40
- ], MunicipalityData.prototype, "updatedAt", void 0);
41
- __decorate([
42
- (0, typeorm_1.ManyToOne)(() => department_data_1.DepartmentData, (department) => department.municipalities),
43
- (0, typeorm_1.JoinColumn)({ name: "departmentId" }),
44
- __metadata("design:type", department_data_1.DepartmentData)
45
- ], MunicipalityData.prototype, "department", void 0);
46
- __decorate([
47
- (0, typeorm_1.OneToMany)(() => user_detail_data_1.UserDetailData, (ud) => ud.municipality),
48
- __metadata("design:type", Array)
49
- ], MunicipalityData.prototype, "userDetails", void 0);
50
- exports.MunicipalityData = MunicipalityData = __decorate([
51
- (0, typeorm_1.Entity)({ name: "municipality" })
52
- ], MunicipalityData);
@@ -1,14 +0,0 @@
1
- import { NotificationType } from "../../../domain/notifications";
2
- import { NotificationStatus } from "../../../domain/notifications/notification";
3
- import { UserDetailData } from "./user-detail.data";
4
- export declare class NotificationData {
5
- id: string;
6
- title: string;
7
- type: NotificationType;
8
- status: NotificationStatus;
9
- description: string;
10
- createdAt: Date;
11
- updatedAt: Date;
12
- userDetailId: string;
13
- user: UserDetailData;
14
- }
@@ -1,68 +0,0 @@
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.NotificationData = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const notifications_1 = require("../../../domain/notifications");
15
- const notification_1 = require("../../../domain/notifications/notification");
16
- const user_detail_data_1 = require("./user-detail.data");
17
- let NotificationData = class NotificationData {
18
- id;
19
- title;
20
- type;
21
- status;
22
- description;
23
- createdAt;
24
- updatedAt;
25
- userDetailId;
26
- user;
27
- };
28
- exports.NotificationData = NotificationData;
29
- __decorate([
30
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
31
- __metadata("design:type", String)
32
- ], NotificationData.prototype, "id", void 0);
33
- __decorate([
34
- (0, typeorm_1.Column)(),
35
- __metadata("design:type", String)
36
- ], NotificationData.prototype, "title", void 0);
37
- __decorate([
38
- (0, typeorm_1.Column)({ type: "enum", enum: notifications_1.NotificationType }),
39
- __metadata("design:type", String)
40
- ], NotificationData.prototype, "type", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ type: "enum", enum: notification_1.NotificationStatus }),
43
- __metadata("design:type", String)
44
- ], NotificationData.prototype, "status", void 0);
45
- __decorate([
46
- (0, typeorm_1.Column)(),
47
- __metadata("design:type", String)
48
- ], NotificationData.prototype, "description", void 0);
49
- __decorate([
50
- (0, typeorm_1.CreateDateColumn)(),
51
- __metadata("design:type", Date)
52
- ], NotificationData.prototype, "createdAt", void 0);
53
- __decorate([
54
- (0, typeorm_1.UpdateDateColumn)(),
55
- __metadata("design:type", Date)
56
- ], NotificationData.prototype, "updatedAt", void 0);
57
- __decorate([
58
- (0, typeorm_1.Column)(),
59
- __metadata("design:type", String)
60
- ], NotificationData.prototype, "userDetailId", void 0);
61
- __decorate([
62
- (0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetailData, (userDetail) => userDetail.notifications),
63
- (0, typeorm_1.JoinColumn)({ name: "userDetailId" }),
64
- __metadata("design:type", user_detail_data_1.UserDetailData)
65
- ], NotificationData.prototype, "user", void 0);
66
- exports.NotificationData = NotificationData = __decorate([
67
- (0, typeorm_1.Entity)({ name: "notification" })
68
- ], NotificationData);
@@ -1,8 +0,0 @@
1
- import { UserDetailData } from "./user-detail.data";
2
- import { VenturePublicationData } from "./venture-publication.data";
3
- export declare class PublicationClapData {
4
- id: string;
5
- publication: VenturePublicationData;
6
- user: UserDetailData;
7
- createdAt: Date;
8
- }
@@ -1,43 +0,0 @@
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.PublicationClapData = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const user_detail_data_1 = require("./user-detail.data");
15
- const venture_publication_data_1 = require("./venture-publication.data");
16
- let PublicationClapData = class PublicationClapData {
17
- id;
18
- publication;
19
- user;
20
- createdAt;
21
- };
22
- exports.PublicationClapData = PublicationClapData;
23
- __decorate([
24
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
25
- __metadata("design:type", String)
26
- ], PublicationClapData.prototype, "id", void 0);
27
- __decorate([
28
- (0, typeorm_1.ManyToOne)(() => venture_publication_data_1.VenturePublicationData, (venturePublication) => venturePublication.claps),
29
- (0, typeorm_1.JoinColumn)({ name: "publicationId" }),
30
- __metadata("design:type", venture_publication_data_1.VenturePublicationData)
31
- ], PublicationClapData.prototype, "publication", void 0);
32
- __decorate([
33
- (0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetailData, (userDetail) => userDetail.publicationClaps),
34
- (0, typeorm_1.JoinColumn)({ name: "userDetailId" }),
35
- __metadata("design:type", user_detail_data_1.UserDetailData)
36
- ], PublicationClapData.prototype, "user", void 0);
37
- __decorate([
38
- (0, typeorm_1.CreateDateColumn)(),
39
- __metadata("design:type", Date)
40
- ], PublicationClapData.prototype, "createdAt", void 0);
41
- exports.PublicationClapData = PublicationClapData = __decorate([
42
- (0, typeorm_1.Entity)({ name: "publication_clap" })
43
- ], PublicationClapData);
@@ -1,9 +0,0 @@
1
- import { UserDetailData } from "./user-detail.data";
2
- import { VenturePublicationData } from "./venture-publication.data";
3
- export declare class PublicationCommentData {
4
- id: string;
5
- author: UserDetailData;
6
- content: string;
7
- publication: VenturePublicationData;
8
- createdAt: Date;
9
- }