初始化api

This commit is contained in:
whyour committed 2021-03-15 21:09:30 +08:00
1 parent f1f8ece8a2
commit 99a8dc78db
28 files changed
+664 -49

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { Document, Model } from 'mongoose';
import { IContent } from '../../interfaces/IContent';
import { ICommon } from '../../interfaces/ICommon';
declare global {
namespace Models {
export type IContentModel = Model<IContent & Document>;
export type ICommonModel = Model<ICommon & Document>;
}
}