mirror of
https://github.com/immich-app/immich.git
synced 2025-07-19 22:44:24 +02:00
chore(server): deprecate resized property (#12143)
* chore: add dummy resized value for release * openapi * add deprecation life cycle info * use correct default value
This commit is contained in:
parent
b1e780561d
commit
b3b599e071
4 changed files with 30 additions and 1 deletions
server/src/dtos
|
@ -53,6 +53,9 @@ export class AssetResponseDto extends SanitizedAssetResponseDto {
|
|||
checksum!: string;
|
||||
stack?: AssetStackResponseDto | null;
|
||||
duplicateId?: string | null;
|
||||
|
||||
@PropertyLifecycle({ deprecatedAt: 'v1.113.0' })
|
||||
resized?: boolean;
|
||||
}
|
||||
|
||||
export class AssetStackResponseDto {
|
||||
|
@ -148,6 +151,7 @@ export function mapAsset(entity: AssetEntity, options: AssetMapOptions = {}): As
|
|||
isOffline: entity.isOffline,
|
||||
hasMetadata: true,
|
||||
duplicateId: entity.duplicateId,
|
||||
resized: true,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue