feat(server): do not automatically download android motion videos (#11774)

feat(server): do not automatically download embedded android motion videos
This commit is contained in:
Jason Rasmussen 2024-08-15 16:06:16 -04:00 committed by GitHub
parent ed6971222c
commit 32c05ea950
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 151 additions and 28 deletions

View file

@ -33,12 +33,15 @@ class EmailNotificationsUpdate {
albumUpdate?: boolean;
}
class DownloadUpdate {
class DownloadUpdate implements Partial<DownloadResponse> {
@Optional()
@IsInt()
@IsPositive()
@ApiProperty({ type: 'integer' })
archiveSize?: number;
@ValidateBoolean({ optional: true })
includeEmbeddedVideos?: boolean;
}
class PurchaseUpdate {
@ -104,6 +107,8 @@ class EmailNotificationsResponse {
class DownloadResponse {
@ApiProperty({ type: 'integer' })
archiveSize!: number;
includeEmbeddedVideos: boolean = false;
}
class PurchaseResponse {