Function RemoteImageApiFp
- RemoteImageApiFp(configuration?): {
downloadRemoteImage(itemId: string, type: ImageType, imageUrl?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
getRemoteImageProviders(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageProviderInfo[]>)>;
getRemoteImages(itemId: string, type?: ImageType, startIndex?: number, limit?: number, providerName?: string, includeAllLanguages?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteImageResult>)>;
} Returns {
downloadRemoteImage(itemId: string, type: ImageType, imageUrl?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
getRemoteImageProviders(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageProviderInfo[]>)>;
getRemoteImages(itemId: string, type?: ImageType, startIndex?: number, limit?: number, providerName?: string, includeAllLanguages?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteImageResult>)>;
}
downloadRemoteImage:function
- downloadRemoteImage(itemId, type, imageUrl?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- itemId: string
- type: ImageType
Optional
imageUrl: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
getRemoteImageProviders:function
- getRemoteImageProviders(itemId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageProviderInfo[]>)>
Parameters
- itemId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageProviderInfo[]>)>
getRemoteImages:function
- getRemoteImages(itemId, type?, startIndex?, limit?, providerName?, includeAllLanguages?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteImageResult>)>
Parameters
- itemId: string
Optional
type: ImageTypeOptional
startIndex: numberOptional
limit: numberOptional
providerName: stringOptional
includeAllLanguages: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteImageResult>)>
RemoteImageApi - functional programming interface
Export