feat: 训练数据管理
This commit is contained in:
6
src/types/data.d.ts
vendored
Normal file
6
src/types/data.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { DataSchema } from './mongoSchema';
|
||||
|
||||
export interface DataListItem extends DataSchema {
|
||||
trainingData: number;
|
||||
totalData: number;
|
||||
}
|
||||
3
src/types/index.d.ts
vendored
3
src/types/index.d.ts
vendored
@@ -4,6 +4,9 @@ declare global {
|
||||
var mongodb: Mongoose | string | null;
|
||||
var generatingQA: boolean;
|
||||
var QRCode: any;
|
||||
interface Window {
|
||||
['pdfjs-dist/build/pdf']: any;
|
||||
}
|
||||
}
|
||||
|
||||
export type PagingData<T> = {
|
||||
|
||||
Reference in New Issue
Block a user