feat: make memories slideshow duration configurable (#22783)

This commit is contained in:
Mees Frensel
2025-11-08 23:46:43 +01:00
committed by GitHub
parent 4905bba694
commit 9cc88ed2a6
11 changed files with 65 additions and 4 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 {