- PackageApiFp(configuration?): {
cancelPackageInstallation(packageId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
getPackageInfo(name: string, assemblyGuid?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo>)>;
getPackages(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo[]>)>;
getRepositories(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepositoryInfo[]>)>;
installPackage(name: string, assemblyGuid?: string, version?: string, repositoryUrl?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
setRepositories(repositoryInfo: RepositoryInfo[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
} Returns {
cancelPackageInstallation(packageId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
getPackageInfo(name: string, assemblyGuid?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo>)>;
getPackages(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo[]>)>;
getRepositories(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepositoryInfo[]>)>;
installPackage(name: string, assemblyGuid?: string, version?: string, repositoryUrl?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
setRepositories(repositoryInfo: RepositoryInfo[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
}
cancelPackageInstallation:function
- cancelPackageInstallation(packageId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- packageId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
getPackageInfo:function
- getPackageInfo(name, assemblyGuid?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo>)>
Parameters
- name: string
Optional
assemblyGuid: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo>)>
getPackages:function
- getPackages(options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo[]>)>
Parameters
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo[]>)>
getRepositories:function
- getRepositories(options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepositoryInfo[]>)>
Parameters
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepositoryInfo[]>)>
installPackage:function
- installPackage(name, assemblyGuid?, version?, repositoryUrl?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- name: string
Optional
assemblyGuid: stringOptional
version: stringOptional
repositoryUrl: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
setRepositories:function
- setRepositories(repositoryInfo, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- repositoryInfo: RepositoryInfo[]
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
PackageApi - functional programming interface
Export