feat: pg引入

This commit is contained in:
archer
2023-04-18 22:35:55 +08:00
parent a540ee944a
commit 9e951fbc15
17 changed files with 260 additions and 150 deletions

10
src/types/pg.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
import { ModelDataStatusEnum } from '@/constants/model';
export interface PgModelDataItemType {
id: string;
q: string;
a: string;
status: `${ModelDataStatusEnum}`;
model_id: string;
user_id: string;
}