mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
93 lines
2.3 KiB
Dart
93 lines
2.3 KiB
Dart
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
// @dart=2.18
|
|
|
|
// 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 LibrariesApi
|
|
void main() {
|
|
// final instance = LibrariesApi();
|
|
|
|
group('tests for LibrariesApi', () {
|
|
// Create a library
|
|
//
|
|
// Create a new external library.
|
|
//
|
|
//Future<LibraryResponseDto> createLibrary(CreateLibraryDto createLibraryDto) async
|
|
test('test createLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete a library
|
|
//
|
|
// Delete an external library by its ID.
|
|
//
|
|
//Future deleteLibrary(String id) async
|
|
test('test deleteLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Retrieve libraries
|
|
//
|
|
// Retrieve a list of external libraries.
|
|
//
|
|
//Future<List<LibraryResponseDto>> getAllLibraries() async
|
|
test('test getAllLibraries', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Retrieve a library
|
|
//
|
|
// Retrieve an external library by its ID.
|
|
//
|
|
//Future<LibraryResponseDto> getLibrary(String id) async
|
|
test('test getLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Retrieve library statistics
|
|
//
|
|
// Retrieve statistics for a specific external library, including number of videos, images, and storage usage.
|
|
//
|
|
//Future<LibraryStatsResponseDto> getLibraryStatistics(String id) async
|
|
test('test getLibraryStatistics', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Scan a library
|
|
//
|
|
// Queue a scan for the external library to find and import new assets.
|
|
//
|
|
//Future scanLibrary(String id) async
|
|
test('test scanLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Update a library
|
|
//
|
|
// Update an existing external library.
|
|
//
|
|
//Future<LibraryResponseDto> updateLibrary(String id, UpdateLibraryDto updateLibraryDto) async
|
|
test('test updateLibrary', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Validate library settings
|
|
//
|
|
// Validate the settings of an external library.
|
|
//
|
|
//Future<ValidateLibraryResponseDto> validate(String id, ValidateLibraryDto validateLibraryDto) async
|
|
test('test validate', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|