// src/models/chat-session.ts // Copyright (C) 2026 Rob Colbert // Licensed under the Apache License, Version 2.0 import { Document, Types } from "mongoose"; import type { IUser } from "./user.js"; export enum ProjectStatus { Active = "active", Inactive = "inactive", Archived = "archived", } export interface IProject extends Document { createdAt: Date; user: IUser | Types.ObjectId; status: ProjectStatus; name: string; slug: string; gitUrl?: string; }