mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(server/web) Add manual job trigger mechanism to the web (#767)
This commit is contained in:
52
mobile/openapi/test/all_job_status_response_dto_test.dart
Normal file
52
mobile/openapi/test/all_job_status_response_dto_test.dart
Normal file
@@ -0,0 +1,52 @@
|
||||
//
|
||||
// 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 AllJobStatusResponseDto
|
||||
void main() {
|
||||
// final instance = AllJobStatusResponseDto();
|
||||
|
||||
group('test AllJobStatusResponseDto', () {
|
||||
// bool isThumbnailGenerationActive
|
||||
test('to test the property `isThumbnailGenerationActive`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Object thumbnailGenerationQueueCount
|
||||
test('to test the property `thumbnailGenerationQueueCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool isMetadataExtractionActive
|
||||
test('to test the property `isMetadataExtractionActive`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Object metadataExtractionQueueCount
|
||||
test('to test the property `metadataExtractionQueueCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool isVideoConversionActive
|
||||
test('to test the property `isVideoConversionActive`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Object videoConversionQueueCount
|
||||
test('to test the property `videoConversionQueueCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
27
mobile/openapi/test/create_job_dto_test.dart
Normal file
27
mobile/openapi/test/create_job_dto_test.dart
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// 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 CreateJobDto
|
||||
void main() {
|
||||
// final instance = CreateJobDto();
|
||||
|
||||
group('test CreateJobDto', () {
|
||||
// JobType jobType
|
||||
test('to test the property `jobType`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
41
mobile/openapi/test/job_api_test.dart
Normal file
41
mobile/openapi/test/job_api_test.dart
Normal file
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// 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 JobApi
|
||||
void main() {
|
||||
// final instance = JobApi();
|
||||
|
||||
group('tests for JobApi', () {
|
||||
//Future<Object> create(CreateJobDto createJobDto) async
|
||||
test('test create', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
//Future<AllJobStatusResponseDto> getAllJobsStatus() async
|
||||
test('test getAllJobsStatus', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
//Future<JobStatusResponseDto> getJobStatus(JobType jobType) async
|
||||
test('test getJobStatus', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
//Future<JobStatusResponseDto> stopJob(JobType jobType) async
|
||||
test('test stopJob', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
27
mobile/openapi/test/job_command_dto_test.dart
Normal file
27
mobile/openapi/test/job_command_dto_test.dart
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// 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 JobCommandDto
|
||||
void main() {
|
||||
// final instance = JobCommandDto();
|
||||
|
||||
group('test JobCommandDto', () {
|
||||
// JobCommand command
|
||||
test('to test the property `command`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
21
mobile/openapi/test/job_command_test.dart
Normal file
21
mobile/openapi/test/job_command_test.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// 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 JobCommand
|
||||
void main() {
|
||||
|
||||
group('test JobCommand', () {
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
47
mobile/openapi/test/job_counts_test.dart
Normal file
47
mobile/openapi/test/job_counts_test.dart
Normal file
@@ -0,0 +1,47 @@
|
||||
//
|
||||
// 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 JobCounts
|
||||
void main() {
|
||||
// final instance = JobCounts();
|
||||
|
||||
group('test JobCounts', () {
|
||||
// num active
|
||||
test('to test the property `active`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// num completed
|
||||
test('to test the property `completed`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// num failed
|
||||
test('to test the property `failed`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// num delayed
|
||||
test('to test the property `delayed`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// num waiting
|
||||
test('to test the property `waiting`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
21
mobile/openapi/test/job_id_test.dart
Normal file
21
mobile/openapi/test/job_id_test.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// 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 JobId
|
||||
void main() {
|
||||
|
||||
group('test JobId', () {
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
32
mobile/openapi/test/job_status_response_dto_test.dart
Normal file
32
mobile/openapi/test/job_status_response_dto_test.dart
Normal file
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// 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 JobStatusResponseDto
|
||||
void main() {
|
||||
// final instance = JobStatusResponseDto();
|
||||
|
||||
group('test JobStatusResponseDto', () {
|
||||
// bool isActive
|
||||
test('to test the property `isActive`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Object queueCount
|
||||
test('to test the property `queueCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
21
mobile/openapi/test/job_type_test.dart
Normal file
21
mobile/openapi/test/job_type_test.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// 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 JobType
|
||||
void main() {
|
||||
|
||||
group('test JobType', () {
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user