feat(server,web): libraries (#3124)

* feat: libraries

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Jonathan Jogenfors
2023-09-20 13:16:33 +02:00
committed by GitHub
parent 816db700e1
commit acdc66413c
143 changed files with 10941 additions and 386 deletions

View File

@@ -1,5 +1,6 @@
import {
AlbumApi,
LibraryApi,
APIKeyApi,
AssetApi,
AssetApiFp,
@@ -25,6 +26,7 @@ import type { ApiParams } from './types';
export class ImmichApi {
public albumApi: AlbumApi;
public libraryApi: LibraryApi;
public assetApi: AssetApi;
public authenticationApi: AuthenticationApi;
public jobApi: JobApi;
@@ -49,6 +51,7 @@ export class ImmichApi {
this.config = new Configuration(params);
this.albumApi = new AlbumApi(this.config);
this.libraryApi = new LibraryApi(this.config);
this.assetApi = new AssetApi(this.config);
this.authenticationApi = new AuthenticationApi(this.config);
this.jobApi = new JobApi(this.config);
@@ -130,6 +133,7 @@ export class ImmichApi {
[JobName.StorageTemplateMigration]: 'Storage Template Migration',
[JobName.BackgroundTask]: 'Background Tasks',
[JobName.Search]: 'Search',
[JobName.Library]: 'Library',
};
return names[jobName];