Restructuring the folders
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
2023-05-24 10:24:15 -04:00
parent d3210b73c9
commit 7619899edc
38 changed files with 42 additions and 7 deletions

6
src/model/auth.ts Normal file
View File

@@ -0,0 +1,6 @@
import mongoose from 'mongoose';
import { AuthDocument, AuthModel, AuthSchema } from '../schema/auth';
import { COLL_AUTH } from '../constants/db';
export const Auth = mongoose.model<AuthDocument, AuthModel>(COLL_AUTH, AuthSchema);