echadospalante-core 12.2.0 → 13.0.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 (78) hide show
  1. package/dist/app/modules/domain/auth/index.js +2 -0
  2. package/dist/app/modules/domain/auth/token-payload.d.ts +5 -0
  3. package/dist/app/modules/domain/auth/token-payload.js +2 -0
  4. package/dist/app/modules/domain/common/content-type.d.ts +7 -0
  5. package/dist/app/modules/domain/common/content-type.js +11 -0
  6. package/dist/app/modules/domain/common/geo.d.ts +16 -0
  7. package/dist/app/modules/domain/common/geo.js +2 -0
  8. package/dist/app/modules/domain/common/index.js +5 -0
  9. package/dist/app/modules/domain/common/pagination.d.ts +4 -0
  10. package/dist/app/modules/domain/common/pagination.js +2 -0
  11. package/dist/app/modules/domain/contributions/donation.js +2 -0
  12. package/dist/app/modules/domain/contributions/index.js +2 -0
  13. package/dist/app/modules/domain/contributions/sponsor.js +2 -0
  14. package/dist/app/modules/domain/events/event-category.js +2 -0
  15. package/dist/app/modules/domain/events/event-contact.js +2 -0
  16. package/dist/app/modules/domain/notifications/index.js +5 -0
  17. package/dist/app/modules/domain/notifications/notification.js +19 -0
  18. package/dist/app/modules/domain/publications/clap.js +2 -0
  19. package/dist/app/modules/domain/publications/comment.js +2 -0
  20. package/dist/app/modules/domain/publications/content.d.ts +1 -1
  21. package/dist/app/modules/domain/publications/publication.d.ts +1 -1
  22. package/dist/app/modules/domain/shared/content-type.d.ts +7 -0
  23. package/dist/app/modules/domain/shared/content-type.js +11 -0
  24. package/dist/app/modules/domain/shared/geo.js +2 -0
  25. package/dist/app/modules/domain/shared/pagination.d.ts +4 -0
  26. package/dist/app/modules/domain/shared/pagination.js +2 -0
  27. package/dist/app/modules/domain/user/contact.js +2 -0
  28. package/dist/app/modules/domain/user/detail.d.ts +1 -1
  29. package/dist/app/modules/domain/user/detail.js +2 -0
  30. package/dist/app/modules/domain/user/index.js +5 -0
  31. package/dist/app/modules/domain/user/role.js +10 -0
  32. package/dist/app/modules/domain/user/user.js +2 -0
  33. package/dist/app/modules/domain/ventures/category.js +2 -0
  34. package/dist/app/modules/domain/ventures/contact.js +2 -0
  35. package/dist/app/modules/domain/ventures/detail.js +2 -0
  36. package/dist/app/modules/domain/ventures/index.js +2 -0
  37. package/dist/app/modules/domain/ventures/location.js +2 -0
  38. package/dist/app/modules/domain/ventures/subscription.js +2 -0
  39. package/dist/app/modules/domain/ventures/venture.js +2 -0
  40. package/dist/app/modules/infrastructure/database/entities/department.data.js +47 -0
  41. package/dist/app/modules/infrastructure/database/entities/event-category.data.js +62 -0
  42. package/dist/app/modules/infrastructure/database/entities/event-contact.data.js +40 -0
  43. package/dist/app/modules/infrastructure/database/entities/event-donation.data.js +53 -0
  44. package/dist/app/modules/infrastructure/database/entities/municipality.data.js +52 -0
  45. package/dist/app/modules/infrastructure/database/entities/notification.data.js +68 -0
  46. package/dist/app/modules/infrastructure/database/entities/publication-clap.data.js +43 -0
  47. package/dist/app/modules/infrastructure/database/entities/publication-comment.data.js +48 -0
  48. package/dist/app/modules/infrastructure/database/entities/publication-content.data.d.ts +1 -1
  49. package/dist/app/modules/infrastructure/database/entities/publication-content.data.js +2 -2
  50. package/dist/app/modules/infrastructure/database/entities/role.data.js +51 -0
  51. package/dist/app/modules/infrastructure/database/entities/user-contact.data.js +70 -0
  52. package/dist/app/modules/infrastructure/database/entities/user-detail.data.js +89 -0
  53. package/dist/app/modules/infrastructure/database/entities/user.data.js +97 -0
  54. package/dist/app/modules/infrastructure/database/entities/venture-category.data.js +61 -0
  55. package/dist/app/modules/infrastructure/database/entities/venture-contact.data.js +50 -0
  56. package/dist/app/modules/infrastructure/database/entities/venture-detail.data.js +64 -0
  57. package/dist/app/modules/infrastructure/database/entities/venture-location.data.js +51 -0
  58. package/dist/app/modules/infrastructure/database/entities/venture-publication.data.js +80 -0
  59. package/dist/app/modules/infrastructure/database/entities/venture-sponsorship.data.js +53 -0
  60. package/dist/app/modules/infrastructure/database/entities/venture-subscription.data.js +43 -0
  61. package/dist/app/modules/infrastructure/database/entities/venture.data.js +105 -0
  62. package/dist/app/modules/utilities/index.d.ts +3 -0
  63. package/dist/app/modules/utilities/index.js +2 -0
  64. package/dist/app/modules/utilities/object-utilities.d.ts +16 -0
  65. package/dist/app/modules/utilities/object-utilities.js +2 -0
  66. package/dist/index.d.ts +1 -1
  67. package/dist/index.js +1 -1
  68. package/package.json +1 -1
  69. package/src/app/modules/domain/common/index.ts +3 -0
  70. package/src/app/modules/domain/publications/content.ts +1 -1
  71. package/src/app/modules/domain/publications/publication.ts +1 -1
  72. package/src/app/modules/domain/user/detail.ts +1 -1
  73. package/src/app/modules/infrastructure/database/entities/publication-content.data.ts +1 -1
  74. package/src/index.ts +1 -1
  75. /package/{src/app/modules/domain/shared/index.ts → dist/app/modules/domain/common/index.d.ts} +0 -0
  76. /package/src/app/modules/domain/{shared → common}/content-type.ts +0 -0
  77. /package/src/app/modules/domain/{shared → common}/geo.ts +0 -0
  78. /package/src/app/modules/domain/{shared → common}/pagination.ts +0 -0
