mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 14:19:26 +03:00
feat(docs): Adding information about parameter c= (#26430)
* Adding information about parameter c= * Apply suggestions from code review Co-authored-by: bo0tzz <git@bo0tzz.me> --------- Co-authored-by: Jason Rasmussen <jason@rasm.me> Co-authored-by: bo0tzz <git@bo0tzz.me>
This commit is contained in:
2
mobile/openapi/lib/model/asset_response_dto.dart
generated
2
mobile/openapi/lib/model/asset_response_dto.dart
generated
@@ -156,7 +156,7 @@ class AssetResponseDto {
|
|||||||
|
|
||||||
List<TagResponseDto> tags;
|
List<TagResponseDto> tags;
|
||||||
|
|
||||||
/// Thumbhash for thumbnail generation
|
/// Thumbhash for thumbnail generation (base64) also used as the c query param for thumbnail cache busting.
|
||||||
String? thumbhash;
|
String? thumbhash;
|
||||||
|
|
||||||
/// Asset type
|
/// Asset type
|
||||||
|
|||||||
@@ -17070,7 +17070,7 @@
|
|||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"thumbhash": {
|
"thumbhash": {
|
||||||
"description": "Thumbhash for thumbnail generation",
|
"description": "Thumbhash for thumbnail generation (base64) also used as the c query param for thumbnail cache busting.",
|
||||||
"nullable": true,
|
"nullable": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -616,7 +616,7 @@ export type AssetResponseDto = {
|
|||||||
resized?: boolean;
|
resized?: boolean;
|
||||||
stack?: (AssetStackResponseDto) | null;
|
stack?: (AssetStackResponseDto) | null;
|
||||||
tags?: TagResponseDto[];
|
tags?: TagResponseDto[];
|
||||||
/** Thumbhash for thumbnail generation */
|
/** Thumbhash for thumbnail generation (base64) also used as the c query param for thumbnail cache busting. */
|
||||||
thumbhash: string | null;
|
thumbhash: string | null;
|
||||||
/** Asset type */
|
/** Asset type */
|
||||||
"type": AssetTypeEnum;
|
"type": AssetTypeEnum;
|
||||||
|
|||||||
@@ -25,7 +25,10 @@ export class SanitizedAssetResponseDto {
|
|||||||
id!: string;
|
id!: string;
|
||||||
@ValidateEnum({ enum: AssetType, name: 'AssetTypeEnum', description: 'Asset type' })
|
@ValidateEnum({ enum: AssetType, name: 'AssetTypeEnum', description: 'Asset type' })
|
||||||
type!: AssetType;
|
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 busting.',
|
||||||
|
})
|
||||||
thumbhash!: string | null;
|
thumbhash!: string | null;
|
||||||
@ApiPropertyOptional({ description: 'Original MIME type' })
|
@ApiPropertyOptional({ description: 'Original MIME type' })
|
||||||
originalMimeType?: string;
|
originalMimeType?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user