@univerjs-pro/exchange-client v0.5.4
Interface: IRequestService
Defined in: packages/exchange-client/src/services/request.service.ts:113
Methods
export()
export(exportRequest): Promise<undefined | IExportResponse>
Defined in: packages/exchange-client/src/services/request.service.ts:118
Parameters
Parameter | Type |
---|---|
exportRequest | IExportRequest |
Returns
Promise
<undefined
| IExportResponse
>
getTask()
getTask(taskID): Promise<undefined | IGetTaskResponse>
Defined in: packages/exchange-client/src/services/request.service.ts:120
Parameters
Parameter | Type |
---|---|
taskID | string |
Returns
Promise
<undefined
| IGetTaskResponse
>
import()
import(importRequest): Promise<undefined | IImportResponse>
Defined in: packages/exchange-client/src/services/request.service.ts:116
Parameters
Parameter | Type |
---|---|
importRequest | IImportRequest |
Returns
Promise
<undefined
| IImportResponse
>
signUrl()
signUrl(fileID): Promise<undefined | ISignUrlResponse>
Defined in: packages/exchange-client/src/services/request.service.ts:122
Parameters
Parameter | Type |
---|---|
fileID | string |
Returns
Promise
<undefined
| ISignUrlResponse
>
upload()
upload(file): Promise<undefined | IFileUploadResponse>
Defined in: packages/exchange-client/src/services/request.service.ts:114
Parameters
Parameter | Type |
---|---|
file | string | File |
Returns
Promise
<undefined
| IFileUploadResponse
>