build errs
This commit is contained in:
1 parent
36e02e0a9a
commit
5b96075c03
4 files changed
+9
-8
No files matched your search
@@ -2,7 +2,8 @@ import { Schema, model, type Types } from "mongoose";
|
||||
|
||||
import type { Team } from "@/types/index.js";
|
||||
|
||||
interface TeamDocument extends Team {
|
||||
type TeamDocumentBase = Omit<Team, "id" | "createdAt" | "updatedAt"> & {};
|
||||
interface TeamDocument extends TeamDocumentBase {
|
||||
_id: Types.ObjectId;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
|
||||
Reference in new issue
Block a user