fix(web): empty album is not auto deleted (#2283)

* fix(web): empty album is not auto deleted

* regenerate api

* fix test
This commit is contained in:
Alex 2023-04-18 11:26:04 -05:00 committed by GitHub
parent 8a421831ab
commit 975d23ee5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 108 additions and 824 deletions

View file

@ -16,9 +16,7 @@ class SearchApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /search/explore' operation and returns the [Response].
Future<Response> getExploreDataWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/search/explore';
@ -44,7 +42,6 @@ class SearchApi {
);
}
///
Future<List<SearchExploreResponseDto>?> getExploreData() async {
final response = await getExploreDataWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -63,9 +60,7 @@ class SearchApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /search/config' operation and returns the [Response].
Future<Response> getSearchConfigWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/search/config';
@ -91,7 +86,6 @@ class SearchApi {
);
}
///
Future<SearchConfigResponseDto?> getSearchConfig() async {
final response = await getSearchConfigWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -107,10 +101,7 @@ class SearchApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /search' operation and returns the [Response].
/// Parameters:
///
/// * [String] q:
@ -213,8 +204,6 @@ class SearchApi {
);
}
///
///
/// Parameters:
///
/// * [String] q: