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

* 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
mobile/openapi/lib/api

View file

@ -16,9 +16,7 @@ class SystemConfigApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /system-config' operation and returns the [Response].
Future<Response> getConfigWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config';
@ -44,7 +42,6 @@ class SystemConfigApi {
);
}
///
Future<SystemConfigDto?> getConfig() async {
final response = await getConfigWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -60,9 +57,7 @@ class SystemConfigApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /system-config/defaults' operation and returns the [Response].
Future<Response> getDefaultsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config/defaults';
@ -88,7 +83,6 @@ class SystemConfigApi {
);
}
///
Future<SystemConfigDto?> getDefaults() async {
final response = await getDefaultsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -104,9 +98,7 @@ class SystemConfigApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /system-config/storage-template-options' operation and returns the [Response].
Future<Response> getStorageTemplateOptionsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config/storage-template-options';
@ -132,7 +124,6 @@ class SystemConfigApi {
);
}
///
Future<SystemConfigTemplateStorageOptionDto?> getStorageTemplateOptions() async {
final response = await getStorageTemplateOptionsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -148,10 +139,7 @@ class SystemConfigApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /system-config' operation and returns the [Response].
/// Parameters:
///
/// * [SystemConfigDto] systemConfigDto (required):
@ -180,8 +168,6 @@ class SystemConfigApi {
);
}
///
///
/// Parameters:
///
/// * [SystemConfigDto] systemConfigDto (required):