@univerjs-pro/exchange-client v0.5.0-beta.1Docs


Interface: IRequestService

Methods

export()

export(exportRequest): Promise<undefined | IExportResponse>

Parameters

ParameterType
exportRequestIExportRequest

Returns

Promise<undefined | IExportResponse>

Defined in

packages/exchange-client/src/services/request.service.ts:118


getTask()

getTask(taskID): Promise<undefined | IGetTaskResponse>

Parameters

ParameterType
taskIDstring

Returns

Promise<undefined | IGetTaskResponse>

Defined in

packages/exchange-client/src/services/request.service.ts:120


import()

import(importRequest): Promise<undefined | IImportResponse>

Parameters

ParameterType
importRequestIImportRequest

Returns

Promise<undefined | IImportResponse>

Defined in

packages/exchange-client/src/services/request.service.ts:116


signUrl()

signUrl(fileID): Promise<undefined | ISignUrlResponse>

Parameters

ParameterType
fileIDstring

Returns

Promise<undefined | ISignUrlResponse>

Defined in

packages/exchange-client/src/services/request.service.ts:122


upload()

upload(file): Promise<undefined | IFileUploadResponse>

Parameters

ParameterType
filestring | File

Returns

Promise<undefined | IFileUploadResponse>

Defined in

packages/exchange-client/src/services/request.service.ts:114