Breaking down mega-package. Hello auth-db 1.0.0!
This commit is contained in:
6
lib/model/auth.ts
Normal file
6
lib/model/auth.ts
Normal 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);
|
||||
Reference in New Issue
Block a user