1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-30 09:47:31 +02:00

chore(server): open-api memory lane number generation (#8314)

chore(server): openaapi memory lane number generation
This commit is contained in:
Alex 2024-03-27 22:27:26 -05:00 committed by GitHub
parent e1c2135850
commit 9b705e4450
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -8431,7 +8431,7 @@
"type": "string" "type": "string"
}, },
"yearsAgo": { "yearsAgo": {
"type": "number" "type": "integer"
} }
}, },
"required": [ "required": [

View File

@ -133,7 +133,10 @@ export function mapAsset(entity: AssetEntity, options: AssetMapOptions = {}): As
export class MemoryLaneResponseDto { export class MemoryLaneResponseDto {
@ApiProperty({ deprecated: true }) @ApiProperty({ deprecated: true })
title!: string; title!: string;
@ApiProperty({ type: 'integer' })
yearsAgo!: number; yearsAgo!: number;
assets!: AssetResponseDto[]; assets!: AssetResponseDto[];
} }