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.
21 lines (20 loc) • 726 B
TypeScript
import { EventDonation, VentureSponsorship } from "../contributions";
import { PublicationClap, PublicationComment } from "../publications";
import { Municipality } from "../common/geo";
import { Venture, 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[];
subscriptions: VentureSubscription[];
ventures: Venture[];
}