@@ -0,0 +1,80 @@
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.VenturePublicationData = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const publication_clap_data_1 = require("./publication-clap.data");
15
+ const publication_comment_data_1 = require("./publication-comment.data");
16
+ const venture_detail_data_1 = require("./venture-detail.data");
17
+ const publication_content_data_1 = require("./publication-content.data");
18
+ const publications_1 = require("../../../domain/publications");
19
+ let VenturePublicationData = class VenturePublicationData {
20
+ id;
21
+ description;
22
+ type;
23
+ clapsCount;
24
+ createdAt;
25
+ updatedAt;
26
+ detailId;
27
+ detail;
28
+ claps;
29
+ comments;
30
+ contents;
31
+ };
32
+ exports.VenturePublicationData = VenturePublicationData;
33
+ __decorate([
34
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
35
+ __metadata("design:type", String)
36
+ ], VenturePublicationData.prototype, "id", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)(),
39
+ __metadata("design:type", String)
40
+ ], VenturePublicationData.prototype, "description", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)({ type: "enum", enum: publications_1.PublicationType }),
43
+ __metadata("design:type", String)
44
+ ], VenturePublicationData.prototype, "type", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Column)(),
47
+ __metadata("design:type", Number)
48
+ ], VenturePublicationData.prototype, "clapsCount", void 0);
49
+ __decorate([
50
+ (0, typeorm_1.CreateDateColumn)(),
51
+ __metadata("design:type", Date)
52
+ ], VenturePublicationData.prototype, "createdAt", void 0);
53
+ __decorate([
54
+ (0, typeorm_1.UpdateDateColumn)(),
55
+ __metadata("design:type", Date)
56
+ ], VenturePublicationData.prototype, "updatedAt", void 0);
57
+ __decorate([
58
+ (0, typeorm_1.Column)(),
59
+ __metadata("design:type", String)
60
+ ], VenturePublicationData.prototype, "detailId", void 0);
61
+ __decorate([
62
+ (0, typeorm_1.ManyToOne)(() => venture_detail_data_1.VentureDetailData, (ventureDetail) => ventureDetail.publications),
63
+ (0, typeorm_1.JoinColumn)({ name: "detailId" }),
64
+ __metadata("design:type", venture_detail_data_1.VentureDetailData)
65
+ ], VenturePublicationData.prototype, "detail", void 0);
66
+ __decorate([
67
+ (0, typeorm_1.OneToMany)(() => publication_clap_data_1.PublicationClapData, (publicationClap) => publicationClap.publication),
68
+ __metadata("design:type", Array)
69
+ ], VenturePublicationData.prototype, "claps", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.OneToMany)(() => publication_comment_data_1.PublicationCommentData, (publicationComment) => publicationComment.publication),
72
+ __metadata("design:type", Array)
73
+ ], VenturePublicationData.prototype, "comments", void 0);
74
+ __decorate([
75
+ (0, typeorm_1.OneToMany)(() => publication_content_data_1.PublicationContentData, (publicationContent) => publicationContent.publication),
76
+ __metadata("design:type", Array)
77
+ ], VenturePublicationData.prototype, "contents", void 0);
78
+ exports.VenturePublicationData = VenturePublicationData = __decorate([
79
+ (0, typeorm_1.Entity)({ name: "venture_publication" })
80
+ ], VenturePublicationData);
@@ -0,0 +1,53 @@
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.VentureSponsorshipData = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const user_detail_data_1 = require("./user-detail.data");
15
+ const venture_detail_data_1 = require("./venture-detail.data");
16
+ let VentureSponsorshipData = class VentureSponsorshipData {
17
+ id;
18
+ monthlyAmount;
19
+ createdAt;
20
+ updatedAt;
21
+ sponsor;
22
+ detail;
23
+ };
24
+ exports.VentureSponsorshipData = VentureSponsorshipData;
25
+ __decorate([
26
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
27
+ __metadata("design:type", String)
28
+ ], VentureSponsorshipData.prototype, "id", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)("float"),
31
+ __metadata("design:type", Number)
32
+ ], VentureSponsorshipData.prototype, "monthlyAmount", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.CreateDateColumn)(),
35
+ __metadata("design:type", Date)
36
+ ], VentureSponsorshipData.prototype, "createdAt", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.UpdateDateColumn)(),
39
+ __metadata("design:type", Date)
40
+ ], VentureSponsorshipData.prototype, "updatedAt", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetailData, (userDetail) => userDetail.sponsorships),
43
+ (0, typeorm_1.JoinColumn)({ name: "sponsorDetailId" }),
44
+ __metadata("design:type", user_detail_data_1.UserDetailData)
45
+ ], VentureSponsorshipData.prototype, "sponsor", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.ManyToOne)(() => venture_detail_data_1.VentureDetailData, (ventureDetail) => ventureDetail.sponsorships),
48
+ (0, typeorm_1.JoinColumn)({ name: "ventureDetailId" }),
49
+ __metadata("design:type", venture_detail_data_1.VentureDetailData)
50
+ ], VentureSponsorshipData.prototype, "detail", void 0);
51
+ exports.VentureSponsorshipData = VentureSponsorshipData = __decorate([
52
+ (0, typeorm_1.Entity)({ name: "venture_sponsorship" })
53
+ ], VentureSponsorshipData);
@@ -0,0 +1,43 @@
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.VentureSubscriptionData = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const user_detail_data_1 = require("./user-detail.data");
15
+ const venture_detail_data_1 = require("./venture-detail.data");
16
+ let VentureSubscriptionData = class VentureSubscriptionData {
17
+ id;
18
+ createdAt;
19
+ subscriber;
20
+ detail;
21
+ };
22
+ exports.VentureSubscriptionData = VentureSubscriptionData;
23
+ __decorate([
24
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
25
+ __metadata("design:type", String)
26
+ ], VentureSubscriptionData.prototype, "id", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.CreateDateColumn)(),
29
+ __metadata("design:type", Date)
30
+ ], VentureSubscriptionData.prototype, "createdAt", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetailData, (userDetail) => userDetail.subscriptions),
33
+ (0, typeorm_1.JoinColumn)({ name: "subscriberDetailId" }),
34
+ __metadata("design:type", user_detail_data_1.UserDetailData)
35
+ ], VentureSubscriptionData.prototype, "subscriber", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.ManyToOne)(() => venture_detail_data_1.VentureDetailData, (ventureDetail) => ventureDetail.subscriptions),
38
+ (0, typeorm_1.JoinColumn)({ name: "ventureId" }),
39
+ __metadata("design:type", venture_detail_data_1.VentureDetailData)
40
+ ], VentureSubscriptionData.prototype, "detail", void 0);
41
+ exports.VentureSubscriptionData = VentureSubscriptionData = __decorate([
42
+ (0, typeorm_1.Entity)({ name: "venture_subscription" })
43
+ ], VentureSubscriptionData);
@@ -0,0 +1,105 @@
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.VentureData = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const venture_detail_data_1 = require("./venture-detail.data");
15
+ const venture_location_data_1 = require("./venture-location.data");
16
+ const user_detail_data_1 = require("./user-detail.data");
17
+ const venture_contact_data_1 = require("./venture-contact.data");
18
+ const venture_category_data_1 = require("./venture-category.data");
19
+ let VentureData = class VentureData {
20
+ id;
21
+ name;
22
+ slug;
23
+ coverPhoto;
24
+ description;
25
+ active;
26
+ verified;
27
+ createdAt;
28
+ updatedAt;
29
+ detail;
30
+ location;
31
+ ownerDetail;
32
+ contact;
33
+ categories;
34
+ };
35
+ exports.VentureData = VentureData;
36
+ __decorate([
37
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
38
+ __metadata("design:type", String)
39
+ ], VentureData.prototype, "id", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)(),
42
+ __metadata("design:type", String)
43
+ ], VentureData.prototype, "name", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ unique: true }),
46
+ __metadata("design:type", String)
47
+ ], VentureData.prototype, "slug", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)(),
50
+ __metadata("design:type", String)
51
+ ], VentureData.prototype, "coverPhoto", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)(),
54
+ __metadata("design:type", String)
55
+ ], VentureData.prototype, "description", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)({ default: true }),
58
+ __metadata("design:type", Boolean)
59
+ ], VentureData.prototype, "active", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ default: false }),
62
+ __metadata("design:type", Boolean)
63
+ ], VentureData.prototype, "verified", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.CreateDateColumn)(),
66
+ __metadata("design:type", Date)
67
+ ], VentureData.prototype, "createdAt", void 0);
68
+ __decorate([
69
+ (0, typeorm_1.UpdateDateColumn)(),
70
+ __metadata("design:type", Date)
71
+ ], VentureData.prototype, "updatedAt", void 0);
72
+ __decorate([
73
+ (0, typeorm_1.OneToOne)(() => venture_detail_data_1.VentureDetailData, (ventureDetail) => ventureDetail.venture, {
74
+ cascade: true,
75
+ }),
76
+ (0, typeorm_1.JoinColumn)({ name: "detailId" }),
77
+ __metadata("design:type", venture_detail_data_1.VentureDetailData)
78
+ ], VentureData.prototype, "detail", void 0);
79
+ __decorate([
80
+ (0, typeorm_1.OneToOne)(() => venture_location_data_1.VentureLocationData, (ventureLocation) => ventureLocation.Venture, { cascade: true }),
81
+ (0, typeorm_1.JoinColumn)({ name: "locationId" }),
82
+ __metadata("design:type", venture_location_data_1.VentureLocationData)
83
+ ], VentureData.prototype, "location", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetailData, (userDetail) => userDetail.ventures),
86
+ (0, typeorm_1.JoinColumn)({ name: "ownerDetailId" }),
87
+ __metadata("design:type", user_detail_data_1.UserDetailData)
88
+ ], VentureData.prototype, "ownerDetail", void 0);
89
+ __decorate([
90
+ (0, typeorm_1.OneToOne)(() => venture_contact_data_1.VentureContactData, (ventureContact) => ventureContact.Venture, { cascade: true }),
91
+ (0, typeorm_1.JoinColumn)({ name: "ventureContactId" }),
92
+ __metadata("design:type", venture_contact_data_1.VentureContactData)
93
+ ], VentureData.prototype, "contact", void 0);
94
+ __decorate([
95
+ (0, typeorm_1.ManyToMany)(() => venture_category_data_1.VentureCategoryData, (ventureCategory) => ventureCategory.ventures),
96
+ (0, typeorm_1.JoinTable)({
97
+ name: "x_venture_venture_category",
98
+ joinColumn: { name: "ventureId", referencedColumnName: "id" },
99
+ inverseJoinColumn: { name: "categoryId", referencedColumnName: "id" },
100
+ }),
101
+ __metadata("design:type", Array)
102
+ ], VentureData.prototype, "categories", void 0);
103
+ exports.VentureData = VentureData = __decorate([
104
+ (0, typeorm_1.Entity)({ name: "venture" })
105
+ ], VentureData);
@@ -0,0 +1,3 @@
1
+ export { BasicType } from "./object-utilities";
2
+ export { ComplexType } from "./object-utilities";
3
+ export { ComplexInclude } from "./object-utilities";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ type BasicProperties<T> = {
2
+ [K in keyof T]: T[K] extends boolean | number | string | Date ? T[K] : never;
3
+ };
4
+ type ComplexProperties<T> = {
5
+ [K in keyof T]: T[K] extends object | any[] ? T[K] extends Date ? never : T[K] : never;
6
+ };
7
+ type NonNever<T> = {
8
+ [K in keyof T as T[K] extends never ? never : K]: T[K];
9
+ };
10
+ export type BasicType<T> = NonNever<BasicProperties<T>>;
11
+ export type ComplexType<T> = NonNever<ComplexProperties<T>>;
12
+ type Booleanized<T> = {
13
+ [K in keyof T]: boolean;
14
+ };
15
+ export type ComplexInclude<T> = Booleanized<ComplexType<T>>;
16
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -3,9 +3,9 @@ export * from "./app/modules/domain/auth";
3
3
  export * from "./app/modules/domain/contributions";
