Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApplicationBinaryService

Hierarchy

Index

Constructors

constructor

Methods

addPlugin

  • addPlugin(pluginName: string, pluginFile: Stream | Buffer | ArrayBuffer): Object
  • Parameters

    • pluginName: string
    • pluginFile: Stream | Buffer | ArrayBuffer

    Returns Object

delete

  • Parameters

    Returns Object

downloadArchive

  • Parameters

    • binaryId: number | string

    Returns Promise<IFetchResponse>

getXMLHttpResponse

  • Parameters

    • xhr: any

    Returns Promise<IApplication>

list

  • list(filter?: any): Object
  • Parameters

    • Optional filter: any

    Returns Object

listPlugins

  • listPlugins(): Object
  • Returns Object

removePlugin

  • removePlugin(pluginName: string): Object
  • Parameters

    • pluginName: string

    Returns Object

updateFiles

  • updateFiles(files: Array<object>): Object
  • Parameters

    • files: Array<object>

    Returns Object

upload

  • Parameters

    • binary: ArrayBuffer | Stream | Buffer | File | Blob
    • Optional fileName: string
    • Optional uploadParamsOverride: IUploadParamsOverride

    Returns Promise<IResult<IApplicationBinary>>

uploadWithProgressXhr

  • uploadWithProgressXhr(binary: ArrayBuffer | Stream | Buffer | File | Blob, onProgress: any, fileName?: string, uploadParamsOverride?: IUploadParamsOverride): XMLHttpRequest
  • Parameters

    • binary: ArrayBuffer | Stream | Buffer | File | Blob
    • onProgress: any
    • Optional fileName: string
    • Optional uploadParamsOverride: IUploadParamsOverride

    Returns XMLHttpRequest

Generated using TypeDoc