1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-21 01:39:59 +02:00
immich/mobile/openapi/test/library_api_test.dart
Jonathan Jogenfors efa6efd200
feat(server,web): remove external path nonsense and make libraries admin-only (#7237)
* remove external path

* open-api

* make sql

* move library settings to admin panel

* Add documentation

* show external libraries only

* fix library list

* make user library settings look good

* fix test

* fix tests

* fix tests

* can pick user for library

* fix tests

* fix e2e

* chore: make sql

* Use unauth exception

* delete user library list

* cleanup

* fix e2e

* fix await lint

* chore: remove unused code

* chore: cleanup

* revert docs

* fix: is admin stuff

* table alignment

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-02-29 12:35:37 -06:00

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>> getAllLibraries({ LibraryType type }) async
test('test getAllLibraries', () async {
// TODO
});
//Future<LibraryResponseDto> getLibrary(String id) async
test('test getLibrary', () 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
});
});
}