mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
初始化api
This commit is contained in:
1 parent
f1f8ece8a2
commit
99a8dc78db
28 files changed
+664
-49
No files matched your search
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