Function LibraryStructureApiFp
- LibraryStructureApiFp(
configuration?: Configuration,
): {
addMediaPath(
mediaPathDto: MediaPathDto,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
addVirtualFolder(
name?: string,
collectionType?: CollectionTypeOptions,
paths?: string[],
refreshLibrary?: boolean,
addVirtualFolderDto?: AddVirtualFolderDto,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
getVirtualFolders(
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<VirtualFolderInfo[]>,
>;
removeMediaPath(
name?: string,
path?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
removeVirtualFolder(
name?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
renameVirtualFolder(
name?: string,
newName?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
updateLibraryOptions(
updateLibraryOptionsDto?: UpdateLibraryOptionsDto,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
updateMediaPath(
updateMediaPathRequestDto: UpdateMediaPathRequestDto,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
} Returns {
addMediaPath(
mediaPathDto: MediaPathDto,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
addVirtualFolder(
name?: string,
collectionType?: CollectionTypeOptions,
paths?: string[],
refreshLibrary?: boolean,
addVirtualFolderDto?: AddVirtualFolderDto,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
getVirtualFolders(
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<VirtualFolderInfo[]>,
>;
removeMediaPath(
name?: string,
path?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
removeVirtualFolder(
name?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
renameVirtualFolder(
name?: string,
newName?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
updateLibraryOptions(
updateLibraryOptionsDto?: UpdateLibraryOptionsDto,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
updateMediaPath(
updateMediaPathRequestDto: UpdateMediaPathRequestDto,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
}
addMediaPath:function
- addMediaPath(
mediaPathDto: MediaPathDto,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
- mediaPathDto: MediaPathDto
Optional
refreshLibrary: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
addVirtualFolder:function
- addVirtualFolder(
name?: string,
collectionType?: CollectionTypeOptions,
paths?: string[],
refreshLibrary?: boolean,
addVirtualFolderDto?: AddVirtualFolderDto,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
Optional
name: stringOptional
collectionType: CollectionTypeOptionsOptional
paths: string[]Optional
refreshLibrary: booleanOptional
addVirtualFolderDto: AddVirtualFolderDtoOptional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
getVirtualFolders:function
- getVirtualFolders(
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<VirtualFolderInfo[]>,
> Parameters
Optional
options: RawAxiosRequestConfig
Returns Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<VirtualFolderInfo[]>,
>
removeMediaPath:function
- removeMediaPath(
name?: string,
path?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
Optional
name: stringOptional
path: stringOptional
refreshLibrary: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
removeVirtualFolder:function
- removeVirtualFolder(
name?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
Optional
name: stringOptional
refreshLibrary: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
renameVirtualFolder:function
- renameVirtualFolder(
name?: string,
newName?: string,
refreshLibrary?: boolean,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
Optional
name: stringOptional
newName: stringOptional
refreshLibrary: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
updateLibraryOptions:function
- updateLibraryOptions(
updateLibraryOptionsDto?: UpdateLibraryOptionsDto,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
updateMediaPath:function
- updateMediaPath(
updateMediaPathRequestDto: UpdateMediaPathRequestDto,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
LibraryStructureApi - functional programming interface
Export