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.
17 lines (14 loc) • 339 B
text/typescript
import { User } from "../user";
import { VenturePublication } from "./publication";
export interface PublicationComment {
id: string;
author: User;
content: string;
publication: VenturePublication;
createdAt: Date;
}
export interface PublicationCommentCreate {
content: string;
publicationId: string;
authorId: string;
}