mirror of
https://github.com/immich-app/immich.git
synced 2024-12-19 00:32:49 +02:00
3e804f16df
* add thumbhash: server generation and web impl * move logic to infra & use byta in db * remove unnecesary logs * update generated API and simplify thumbhash gen * fix check errors * removed unnecessary library and css tag * style edits * syntax mistake * update server test, change thumbhash job name * fix tests * Update server/src/domain/asset/response-dto/asset-response.dto.ts Co-authored-by: Thomas <9749173+uhthomas@users.noreply.github.com> * add unit test, change migration date * change to official thumbhash impl * update call method to not use eval * "generate missing" looks for thumbhash * improve queue & improve syntax * update syntax again * update tests * fix thumbhash generation * consolidate queueing to avoid duplication * cover all types of incorrect thumbnail cases * split out jest tasks * put back thumbnail duration loading for images without thumbhash * Remove stray package.json --------- Co-authored-by: Luke McCarthy <mail@lukehmcc.com> Co-authored-by: Thomas <9749173+uhthomas@users.noreply.github.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
1.4 KiB
Generated
1.4 KiB
Generated
openapi.model.AssetResponseDto
Load the model package
import 'package:openapi/api.dart';
Properties
Name | Type | Description | Notes |
---|---|---|---|
type | AssetTypeEnum | ||
id | String | ||
deviceAssetId | String | ||
ownerId | String | ||
deviceId | String | ||
originalPath | String | ||
originalFileName | String | ||
resized | bool | ||
thumbhash | String | base64 encoded thumbhash | |
fileCreatedAt | DateTime | ||
fileModifiedAt | DateTime | ||
updatedAt | DateTime | ||
isFavorite | bool | ||
isArchived | bool | ||
mimeType | String | ||
duration | String | ||
exifInfo | ExifResponseDto | [optional] | |
smartInfo | SmartInfoResponseDto | [optional] | |
livePhotoVideoId | String | [optional] | |
tags | List | [optional] [default to const []] | |
people | List | [optional] [default to const []] | |
checksum | String | base64 encoded sha1 hash |