Cleanup
This commit is contained in:
parent
ec5a31cbc9
commit
88a7e70ead
11 changed files with 135 additions and 112 deletions
|
|
@ -1,9 +0,0 @@
|
|||
import { Document, model, Schema } from "mongoose";
|
||||
|
||||
export type FileModel = Document & { key: string };
|
||||
|
||||
const FileSchema = new Schema<FileModel>({
|
||||
key: { type: String, required: true },
|
||||
});
|
||||
|
||||
export default model<FileModel>("files", FileSchema, "files");
|
||||
Loading…
Reference in a new issue