mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Added Tab Bar, search bar and suggested search terms from assets metadata, tags (#35)
This commit is contained in:
parent
f181dba964
commit
bfde308492
14 changed files with 487 additions and 39 deletions
|
|
@ -71,6 +71,11 @@ export class AssetController {
|
|||
return this.assetService.serveFile(authUser, query, res, headers);
|
||||
}
|
||||
|
||||
@Get('/searchTerm')
|
||||
async getAssetSearchTerm(@GetAuthUser() authUser: AuthUserDto) {
|
||||
return this.assetService.getAssetSearchTerm(authUser);
|
||||
}
|
||||
|
||||
@Get('/new')
|
||||
async getNewAssets(@GetAuthUser() authUser: AuthUserDto, @Query(ValidationPipe) query: GetNewAssetQueryDto) {
|
||||
return await this.assetService.getNewAssets(authUser, query.latestDate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue