Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mobile/openapi/lib/model/asset_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 open-api/immich-openapi-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -17100,7 +17100,7 @@
"type": "array"
},
"thumbhash": {
"description": "Thumbhash for thumbnail generation",
"description": "Thumbhash for thumbnail generation (base64) also used as the c query param for thumbnail cache/versioning.",
"nullable": true,
"type": "string"
},
Expand Down
2 changes: 1 addition & 1 deletion open-api/typescript-sdk/src/fetch-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ export type AssetResponseDto = {
resized?: boolean;
stack?: (AssetStackResponseDto) | null;
tags?: TagResponseDto[];
/** Thumbhash for thumbnail generation */
/** Thumbhash for thumbnail generation (base64) also used as the c query param for thumbnail cache/versioning. */
thumbhash: string | null;
/** Asset type */
"type": AssetTypeEnum;
Expand Down
5 changes: 4 additions & 1 deletion server/src/dtos/asset-response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ export class SanitizedAssetResponseDto {
id!: string;
@ValidateEnum({ enum: AssetType, name: 'AssetTypeEnum', description: 'Asset type' })
type!: AssetType;
@ApiProperty({ description: 'Thumbhash for thumbnail generation' })
@ApiProperty({
description:
'Thumbhash for thumbnail generation (base64) also used as the c query param for thumbnail cache/versioning.',
Comment thread
jrasm91 marked this conversation as resolved.
Outdated
})
thumbhash!: string | null;
@ApiPropertyOptional({ description: 'Original MIME type' })
originalMimeType?: string;
Expand Down
Loading