echadospalante-core 11.3.3 → 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/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
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "echadospalante-core",
|
3
|
-
"version": "11.3.
|
3
|
+
"version": "11.3.4",
|
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",
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import { EventDonation } from "../contributions";
|
2
|
-
import { VentureDetail } from "../ventures";
|
3
|
-
import { EventCategory } from "./event-category";
|
4
|
-
import { EventContact } from "./event-contact";
|
5
|
-
import { EventLocation } from "./event-location";
|
6
|
-
export interface VentureEvent {
|
7
|
-
id: string;
|
8
|
-
title: string;
|
9
|
-
slug: string;
|
10
|
-
description: string;
|
11
|
-
coverPhoto: string;
|
12
|
-
ventureDetail?: VentureDetail;
|
13
|
-
location: EventLocation;
|
14
|
-
contact: EventContact;
|
15
|
-
categories: EventCategory[];
|
16
|
-
donations: EventDonation[];
|
17
|
-
startDate: Date;
|
18
|
-
endDate: Date;
|
19
|
-
createdAt: Date;
|
20
|
-
updatedAt: Date;
|
21
|
-
}
|
22
|
-
export interface EventCreate {
|
23
|
-
title: string;
|
24
|
-
description: string;
|
25
|
-
coverPhoto: string;
|
26
|
-
location: EventLocation;
|
27
|
-
categoriesIds: string[];
|
28
|
-
startDate: Date;
|
29
|
-
contactEmail?: string;
|
30
|
-
contactPhoneNumber?: string;
|
31
|
-
endDate: Date;
|
32
|
-
}
|
33
|
-
export interface EventUpdate {
|
34
|
-
coverPhoto: string;
|
35
|
-
location: EventLocation;
|
36
|
-
categoriesIds: string[];
|
37
|
-
startDate: Date;
|
38
|
-
endDate: Date;
|
39
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationType = void 0;
|
4
|
-
var notification_1 = require("./notification");
|
5
|
-
Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return notification_1.NotificationType; } });
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { UserDetail } from "../user";
|
2
|
-
export interface Notification {
|
3
|
-
id: string;
|
4
|
-
title: string;
|
5
|
-
user: UserDetail;
|
6
|
-
type: NotificationType;
|
7
|
-
status: NotificationStatus;
|
8
|
-
description: string;
|
9
|
-
createdAt: Date;
|
10
|
-
updatedAt: Date;
|
11
|
-
}
|
12
|
-
export declare enum NotificationType {
|
13
|
-
WELCOME = "WELCOME",
|
14
|
-
ACCOUNT_VERIFIED = "ACCOUNT_VERIFIED",
|
15
|
-
ACCOUNT_LOCKED = "ACCOUNT_LOCKED",
|
16
|
-
ACCOUNT_UNLOCKED = "ACCOUNT_UNLOCKED",
|
17
|
-
NEW_FOLLOWER = "NEW_FOLLOWER",
|
18
|
-
NEW_COMMENT = "NEW_COMMENT",
|
19
|
-
NEW_SPONSOR = "NEW_SPONSOR",
|
20
|
-
NEW_DONATION = "NEW_DONATION"
|
21
|
-
}
|
22
|
-
export declare enum NotificationStatus {
|
23
|
-
READ = "READ",
|
24
|
-
UNREAD = "UNREAD"
|
25
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationStatus = exports.NotificationType = void 0;
|
4
|
-
var NotificationType;
|
5
|
-
(function (NotificationType) {
|
6
|
-
NotificationType["WELCOME"] = "WELCOME";
|
7
|
-
NotificationType["ACCOUNT_VERIFIED"] = "ACCOUNT_VERIFIED";
|
8
|
-
NotificationType["ACCOUNT_LOCKED"] = "ACCOUNT_LOCKED";
|
9
|
-
NotificationType["ACCOUNT_UNLOCKED"] = "ACCOUNT_UNLOCKED";
|
10
|
-
NotificationType["NEW_FOLLOWER"] = "NEW_FOLLOWER";
|
11
|
-
NotificationType["NEW_COMMENT"] = "NEW_COMMENT";
|
12
|
-
NotificationType["NEW_SPONSOR"] = "NEW_SPONSOR";
|
13
|
-
NotificationType["NEW_DONATION"] = "NEW_DONATION";
|
14
|
-
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
15
|
-
var NotificationStatus;
|
16
|
-
(function (NotificationStatus) {
|
17
|
-
NotificationStatus["READ"] = "READ";
|
18
|
-
NotificationStatus["UNREAD"] = "UNREAD";
|
19
|
-
})(NotificationStatus || (exports.NotificationStatus = NotificationStatus = {}));
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { ContentType } from "../shared";
|
2
|
-
import { VenturePublication } from "./publication";
|
3
|
-
export declare class PublicationContent {
|
4
|
-
id: string;
|
5
|
-
type: ContentType;
|
6
|
-
content: string;
|
7
|
-
createdAt: Date;
|
8
|
-
updatedAt: Date;
|
9
|
-
publication: VenturePublication;
|
10
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PublicationContent = void 0;
|
4
|
-
class PublicationContent {
|
5
|
-
id;
|
6
|
-
type;
|
7
|
-
content;
|
8
|
-
createdAt;
|
9
|
-
updatedAt;
|
10
|
-
publication;
|
11
|
-
}
|
12
|
-
exports.PublicationContent = PublicationContent;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export { EventCategory } from "../events/event-category";
|
2
|
-
export { PublicationClap } from "./clap";
|
3
|
-
export { PublicationComment } from "./comment";
|
4
|
-
export { VentureEvent } from "../events/event";
|
5
|
-
export { EventLocation } from "../events/event-location";
|
6
|
-
export { PublicationContent, PublicationType, VenturePublication, } from "./publication";
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PublicationType = void 0;
|
4
|
-
var publication_1 = require("./publication");
|
5
|
-
Object.defineProperty(exports, "PublicationType", { enumerable: true, get: function () { return publication_1.PublicationType; } });
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { ContentType } from "../shared";
|
2
|
-
import { Venture } from "../ventures/venture";
|
3
|
-
import { PublicationClap } from "./clap";
|
4
|
-
import { PublicationComment } from "./comment";
|
5
|
-
export interface VenturePublication {
|
6
|
-
id: string;
|
7
|
-
description: string;
|
8
|
-
active: boolean;
|
9
|
-
venture?: Venture;
|
10
|
-
type: PublicationType;
|
11
|
-
claps: PublicationClap[];
|
12
|
-
comments: PublicationComment[];
|
13
|
-
body: PublicationContent[];
|
14
|
-
createdAt: Date;
|
15
|
-
}
|
16
|
-
export declare enum PublicationType {
|
17
|
-
STANDARD = "STANDARD",
|
18
|
-
ANNOUNCEMENT = "ANNOUNCEMENT",
|
19
|
-
ACHIEVEMENT = "ACHIEVEMENT",
|
20
|
-
PROMOTION = "PROMOTION",
|
21
|
-
BEHIND_THE_SCENES = "BEHIND_THE_SCENES"
|
22
|
-
}
|
23
|
-
export interface PublicationContent {
|
24
|
-
id: string;
|
25
|
-
type: ContentType;
|
26
|
-
content: string;
|
27
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PublicationType = void 0;
|
4
|
-
var PublicationType;
|
5
|
-
(function (PublicationType) {
|
6
|
-
PublicationType["STANDARD"] = "STANDARD";
|
7
|
-
PublicationType["ANNOUNCEMENT"] = "ANNOUNCEMENT";
|
8
|
-
PublicationType["ACHIEVEMENT"] = "ACHIEVEMENT";
|
9
|
-
PublicationType["PROMOTION"] = "PROMOTION";
|
10
|
-
PublicationType["BEHIND_THE_SCENES"] = "BEHIND_THE_SCENES";
|
11
|
-
})(PublicationType || (exports.PublicationType = PublicationType = {}));
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ContentType = void 0;
|
4
|
-
var ContentType;
|
5
|
-
(function (ContentType) {
|
6
|
-
ContentType["TEXT"] = "TEXT";
|
7
|
-
ContentType["IMAGE"] = "IMAGE";
|
8
|
-
ContentType["VIDEO"] = "VIDEO";
|
9
|
-
ContentType["LINK"] = "LINK";
|
10
|
-
ContentType["FILE"] = "FILE";
|
11
|
-
})(ContentType || (exports.ContentType = ContentType = {}));
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { UserDetail } from "../user";
|
2
|
-
export interface Department {
|
3
|
-
id: number;
|
4
|
-
name: string;
|
5
|
-
municipalities: Municipality[];
|
6
|
-
createdAt: Date;
|
7
|
-
updatedAt: Date;
|
8
|
-
}
|
9
|
-
export interface Municipality {
|
10
|
-
id: number;
|
11
|
-
name: string;
|
12
|
-
department: Department;
|
13
|
-
userDetails: UserDetail[];
|
14
|
-
createdAt: Date;
|
15
|
-
updatedAt: Date;
|
16
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ContentType = void 0;
|
4
|
-
var content_type_1 = require("./content-type");
|
5
|
-
Object.defineProperty(exports, "ContentType", { enumerable: true, get: function () { return content_type_1.ContentType; } });
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { User } from "./user";
|
2
|
-
export interface UserContact {
|
3
|
-
id: string;
|
4
|
-
phoneNumber: string;
|
5
|
-
address: string;
|
6
|
-
facebookUrl: string;
|
7
|
-
linkedinUrl: string;
|
8
|
-
twitterUrl: string;
|
9
|
-
instagramUrl: string;
|
10
|
-
user?: User;
|
11
|
-
updatedAt: Date;
|
12
|
-
createdAt: Date;
|
13
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { EventDonation, VentureSponsorship } from "../contributions";
|
2
|
-
import { PublicationClap, PublicationComment } from "../publications";
|
3
|
-
import { Municipality } from "../shared/geo";
|
4
|
-
import { Venture, VentureSubscription } from "../ventures";
|
5
|
-
import { User } from "./user";
|
6
|
-
import { Notification } from "../notifications";
|
7
|
-
export interface UserDetail {
|
8
|
-
id: string;
|
9
|
-
gender: "M" | "F" | "O";
|
10
|
-
birthDate: Date;
|
11
|
-
user?: User;
|
12
|
-
municipality?: Municipality;
|
13
|
-
comments: PublicationComment[];
|
14
|
-
donations: EventDonation[];
|
15
|
-
notifications: Notification[];
|
16
|
-
publicationClaps: PublicationClap[];
|
17
|
-
sponsorships: VentureSponsorship[];
|
18
|
-
subscriptions: VentureSubscription[];
|
19
|
-
ventures: Venture[];
|
20
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { User } from "./user";
|
2
|
-
export declare enum AppRole {
|
3
|
-
ADMIN = "ADMIN",
|
4
|
-
USER = "USER",
|
5
|
-
MODERATOR = "MODERATOR",
|
6
|
-
NEWS_WRITER = "NEWS_WRITER"
|
7
|
-
}
|
8
|
-
export interface Role {
|
9
|
-
id: string;
|
10
|
-
name: AppRole;
|
11
|
-
label: string;
|
12
|
-
createdAt: Date;
|
13
|
-
updatedAt: Date;
|
14
|
-
users?: User[];
|
15
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AppRole = void 0;
|
4
|
-
var AppRole;
|
5
|
-
(function (AppRole) {
|
6
|
-
AppRole["ADMIN"] = "ADMIN";
|
7
|
-
AppRole["USER"] = "USER";
|
8
|
-
AppRole["MODERATOR"] = "MODERATOR";
|
9
|
-
AppRole["NEWS_WRITER"] = "NEWS_WRITER";
|
10
|
-
})(AppRole || (exports.AppRole = AppRole = {}));
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { VentureCategory } from "../ventures";
|
2
|
-
import { UserContact } from "./contact";
|
3
|
-
import { UserDetail } from "./detail";
|
4
|
-
import { Role } from "./role";
|
5
|
-
export interface User {
|
6
|
-
id: string;
|
7
|
-
picture: string;
|
8
|
-
email: string;
|
9
|
-
firstName: string;
|
10
|
-
lastName: string;
|
11
|
-
active: boolean;
|
12
|
-
contact?: UserContact;
|
13
|
-
detail?: UserDetail;
|
14
|
-
verified: boolean;
|
15
|
-
onboardingCompleted: boolean;
|
16
|
-
roles: Role[];
|
17
|
-
preferences: VentureCategory[];
|
18
|
-
createdAt: Date;
|
19
|
-
updatedAt: Date;
|
20
|
-
}
|
21
|
-
export type UserCreate = Pick<User, "email" | "firstName" | "lastName" | "picture">;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { User } from "../auth";
|
2
|
-
import { Venture } from "./venture";
|
3
|
-
export interface VentureCategory {
|
4
|
-
id: string;
|
5
|
-
name: string;
|
6
|
-
slug: string;
|
7
|
-
description: string;
|
8
|
-
ventures?: Venture[];
|
9
|
-
users?: User[];
|
10
|
-
createdAt: Date;
|
11
|
-
updatedAt: Date;
|
12
|
-
}
|
13
|
-
export type VentureCategoryCreate = Pick<VentureCategory, "name" | "description">;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { VentureSponsorship } from "../contributions/sponsor";
|
2
|
-
import { VentureEvent } from "../events/event";
|
3
|
-
import { VenturePublication } from "../publications/publication";
|
4
|
-
import { VentureSubscription } from "./subscription";
|
5
|
-
import { Venture } from "./venture";
|
6
|
-
export interface VentureDetail {
|
7
|
-
id: string;
|
8
|
-
venture?: Venture;
|
9
|
-
events: VentureEvent[];
|
10
|
-
sponsorships: VentureSponsorship[];
|
11
|
-
subscriptions: VentureSubscription[];
|
12
|
-
publications: VenturePublication[];
|
13
|
-
}
|