mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
初始化api
This commit is contained in:
Vendored
+9
@@ -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>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user