4
4
  export * from "./app/modules/domain/publications";
5
5
  export * from "./app/modules/domain/notifications";
6
- export * from "./app/modules/domain/shared";
7
6
  export * from "./app/modules/domain/user";
8
7
  export * from "./app/modules/domain/events";
9
8
  export * from "./app/modules/domain/ventures";
9
+ export * from "./app/modules/domain/common";
10
10
  export * from "./app/modules/infrastructure/database/entities";
11
11
  export * from "./app/modules/utilities";
package/dist/index.js CHANGED
@@ -19,9 +19,9 @@ __exportStar(require("./app/modules/domain/auth"), exports);
19
19
  __exportStar(require("./app/modules/domain/contributions"), exports);
20
20
  __exportStar(require("./app/modules/domain/publications"), exports);
21
21
  __exportStar(require("./app/modules/domain/notifications"), exports);
22
- __exportStar(require("./app/modules/domain/shared"), exports);
23
22
  __exportStar(require("./app/modules/domain/user"), exports);
24
23
  __exportStar(require("./app/modules/domain/events"), exports);
25
24
  __exportStar(require("./app/modules/domain/ventures"), exports);
25
+ __exportStar(require("./app/modules/domain/common"), exports);
26
26
  __exportStar(require("./app/modules/infrastructure/database/entities"), exports);
