mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
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:
parent
ed6971222c
commit
32c05ea950
13 changed files with 151 additions and 28 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue