gadget/packages/api/src/interfaces/project.ts
2026-04-28 16:18:21 -04:00

22 lines
506 B
TypeScript

// src/models/chat-session.ts
// Copyright (C) 2026 Rob Colbert <rob.colbert@openplatform.us>
// 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;
}