echadospalante-core 8.8.1 → 9.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.
- package/dist/app/modules/{donations → domain/donations}/sponsor.d.ts +2 -2
- package/dist/app/modules/infrastructure/database/entities/department.data.d.ts +8 -0
- package/dist/app/modules/infrastructure/database/entities/department.data.js +45 -0
- package/dist/app/modules/infrastructure/database/entities/event-category.data.d.ts +10 -0
- package/dist/app/modules/infrastructure/database/entities/event-category.data.js +60 -0
- package/dist/app/modules/infrastructure/database/entities/event-donation.data.d.ts +12 -0
- package/dist/app/modules/infrastructure/database/entities/event-donation.data.js +63 -0
- package/dist/app/modules/infrastructure/database/entities/event-location.data.d.ts +8 -0
- package/dist/app/modules/infrastructure/database/entities/event-location.data.js +45 -0
- package/dist/app/modules/infrastructure/database/entities/index.d.ts +22 -0
- package/dist/app/modules/infrastructure/database/entities/index.js +47 -0
- package/dist/app/modules/infrastructure/database/entities/municipality.data.d.ts +11 -0
- package/dist/app/modules/infrastructure/database/entities/municipality.data.js +57 -0
- package/dist/app/modules/infrastructure/database/entities/notification.data.d.ts +14 -0
- package/dist/app/modules/infrastructure/database/entities/notification.data.js +68 -0
- package/dist/app/modules/infrastructure/database/entities/publication-clap.data.d.ts +10 -0
- package/dist/app/modules/infrastructure/database/entities/publication-clap.data.js +53 -0
- package/dist/app/modules/infrastructure/database/entities/publication-comment.data.d.ts +12 -0
- package/dist/app/modules/infrastructure/database/entities/publication-comment.data.js +63 -0
- package/dist/app/modules/infrastructure/database/entities/publication-content.data.d.ts +11 -0
- package/dist/app/modules/infrastructure/database/entities/publication-content.data.js +57 -0
- package/dist/app/modules/infrastructure/database/entities/role.data.d.ts +10 -0
- package/dist/app/modules/infrastructure/database/entities/role.data.js +51 -0
- package/dist/app/modules/infrastructure/database/entities/user-contact.data.d.ts +13 -0
- package/dist/app/modules/infrastructure/database/entities/user-contact.data.js +70 -0
- package/dist/app/modules/infrastructure/database/entities/user-detail.data.d.ts +24 -0
- package/dist/app/modules/infrastructure/database/entities/user-detail.data.js +94 -0
- package/dist/app/modules/infrastructure/database/entities/user.data.d.ts +22 -0
- package/dist/app/modules/infrastructure/database/entities/user.data.js +107 -0
- package/dist/app/modules/infrastructure/database/entities/venture-category.data.d.ts +12 -0
- package/dist/app/modules/infrastructure/database/entities/venture-category.data.js +61 -0
- package/dist/app/modules/infrastructure/database/entities/venture-contact.data.d.ts +9 -0
- package/dist/app/modules/infrastructure/database/entities/venture-contact.data.js +50 -0
- package/dist/app/modules/infrastructure/database/entities/venture-detail.data.d.ts +15 -0
- package/dist/app/modules/infrastructure/database/entities/venture-detail.data.js +64 -0
- package/dist/app/modules/infrastructure/database/entities/venture-event.data.d.ts +20 -0
- package/dist/app/modules/infrastructure/database/entities/venture-event.data.js +95 -0
- package/dist/app/modules/infrastructure/database/entities/venture-location.data.d.ts +11 -0
- package/dist/app/modules/infrastructure/database/entities/venture-location.data.js +60 -0
- package/dist/app/modules/infrastructure/database/entities/venture-publication.data.d.ts +18 -0
- package/dist/app/modules/infrastructure/database/entities/venture-publication.data.js +80 -0
- package/dist/app/modules/infrastructure/database/entities/venture-sponsorship.data.d.ts +12 -0
- package/dist/app/modules/infrastructure/database/entities/venture-sponsorship.data.js +63 -0
- package/dist/app/modules/infrastructure/database/entities/venture-subscription.data.d.ts +10 -0
- package/dist/app/modules/infrastructure/database/entities/venture-subscription.data.js +53 -0
- package/dist/app/modules/infrastructure/database/entities/venture-suscription.data.d.ts +10 -0
- package/dist/app/modules/infrastructure/database/entities/venture-suscription.data.js +53 -0
- package/dist/app/modules/infrastructure/database/entities/venture.data.d.ts +25 -0
- package/dist/app/modules/infrastructure/database/entities/venture.data.js +123 -0
- package/dist/app/modules/utilities/object-utilities.js +2 -0
- package/dist/index.d.ts +11 -9
- package/dist/index.js +11 -10
- package/package.json +7 -1
- package/src/app/modules/{donations → domain/donations}/sponsor.ts +2 -2
- package/src/app/modules/infrastructure/database/entities/department.data.ts +28 -0
- package/src/app/modules/infrastructure/database/entities/event-category.data.ts +43 -0
- package/src/app/modules/infrastructure/database/entities/event-donation.data.ts +40 -0
- package/src/app/modules/infrastructure/database/entities/event-location.data.ts +20 -0
- package/src/app/modules/infrastructure/database/entities/index.ts +22 -0
- package/src/app/modules/infrastructure/database/entities/municipality.data.ts +38 -0
- package/src/app/modules/infrastructure/database/entities/notification.data.ts +44 -0
- package/src/app/modules/infrastructure/database/entities/publication-clap.data.ts +37 -0
- package/src/app/modules/infrastructure/database/entities/publication-comment.data.ts +44 -0
- package/src/app/modules/infrastructure/database/entities/publication-content.data.ts +40 -0
- package/src/app/modules/infrastructure/database/entities/role.data.ts +32 -0
- package/src/app/modules/infrastructure/database/entities/user-contact.data.ts +43 -0
- package/src/app/modules/infrastructure/database/entities/user-detail.data.ts +75 -0
- package/src/app/modules/infrastructure/database/entities/user.data.ts +71 -0
- package/src/app/modules/infrastructure/database/entities/venture-category.data.ts +38 -0
- package/src/app/modules/infrastructure/database/entities/venture-contact.data.ts +30 -0
- package/src/app/modules/infrastructure/database/entities/venture-detail.data.ts +53 -0
- package/src/app/modules/infrastructure/database/entities/venture-event.data.ts +66 -0
- package/src/app/modules/infrastructure/database/entities/venture-location.data.ts +36 -0
- package/src/app/modules/infrastructure/database/entities/venture-publication.data.ts +65 -0
- package/src/app/modules/infrastructure/database/entities/venture-sponsorship.data.ts +43 -0
- package/src/app/modules/infrastructure/database/entities/venture-subscription.data.ts +37 -0
- package/src/app/modules/infrastructure/database/entities/venture.data.ts +92 -0
- package/src/index.ts +12 -10
- package/tsconfig.json +23 -106
- package/tsconfig.tsbuildinfo +1 -0
- package/dist/app/modules/shared/geo.js +0 -10
- /package/dist/app/modules/{auth → domain/auth}/index.d.ts +0 -0
- /package/dist/app/modules/{auth → domain/auth}/index.js +0 -0
- /package/dist/app/modules/{auth → domain/auth}/token-payload.d.ts +0 -0
- /package/dist/app/modules/{auth → domain/auth}/token-payload.js +0 -0
- /package/dist/app/modules/{donations → domain/donations}/donation.d.ts +0 -0
- /package/dist/app/modules/{donations → domain/donations}/donation.js +0 -0
- /package/dist/app/modules/{donations → domain/donations}/index.d.ts +0 -0
- /package/dist/app/modules/{donations → domain/donations}/index.js +0 -0
- /package/dist/app/modules/{donations → domain/donations}/sponsor.js +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/category.d.ts +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/category.js +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/clap.d.ts +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/clap.js +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/comment.d.ts +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/comment.js +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/event.d.ts +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/event.js +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/index.d.ts +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/index.js +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/location.d.ts +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/location.js +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/publication.d.ts +0 -0
- /package/dist/app/modules/{feeds → domain/feeds}/publication.js +0 -0
- /package/dist/app/modules/{news → domain/news}/category.d.ts +0 -0
- /package/dist/app/modules/{news → domain/news}/category.js +0 -0
- /package/dist/app/modules/{news → domain/news}/clap.d.ts +0 -0
- /package/dist/app/modules/{news → domain/news}/clap.js +0 -0
- /package/dist/app/modules/{news → domain/news}/index.d.ts +0 -0
- /package/dist/app/modules/{news → domain/news}/index.js +0 -0
- /package/dist/app/modules/{news → domain/news}/news.d.ts +0 -0
- /package/dist/app/modules/{news → domain/news}/news.js +0 -0
- /package/dist/app/modules/{notifications → domain/notifications}/index.d.ts +0 -0
- /package/dist/app/modules/{notifications → domain/notifications}/index.js +0 -0
- /package/dist/app/modules/{notifications → domain/notifications}/notification.d.ts +0 -0
- /package/dist/app/modules/{notifications → domain/notifications}/notification.js +0 -0
- /package/dist/app/modules/{shared → domain/shared}/content-type.d.ts +0 -0
- /package/dist/app/modules/{shared → domain/shared}/content-type.js +0 -0
- /package/dist/app/modules/{shared → domain/shared}/geo.d.ts +0 -0
- /package/dist/app/modules/{shared/pagination.js → domain/shared/geo.js} +0 -0
- /package/dist/app/modules/{shared → domain/shared}/index.d.ts +0 -0
- /package/dist/app/modules/{shared → domain/shared}/index.js +0 -0
- /package/dist/app/modules/{shared → domain/shared}/pagination.d.ts +0 -0
- /package/dist/app/modules/{user/contact.js → domain/shared/pagination.js} +0 -0
- /package/dist/app/modules/{user → domain/user}/contact.d.ts +0 -0
- /package/dist/app/modules/{ventures → domain/user}/contact.js +0 -0
- /package/dist/app/modules/{user → domain/user}/detail.d.ts +0 -0
- /package/dist/app/modules/{user → domain/user}/detail.js +0 -0
- /package/dist/app/modules/{user → domain/user}/index.d.ts +0 -0
- /package/dist/app/modules/{user → domain/user}/index.js +0 -0
- /package/dist/app/modules/{user → domain/user}/role.d.ts +0 -0
- /package/dist/app/modules/{user → domain/user}/role.js +0 -0
- /package/dist/app/modules/{user → domain/user}/user.d.ts +0 -0
- /package/dist/app/modules/{user → domain/user}/user.js +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/category.d.ts +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/category.js +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/contact.d.ts +0 -0
- /package/dist/app/modules/{utility/index.js → domain/ventures/contact.js} +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/detail.d.ts +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/detail.js +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/index.d.ts +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/index.js +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/location.d.ts +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/location.js +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/subscription.d.ts +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/subscription.js +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/venture.d.ts +0 -0
- /package/dist/app/modules/{ventures → domain/ventures}/venture.js +0 -0
- /package/dist/app/modules/{utility → utilities}/index.d.ts +0 -0
- /package/dist/app/modules/{utility/object-utilities.js → utilities/index.js} +0 -0
- /package/dist/app/modules/{utility → utilities}/object-utilities.d.ts +0 -0
- /package/src/app/modules/{auth → domain/auth}/index.ts +0 -0
- /package/src/app/modules/{auth → domain/auth}/token-payload.ts +0 -0
- /package/src/app/modules/{donations → domain/donations}/donation.ts +0 -0
- /package/src/app/modules/{donations → domain/donations}/index.ts +0 -0
- /package/src/app/modules/{feeds → domain/feeds}/category.ts +0 -0
- /package/src/app/modules/{feeds → domain/feeds}/clap.ts +0 -0
- /package/src/app/modules/{feeds → domain/feeds}/comment.ts +0 -0
- /package/src/app/modules/{feeds → domain/feeds}/event.ts +0 -0
- /package/src/app/modules/{feeds → domain/feeds}/index.ts +0 -0
- /package/src/app/modules/{feeds → domain/feeds}/location.ts +0 -0
- /package/src/app/modules/{feeds → domain/feeds}/publication.ts +0 -0
- /package/src/app/modules/{news → domain/news}/category.ts +0 -0
- /package/src/app/modules/{news → domain/news}/clap.ts +0 -0
- /package/src/app/modules/{news → domain/news}/index.ts +0 -0
- /package/src/app/modules/{news → domain/news}/news.ts +0 -0
- /package/src/app/modules/{notifications → domain/notifications}/index.ts +0 -0
- /package/src/app/modules/{notifications → domain/notifications}/notification.ts +0 -0
- /package/src/app/modules/{shared → domain/shared}/content-type.ts +0 -0
- /package/src/app/modules/{shared → domain/shared}/geo.ts +0 -0
- /package/src/app/modules/{shared → domain/shared}/index.ts +0 -0
- /package/src/app/modules/{shared → domain/shared}/pagination.ts +0 -0
- /package/src/app/modules/{user → domain/user}/contact.ts +0 -0
- /package/src/app/modules/{user → domain/user}/detail.ts +0 -0
- /package/src/app/modules/{user → domain/user}/index.ts +0 -0
- /package/src/app/modules/{user → domain/user}/role.ts +0 -0
- /package/src/app/modules/{user → domain/user}/user.ts +0 -0
- /package/src/app/modules/{ventures → domain/ventures}/category.ts +0 -0
- /package/src/app/modules/{ventures → domain/ventures}/contact.ts +0 -0
- /package/src/app/modules/{ventures → domain/ventures}/detail.ts +0 -0
- /package/src/app/modules/{ventures → domain/ventures}/index.ts +0 -0
- /package/src/app/modules/{ventures → domain/ventures}/location.ts +0 -0
- /package/src/app/modules/{ventures → domain/ventures}/subscription.ts +0 -0
- /package/src/app/modules/{ventures → domain/ventures}/venture.ts +0 -0
- /package/src/app/modules/{utility → utilities}/index.ts +0 -0
- /package/src/app/modules/{utility → utilities}/object-utilities.ts +0 -0
@@ -0,0 +1,64 @@
|
|
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)()
|
64
|
+
], VentureDetailData);
|
@@ -0,0 +1,20 @@
|
|
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
|
+
export declare class VentureEventData {
|
6
|
+
id: string;
|
7
|
+
title: string;
|
8
|
+
description: string;
|
9
|
+
coverPhoto: string;
|
10
|
+
ventureId: string;
|
11
|
+
startDate: Date;
|
12
|
+
endDate: Date;
|
13
|
+
createdAt: Date;
|
14
|
+
updatedAt: Date;
|
15
|
+
locationId: string;
|
16
|
+
ventureDetail: VentureDetailData;
|
17
|
+
location: EventLocationData;
|
18
|
+
donations: EventDonationData[];
|
19
|
+
EventCategory: EventCategoryData[];
|
20
|
+
}
|
@@ -0,0 +1,95 @@
|
|
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
|
+
let VentureEventData = class VentureEventData {
|
19
|
+
id;
|
20
|
+
title;
|
21
|
+
description;
|
22
|
+
coverPhoto;
|
23
|
+
ventureId;
|
24
|
+
startDate;
|
25
|
+
endDate;
|
26
|
+
createdAt;
|
27
|
+
updatedAt;
|
28
|
+
locationId;
|
29
|
+
ventureDetail;
|
30
|
+
location;
|
31
|
+
donations;
|
32
|
+
EventCategory;
|
33
|
+
};
|
34
|
+
exports.VentureEventData = VentureEventData;
|
35
|
+
__decorate([
|
36
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
37
|
+
__metadata("design:type", String)
|
38
|
+
], VentureEventData.prototype, "id", void 0);
|
39
|
+
__decorate([
|
40
|
+
(0, typeorm_1.Column)(),
|
41
|
+
__metadata("design:type", String)
|
42
|
+
], VentureEventData.prototype, "title", void 0);
|
43
|
+
__decorate([
|
44
|
+
(0, typeorm_1.Column)(),
|
45
|
+
__metadata("design:type", String)
|
46
|
+
], VentureEventData.prototype, "description", void 0);
|
47
|
+
__decorate([
|
48
|
+
(0, typeorm_1.Column)(),
|
49
|
+
__metadata("design:type", String)
|
50
|
+
], VentureEventData.prototype, "coverPhoto", void 0);
|
51
|
+
__decorate([
|
52
|
+
(0, typeorm_1.Column)(),
|
53
|
+
__metadata("design:type", String)
|
54
|
+
], VentureEventData.prototype, "ventureId", void 0);
|
55
|
+
__decorate([
|
56
|
+
(0, typeorm_1.Column)(),
|
57
|
+
__metadata("design:type", Date)
|
58
|
+
], VentureEventData.prototype, "startDate", void 0);
|
59
|
+
__decorate([
|
60
|
+
(0, typeorm_1.Column)(),
|
61
|
+
__metadata("design:type", Date)
|
62
|
+
], VentureEventData.prototype, "endDate", void 0);
|
63
|
+
__decorate([
|
64
|
+
(0, typeorm_1.CreateDateColumn)(),
|
65
|
+
__metadata("design:type", Date)
|
66
|
+
], VentureEventData.prototype, "createdAt", void 0);
|
67
|
+
__decorate([
|
68
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
69
|
+
__metadata("design:type", Date)
|
70
|
+
], VentureEventData.prototype, "updatedAt", void 0);
|
71
|
+
__decorate([
|
72
|
+
(0, typeorm_1.Column)({ unique: true }),
|
73
|
+
__metadata("design:type", String)
|
74
|
+
], VentureEventData.prototype, "locationId", void 0);
|
75
|
+
__decorate([
|
76
|
+
(0, typeorm_1.ManyToOne)(() => venture_detail_data_1.VentureDetailData, (ventureDetail) => ventureDetail.events),
|
77
|
+
(0, typeorm_1.JoinColumn)({ name: "ventureId" }),
|
78
|
+
__metadata("design:type", venture_detail_data_1.VentureDetailData)
|
79
|
+
], VentureEventData.prototype, "ventureDetail", void 0);
|
80
|
+
__decorate([
|
81
|
+
(0, typeorm_1.OneToOne)(() => event_location_data_1.EventLocationData, (eventLocation) => eventLocation.event),
|
82
|
+
(0, typeorm_1.JoinColumn)({ name: "locationId" }),
|
83
|
+
__metadata("design:type", event_location_data_1.EventLocationData)
|
84
|
+
], VentureEventData.prototype, "location", void 0);
|
85
|
+
__decorate([
|
86
|
+
(0, typeorm_1.OneToMany)(() => event_donation_data_1.EventDonationData, (eventDonation) => eventDonation.event),
|
87
|
+
__metadata("design:type", Array)
|
88
|
+
], VentureEventData.prototype, "donations", void 0);
|
89
|
+
__decorate([
|
90
|
+
(0, typeorm_1.ManyToMany)(() => event_category_data_1.EventCategoryData, (eventCategory) => eventCategory.ventureEvent),
|
91
|
+
__metadata("design:type", Array)
|
92
|
+
], VentureEventData.prototype, "EventCategory", void 0);
|
93
|
+
exports.VentureEventData = VentureEventData = __decorate([
|
94
|
+
(0, typeorm_1.Entity)()
|
95
|
+
], VentureEventData);
|
@@ -0,0 +1,60 @@
|
|
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
|
+
ventureId;
|
18
|
+
lat;
|
19
|
+
lng;
|
20
|
+
description;
|
21
|
+
createdAt;
|
22
|
+
updatedAt;
|
23
|
+
Venture;
|
24
|
+
};
|
25
|
+
exports.VentureLocationData = VentureLocationData;
|
26
|
+
__decorate([
|
27
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
28
|
+
__metadata("design:type", String)
|
29
|
+
], VentureLocationData.prototype, "id", void 0);
|
30
|
+
__decorate([
|
31
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
32
|
+
__metadata("design:type", String)
|
33
|
+
], VentureLocationData.prototype, "ventureId", void 0);
|
34
|
+
__decorate([
|
35
|
+
(0, typeorm_1.Column)("float", { nullable: true }),
|
36
|
+
__metadata("design:type", Number)
|
37
|
+
], VentureLocationData.prototype, "lat", void 0);
|
38
|
+
__decorate([
|
39
|
+
(0, typeorm_1.Column)("float", { nullable: true }),
|
40
|
+
__metadata("design:type", Number)
|
41
|
+
], VentureLocationData.prototype, "lng", void 0);
|
42
|
+
__decorate([
|
43
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
44
|
+
__metadata("design:type", String)
|
45
|
+
], VentureLocationData.prototype, "description", void 0);
|
46
|
+
__decorate([
|
47
|
+
(0, typeorm_1.CreateDateColumn)(),
|
48
|
+
__metadata("design:type", Date)
|
49
|
+
], VentureLocationData.prototype, "createdAt", void 0);
|
50
|
+
__decorate([
|
51
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
52
|
+
__metadata("design:type", Date)
|
53
|
+
], VentureLocationData.prototype, "updatedAt", void 0);
|
54
|
+
__decorate([
|
55
|
+
(0, typeorm_1.OneToOne)(() => venture_data_1.VentureData, (venture) => venture.location),
|
56
|
+
__metadata("design:type", venture_data_1.VentureData)
|
57
|
+
], VentureLocationData.prototype, "Venture", void 0);
|
58
|
+
exports.VentureLocationData = VentureLocationData = __decorate([
|
59
|
+
(0, typeorm_1.Entity)()
|
60
|
+
], VentureLocationData);
|
@@ -0,0 +1,18 @@
|
|
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/feeds";
|
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
|
+
}
|
@@ -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 feeds_1 = require("../../../domain/feeds");
|
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: feeds_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.venturePublication),
|
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.venturePublication),
|
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.venturePublication),
|
76
|
+
__metadata("design:type", Array)
|
77
|
+
], VenturePublicationData.prototype, "contents", void 0);
|
78
|
+
exports.VenturePublicationData = VenturePublicationData = __decorate([
|
79
|
+
(0, typeorm_1.Entity)()
|
80
|
+
], VenturePublicationData);
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { UserDetailData } from "./user-detail.data";
|
2
|
+
import { VentureDetailData } from "./venture-detail.data";
|
3
|
+
export declare class VentureSponsorshipData {
|
4
|
+
id: string;
|
5
|
+
ventureDetailId: string;
|
6
|
+
monthlyAmount: number;
|
7
|
+
createdAt: Date;
|
8
|
+
updatedAt: Date;
|
9
|
+
sponsorDetailId: string;
|
10
|
+
user: UserDetailData;
|
11
|
+
detail: VentureDetailData;
|
12
|
+
}
|
@@ -0,0 +1,63 @@
|
|
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
|
+
ventureDetailId;
|
19
|
+
monthlyAmount;
|
20
|
+
createdAt;
|
21
|
+
updatedAt;
|
22
|
+
sponsorDetailId;
|
23
|
+
user;
|
24
|
+
detail;
|
25
|
+
};
|
26
|
+
exports.VentureSponsorshipData = VentureSponsorshipData;
|
27
|
+
__decorate([
|
28
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
29
|
+
__metadata("design:type", String)
|
30
|
+
], VentureSponsorshipData.prototype, "id", void 0);
|
31
|
+
__decorate([
|
32
|
+
(0, typeorm_1.Column)(),
|
33
|
+
__metadata("design:type", String)
|
34
|
+
], VentureSponsorshipData.prototype, "ventureDetailId", void 0);
|
35
|
+
__decorate([
|
36
|
+
(0, typeorm_1.Column)("float"),
|
37
|
+
__metadata("design:type", Number)
|
38
|
+
], VentureSponsorshipData.prototype, "monthlyAmount", void 0);
|
39
|
+
__decorate([
|
40
|
+
(0, typeorm_1.CreateDateColumn)(),
|
41
|
+
__metadata("design:type", Date)
|
42
|
+
], VentureSponsorshipData.prototype, "createdAt", void 0);
|
43
|
+
__decorate([
|
44
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
45
|
+
__metadata("design:type", Date)
|
46
|
+
], VentureSponsorshipData.prototype, "updatedAt", void 0);
|
47
|
+
__decorate([
|
48
|
+
(0, typeorm_1.Column)(),
|
49
|
+
__metadata("design:type", String)
|
50
|
+
], VentureSponsorshipData.prototype, "sponsorDetailId", void 0);
|
51
|
+
__decorate([
|
52
|
+
(0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetailData, (userDetail) => userDetail.sponsorships),
|
53
|
+
(0, typeorm_1.JoinColumn)({ name: "sponsorDetailId" }),
|
54
|
+
__metadata("design:type", user_detail_data_1.UserDetailData)
|
55
|
+
], VentureSponsorshipData.prototype, "user", void 0);
|
56
|
+
__decorate([
|
57
|
+
(0, typeorm_1.ManyToOne)(() => venture_detail_data_1.VentureDetailData, (ventureDetail) => ventureDetail.sponsorships),
|
58
|
+
(0, typeorm_1.JoinColumn)({ name: "ventureDetailId" }),
|
59
|
+
__metadata("design:type", venture_detail_data_1.VentureDetailData)
|
60
|
+
], VentureSponsorshipData.prototype, "detail", void 0);
|
61
|
+
exports.VentureSponsorshipData = VentureSponsorshipData = __decorate([
|
62
|
+
(0, typeorm_1.Entity)()
|
63
|
+
], VentureSponsorshipData);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { UserDetailData } from "./user-detail.data";
|
2
|
+
import { VentureDetailData } from "./venture-detail.data";
|
3
|
+
export declare class VentureSubscriptionData {
|
4
|
+
id: string;
|
5
|
+
ventureId: string;
|
6
|
+
createdAt: Date;
|
7
|
+
subscriberDetailId: string;
|
8
|
+
user: UserDetailData;
|
9
|
+
detail: VentureDetailData;
|
10
|
+
}
|
@@ -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.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
|
+
ventureId;
|
19
|
+
createdAt;
|
20
|
+
subscriberDetailId;
|
21
|
+
user;
|
22
|
+
detail;
|
23
|
+
};
|
24
|
+
exports.VentureSubscriptionData = VentureSubscriptionData;
|
25
|
+
__decorate([
|
26
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], VentureSubscriptionData.prototype, "id", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, typeorm_1.Column)(),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], VentureSubscriptionData.prototype, "ventureId", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, typeorm_1.CreateDateColumn)(),
|
35
|
+
__metadata("design:type", Date)
|
36
|
+
], VentureSubscriptionData.prototype, "createdAt", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, typeorm_1.Column)(),
|
39
|
+
__metadata("design:type", String)
|
40
|
+
], VentureSubscriptionData.prototype, "subscriberDetailId", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetailData, (userDetail) => userDetail.subscriptions),
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: "subscriberDetailId" }),
|
44
|
+
__metadata("design:type", user_detail_data_1.UserDetailData)
|
45
|
+
], VentureSubscriptionData.prototype, "user", void 0);
|
46
|
+
__decorate([
|
47
|
+
(0, typeorm_1.ManyToOne)(() => venture_detail_data_1.VentureDetailData, (ventureDetail) => ventureDetail.subscriptions),
|
48
|
+
(0, typeorm_1.JoinColumn)({ name: "ventureId" }),
|
49
|
+
__metadata("design:type", venture_detail_data_1.VentureDetailData)
|
50
|
+
], VentureSubscriptionData.prototype, "detail", void 0);
|
51
|
+
exports.VentureSubscriptionData = VentureSubscriptionData = __decorate([
|
52
|
+
(0, typeorm_1.Entity)()
|
53
|
+
], VentureSubscriptionData);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { UserDetail } from './user-detail.data';
|
2
|
+
import { VentureDetail } from './venture-detail.data';
|
3
|
+
export declare class VentureSubscription {
|
4
|
+
id: string;
|
5
|
+
ventureId: string;
|
6
|
+
createdAt: Date;
|
7
|
+
subscriberDetailId: string;
|
8
|
+
user: UserDetail;
|
9
|
+
detail: VentureDetail;
|
10
|
+
}
|
@@ -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.VentureSubscription = 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 VentureSubscription = class VentureSubscription {
|
17
|
+
id;
|
18
|
+
ventureId;
|
19
|
+
createdAt;
|
20
|
+
subscriberDetailId;
|
21
|
+
user;
|
22
|
+
detail;
|
23
|
+
};
|
24
|
+
exports.VentureSubscription = VentureSubscription;
|
25
|
+
__decorate([
|
26
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], VentureSubscription.prototype, "id", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, typeorm_1.Column)(),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], VentureSubscription.prototype, "ventureId", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, typeorm_1.CreateDateColumn)(),
|
35
|
+
__metadata("design:type", Date)
|
36
|
+
], VentureSubscription.prototype, "createdAt", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, typeorm_1.Column)(),
|
39
|
+
__metadata("design:type", String)
|
40
|
+
], VentureSubscription.prototype, "subscriberDetailId", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, typeorm_1.ManyToOne)(() => user_detail_data_1.UserDetail, (userDetail) => userDetail.subscriptions),
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: 'subscriberDetailId' }),
|
44
|
+
__metadata("design:type", user_detail_data_1.UserDetail)
|
45
|
+
], VentureSubscription.prototype, "user", void 0);
|
46
|
+
__decorate([
|
47
|
+
(0, typeorm_1.ManyToOne)(() => venture_detail_data_1.VentureDetail, (ventureDetail) => ventureDetail.subscriptions),
|
48
|
+
(0, typeorm_1.JoinColumn)({ name: 'ventureId' }),
|
49
|
+
__metadata("design:type", venture_detail_data_1.VentureDetail)
|
50
|
+
], VentureSubscription.prototype, "detail", void 0);
|
51
|
+
exports.VentureSubscription = VentureSubscription = __decorate([
|
52
|
+
(0, typeorm_1.Entity)()
|
53
|
+
], VentureSubscription);
|
@@ -0,0 +1,25 @@
|
|
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
|
+
detailId: string;
|
15
|
+
createdAt: Date;
|
16
|
+
updatedAt: Date;
|
17
|
+
locationId: string;
|
18
|
+
ownerDetailId: string;
|
19
|
+
ventureContactId: string;
|
20
|
+
detail: VentureDetailData;
|
21
|
+
location: VentureLocationData;
|
22
|
+
ownerDetail: UserDetailData;
|
23
|
+
contact: VentureContactData;
|
24
|
+
categories: VentureCategoryData[];
|
25
|
+
}
|