mirror of
https://github.com/immich-app/immich.git
synced 2024-12-20 00:38:24 +02:00
b3c7bebbd4
* add library validation api * chore: open api * show warning i UI * add flex row * fix e2e * tests * fix tests * enforce path validation * enforce validation on refresh * return 400 on bad import path * add limits to import paths * set response code to 200 * fix e2e * fix lint * fix test * restore e2e folder * fix import * use startsWith * icon color * notify user of failed validation * add parent div to validation * add docs to the import validation * improve library troubleshooting docs * fix button alignment --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
67 lines
1.7 KiB
Dart
Generated
67 lines
1.7 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 LibraryApi
|
|
void main() {
|
|
// final instance = LibraryApi();
|
|
|
|
group('tests for LibraryApi', () {
|
|
//Future<LibraryResponseDto> createLibrary(CreateLibraryDto createLibraryDto) async
|
|
test('test createLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
//Future deleteLibrary(String id) async
|
|
test('test deleteLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
//Future<List<LibraryResponseDto>> getLibraries() async
|
|
test('test getLibraries', () async {
|
|
// TODO
|
|
});
|
|
|
|
//Future<LibraryResponseDto> getLibraryInfo(String id) async
|
|
test('test getLibraryInfo', () async {
|
|
// TODO
|
|
});
|
|
|
|
//Future<LibraryStatsResponseDto> getLibraryStatistics(String id) async
|
|
test('test getLibraryStatistics', () async {
|
|
// TODO
|
|
});
|
|
|
|
//Future removeOfflineFiles(String id) async
|
|
test('test removeOfflineFiles', () async {
|
|
// TODO
|
|
});
|
|
|
|
//Future scanLibrary(String id, ScanLibraryDto scanLibraryDto) async
|
|
test('test scanLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
//Future<LibraryResponseDto> updateLibrary(String id, UpdateLibraryDto updateLibraryDto) async
|
|
test('test updateLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
//Future<ValidateLibraryResponseDto> validate(String id, ValidateLibraryDto validateLibraryDto) async
|
|
test('test validate', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|