add doc of proxy

This commit is contained in:
AceDataCloud committed 2023-02-25 16:39:42 +08:00
1 parent 4a0428f1b2
commit 3ea9f786dc
5 files changed
+35 -17

No files matched your search

+5 -1
View File
@@ -1,8 +1,10 @@
import { IApi } from '../api/models';
import { IProxy } from '../proxy';
export enum IDocumentType {
API = 'Api',
TEXT = 'Text'
TEXT = 'Text',
PROXY = 'Proxy'
}
export interface IDocument {
@@ -13,7 +15,9 @@ export interface IDocument {
content?: string;
rank?: number;
api?: IApi;
proxy?: IProxy;
api_id?: string;
proxy_id?: string;
created_at?: string;
updated_at?: string;
}