Skip to content

Commit

Permalink
chore(server): open-api memory lane number generation (#8314)
Browse files Browse the repository at this point in the history
chore(server): openaapi memory lane number generation
  • Loading branch information
alextran1502 authored Mar 28, 2024
1 parent e1c2135 commit 9b705e4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mobile/openapi/doc/MemoryLaneResponseDto.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions mobile/openapi/lib/model/memory_lane_response_dto.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mobile/openapi/test/memory_lane_response_dto_test.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion open-api/immich-openapi-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -8431,7 +8431,7 @@
"type": "string"
},
"yearsAgo": {
"type": "number"
"type": "integer"
}
},
"required": [
Expand Down
3 changes: 3 additions & 0 deletions server/src/dtos/asset-response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ export function mapAsset(entity: AssetEntity, options: AssetMapOptions = {}): As
export class MemoryLaneResponseDto {
@ApiProperty({ deprecated: true })
title!: string;

@ApiProperty({ type: 'integer' })
yearsAgo!: number;

assets!: AssetResponseDto[];
}

Expand Down

0 comments on commit 9b705e4

Please sign in to comment.