mirror of
https://github.com/immich-app/immich.git
synced 2026-03-07 10:37:22 +03:00
feat: make memories slideshow duration configurable (#22783)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user