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
42 changed files with 108 additions and 824 deletions

View File

@@ -16,10 +16,7 @@ class APIKeyApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /api-key' operation and returns the [Response].
/// Parameters:
///
/// * [APIKeyCreateDto] aPIKeyCreateDto (required):
@@ -48,8 +45,6 @@ class APIKeyApi {
);
}
///
///
/// Parameters:
///
/// * [APIKeyCreateDto] aPIKeyCreateDto (required):
@@ -68,10 +63,7 @@ class APIKeyApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -101,8 +93,6 @@ class APIKeyApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):
@@ -113,10 +103,7 @@ class APIKeyApi {
}
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -146,8 +133,6 @@ class APIKeyApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):
@@ -166,9 +151,7 @@ class APIKeyApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /api-key' operation and returns the [Response].
Future<Response> getKeysWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/api-key';
@@ -194,7 +177,6 @@ class APIKeyApi {
);
}
///
Future<List<APIKeyResponseDto>?> getKeys() async {
final response = await getKeysWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -213,10 +195,7 @@ class APIKeyApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -248,8 +227,6 @@ class APIKeyApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):