mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
refactor(server): jobs (#2023)
* refactor: job to domain * chore: regenerate open api * chore: tests * fix: missing breaks * fix: get asset with missing exif data --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
@@ -16,28 +16,43 @@ void main() {
|
||||
// final instance = AllJobStatusResponseDto();
|
||||
|
||||
group('test AllJobStatusResponseDto', () {
|
||||
// JobCounts thumbnailGeneration
|
||||
test('to test the property `thumbnailGeneration`', () async {
|
||||
// JobCountsDto thumbnailGenerationQueue
|
||||
test('to test the property `thumbnailGenerationQueue`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// JobCounts metadataExtraction
|
||||
test('to test the property `metadataExtraction`', () async {
|
||||
// JobCountsDto metadataExtractionQueue
|
||||
test('to test the property `metadataExtractionQueue`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// JobCounts videoConversion
|
||||
test('to test the property `videoConversion`', () async {
|
||||
// JobCountsDto videoConversionQueue
|
||||
test('to test the property `videoConversionQueue`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// JobCounts machineLearning
|
||||
test('to test the property `machineLearning`', () async {
|
||||
// JobCountsDto objectTaggingQueue
|
||||
test('to test the property `objectTaggingQueue`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// JobCounts storageTemplateMigration
|
||||
test('to test the property `storageTemplateMigration`', () async {
|
||||
// JobCountsDto clipEncodingQueue
|
||||
test('to test the property `clipEncodingQueue`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// JobCountsDto storageTemplateMigrationQueue
|
||||
test('to test the property `storageTemplateMigrationQueue`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// JobCountsDto backgroundTaskQueue
|
||||
test('to test the property `backgroundTaskQueue`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// JobCountsDto searchQueue
|
||||
test('to test the property `searchQueue`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
2
mobile/openapi/test/job_api_test.dart
generated
2
mobile/openapi/test/job_api_test.dart
generated
@@ -26,7 +26,7 @@ void main() {
|
||||
|
||||
//
|
||||
//
|
||||
//Future<num> sendJobCommand(JobId jobId, JobCommandDto jobCommandDto) async
|
||||
//Future sendJobCommand(JobName jobId, JobCommandDto jobCommandDto) async
|
||||
test('test sendJobCommand', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
4
mobile/openapi/test/job_command_dto_test.dart
generated
4
mobile/openapi/test/job_command_dto_test.dart
generated
@@ -21,8 +21,8 @@ void main() {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool includeAllAssets
|
||||
test('to test the property `includeAllAssets`', () async {
|
||||
// bool force
|
||||
test('to test the property `force`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
import 'package:openapi/api.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
// tests for JobCounts
|
||||
// tests for JobCountsDto
|
||||
void main() {
|
||||
// final instance = JobCounts();
|
||||
// final instance = JobCountsDto();
|
||||
|
||||
group('test JobCounts', () {
|
||||
group('test JobCountsDto', () {
|
||||
// int active
|
||||
test('to test the property `active`', () async {
|
||||
// TODO
|
||||
@@ -11,10 +11,10 @@
|
||||
import 'package:openapi/api.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
// tests for JobId
|
||||
// tests for JobName
|
||||
void main() {
|
||||
|
||||
group('test JobId', () {
|
||||
group('test JobName', () {
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user