feat: lafgpt。openapi schema

This commit is contained in:
archer
2023-04-06 15:25:48 +08:00
parent 8a02b3b04a
commit f88c6031f5
6 changed files with 85 additions and 54 deletions

View File

@@ -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;
}