mirror of
https://github.com/immich-app/immich.git
synced 2025-11-09 01:22:42 +09:00
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:
committed by
GitHub
parent
816db700e1
commit
acdc66413c
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user