echadospalante-core
Version:
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.
24 lines (22 loc) • 787 B
text/typescript
import { EventDonation, VentureSponsorship } from "../contributions";
import { PublicationClap, PublicationComment } from "../publications";
// import { NewsClap } from "../news";
import { Municipality } from "../common/geo";
import { Venture, VentureCategory, VentureSubscription } from "../ventures";
import { User } from "./user";
import { Notification } from "../notifications";
export interface UserDetail {
id: string;
gender: "M" | "F" | "O";
birthDate: Date;
user?: User;
municipality?: Municipality;
comments: PublicationComment[];
donations: EventDonation[];
notifications: Notification[];
publicationClaps: PublicationClap[];
sponsorships: VentureSponsorship[];
// newsClaps: NewsClap[];
subscriptions: VentureSubscription[];
ventures: Venture[];
}