echadospalante-core 11.3.2 → 11.3.4
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/package.json +1 -1
- package/src/app/modules/infrastructure/database/entities/event-contact.data.ts +2 -2
- package/dist/app/modules/domain/auth/index.d.ts +0 -3
- package/dist/app/modules/domain/auth/index.js +0 -2
- package/dist/app/modules/domain/auth/token-payload.d.ts +0 -5
- package/dist/app/modules/domain/auth/token-payload.js +0 -2
- package/dist/app/modules/domain/contributions/donation.d.ts +0 -10
- package/dist/app/modules/domain/contributions/donation.js +0 -2
- package/dist/app/modules/domain/contributions/index.d.ts +0 -2
- package/dist/app/modules/domain/contributions/index.js +0 -2
- package/dist/app/modules/domain/contributions/sponsor.d.ts +0 -10
- package/dist/app/modules/domain/contributions/sponsor.js +0 -2
- package/dist/app/modules/domain/events/event-category.d.ts +0 -10
- package/dist/app/modules/domain/events/event-category.js +0 -2
- package/dist/app/modules/domain/events/event-contact.d.ts +0 -7
- package/dist/app/modules/domain/events/event-contact.js +0 -2
- package/dist/app/modules/domain/events/event-location.d.ts +0 -8
- package/dist/app/modules/domain/events/event-location.js +0 -2
- package/dist/app/modules/domain/events/event.d.ts +0 -39
- package/dist/app/modules/domain/events/event.js +0 -2
- package/dist/app/modules/domain/events/index.d.ts +0 -4
- package/dist/app/modules/domain/events/index.js +0 -2
- package/dist/app/modules/domain/notifications/index.d.ts +0 -2
- package/dist/app/modules/domain/notifications/index.js +0 -5
- package/dist/app/modules/domain/notifications/notification.d.ts +0 -25
- package/dist/app/modules/domain/notifications/notification.js +0 -19
- package/dist/app/modules/domain/publications/clap.d.ts +0 -8
- package/dist/app/modules/domain/publications/clap.js +0 -2
- package/dist/app/modules/domain/publications/comment.d.ts +0 -9
- package/dist/app/modules/domain/publications/comment.js +0 -2
- package/dist/app/modules/domain/publications/content.d.ts +0 -10
- package/dist/app/modules/domain/publications/content.js +0 -12
- package/dist/app/modules/domain/publications/index.d.ts +0 -6
- package/dist/app/modules/domain/publications/index.js +0 -5
- package/dist/app/modules/domain/publications/publication.d.ts +0 -27
- package/dist/app/modules/domain/publications/publication.js +0 -11
- package/dist/app/modules/domain/shared/content-type.d.ts +0 -7
- package/dist/app/modules/domain/shared/content-type.js +0 -11
- package/dist/app/modules/domain/shared/geo.d.ts +0 -16
- package/dist/app/modules/domain/shared/geo.js +0 -2
- package/dist/app/modules/domain/shared/index.d.ts +0 -2
- package/dist/app/modules/domain/shared/index.js +0 -5
- package/dist/app/modules/domain/shared/pagination.d.ts +0 -4
- package/dist/app/modules/domain/shared/pagination.js +0 -2
- package/dist/app/modules/domain/user/contact.d.ts +0 -13
- package/dist/app/modules/domain/user/contact.js +0 -2
- package/dist/app/modules/domain/user/detail.d.ts +0 -20
- package/dist/app/modules/domain/user/detail.js +0 -2
- package/dist/app/modules/domain/user/index.d.ts +0 -4
- package/dist/app/modules/domain/user/index.js +0 -5
- package/dist/app/modules/domain/user/role.d.ts +0 -15
- package/dist/app/modules/domain/user/role.js +0 -10
- package/dist/app/modules/domain/user/user.d.ts +0 -21
- package/dist/app/modules/domain/user/user.js +0 -2
- package/dist/app/modules/domain/ventures/category.d.ts +0 -13
- package/dist/app/modules/domain/ventures/category.js +0 -2
- package/dist/app/modules/domain/ventures/contact.d.ts +0 -9
- package/dist/app/modules/domain/ventures/contact.js +0 -2
- package/dist/app/modules/domain/ventures/detail.d.ts +0 -13
- package/dist/app/modules/domain/ventures/detail.js +0 -2
- package/dist/app/modules/domain/ventures/index.d.ts +0 -5
- package/dist/app/modules/domain/ventures/index.js +0 -2
- package/dist/app/modules/domain/ventures/location.d.ts +0 -10
- package/dist/app/modules/domain/ventures/location.js +0 -2
- package/dist/app/modules/domain/ventures/subscription.d.ts +0 -8
- package/dist/app/modules/domain/ventures/subscription.js +0 -2
- package/dist/app/modules/domain/ventures/venture.d.ts +0 -49
- package/dist/app/modules/domain/ventures/venture.js +0 -2
- package/dist/app/modules/infrastructure/database/entities/department.data.d.ts +0 -8
- package/dist/app/modules/infrastructure/database/entities/department.data.js +0 -47
- package/dist/app/modules/infrastructure/database/entities/event-category.data.d.ts +0 -10
- package/dist/app/modules/infrastructure/database/entities/event-category.data.js +0 -62
- package/dist/app/modules/infrastructure/database/entities/event-contact.data.d.ts +0 -7
- package/dist/app/modules/infrastructure/database/entities/event-contact.data.js +0 -40
- package/dist/app/modules/infrastructure/database/entities/event-donation.data.d.ts +0 -10
- package/dist/app/modules/infrastructure/database/entities/event-donation.data.js +0 -53
- package/dist/app/modules/infrastructure/database/entities/event-location.data.d.ts +0 -8
- package/dist/app/modules/infrastructure/database/entities/event-location.data.js +0 -45
- package/dist/app/modules/infrastructure/database/entities/index.d.ts +0 -23
- package/dist/app/modules/infrastructure/database/entities/index.js +0 -49
- package/dist/app/modules/infrastructure/database/entities/municipality.data.d.ts +0 -10
- package/dist/app/modules/infrastructure/database/entities/municipality.data.js +0 -52
- package/dist/app/modules/infrastructure/database/entities/notification.data.d.ts +0 -14
- package/dist/app/modules/infrastructure/database/entities/notification.data.js +0 -68
- package/dist/app/modules/infrastructure/database/entities/publication-clap.data.d.ts +0 -8
- package/dist/app/modules/infrastructure/database/entities/publication-clap.data.js +0 -43
- package/dist/app/modules/infrastructure/database/entities/publication-comment.data.d.ts +0 -9
- package/dist/app/modules/infrastructure/database/entities/publication-comment.data.js +0 -48
- package/dist/app/modules/infrastructure/database/entities/publication-content.data.d.ts +0 -10
- package/dist/app/modules/infrastructure/database/entities/publication-content.data.js +0 -52
- package/dist/app/modules/infrastructure/database/entities/role.data.d.ts +0 -10
- package/dist/app/modules/infrastructure/database/entities/role.data.js +0 -51
- package/dist/app/modules/infrastructure/database/entities/user-contact.data.d.ts +0 -13
- package/dist/app/modules/infrastructure/database/entities/user-contact.data.js +0 -70
- package/dist/app/modules/infrastructure/database/entities/user-detail.data.d.ts +0 -23
- package/dist/app/modules/infrastructure/database/entities/user-detail.data.js +0 -89
- package/dist/app/modules/infrastructure/database/entities/user.data.d.ts +0 -20
- package/dist/app/modules/infrastructure/database/entities/user.data.js +0 -97
- package/dist/app/modules/infrastructure/database/entities/venture-category.data.d.ts +0 -12
- package/dist/app/modules/infrastructure/database/entities/venture-category.data.js +0 -61
- package/dist/app/modules/infrastructure/database/entities/venture-contact.data.d.ts +0 -9
- package/dist/app/modules/infrastructure/database/entities/venture-contact.data.js +0 -50
- package/dist/app/modules/infrastructure/database/entities/venture-detail.data.d.ts +0 -15
- package/dist/app/modules/infrastructure/database/entities/venture-detail.data.js +0 -64
- package/dist/app/modules/infrastructure/database/entities/venture-event.data.d.ts +0 -21
- package/dist/app/modules/infrastructure/database/entities/venture-event.data.js +0 -101
- package/dist/app/modules/infrastructure/database/entities/venture-location.data.d.ts +0 -10
- package/dist/app/modules/infrastructure/database/entities/venture-location.data.js +0 -51
- package/dist/app/modules/infrastructure/database/entities/venture-publication.data.d.ts +0 -18
- package/dist/app/modules/infrastructure/database/entities/venture-publication.data.js +0 -80
- package/dist/app/modules/infrastructure/database/entities/venture-sponsorship.data.d.ts +0 -10
- package/dist/app/modules/infrastructure/database/entities/venture-sponsorship.data.js +0 -53
- package/dist/app/modules/infrastructure/database/entities/venture-subscription.data.d.ts +0 -8
- package/dist/app/modules/infrastructure/database/entities/venture-subscription.data.js +0 -43
- package/dist/app/modules/infrastructure/database/entities/venture.data.d.ts +0 -21
- package/dist/app/modules/infrastructure/database/entities/venture.data.js +0 -105
- package/dist/app/modules/utilities/index.d.ts +0 -3
- package/dist/app/modules/utilities/index.js +0 -2
- package/dist/app/modules/utilities/object-utilities.d.ts +0 -16
- package/dist/app/modules/utilities/object-utilities.js +0 -2
- package/dist/index.d.ts +0 -11
- package/dist/index.js +0 -27
@@ -1,64 +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.VentureDetailData = void 0;
|
13
|
-
const typeorm_1 = require("typeorm");
|
14
|
-
const venture_event_data_1 = require("./venture-event.data");
|
15
|
-
const venture_publication_data_1 = require("./venture-publication.data");
|
16
|
-
const venture_sponsorship_data_1 = require("./venture-sponsorship.data");
|
17
|
-
const venture_subscription_data_1 = require("./venture-subscription.data");
|
18
|
-
const venture_data_1 = require("./venture.data");
|
19
|
-
let VentureDetailData = class VentureDetailData {
|
20
|
-
id;
|
21
|
-
createdAt;
|
22
|
-
updatedAt;
|
23
|
-
venture;
|
24
|
-
events;
|
25
|
-
publications;
|
26
|
-
sponsorships;
|
27
|
-
subscriptions;
|
28
|
-
};
|
29
|
-
exports.VentureDetailData = VentureDetailData;
|
30
|
-
__decorate([
|
31
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
32
|
-
__metadata("design:type", String)
|
33
|
-
], VentureDetailData.prototype, "id", void 0);
|
34
|
-
__decorate([
|
35
|
-
(0, typeorm_1.CreateDateColumn)(),
|
36
|
-
__metadata("design:type", Date)
|
37
|
-
], VentureDetailData.prototype, "createdAt", void 0);
|
38
|
-
__decorate([
|
39
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
40
|
-
__metadata("design:type", Date)
|
41
|
-
], VentureDetailData.prototype, "updatedAt", void 0);
|
42
|
-
__decorate([
|
43
|
-
(0, typeorm_1.OneToOne)(() => venture_data_1.VentureData, (venture) => venture.detail),
|
44
|
-
__metadata("design:type", venture_data_1.VentureData)
|
45
|
-
], VentureDetailData.prototype, "venture", void 0);
|
46
|
-
__decorate([
|
47
|
-
(0, typeorm_1.OneToMany)(() => venture_event_data_1.VentureEventData, (ventureEvent) => ventureEvent.ventureDetail),
|
48
|
-
__metadata("design:type", Array)
|
49
|
-
], VentureDetailData.prototype, "events", void 0);
|
50
|
-
__decorate([
|
51
|
-
(0, typeorm_1.OneToMany)(() => venture_publication_data_1.VenturePublicationData, (venturePublication) => venturePublication.detail),
|
52
|
-
__metadata("design:type", Array)
|
53
|
-
], VentureDetailData.prototype, "publications", void 0);
|
54
|
-
__decorate([
|
55
|
-
(0, typeorm_1.OneToMany)(() => venture_sponsorship_data_1.VentureSponsorshipData, (ventureSponsorship) => ventureSponsorship.detail),
|
56
|
-
__metadata("design:type", Array)
|
57
|
-
], VentureDetailData.prototype, "sponsorships", void 0);
|
58
|
-
__decorate([
|
59
|
-
(0, typeorm_1.OneToMany)(() => venture_subscription_data_1.VentureSubscriptionData, (ventureSubscription) => ventureSubscription.detail),
|
60
|
-
__metadata("design:type", Array)
|
61
|
-
], VentureDetailData.prototype, "subscriptions", void 0);
|
62
|
-
exports.VentureDetailData = VentureDetailData = __decorate([
|
63
|
-
(0, typeorm_1.Entity)({ name: "venture_detail" })
|
64
|
-
], VentureDetailData);
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { EventLocationData } from "./event-location.data";
|
2
|
-
import { EventDonationData } from "./event-donation.data";
|
3
|
-
import { VentureDetailData } from "./venture-detail.data";
|
4
|
-
import { EventCategoryData } from "./event-category.data";
|
5
|
-
import { EventContactData } from "./event-contact.data";
|
6
|
-
export declare class VentureEventData {
|
7
|
-
id: string;
|
8
|
-
title: string;
|
9
|
-
description: string;
|
10
|
-
coverPhoto: string;
|
11
|
-
slug: string;
|
12
|
-
ventureDetail?: VentureDetailData;
|
13
|
-
location: EventLocationData;
|
14
|
-
contact: EventContactData;
|
15
|
-
categories: EventCategoryData[];
|
16
|
-
donations: EventDonationData[];
|
17
|
-
startDate: Date;
|
18
|
-
endDate: Date;
|
19
|
-
createdAt: Date;
|
20
|
-
updatedAt: Date;
|
21
|
-
}
|
@@ -1,101 +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.VentureEventData = void 0;
|
13
|
-
const typeorm_1 = require("typeorm");
|
14
|
-
const event_location_data_1 = require("./event-location.data");
|
15
|
-
const event_donation_data_1 = require("./event-donation.data");
|
16
|
-
const venture_detail_data_1 = require("./venture-detail.data");
|
17
|
-
const event_category_data_1 = require("./event-category.data");
|
18
|
-
const event_contact_data_1 = require("./event-contact.data");
|
19
|
-
let VentureEventData = class VentureEventData {
|
20
|
-
id;
|
21
|
-
title;
|
22
|
-
description;
|
23
|
-
coverPhoto;
|
24
|
-
slug;
|
25
|
-
ventureDetail;
|
26
|
-
location;
|
27
|
-
contact;
|
28
|
-
categories;
|
29
|
-
donations;
|
30
|
-
startDate;
|
31
|
-
endDate;
|
32
|
-
createdAt;
|
33
|
-
updatedAt;
|
34
|
-
};
|
35
|
-
exports.VentureEventData = VentureEventData;
|
36
|
-
__decorate([
|
37
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
38
|
-
__metadata("design:type", String)
|
39
|
-
], VentureEventData.prototype, "id", void 0);
|
40
|
-
__decorate([
|
41
|
-
(0, typeorm_1.Column)(),
|
42
|
-
__metadata("design:type", String)
|
43
|
-
], VentureEventData.prototype, "title", void 0);
|
44
|
-
__decorate([
|
45
|
-
(0, typeorm_1.Column)(),
|
46
|
-
__metadata("design:type", String)
|
47
|
-
], VentureEventData.prototype, "description", void 0);
|
48
|
-
__decorate([
|
49
|
-
(0, typeorm_1.Column)(),
|
50
|
-
__metadata("design:type", String)
|
51
|
-
], VentureEventData.prototype, "coverPhoto", void 0);
|
52
|
-
__decorate([
|
53
|
-
(0, typeorm_1.Column)({ type: "varchar", unique: true }),
|
54
|
-
__metadata("design:type", String)
|
55
|
-
], VentureEventData.prototype, "slug", void 0);
|
56
|
-
__decorate([
|
57
|
-
(0, typeorm_1.ManyToOne)(() => venture_detail_data_1.VentureDetailData, (ventureDetail) => ventureDetail.events),
|
58
|
-
(0, typeorm_1.JoinColumn)({ name: "ventureId" }),
|
59
|
-
__metadata("design:type", venture_detail_data_1.VentureDetailData)
|
60
|
-
], VentureEventData.prototype, "ventureDetail", void 0);
|
61
|
-
__decorate([
|
62
|
-
(0, typeorm_1.JoinColumn)({ name: "locationId" }),
|
63
|
-
(0, typeorm_1.OneToOne)(() => event_location_data_1.EventLocationData, (eventLocation) => eventLocation.event, {
|
64
|
-
cascade: true,
|
65
|
-
}),
|
66
|
-
__metadata("design:type", event_location_data_1.EventLocationData)
|
67
|
-
], VentureEventData.prototype, "location", void 0);
|
68
|
-
__decorate([
|
69
|
-
(0, typeorm_1.JoinColumn)({ name: "contactId" }),
|
70
|
-
(0, typeorm_1.OneToOne)(() => event_contact_data_1.EventContactData, (eventLocation) => eventLocation.event, {
|
71
|
-
cascade: true,
|
72
|
-
}),
|
73
|
-
__metadata("design:type", event_contact_data_1.EventContactData)
|
74
|
-
], VentureEventData.prototype, "contact", void 0);
|
75
|
-
__decorate([
|
76
|
-
(0, typeorm_1.ManyToMany)(() => event_category_data_1.EventCategoryData, (eventCategory) => eventCategory.events),
|
77
|
-
__metadata("design:type", Array)
|
78
|
-
], VentureEventData.prototype, "categories", void 0);
|
79
|
-
__decorate([
|
80
|
-
(0, typeorm_1.OneToMany)(() => event_donation_data_1.EventDonationData, (eventDonation) => eventDonation.event),
|
81
|
-
__metadata("design:type", Array)
|
82
|
-
], VentureEventData.prototype, "donations", void 0);
|
83
|
-
__decorate([
|
84
|
-
(0, typeorm_1.Column)(),
|
85
|
-
__metadata("design:type", Date)
|
86
|
-
], VentureEventData.prototype, "startDate", void 0);
|
87
|
-
__decorate([
|
88
|
-
(0, typeorm_1.Column)(),
|
89
|
-
__metadata("design:type", Date)
|
90
|
-
], VentureEventData.prototype, "endDate", void 0);
|
91
|
-
__decorate([
|
92
|
-
(0, typeorm_1.CreateDateColumn)(),
|
93
|
-
__metadata("design:type", Date)
|
94
|
-
], VentureEventData.prototype, "createdAt", void 0);
|
95
|
-
__decorate([
|
96
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
97
|
-
__metadata("design:type", Date)
|
98
|
-
], VentureEventData.prototype, "updatedAt", void 0);
|
99
|
-
exports.VentureEventData = VentureEventData = __decorate([
|
100
|
-
(0, typeorm_1.Entity)({ name: "venture_event" })
|
101
|
-
], VentureEventData);
|
@@ -1,51 +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.VentureLocationData = void 0;
|
13
|
-
const typeorm_1 = require("typeorm");
|
14
|
-
const venture_data_1 = require("./venture.data");
|
15
|
-
let VentureLocationData = class VentureLocationData {
|
16
|
-
id;
|
17
|
-
location;
|
18
|
-
description;
|
19
|
-
createdAt;
|
20
|
-
updatedAt;
|
21
|
-
Venture;
|
22
|
-
};
|
23
|
-
exports.VentureLocationData = VentureLocationData;
|
24
|
-
__decorate([
|
25
|
-
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
26
|
-
__metadata("design:type", String)
|
27
|
-
], VentureLocationData.prototype, "id", void 0);
|
28
|
-
__decorate([
|
29
|
-
(0, typeorm_1.Column)("geometry", { spatialFeatureType: "Point", srid: 4326 }),
|
30
|
-
(0, typeorm_1.Index)({ spatial: true }),
|
31
|
-
__metadata("design:type", Object)
|
32
|
-
], VentureLocationData.prototype, "location", void 0);
|
33
|
-
__decorate([
|
34
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
35
|
-
__metadata("design:type", String)
|
36
|
-
], VentureLocationData.prototype, "description", void 0);
|
37
|
-
__decorate([
|
38
|
-
(0, typeorm_1.CreateDateColumn)(),
|
39
|
-
__metadata("design:type", Date)
|
40
|
-
], VentureLocationData.prototype, "createdAt", void 0);
|
41
|
-
__decorate([
|
42
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
43
|
-
__metadata("design:type", Date)
|
44
|
-
], VentureLocationData.prototype, "updatedAt", void 0);
|
45
|
-
__decorate([
|
46
|
-
(0, typeorm_1.OneToOne)(() => venture_data_1.VentureData, (venture) => venture.location),
|
47
|
-
__metadata("design:type", venture_data_1.VentureData)
|
48
|
-
], VentureLocationData.prototype, "Venture", void 0);
|
49
|
-
exports.VentureLocationData = VentureLocationData = __decorate([
|
50
|
-
(0, typeorm_1.Entity)({ name: "venture_location" })
|
51
|
-
], VentureLocationData);
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { PublicationClapData } from "./publication-clap.data";
|
2
|
-
import { PublicationCommentData } from "./publication-comment.data";
|
3
|
-
import { VentureDetailData } from "./venture-detail.data";
|
4
|
-
import { PublicationContentData } from "./publication-content.data";
|
5
|
-
import { PublicationType } from "../../../domain/publications";
|
6
|
-
export declare class VenturePublicationData {
|
7
|
-
id: string;
|
8
|
-
description: string;
|
9
|
-
type: PublicationType;
|
10
|
-
clapsCount: number;
|
11
|
-
createdAt: Date;
|
12
|
-
updatedAt: Date;
|
13
|
-
detailId: string;
|
14
|
-
detail: VentureDetailData;
|
15
|
-
claps: PublicationClapData[];
|
16
|
-
comments: PublicationCommentData[];
|
17
|
-
contents: PublicationContentData[];
|
18
|
-
}
|
@@ -1,80 +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.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);
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { UserDetailData } from "./user-detail.data";
|
2
|
-
import { VentureDetailData } from "./venture-detail.data";
|
3
|
-
export declare class VentureSponsorshipData {
|
4
|
-
id: string;
|
5
|
-
monthlyAmount: number;
|
6
|
-
createdAt: Date;
|
7
|
-
updatedAt: Date;
|
8
|
-
sponsor?: UserDetailData;
|
9
|
-
detail?: VentureDetailData;
|
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.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);
|
@@ -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.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);
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { VentureDetailData } from "./venture-detail.data";
|
2
|
-
import { VentureLocationData } from "./venture-location.data";
|
3
|
-
import { UserDetailData } from "./user-detail.data";
|
4
|
-
import { VentureContactData } from "./venture-contact.data";
|
5
|
-
import { VentureCategoryData } from "./venture-category.data";
|
6
|
-
export declare class VentureData {
|
7
|
-
id: string;
|
8
|
-
name: string;
|
9
|
-
slug: string;
|
10
|
-
coverPhoto: string;
|
11
|
-
description: string;
|
12
|
-
active: boolean;
|
13
|
-
verified: boolean;
|
14
|
-
createdAt: Date;
|
15
|
-
updatedAt: Date;
|
16
|
-
detail?: VentureDetailData;
|
17
|
-
location?: VentureLocationData;
|
18
|
-
ownerDetail?: UserDetailData;
|
19
|
-
contact?: VentureContactData;
|
20
|
-
categories: VentureCategoryData[];
|
21
|
-
}
|
@@ -1,105 +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.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);
|
@@ -1,16 +0,0 @@
|
|
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 {};
|
package/dist/index.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import "reflect-metadata";
|
2
|
-
export * from "./app/modules/domain/auth";
|
3
|
-
export * from "./app/modules/domain/contributions";
|
4
|
-
export * from "./app/modules/domain/publications";
|
5
|
-
export * from "./app/modules/domain/notifications";
|
6
|
-
export * from "./app/modules/domain/shared";
|
7
|
-
export * from "./app/modules/domain/user";
|
8
|
-
export * from "./app/modules/domain/events";
|
9
|
-
export * from "./app/modules/domain/ventures";
|
10
|
-
export * from "./app/modules/infrastructure/database/entities";
|
11
|
-
export * from "./app/modules/utilities";
|