feat: lafgpt。openapi schema
This commit is contained in:
9
src/types/mongoSchema.d.ts
vendored
9
src/types/mongoSchema.d.ts
vendored
@@ -125,7 +125,7 @@ export interface DataSchema {
|
||||
_id: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
createTime: string;
|
||||
createTime: Date;
|
||||
type: DataType;
|
||||
}
|
||||
|
||||
@@ -148,3 +148,10 @@ export interface DataItemSchema {
|
||||
export interface DataItemPopulate extends DataItemSchema {
|
||||
userId: UserModelSchema;
|
||||
}
|
||||
|
||||
export interface OpenApiSchema {
|
||||
_id: string;
|
||||
userId: string;
|
||||
createTime: Date;
|
||||
lastUsedTime: Date;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user