27
27
  __exportStar(require("./app/modules/utilities"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echadospalante-core",
3
- "version": "12.2.0",
3
+ "version": "13.0.0",
4
4
  "description": "This package contains the core of the echadospalante project, it contains the domain entities, helpers, and other utilities that are shared between the different services.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,3 @@
1
+ export { ContentType } from "./content-type";
2
+ export { Department, Municipality } from "./geo";
3
+ export { Pagination } from "./pagination";
@@ -1,4 +1,4 @@
1
- import { ContentType } from "../shared";
1
+ import { ContentType } from "../common";
2
2
  import { VenturePublication } from "./publication";
3
3
 
4
4
  export class PublicationContent {
@@ -1,4 +1,4 @@
1
- import { ContentType } from "../shared";
1
+ import { ContentType } from "../common";
2
2
  import { Venture } from "../ventures/venture";
3
3
  import { PublicationClap } from "./clap";
4
4
  import { PublicationComment } from "./comment";
@@ -1,7 +1,7 @@
1
1
  import { EventDonation, VentureSponsorship } from "../contributions";
2
2
  import { PublicationClap, PublicationComment } from "../publications";
3
3
  // import { NewsClap } from "../news";
4
- import { Municipality } from "../shared/geo";
4
+ import { Municipality } from "../common/geo";
5
5
  import { Venture, VentureCategory, VentureSubscription } from "../ventures";
6
6
  import { User } from "./user";
7
7
  import { Notification } from "../notifications";
@@ -8,7 +8,7 @@ import {
8
8
  UpdateDateColumn,
9
9
  } from "typeorm";
10
10
 
11
- import { ContentType } from "../../../domain/shared";
11
+ import { ContentType } from "../../../domain/common";
12
12
  import { VenturePublicationData } from "./venture-publication.data";
13
13
 
14
14
  @Entity({ name: "publication_content" })
package/src/index.ts CHANGED
@@ -4,9 +4,9 @@ export * from "./app/modules/domain/auth";
4
4
  export * from "./app/modules/domain/contributions";
5
5
  export * from "./app/modules/domain/publications";
6
6
  export * from "./app/modules/domain/notifications";
7
- export * from "./app/modules/domain/shared";
8
7
  export * from "./app/modules/domain/user";
9
8
  export * from "./app/modules/domain/events";
10
9
  export * from "./app/modules/domain/ventures";
10
+ export * from "./app/modules/domain/common";
11
11
  export * from "./app/modules/infrastructure/database/entities";
12
12
  export * from "./app/modules/utilities";