mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 09:17:06 +08:00
feat(Data Source): Supports batch uploading of data tables (Note)
This commit is contained in:
@@ -27,4 +27,9 @@ export const datasourceApi = {
|
||||
cancelRequests: () => request.cancelRequests(),
|
||||
getSchema: (data: any) => request.post('/datasource/getSchemaByConf', data),
|
||||
syncFields: (id: number) => request.post(`/datasource/syncFields/${id}`),
|
||||
exportDsSchema: (id: any) =>
|
||||
request.get(`/datasource/exportDsSchema/${id}`, {
|
||||
responseType: 'blob',
|
||||
requestOptions: { customError: true },
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user