mirror of
https://github.com/immich-app/immich.git
synced 2024-12-13 11:54:52 +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>
135 lines
2.9 KiB
Dart
Generated
135 lines
2.9 KiB
Dart
Generated
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
// @dart=2.12
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
import 'package:openapi/api.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
// tests for AssetResponseDto
|
|
void main() {
|
|
// final instance = AssetResponseDto();
|
|
|
|
group('test AssetResponseDto', () {
|
|
// AssetTypeEnum type
|
|
test('to test the property `type`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String id
|
|
test('to test the property `id`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String deviceAssetId
|
|
test('to test the property `deviceAssetId`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String ownerId
|
|
test('to test the property `ownerId`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String deviceId
|
|
test('to test the property `deviceId`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String originalPath
|
|
test('to test the property `originalPath`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String originalFileName
|
|
test('to test the property `originalFileName`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// bool resized
|
|
test('to test the property `resized`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// base64 encoded thumbhash
|
|
// String thumbhash
|
|
test('to test the property `thumbhash`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// DateTime fileCreatedAt
|
|
test('to test the property `fileCreatedAt`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// DateTime fileModifiedAt
|
|
test('to test the property `fileModifiedAt`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// DateTime updatedAt
|
|
test('to test the property `updatedAt`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// bool isFavorite
|
|
test('to test the property `isFavorite`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// bool isArchived
|
|
test('to test the property `isArchived`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String mimeType
|
|
test('to test the property `mimeType`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String duration
|
|
test('to test the property `duration`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// ExifResponseDto exifInfo
|
|
test('to test the property `exifInfo`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// SmartInfoResponseDto smartInfo
|
|
test('to test the property `smartInfo`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String livePhotoVideoId
|
|
test('to test the property `livePhotoVideoId`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// List<TagResponseDto> tags (default value: const [])
|
|
test('to test the property `tags`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// List<PersonResponseDto> people (default value: const [])
|
|
test('to test the property `people`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// base64 encoded sha1 hash
|
|
// String checksum
|
|
test('to test the property `checksum`', () async {
|
|
// TODO
|
|
});
|
|
|
|
|
|
});
|
|
|
|
}
|