feat: make memories slideshow duration configurable

This commit is contained in:
Mees Frensel 2025-10-08 22:37:34 +02:00
parent 53680d9643
commit 639b47a9fc
12 changed files with 68 additions and 6 deletions

View file

@ -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 {