import { ProjectStatus } from '../../enum'; import { ProjectCategory } from '../../enum/project-category.enum'; import { ProjectLanguage } from '../../enum/project-language.enum'; import { IProjectDocument } from './project-document.model'; import { IProjectFollower } from './project-follower.model'; import { IProjectPost } from './project-post.model'; import { IProjectPresentation } from './project-presentation.model'; import { IProjectSocialNetwork } from './project-social-network.model'; import { IProjectStar } from './project-star.model'; import { IUser } from './user.model'; export interface IProject { id?: string; title: string; slug: string; description: string; mainLanguage: ProjectLanguage; otherLanguage: ProjectLanguage[]; tags: string[]; abyssProjectId: string | null; abyssProjectApplicationId: string | null; category: ProjectCategory; status: ProjectStatus; isPublished: boolean; contactUrl: string | null; joinUrl: string | null; accessUrl: string | null; userId: string | null; updatedAt?: Date; createdAt?: Date; user?: IUser | null; projectPresentation?: IProjectPresentation; projectPosts?: IProjectPost[]; projectFollowers?: IProjectFollower[]; projectDocuments?: IProjectDocument[]; projectStars?: IProjectStar[]; projectSocialNetworks?: IProjectSocialNetwork[]; }