mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat: make memories slideshow duration configurable
This commit is contained in:
parent
53680d9643
commit
639b47a9fc
12 changed files with 68 additions and 6 deletions
|
|
@ -13,6 +13,12 @@ class AvatarUpdate {
|
|||
class MemoriesUpdate {
|
||||
@ValidateBoolean({ optional: true })
|
||||
enabled?: boolean;
|
||||
|
||||
@Optional()
|
||||
@IsInt()
|
||||
@IsPositive()
|
||||
@ApiProperty({ type: 'integer' })
|
||||
duration?: number;
|
||||
}
|
||||
|
||||
class RatingsUpdate {
|
||||
|
|
@ -166,6 +172,9 @@ class RatingsResponse {
|
|||
|
||||
class MemoriesResponse {
|
||||
enabled: boolean = true;
|
||||
|
||||
@ApiProperty({ type: 'integer' })
|
||||
duration: number = 5;
|
||||
}
|
||||
|
||||
class FoldersResponse {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue