Breaking down mega-package. Hello auth-db 1.0.0!
This commit is contained in:
6
lib/model/log.ts
Normal file
6
lib/model/log.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import mongoose from 'mongoose';
|
||||
|
||||
import { LogModel, Log as LogDocument, LogSchema } from '../schema/log';
|
||||
import { COLL_LOG } from '../constants/db';
|
||||
|
||||
export const Log = mongoose.model<LogDocument, LogModel>(COLL_LOG, LogSchema);
|
||||
Reference in New Issue
Block a user