mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
chore(server): open-api memory lane number generation (#8314)
chore(server): openaapi memory lane number generation
This commit is contained in:
parent
e1c2135850
commit
9b705e4450
5 changed files with 4 additions and 1 deletions
BIN
mobile/openapi/doc/MemoryLaneResponseDto.md
generated
BIN
mobile/openapi/doc/MemoryLaneResponseDto.md
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/memory_lane_response_dto.dart
generated
BIN
mobile/openapi/lib/model/memory_lane_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/test/memory_lane_response_dto_test.dart
generated
BIN
mobile/openapi/test/memory_lane_response_dto_test.dart
generated
Binary file not shown.
|
|
@ -8431,7 +8431,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"yearsAgo": {
|
"yearsAgo": {
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
|
||||||
|
|
@ -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[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue