feat: remove documents limit (#1697)

This commit is contained in:
zxhlyh
2023-12-05 16:53:40 +08:00
committed by GitHub
parent 5789d76582
commit cb3a55dae6
7 changed files with 4 additions and 42 deletions

View File

@@ -6,7 +6,6 @@ import type {
CodeBasedExtension,
CommonResponse,
DataSourceNotion,
DocumentsLimitResponse,
FileUploadConfigResponse,
ICurrentWorkspace,
IWorkspace,
@@ -195,10 +194,6 @@ export const fetchFileUploadConfig: Fetcher<FileUploadConfigResponse, { url: str
return get<FileUploadConfigResponse>(url)
}
export const fetchDocumentsLimit: Fetcher<DocumentsLimitResponse, string> = (url) => {
return get<DocumentsLimitResponse>(url)
}
export const fetchFreeQuotaVerify: Fetcher<{ result: string; flag: boolean; reason: string }, string> = (url) => {
return get(url) as Promise<{ result: string; flag: boolean; reason: string }>
}