import { ProjectCategory } from "@/enums/projectCategory";
import { ProjectStatus } from "@/enums/projectStatus";

export type T_projects = {
  _id: string;
  title: string;
  description: string;
  thumbnail?: string;
  images?: string[];
  category: ProjectCategory;
  githubLink: string;
  liveLink?: string;
  technologies: string[];
  companyName: string;
  completionYear?: number;
  isFeatured: boolean;
  status: ProjectStatus;
  createdAt: Date;
  updatedAt: Date;
};
/**
 * _id:string;
    title: string;
    slug: string, 
    description: string;
    status : str
    images?: string;
    category: ProjectCategory;
    githubLink: string;
    liveLink?: string;
    technologies: string[];
    companyName: string;
    completionYear?: number;
    isFeatured: boolean;
    status: ProjectStatus;
    createdAt: Date;
    updatedAt: Date;
 * 
 * ------------------
 * 
 * {
  "title": "AI Chat Application",
  "shortDescription": "A real-time chat app powered by AI responses.",
  "fullDescription": "Full description of the project...",
  "category": [
    "Web Development",
    "AI",
    "SaaS"
  ],
  "status": "completed",
  "isFeatured": true,
  "technologies": [
    "Node.js",
    "Express",
    "MongoDB",
    "React",
    "TypeScript",
    "OpenAI API"
  ],
  "publishedYear": "2025",
  "workingDuration": "3 months",
  "previewUrl": "https://example.com/ai-chat-app",
  "features": [
    "Real-time messaging",
    "AI-powered responses",
    "User authentication",
    "Chat history persistence",
    "Responsive UI"
  ]
}
 */
