High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): empty album is not auto deleted (#2283)
Alex975d23ee5c02
diff --git a/mobile/openapi/doc/APIKeyApi.md b/mobile/openapi/doc/APIKeyApi.mdindex f28922c0d3..b3815f7da3 100644--- a/mobile/openapi/doc/APIKeyApi.md+++ b/mobile/openapi/doc/APIKeyApi.md@@ -21,8 +21,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -74,8 +72,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -126,8 +122,6 @@ void (empty response body)--### Example```dartimport 'package:openapi/api.dart';@@ -179,8 +173,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -228,8 +220,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/AlbumApi.md b/mobile/openapi/doc/AlbumApi.mdindex c711e6a78b..8f9ae1699a 100644--- a/mobile/openapi/doc/AlbumApi.md+++ b/mobile/openapi/doc/AlbumApi.md@@ -28,8 +28,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -85,8 +83,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -140,8 +136,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -193,8 +187,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -246,8 +238,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -298,8 +288,6 @@ void (empty response body)--### Example```dartimport 'package:openapi/api.dart';@@ -357,8 +345,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -406,8 +392,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -461,8 +445,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -516,8 +498,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -571,8 +551,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -625,8 +603,6 @@ void (empty response body)--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/AssetApi.md b/mobile/openapi/doc/AssetApi.mdindex 2012f41c06..5752cb086e 100644--- a/mobile/openapi/doc/AssetApi.md+++ b/mobile/openapi/doc/AssetApi.md@@ -40,8 +40,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -203,8 +201,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -256,8 +252,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -309,8 +303,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -364,8 +356,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -535,8 +525,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -639,8 +627,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -692,8 +678,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -745,8 +729,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -794,8 +776,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -843,8 +823,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -900,8 +878,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -949,8 +925,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -1051,8 +1025,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -1106,8 +1078,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -1159,8 +1129,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -1273,8 +1241,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/AuthenticationApi.md b/mobile/openapi/doc/AuthenticationApi.mdindex 4ce630177a..5b529cadb1 100644--- a/mobile/openapi/doc/AuthenticationApi.md+++ b/mobile/openapi/doc/AuthenticationApi.md@@ -21,8 +21,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -64,8 +62,6 @@ No authorization required--### Example```dartimport 'package:openapi/api.dart';@@ -117,8 +113,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -160,8 +154,6 @@ No authorization required--### Example```dartimport 'package:openapi/api.dart';@@ -209,8 +201,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/DeviceInfoApi.md b/mobile/openapi/doc/DeviceInfoApi.mdindex e0a9a7de3a..0924871512 100644--- a/mobile/openapi/doc/DeviceInfoApi.md+++ b/mobile/openapi/doc/DeviceInfoApi.md@@ -17,8 +17,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/JobApi.md b/mobile/openapi/doc/JobApi.mdindex 96979c4e19..5c6dff1cc3 100644--- a/mobile/openapi/doc/JobApi.md+++ b/mobile/openapi/doc/JobApi.md@@ -18,8 +18,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -67,8 +65,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/OAuthApi.md b/mobile/openapi/doc/OAuthApi.mdindex e6ceb2bdc3..b0952f865c 100644--- a/mobile/openapi/doc/OAuthApi.md+++ b/mobile/openapi/doc/OAuthApi.md@@ -21,8 +21,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -64,8 +62,6 @@ No authorization required--### Example```dartimport 'package:openapi/api.dart';@@ -107,8 +103,6 @@ No authorization required--### Example```dartimport 'package:openapi/api.dart';@@ -160,8 +154,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -198,8 +190,6 @@ No authorization required--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/SearchApi.md b/mobile/openapi/doc/SearchApi.mdindex 3cd5f5e2d6..a5e22f2b0d 100644--- a/mobile/openapi/doc/SearchApi.md+++ b/mobile/openapi/doc/SearchApi.md@@ -19,8 +19,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -68,8 +66,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -117,8 +113,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/ServerInfoApi.md b/mobile/openapi/doc/ServerInfoApi.mdindex aa74bf56ca..b9d3ab5a22 100644--- a/mobile/openapi/doc/ServerInfoApi.md+++ b/mobile/openapi/doc/ServerInfoApi.md@@ -20,8 +20,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -69,8 +67,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -108,8 +104,6 @@ No authorization required--### Example```dartimport 'package:openapi/api.dart';@@ -157,8 +151,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/ShareApi.md b/mobile/openapi/doc/ShareApi.mdindex 335c39d08a..e669d1c41f 100644--- a/mobile/openapi/doc/ShareApi.md+++ b/mobile/openapi/doc/ShareApi.md@@ -21,8 +21,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -76,8 +74,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -125,8 +121,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -178,8 +172,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -231,8 +223,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/SystemConfigApi.md b/mobile/openapi/doc/SystemConfigApi.mdindex d033f2f8d6..9cd479fc89 100644--- a/mobile/openapi/doc/SystemConfigApi.md+++ b/mobile/openapi/doc/SystemConfigApi.md@@ -20,8 +20,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -69,8 +67,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -118,8 +114,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -167,8 +161,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/TagApi.md b/mobile/openapi/doc/TagApi.mdindex ba0aea9c26..c3cf63232b 100644--- a/mobile/openapi/doc/TagApi.md+++ b/mobile/openapi/doc/TagApi.md@@ -21,8 +21,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -74,8 +72,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -126,8 +122,6 @@ void (empty response body)--### Example```dartimport 'package:openapi/api.dart';@@ -175,8 +169,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -228,8 +220,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/doc/UserApi.md b/mobile/openapi/doc/UserApi.mdindex d820878b43..872a6cb5f3 100644--- a/mobile/openapi/doc/UserApi.md+++ b/mobile/openapi/doc/UserApi.md@@ -26,8 +26,6 @@ Method | HTTP request | Description--### Example```dartimport 'package:openapi/api.dart';@@ -79,8 +77,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -132,8 +128,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -185,8 +179,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -238,8 +230,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -287,8 +277,6 @@ This endpoint does not need any parameter.--### Example```dartimport 'package:openapi/api.dart';@@ -340,8 +328,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -393,8 +379,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';@@ -436,8 +420,6 @@ No authorization required--### Example```dartimport 'package:openapi/api.dart';@@ -489,8 +471,6 @@ Name | Type | Description | Notes--### Example```dartimport 'package:openapi/api.dart';diff --git a/mobile/openapi/lib/api/album_api.dart b/mobile/openapi/lib/api/album_api.dartindex 8f7fe5ab37..c0f5c0da5c 100644--- a/mobile/openapi/lib/api/album_api.dart+++ b/mobile/openapi/lib/api/album_api.dart@@ -16,10 +16,7 @@ class AlbumApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PUT /album/{albumId}/assets' operation and returns the [Response]./// Parameters:////// * [String] albumId (required):@@ -57,8 +54,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [String] albumId (required):@@ -81,10 +76,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PUT /album/{albumId}/users' operation and returns the [Response]./// Parameters:////// * [String] albumId (required):@@ -116,8 +108,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [String] albumId (required):@@ -138,10 +128,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /album' operation and returns the [Response]./// Parameters:////// * [CreateAlbumDto] createAlbumDto (required):@@ -170,8 +157,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [CreateAlbumDto] createAlbumDto (required):@@ -190,10 +175,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /album/create-shared-link' operation and returns the [Response]./// Parameters:////// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required):@@ -222,8 +204,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required):@@ -242,10 +222,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'DELETE /album/{albumId}' operation and returns the [Response]./// Parameters:////// * [String] albumId (required):@@ -275,8 +252,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [String] albumId (required):@@ -287,10 +262,7 @@ class AlbumApi {}}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /album/{albumId}/download' operation and returns the [Response]./// Parameters:////// * [String] albumId (required):@@ -336,8 +308,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [String] albumId (required):@@ -362,9 +332,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /album/count-by-user-id' operation and returns the [Response].Future<Response> getAlbumCountByUserIdWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/album/count-by-user-id';@@ -390,7 +358,6 @@ class AlbumApi {);}- ///Future<AlbumCountResponseDto?> getAlbumCountByUserId() async {final response = await getAlbumCountByUserIdWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -406,10 +373,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /album/{albumId}' operation and returns the [Response]./// Parameters:////// * [String] albumId (required):@@ -445,8 +409,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [String] albumId (required):@@ -467,10 +429,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /album' operation and returns the [Response]./// Parameters:////// * [bool] shared:@@ -509,8 +468,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [bool] shared:@@ -535,10 +492,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'DELETE /album/{albumId}/assets' operation and returns the [Response]./// Parameters:////// * [String] albumId (required):@@ -570,8 +524,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [String] albumId (required):@@ -592,10 +544,7 @@ class AlbumApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'DELETE /album/{albumId}/user/{userId}' operation and returns the [Response]./// Parameters:////// * [String] albumId (required):@@ -628,8 +577,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [String] albumId (required):@@ -642,10 +589,7 @@ class AlbumApi {}}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PATCH /album/{albumId}' operation and returns the [Response]./// Parameters:////// * [String] albumId (required):@@ -677,8 +621,6 @@ class AlbumApi {);}- ///- ////// Parameters:////// * [String] albumId (required):diff --git a/mobile/openapi/lib/api/api_key_api.dart b/mobile/openapi/lib/api/api_key_api.dartindex e13eb32e1a..fb6cc9941d 100644--- a/mobile/openapi/lib/api/api_key_api.dart+++ b/mobile/openapi/lib/api/api_key_api.dart@@ -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_declarationsfinal 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):diff --git a/mobile/openapi/lib/api/asset_api.dart b/mobile/openapi/lib/api/asset_api.dartindex 4c9732518c..79e853b97c 100644--- a/mobile/openapi/lib/api/asset_api.dart+++ b/mobile/openapi/lib/api/asset_api.dart@@ -16,10 +16,7 @@ class AssetApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PATCH /asset/shared-link/add' operation and returns the [Response]./// Parameters:////// * [AddAssetsDto] addAssetsDto (required):@@ -54,8 +51,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [AddAssetsDto] addAssetsDto (required):@@ -188,10 +183,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /asset/shared-link' operation and returns the [Response]./// Parameters:////// * [CreateAssetsShareLinkDto] createAssetsShareLinkDto (required):@@ -220,8 +212,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [CreateAssetsShareLinkDto] createAssetsShareLinkDto (required):@@ -240,10 +230,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'DELETE /asset' operation and returns the [Response]./// Parameters:////// * [DeleteAssetDto] deleteAssetDto (required):@@ -272,8 +259,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [DeleteAssetDto] deleteAssetDto (required):@@ -295,10 +280,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /asset/download/{assetId}' operation and returns the [Response]./// Parameters:////// * [String] assetId (required):@@ -334,8 +316,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [String] assetId (required):@@ -356,10 +336,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /asset/download-files' operation and returns the [Response]./// Parameters:////// * [DownloadFilesDto] downloadFilesDto (required):@@ -394,8 +371,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [DownloadFilesDto] downloadFilesDto (required):@@ -569,9 +544,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /asset/stat/archive' operation and returns the [Response].Future<Response> getArchivedAssetCountByUserIdWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/asset/stat/archive';@@ -597,7 +570,6 @@ class AssetApi {);}- ///Future<AssetCountByUserIdResponseDto?> getArchivedAssetCountByUserId() async {final response = await getArchivedAssetCountByUserIdWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -674,10 +646,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /asset/time-bucket' operation and returns the [Response]./// Parameters:////// * [GetAssetByTimeBucketDto] getAssetByTimeBucketDto (required):@@ -706,8 +675,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [GetAssetByTimeBucketDto] getAssetByTimeBucketDto (required):@@ -729,10 +696,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /asset/count-by-time-bucket' operation and returns the [Response]./// Parameters:////// * [GetAssetCountByTimeBucketDto] getAssetCountByTimeBucketDto (required):@@ -761,8 +725,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [GetAssetCountByTimeBucketDto] getAssetCountByTimeBucketDto (required):@@ -781,9 +743,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /asset/count-by-user-id' operation and returns the [Response].Future<Response> getAssetCountByUserIdWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/asset/count-by-user-id';@@ -809,7 +769,6 @@ class AssetApi {);}- ///Future<AssetCountByUserIdResponseDto?> getAssetCountByUserId() async {final response = await getAssetCountByUserIdWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -825,9 +784,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /asset/search-terms' operation and returns the [Response].Future<Response> getAssetSearchTermsWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/asset/search-terms';@@ -853,7 +810,6 @@ class AssetApi {);}- ///Future<List<String>?> getAssetSearchTerms() async {final response = await getAssetSearchTermsWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -872,10 +828,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /asset/thumbnail/{assetId}' operation and returns the [Response]./// Parameters:////// * [String] assetId (required):@@ -916,8 +869,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [String] assetId (required):@@ -940,9 +891,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /asset/curated-locations' operation and returns the [Response].Future<Response> getCuratedLocationsWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/asset/curated-locations';@@ -968,7 +917,6 @@ class AssetApi {);}- ///Future<List<CuratedLocationsResponseDto>?> getCuratedLocations() async {final response = await getCuratedLocationsWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -987,9 +935,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /asset/curated-objects' operation and returns the [Response].Future<Response> getCuratedObjectsWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/asset/curated-objects';@@ -1015,7 +961,6 @@ class AssetApi {);}- ///Future<List<CuratedObjectsResponseDto>?> getCuratedObjects() async {final response = await getCuratedObjectsWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -1090,10 +1035,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PATCH /asset/shared-link/remove' operation and returns the [Response]./// Parameters:////// * [RemoveAssetsDto] removeAssetsDto (required):@@ -1128,8 +1070,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [RemoveAssetsDto] removeAssetsDto (required):@@ -1150,10 +1090,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /asset/search' operation and returns the [Response]./// Parameters:////// * [SearchAssetDto] searchAssetDto (required):@@ -1182,8 +1119,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [SearchAssetDto] searchAssetDto (required):@@ -1205,10 +1140,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /asset/file/{assetId}' operation and returns the [Response]./// Parameters:////// * [String] assetId (required):@@ -1254,8 +1186,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [String] assetId (required):@@ -1337,10 +1267,7 @@ class AssetApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /asset/upload' operation and returns the [Response]./// Parameters:////// * [AssetTypeEnum] assetType (required):@@ -1452,8 +1379,6 @@ class AssetApi {);}- ///- ////// Parameters:////// * [AssetTypeEnum] assetType (required):diff --git a/mobile/openapi/lib/api/authentication_api.dart b/mobile/openapi/lib/api/authentication_api.dartindex 628ee2f1f5..39888550dc 100644--- a/mobile/openapi/lib/api/authentication_api.dart+++ b/mobile/openapi/lib/api/authentication_api.dart@@ -16,10 +16,7 @@ class AuthenticationApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /auth/admin-sign-up' operation and returns the [Response]./// Parameters:////// * [SignUpDto] signUpDto (required):@@ -48,8 +45,6 @@ class AuthenticationApi {);}- ///- ////// Parameters:////// * [SignUpDto] signUpDto (required):@@ -68,10 +63,7 @@ class AuthenticationApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /auth/change-password' operation and returns the [Response]./// Parameters:////// * [ChangePasswordDto] changePasswordDto (required):@@ -100,8 +92,6 @@ class AuthenticationApi {);}- ///- ////// Parameters:////// * [ChangePasswordDto] changePasswordDto (required):@@ -120,10 +110,7 @@ class AuthenticationApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /auth/login' operation and returns the [Response]./// Parameters:////// * [LoginCredentialDto] loginCredentialDto (required):@@ -152,8 +139,6 @@ class AuthenticationApi {);}- ///- ////// Parameters:////// * [LoginCredentialDto] loginCredentialDto (required):@@ -172,9 +157,7 @@ class AuthenticationApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'POST /auth/logout' operation and returns the [Response].Future<Response> logoutWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/auth/logout';@@ -200,7 +183,6 @@ class AuthenticationApi {);}- ///Future<LogoutResponseDto?> logout() async {final response = await logoutWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -216,9 +198,7 @@ class AuthenticationApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'POST /auth/validateToken' operation and returns the [Response].Future<Response> validateAccessTokenWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/auth/validateToken';@@ -244,7 +224,6 @@ class AuthenticationApi {);}- ///Future<ValidateAccessTokenResponseDto?> validateAccessToken() async {final response = await validateAccessTokenWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {diff --git a/mobile/openapi/lib/api/device_info_api.dart b/mobile/openapi/lib/api/device_info_api.dartindex ac3c81842d..b65b6bd713 100644--- a/mobile/openapi/lib/api/device_info_api.dart+++ b/mobile/openapi/lib/api/device_info_api.dart@@ -16,10 +16,7 @@ class DeviceInfoApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PUT /device-info' operation and returns the [Response]./// Parameters:////// * [UpsertDeviceInfoDto] upsertDeviceInfoDto (required):@@ -48,8 +45,6 @@ class DeviceInfoApi {);}- ///- ////// Parameters:////// * [UpsertDeviceInfoDto] upsertDeviceInfoDto (required):diff --git a/mobile/openapi/lib/api/job_api.dart b/mobile/openapi/lib/api/job_api.dartindex a3c0e87aab..7e4037832c 100644--- a/mobile/openapi/lib/api/job_api.dart+++ b/mobile/openapi/lib/api/job_api.dart@@ -16,9 +16,7 @@ class JobApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /jobs' operation and returns the [Response].Future<Response> getAllJobsStatusWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/jobs';@@ -44,7 +42,6 @@ class JobApi {);}- ///Future<AllJobStatusResponseDto?> getAllJobsStatus() async {final response = await getAllJobsStatusWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -60,10 +57,7 @@ class JobApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PUT /jobs/{jobId}' operation and returns the [Response]./// Parameters:////// * [JobName] jobId (required):@@ -95,8 +89,6 @@ class JobApi {);}- ///- ////// Parameters:////// * [JobName] jobId (required):diff --git a/mobile/openapi/lib/api/o_auth_api.dart b/mobile/openapi/lib/api/o_auth_api.dartindex 61165c9a2d..b8778596a7 100644--- a/mobile/openapi/lib/api/o_auth_api.dart+++ b/mobile/openapi/lib/api/o_auth_api.dart@@ -16,10 +16,7 @@ class OAuthApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /oauth/callback' operation and returns the [Response]./// Parameters:////// * [OAuthCallbackDto] oAuthCallbackDto (required):@@ -48,8 +45,6 @@ class OAuthApi {);}- ///- ////// Parameters:////// * [OAuthCallbackDto] oAuthCallbackDto (required):@@ -68,10 +63,7 @@ class OAuthApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /oauth/config' operation and returns the [Response]./// Parameters:////// * [OAuthConfigDto] oAuthConfigDto (required):@@ -100,8 +92,6 @@ class OAuthApi {);}- ///- ////// Parameters:////// * [OAuthConfigDto] oAuthConfigDto (required):@@ -120,10 +110,7 @@ class OAuthApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /oauth/link' operation and returns the [Response]./// Parameters:////// * [OAuthCallbackDto] oAuthCallbackDto (required):@@ -152,8 +139,6 @@ class OAuthApi {);}- ///- ////// Parameters:////// * [OAuthCallbackDto] oAuthCallbackDto (required):@@ -172,9 +157,7 @@ class OAuthApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /oauth/mobile-redirect' operation and returns the [Response].Future<Response> mobileRedirectWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/oauth/mobile-redirect';@@ -200,7 +183,6 @@ class OAuthApi {);}- ///Future<void> mobileRedirect() async {final response = await mobileRedirectWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -208,9 +190,7 @@ class OAuthApi {}}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'POST /oauth/unlink' operation and returns the [Response].Future<Response> unlinkWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/oauth/unlink';@@ -236,7 +216,6 @@ class OAuthApi {);}- ///Future<UserResponseDto?> unlink() async {final response = await unlinkWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {diff --git a/mobile/openapi/lib/api/search_api.dart b/mobile/openapi/lib/api/search_api.dartindex b4ff53e9ea..9df6c79d07 100644--- a/mobile/openapi/lib/api/search_api.dart+++ b/mobile/openapi/lib/api/search_api.dart@@ -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_declarationsfinal 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_declarationsfinal 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:diff --git a/mobile/openapi/lib/api/server_info_api.dart b/mobile/openapi/lib/api/server_info_api.dartindex a939f885ea..8cc3460c9b 100644--- a/mobile/openapi/lib/api/server_info_api.dart+++ b/mobile/openapi/lib/api/server_info_api.dart@@ -16,9 +16,7 @@ class ServerInfoApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /server-info' operation and returns the [Response].Future<Response> getServerInfoWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/server-info';@@ -44,7 +42,6 @@ class ServerInfoApi {);}- ///Future<ServerInfoResponseDto?> getServerInfo() async {final response = await getServerInfoWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -60,9 +57,7 @@ class ServerInfoApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /server-info/version' operation and returns the [Response].Future<Response> getServerVersionWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/server-info/version';@@ -88,7 +83,6 @@ class ServerInfoApi {);}- ///Future<ServerVersionReponseDto?> getServerVersion() async {final response = await getServerVersionWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -104,9 +98,7 @@ class ServerInfoApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /server-info/stats' operation and returns the [Response].Future<Response> getStatsWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/server-info/stats';@@ -132,7 +124,6 @@ class ServerInfoApi {);}- ///Future<ServerStatsResponseDto?> getStats() async {final response = await getStatsWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -148,9 +139,7 @@ class ServerInfoApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /server-info/ping' operation and returns the [Response].Future<Response> pingServerWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/server-info/ping';@@ -176,7 +165,6 @@ class ServerInfoApi {);}- ///Future<ServerPingResponse?> pingServer() async {final response = await pingServerWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {diff --git a/mobile/openapi/lib/api/share_api.dart b/mobile/openapi/lib/api/share_api.dartindex ce0e4d8d02..53993285ab 100644--- a/mobile/openapi/lib/api/share_api.dart+++ b/mobile/openapi/lib/api/share_api.dart@@ -16,10 +16,7 @@ class ShareApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PATCH /share/{id}' operation and returns the [Response]./// Parameters:////// * [String] id (required):@@ -51,8 +48,6 @@ class ShareApi {);}- ///- ////// Parameters:////// * [String] id (required):@@ -73,9 +68,7 @@ class ShareApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /share' operation and returns the [Response].Future<Response> getAllSharedLinksWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/share';@@ -101,7 +94,6 @@ class ShareApi {);}- ///Future<List<SharedLinkResponseDto>?> getAllSharedLinks() async {final response = await getAllSharedLinksWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -120,10 +112,7 @@ class ShareApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /share/me' operation and returns the [Response]./// Parameters:////// * [String] key:@@ -156,8 +145,6 @@ class ShareApi {);}- ///- ////// Parameters:////// * [String] key:@@ -176,10 +163,7 @@ class ShareApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /share/{id}' operation and returns the [Response]./// Parameters:////// * [String] id (required):@@ -209,8 +193,6 @@ class ShareApi {);}- ///- ////// Parameters:////// * [String] id (required):@@ -229,10 +211,7 @@ class ShareApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'DELETE /share/{id}' operation and returns the [Response]./// Parameters:////// * [String] id (required):@@ -262,8 +241,6 @@ class ShareApi {);}- ///- ////// Parameters:////// * [String] id (required):diff --git a/mobile/openapi/lib/api/system_config_api.dart b/mobile/openapi/lib/api/system_config_api.dartindex 328a1fc3b7..d2d0ac5ba5 100644--- a/mobile/openapi/lib/api/system_config_api.dart+++ b/mobile/openapi/lib/api/system_config_api.dart@@ -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_declarationsfinal 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_declarationsfinal 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_declarationsfinal 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):diff --git a/mobile/openapi/lib/api/tag_api.dart b/mobile/openapi/lib/api/tag_api.dartindex 1869e0adec..3591cf11cb 100644--- a/mobile/openapi/lib/api/tag_api.dart+++ b/mobile/openapi/lib/api/tag_api.dart@@ -16,10 +16,7 @@ class TagApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /tag' operation and returns the [Response]./// Parameters:////// * [CreateTagDto] createTagDto (required):@@ -48,8 +45,6 @@ class TagApi {);}- ///- ////// Parameters:////// * [CreateTagDto] createTagDto (required):@@ -68,10 +63,7 @@ class TagApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'DELETE /tag/{id}' operation and returns the [Response]./// Parameters:////// * [String] id (required):@@ -101,8 +93,6 @@ class TagApi {);}- ///- ////// Parameters:////// * [String] id (required):@@ -113,9 +103,7 @@ class TagApi {}}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /tag' operation and returns the [Response].Future<Response> findAllWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/tag';@@ -141,7 +129,6 @@ class TagApi {);}- ///Future<List<TagResponseDto>?> findAll() async {final response = await findAllWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -160,10 +147,7 @@ class TagApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /tag/{id}' operation and returns the [Response]./// Parameters:////// * [String] id (required):@@ -193,8 +177,6 @@ class TagApi {);}- ///- ////// Parameters:////// * [String] id (required):@@ -213,10 +195,7 @@ class TagApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PATCH /tag/{id}' operation and returns the [Response]./// Parameters:////// * [String] id (required):@@ -248,8 +227,6 @@ class TagApi {);}- ///- ////// Parameters:////// * [String] id (required):diff --git a/mobile/openapi/lib/api/user_api.dart b/mobile/openapi/lib/api/user_api.dartindex 51bd6180fb..f187652ac2 100644--- a/mobile/openapi/lib/api/user_api.dart+++ b/mobile/openapi/lib/api/user_api.dart@@ -16,10 +16,7 @@ class UserApi {final ApiClient apiClient;- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /user/profile-image' operation and returns the [Response]./// Parameters:////// * [MultipartFile] file (required):@@ -58,8 +55,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [MultipartFile] file (required):@@ -78,10 +73,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /user' operation and returns the [Response]./// Parameters:////// * [CreateUserDto] createUserDto (required):@@ -110,8 +102,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [CreateUserDto] createUserDto (required):@@ -130,10 +120,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'DELETE /user/{userId}' operation and returns the [Response]./// Parameters:////// * [String] userId (required):@@ -163,8 +150,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [String] userId (required):@@ -183,10 +168,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /user' operation and returns the [Response]./// Parameters:////// * [bool] isAll (required):@@ -217,8 +199,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [bool] isAll (required):@@ -240,9 +220,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].+ /// Performs an HTTP 'GET /user/me' operation and returns the [Response].Future<Response> getMyUserInfoWithHttpInfo() async {// ignore: prefer_const_declarationsfinal path = r'/user/me';@@ -268,7 +246,6 @@ class UserApi {);}- ///Future<UserResponseDto?> getMyUserInfo() async {final response = await getMyUserInfoWithHttpInfo();if (response.statusCode >= HttpStatus.badRequest) {@@ -284,10 +261,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /user/profile-image/{userId}' operation and returns the [Response]./// Parameters:////// * [String] userId (required):@@ -317,8 +291,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [String] userId (required):@@ -337,10 +309,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /user/info/{userId}' operation and returns the [Response]./// Parameters:////// * [String] userId (required):@@ -370,8 +339,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [String] userId (required):@@ -390,10 +357,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'GET /user/count' operation and returns the [Response]./// Parameters:////// * [bool] admin:@@ -426,8 +390,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [bool] admin:@@ -446,10 +408,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'POST /user/{userId}/restore' operation and returns the [Response]./// Parameters:////// * [String] userId (required):@@ -479,8 +438,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [String] userId (required):@@ -499,10 +456,7 @@ class UserApi {return null;}- ///- ///- /// Note: This method returns the HTTP [Response].- ///+ /// Performs an HTTP 'PUT /user' operation and returns the [Response]./// Parameters:////// * [UpdateUserDto] updateUserDto (required):@@ -531,8 +485,6 @@ class UserApi {);}- ///- ////// Parameters:////// * [UpdateUserDto] updateUserDto (required):diff --git a/mobile/openapi/test/album_api_test.dart b/mobile/openapi/test/album_api_test.dartindex fbb2e166c7..8dde0b9f00 100644--- a/mobile/openapi/test/album_api_test.dart+++ b/mobile/openapi/test/album_api_test.dart@@ -17,85 +17,61 @@ void main() {// final instance = AlbumApi();group('tests for AlbumApi', () {- //- ////Future<AddAssetsResponseDto> addAssetsToAlbum(String albumId, AddAssetsDto addAssetsDto, { String key }) asynctest('test addAssetsToAlbum', () async {// TODO});- //- ////Future<AlbumResponseDto> addUsersToAlbum(String albumId, AddUsersDto addUsersDto) asynctest('test addUsersToAlbum', () async {// TODO});- //- ////Future<AlbumResponseDto> createAlbum(CreateAlbumDto createAlbumDto) asynctest('test createAlbum', () async {// TODO});- //- ////Future<SharedLinkResponseDto> createAlbumSharedLink(CreateAlbumShareLinkDto createAlbumShareLinkDto) asynctest('test createAlbumSharedLink', () async {// TODO});- //- ////Future deleteAlbum(String albumId) asynctest('test deleteAlbum', () async {// TODO});- //- ////Future<MultipartFile> downloadArchive(String albumId, { String name, num skip, String key }) asynctest('test downloadArchive', () async {// TODO});- //- ////Future<AlbumCountResponseDto> getAlbumCountByUserId() asynctest('test getAlbumCountByUserId', () async {// TODO});- //- ////Future<AlbumResponseDto> getAlbumInfo(String albumId, { String key }) asynctest('test getAlbumInfo', () async {// TODO});- //- ////Future<List<AlbumResponseDto>> getAllAlbums({ bool shared, String assetId }) asynctest('test getAllAlbums', () async {// TODO});- //- ////Future<AlbumResponseDto> removeAssetFromAlbum(String albumId, RemoveAssetsDto removeAssetsDto) asynctest('test removeAssetFromAlbum', () async {// TODO});- //- ////Future removeUserFromAlbum(String albumId, String userId) asynctest('test removeUserFromAlbum', () async {// TODO});- //- ////Future<AlbumResponseDto> updateAlbumInfo(String albumId, UpdateAlbumDto updateAlbumDto) asynctest('test updateAlbumInfo', () async {// TODOdiff --git a/mobile/openapi/test/api_key_api_test.dart b/mobile/openapi/test/api_key_api_test.dartindex a91662168b..2e02bae722 100644--- a/mobile/openapi/test/api_key_api_test.dart+++ b/mobile/openapi/test/api_key_api_test.dart@@ -17,36 +17,26 @@ void main() {// final instance = APIKeyApi();group('tests for APIKeyApi', () {- //- ////Future<APIKeyCreateResponseDto> createKey(APIKeyCreateDto aPIKeyCreateDto) asynctest('test createKey', () async {// TODO});- //- ////Future deleteKey(String id) asynctest('test deleteKey', () async {// TODO});- //- ////Future<APIKeyResponseDto> getKey(String id) asynctest('test getKey', () async {// TODO});- //- ////Future<List<APIKeyResponseDto>> getKeys() asynctest('test getKeys', () async {// TODO});- //- ////Future<APIKeyResponseDto> updateKey(String id, APIKeyUpdateDto aPIKeyUpdateDto) asynctest('test updateKey', () async {// TODOdiff --git a/mobile/openapi/test/asset_api_test.dart b/mobile/openapi/test/asset_api_test.dartindex fdd4307958..ee25a55269 100644--- a/mobile/openapi/test/asset_api_test.dart+++ b/mobile/openapi/test/asset_api_test.dart@@ -17,8 +17,6 @@ void main() {// final instance = AssetApi();group('tests for AssetApi', () {- //- ////Future<SharedLinkResponseDto> addAssetsToSharedLink(AddAssetsDto addAssetsDto, { String key }) asynctest('test addAssetsToSharedLink', () async {// TODO@@ -38,29 +36,21 @@ void main() {// TODO});- //- ////Future<SharedLinkResponseDto> createAssetsSharedLink(CreateAssetsShareLinkDto createAssetsShareLinkDto) asynctest('test createAssetsSharedLink', () async {// TODO});- //- ////Future<List<DeleteAssetResponseDto>> deleteAsset(DeleteAssetDto deleteAssetDto) asynctest('test deleteAsset', () async {// TODO});- //- ////Future<MultipartFile> downloadFile(String assetId, { String key }) asynctest('test downloadFile', () async {// TODO});- //- ////Future<MultipartFile> downloadFiles(DownloadFilesDto downloadFilesDto, { String key }) asynctest('test downloadFiles', () async {// TODO@@ -80,8 +70,6 @@ void main() {// TODO});- //- ////Future<AssetCountByUserIdResponseDto> getArchivedAssetCountByUserId() asynctest('test getArchivedAssetCountByUserId', () async {// TODO@@ -94,50 +82,36 @@ void main() {// TODO});- //- ////Future<List<AssetResponseDto>> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) asynctest('test getAssetByTimeBucket', () async {// TODO});- //- ////Future<AssetCountByTimeBucketResponseDto> getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) asynctest('test getAssetCountByTimeBucket', () async {// TODO});- //- ////Future<AssetCountByUserIdResponseDto> getAssetCountByUserId() asynctest('test getAssetCountByUserId', () async {// TODO});- //- ////Future<List<String>> getAssetSearchTerms() asynctest('test getAssetSearchTerms', () async {// TODO});- //- ////Future<MultipartFile> getAssetThumbnail(String assetId, { ThumbnailFormat format, String key }) asynctest('test getAssetThumbnail', () async {// TODO});- //- ////Future<List<CuratedLocationsResponseDto>> getCuratedLocations() asynctest('test getCuratedLocations', () async {// TODO});- //- ////Future<List<CuratedObjectsResponseDto>> getCuratedObjects() asynctest('test getCuratedObjects', () async {// TODO@@ -150,22 +124,16 @@ void main() {// TODO});- //- ////Future<SharedLinkResponseDto> removeAssetsFromSharedLink(RemoveAssetsDto removeAssetsDto, { String key }) asynctest('test removeAssetsFromSharedLink', () async {// TODO});- //- ////Future<List<AssetResponseDto>> searchAsset(SearchAssetDto searchAssetDto) asynctest('test searchAsset', () async {// TODO});- //- ////Future<MultipartFile> serveFile(String assetId, { bool isThumb, bool isWeb, String key }) asynctest('test serveFile', () async {// TODO@@ -178,8 +146,6 @@ void main() {// TODO});- //- ////Future<AssetFileUploadResponseDto> uploadFile(AssetTypeEnum assetType, MultipartFile assetData, String deviceAssetId, String deviceId, String fileCreatedAt, String fileModifiedAt, bool isFavorite, String fileExtension, { String key, MultipartFile livePhotoData, bool isArchived, bool isVisible, String duration }) asynctest('test uploadFile', () async {// TODOdiff --git a/mobile/openapi/test/authentication_api_test.dart b/mobile/openapi/test/authentication_api_test.dartindex 45f283f8a9..f855d32390 100644--- a/mobile/openapi/test/authentication_api_test.dart+++ b/mobile/openapi/test/authentication_api_test.dart@@ -17,36 +17,26 @@ void main() {// final instance = AuthenticationApi();group('tests for AuthenticationApi', () {- //- ////Future<AdminSignupResponseDto> adminSignUp(SignUpDto signUpDto) asynctest('test adminSignUp', () async {// TODO});- //- ////Future<UserResponseDto> changePassword(ChangePasswordDto changePasswordDto) asynctest('test changePassword', () async {// TODO});- //- ////Future<LoginResponseDto> login(LoginCredentialDto loginCredentialDto) asynctest('test login', () async {// TODO});- //- ////Future<LogoutResponseDto> logout() asynctest('test logout', () async {// TODO});- //- ////Future<ValidateAccessTokenResponseDto> validateAccessToken() asynctest('test validateAccessToken', () async {// TODOdiff --git a/mobile/openapi/test/device_info_api_test.dart b/mobile/openapi/test/device_info_api_test.dartindex 94897849a9..9fd25bcd34 100644--- a/mobile/openapi/test/device_info_api_test.dart+++ b/mobile/openapi/test/device_info_api_test.dart@@ -17,8 +17,6 @@ void main() {// final instance = DeviceInfoApi();group('tests for DeviceInfoApi', () {- //- ////Future<DeviceInfoResponseDto> upsertDeviceInfo(UpsertDeviceInfoDto upsertDeviceInfoDto) asynctest('test upsertDeviceInfo', () async {// TODOdiff --git a/mobile/openapi/test/job_api_test.dart b/mobile/openapi/test/job_api_test.dartindex 7cc1a4b2a0..54d9a510dd 100644--- a/mobile/openapi/test/job_api_test.dart+++ b/mobile/openapi/test/job_api_test.dart@@ -17,15 +17,11 @@ void main() {// final instance = JobApi();group('tests for JobApi', () {- //- ////Future<AllJobStatusResponseDto> getAllJobsStatus() asynctest('test getAllJobsStatus', () async {// TODO});- //- ////Future<JobStatusDto> sendJobCommand(JobName jobId, JobCommandDto jobCommandDto) asynctest('test sendJobCommand', () async {// TODOdiff --git a/mobile/openapi/test/o_auth_api_test.dart b/mobile/openapi/test/o_auth_api_test.dartindex db5e6c0a21..bc8b5f3810 100644--- a/mobile/openapi/test/o_auth_api_test.dart+++ b/mobile/openapi/test/o_auth_api_test.dart@@ -17,36 +17,26 @@ void main() {// final instance = OAuthApi();group('tests for OAuthApi', () {- //- ////Future<LoginResponseDto> callback(OAuthCallbackDto oAuthCallbackDto) asynctest('test callback', () async {// TODO});- //- ////Future<OAuthConfigResponseDto> generateConfig(OAuthConfigDto oAuthConfigDto) asynctest('test generateConfig', () async {// TODO});- //- ////Future<UserResponseDto> link(OAuthCallbackDto oAuthCallbackDto) asynctest('test link', () async {// TODO});- //- ////Future mobileRedirect() asynctest('test mobileRedirect', () async {// TODO});- //- ////Future<UserResponseDto> unlink() asynctest('test unlink', () async {// TODOdiff --git a/mobile/openapi/test/search_api_test.dart b/mobile/openapi/test/search_api_test.dartindex 1bd93ca6b9..a65075d1eb 100644--- a/mobile/openapi/test/search_api_test.dart+++ b/mobile/openapi/test/search_api_test.dart@@ -17,22 +17,16 @@ void main() {// final instance = SearchApi();group('tests for SearchApi', () {- //- ////Future<List<SearchExploreResponseDto>> getExploreData() asynctest('test getExploreData', () async {// TODO});- //- ////Future<SearchConfigResponseDto> getSearchConfig() asynctest('test getSearchConfig', () async {// TODO});- //- ////Future<SearchResponseDto> search({ String q, String query, bool clip, String type, bool isFavorite, bool isArchived, String exifInfoPeriodCity, String exifInfoPeriodState, String exifInfoPeriodCountry, String exifInfoPeriodMake, String exifInfoPeriodModel, List<String> smartInfoPeriodObjects, List<String> smartInfoPeriodTags, bool recent, bool motion }) asynctest('test search', () async {// TODOdiff --git a/mobile/openapi/test/server_info_api_test.dart b/mobile/openapi/test/server_info_api_test.dartindex e2222244eb..b662587eef 100644--- a/mobile/openapi/test/server_info_api_test.dart+++ b/mobile/openapi/test/server_info_api_test.dart@@ -17,29 +17,21 @@ void main() {// final instance = ServerInfoApi();group('tests for ServerInfoApi', () {- //- ////Future<ServerInfoResponseDto> getServerInfo() asynctest('test getServerInfo', () async {// TODO});- //- ////Future<ServerVersionReponseDto> getServerVersion() asynctest('test getServerVersion', () async {// TODO});- //- ////Future<ServerStatsResponseDto> getStats() asynctest('test getStats', () async {// TODO});- //- ////Future<ServerPingResponse> pingServer() asynctest('test pingServer', () async {// TODOdiff --git a/mobile/openapi/test/share_api_test.dart b/mobile/openapi/test/share_api_test.dartindex d746800de4..e05839a792 100644--- a/mobile/openapi/test/share_api_test.dart+++ b/mobile/openapi/test/share_api_test.dart@@ -17,36 +17,26 @@ void main() {// final instance = ShareApi();group('tests for ShareApi', () {- //- ////Future<SharedLinkResponseDto> editSharedLink(String id, EditSharedLinkDto editSharedLinkDto) asynctest('test editSharedLink', () async {// TODO});- //- ////Future<List<SharedLinkResponseDto>> getAllSharedLinks() asynctest('test getAllSharedLinks', () async {// TODO});- //- ////Future<SharedLinkResponseDto> getMySharedLink({ String key }) asynctest('test getMySharedLink', () async {// TODO});- //- ////Future<SharedLinkResponseDto> getSharedLinkById(String id) asynctest('test getSharedLinkById', () async {// TODO});- //- ////Future removeSharedLink(String id) asynctest('test removeSharedLink', () async {// TODOdiff --git a/mobile/openapi/test/system_config_api_test.dart b/mobile/openapi/test/system_config_api_test.dartindex 28a3b0ed26..6cb7aa79d1 100644--- a/mobile/openapi/test/system_config_api_test.dart+++ b/mobile/openapi/test/system_config_api_test.dart@@ -17,29 +17,21 @@ void main() {// final instance = SystemConfigApi();group('tests for SystemConfigApi', () {- //- ////Future<SystemConfigDto> getConfig() asynctest('test getConfig', () async {// TODO});- //- ////Future<SystemConfigDto> getDefaults() asynctest('test getDefaults', () async {// TODO});- //- ////Future<SystemConfigTemplateStorageOptionDto> getStorageTemplateOptions() asynctest('test getStorageTemplateOptions', () async {// TODO});- //- ////Future<SystemConfigDto> updateConfig(SystemConfigDto systemConfigDto) asynctest('test updateConfig', () async {// TODOdiff --git a/mobile/openapi/test/tag_api_test.dart b/mobile/openapi/test/tag_api_test.dartindex ffb6c70a49..a504aedfae 100644--- a/mobile/openapi/test/tag_api_test.dart+++ b/mobile/openapi/test/tag_api_test.dart@@ -17,36 +17,26 @@ void main() {// final instance = TagApi();group('tests for TagApi', () {- //- ////Future<TagResponseDto> create(CreateTagDto createTagDto) asynctest('test create', () async {// TODO});- //- ////Future delete(String id) asynctest('test delete', () async {// TODO});- //- ////Future<List<TagResponseDto>> findAll() asynctest('test findAll', () async {// TODO});- //- ////Future<TagResponseDto> findOne(String id) asynctest('test findOne', () async {// TODO});- //- ////Future<TagResponseDto> update(String id, UpdateTagDto updateTagDto) asynctest('test update', () async {// TODOdiff --git a/mobile/openapi/test/user_api_test.dart b/mobile/openapi/test/user_api_test.dartindex d24f365906..5163a15004 100644--- a/mobile/openapi/test/user_api_test.dart+++ b/mobile/openapi/test/user_api_test.dart@@ -17,71 +17,51 @@ void main() {// final instance = UserApi();group('tests for UserApi', () {- //- ////Future<CreateProfileImageResponseDto> createProfileImage(MultipartFile file) asynctest('test createProfileImage', () async {// TODO});- //- ////Future<UserResponseDto> createUser(CreateUserDto createUserDto) asynctest('test createUser', () async {// TODO});- //- ////Future<UserResponseDto> deleteUser(String userId) asynctest('test deleteUser', () async {// TODO});- //- ////Future<List<UserResponseDto>> getAllUsers(bool isAll) asynctest('test getAllUsers', () async {// TODO});- //- ////Future<UserResponseDto> getMyUserInfo() asynctest('test getMyUserInfo', () async {// TODO});- //- ////Future<Object> getProfileImage(String userId) asynctest('test getProfileImage', () async {// TODO});- //- ////Future<UserResponseDto> getUserById(String userId) asynctest('test getUserById', () async {// TODO});- //- ////Future<UserCountResponseDto> getUserCount({ bool admin }) asynctest('test getUserCount', () async {// TODO});- //- ////Future<UserResponseDto> restoreUser(String userId) asynctest('test restoreUser', () async {// TODO});- //- ////Future<UserResponseDto> updateUser(UpdateUserDto updateUserDto) asynctest('test updateUser', () async {// TODOdiff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.jsonindex 42fd6e3cc2..5828349f3a 100644--- a/server/immich-openapi-specs.json+++ b/server/immich-openapi-specs.json@@ -4,7 +4,6 @@"/album": {"get": {"operationId": "getAllAlbums",- "description": "","parameters": [{"name": "shared",@@ -54,7 +53,6 @@},"post": {"operationId": "createAlbum",- "description": "","parameters": [],"requestBody": {"required": true,@@ -94,7 +92,6 @@"/api-key": {"post": {"operationId": "createKey",- "description": "","parameters": [],"requestBody": {"required": true,@@ -132,7 +129,6 @@},"get": {"operationId": "getKeys",- "description": "","parameters": [],"responses": {"200": {@@ -165,7 +161,6 @@"/api-key/{id}": {"get": {"operationId": "getKey",- "description": "","parameters": [{"name": "id",@@ -203,7 +198,6 @@},"put": {"operationId": "updateKey",- "description": "","parameters": [{"name": "id",@@ -251,7 +245,6 @@},"delete": {"operationId": "deleteKey",- "description": "","parameters": [{"name": "id",@@ -284,7 +277,6 @@"/auth/login": {"post": {"operationId": "login",- "description": "","parameters": [],"requestBody": {"required": true,@@ -316,7 +308,6 @@"/auth/admin-sign-up": {"post": {"operationId": "adminSignUp",- "description": "","parameters": [],"requestBody": {"required": true,@@ -351,7 +342,6 @@"/auth/validateToken": {"post": {"operationId": "validateAccessToken",- "description": "","parameters": [],"responses": {"201": {@@ -381,7 +371,6 @@"/auth/change-password": {"post": {"operationId": "changePassword",- "description": "","parameters": [],"requestBody": {"required": true,@@ -421,7 +410,6 @@"/auth/logout": {"post": {"operationId": "logout",- "description": "","parameters": [],"responses": {"201": {@@ -451,7 +439,6 @@"/device-info": {"put": {"operationId": "upsertDeviceInfo",- "description": "","parameters": [],"requestBody": {"required": true,@@ -491,7 +478,6 @@"/jobs": {"get": {"operationId": "getAllJobsStatus",- "description": "","parameters": [],"responses": {"200": {@@ -521,7 +507,6 @@"/jobs/{jobId}": {"put": {"operationId": "sendJobCommand",- "description": "","parameters": [{"name": "jobId",@@ -570,7 +555,6 @@"/oauth/mobile-redirect": {"get": {"operationId": "mobileRedirect",- "description": "","parameters": [],"responses": {"200": {@@ -585,7 +569,6 @@"/oauth/config": {"post": {"operationId": "generateConfig",- "description": "","parameters": [],"requestBody": {"required": true,@@ -617,7 +600,6 @@"/oauth/callback": {"post": {"operationId": "callback",- "description": "","parameters": [],"requestBody": {"required": true,@@ -649,7 +631,6 @@"/oauth/link": {"post": {"operationId": "link",- "description": "","parameters": [],"requestBody": {"required": true,@@ -689,7 +670,6 @@"/oauth/unlink": {"post": {"operationId": "unlink",- "description": "","parameters": [],"responses": {"201": {@@ -719,7 +699,6 @@"/search": {"get": {"operationId": "search",- "description": "","parameters": [{"name": "q",@@ -882,7 +861,6 @@"/search/config": {"get": {"operationId": "getSearchConfig",- "description": "","parameters": [],"responses": {"200": {@@ -912,7 +890,6 @@"/search/explore": {"get": {"operationId": "getExploreData",- "description": "","parameters": [],"responses": {"200": {@@ -945,7 +922,6 @@"/server-info": {"get": {"operationId": "getServerInfo",- "description": "","parameters": [],"responses": {"200": {@@ -975,7 +951,6 @@"/server-info/ping": {"get": {"operationId": "pingServer",- "description": "","parameters": [],"responses": {"200": {@@ -997,7 +972,6 @@"/server-info/version": {"get": {"operationId": "getServerVersion",- "description": "","parameters": [],"responses": {"200": {@@ -1019,7 +993,6 @@"/server-info/stats": {"get": {"operationId": "getStats",- "description": "","parameters": [],"responses": {"200": {@@ -1049,7 +1022,6 @@"/share": {"get": {"operationId": "getAllSharedLinks",- "description": "","parameters": [],"responses": {"200": {@@ -1082,7 +1054,6 @@"/share/me": {"get": {"operationId": "getMySharedLink",- "description": "","parameters": [{"name": "key",@@ -1121,7 +1092,6 @@"/share/{id}": {"get": {"operationId": "getSharedLinkById",- "description": "","parameters": [{"name": "id",@@ -1159,7 +1129,6 @@},"delete": {"operationId": "removeSharedLink",- "description": "","parameters": [{"name": "id",@@ -1190,7 +1159,6 @@},"patch": {"operationId": "editSharedLink",- "description": "","parameters": [{"name": "id",@@ -1240,7 +1208,6 @@"/system-config": {"get": {"operationId": "getConfig",- "description": "","parameters": [],"responses": {"200": {@@ -1268,7 +1235,6 @@},"put": {"operationId": "updateConfig",- "description": "","parameters": [],"requestBody": {"required": true,@@ -1308,7 +1274,6 @@"/system-config/defaults": {"get": {"operationId": "getDefaults",- "description": "","parameters": [],"responses": {"200": {@@ -1338,7 +1303,6 @@"/system-config/storage-template-options": {"get": {"operationId": "getStorageTemplateOptions",- "description": "","parameters": [],"responses": {"200": {@@ -1368,7 +1332,6 @@"/user": {"get": {"operationId": "getAllUsers",- "description": "","parameters": [{"name": "isAll",@@ -1408,7 +1371,6 @@},"post": {"operationId": "createUser",- "description": "","parameters": [],"requestBody": {"required": true,@@ -1446,7 +1408,6 @@},"put": {"operationId": "updateUser",- "description": "","parameters": [],"requestBody": {"required": true,@@ -1486,7 +1447,6 @@"/user/info/{userId}": {"get": {"operationId": "getUserById",- "description": "","parameters": [{"name": "userId",@@ -1526,7 +1486,6 @@"/user/me": {"get": {"operationId": "getMyUserInfo",- "description": "","parameters": [],"responses": {"200": {@@ -1556,7 +1515,6 @@"/user/count": {"get": {"operationId": "getUserCount",- "description": "","parameters": [{"name": "admin",@@ -1588,7 +1546,6 @@"/user/{userId}": {"delete": {"operationId": "deleteUser",- "description": "","parameters": [{"name": "userId",@@ -1628,7 +1585,6 @@"/user/{userId}/restore": {"post": {"operationId": "restoreUser",- "description": "","parameters": [{"name": "userId",@@ -1668,7 +1624,6 @@"/user/profile-image": {"post": {"operationId": "createProfileImage",- "description": "","parameters": [],"requestBody": {"required": true,@@ -1709,7 +1664,6 @@"/user/profile-image/{userId}": {"get": {"operationId": "getProfileImage",- "description": "","parameters": [{"name": "userId",@@ -1749,7 +1703,6 @@"/asset/upload": {"post": {"operationId": "uploadFile",- "description": "","parameters": [{"name": "key",@@ -1799,7 +1752,6 @@"/asset/download/{assetId}": {"get": {"operationId": "downloadFile",- "description": "","parameters": [{"name": "assetId",@@ -1848,7 +1800,6 @@"/asset/download-files": {"post": {"operationId": "downloadFiles",- "description": "","parameters": [{"name": "key",@@ -1957,7 +1908,6 @@"/asset/file/{assetId}": {"get": {"operationId": "serveFile",- "description": "","parameters": [{"name": "isThumb",@@ -2024,7 +1974,6 @@"/asset/thumbnail/{assetId}": {"get": {"operationId": "getAssetThumbnail",- "description": "","parameters": [{"name": "assetId",@@ -2081,7 +2030,6 @@"/asset/curated-objects": {"get": {"operationId": "getCuratedObjects",- "description": "","parameters": [],"responses": {"200": {@@ -2114,7 +2062,6 @@"/asset/curated-locations": {"get": {"operationId": "getCuratedLocations",- "description": "","parameters": [],"responses": {"200": {@@ -2147,7 +2094,6 @@"/asset/search-terms": {"get": {"operationId": "getAssetSearchTerms",- "description": "","parameters": [],"responses": {"200": {@@ -2180,7 +2126,6 @@"/asset/search": {"post": {"operationId": "searchAsset",- "description": "","parameters": [],"requestBody": {"required": true,@@ -2223,7 +2168,6 @@"/asset/count-by-time-bucket": {"post": {"operationId": "getAssetCountByTimeBucket",- "description": "","parameters": [],"requestBody": {"required": true,@@ -2263,7 +2207,6 @@"/asset/count-by-user-id": {"get": {"operationId": "getAssetCountByUserId",- "description": "","parameters": [],"responses": {"200": {@@ -2293,7 +2236,6 @@"/asset/stat/archive": {"get": {"operationId": "getArchivedAssetCountByUserId",- "description": "","parameters": [],"responses": {"200": {@@ -2388,7 +2330,6 @@},"delete": {"operationId": "deleteAsset",- "description": "","parameters": [],"requestBody": {"required": true,@@ -2431,7 +2372,6 @@"/asset/time-bucket": {"post": {"operationId": "getAssetByTimeBucket",- "description": "","parameters": [],"requestBody": {"required": true,@@ -2704,7 +2644,6 @@"/asset/shared-link": {"post": {"operationId": "createAssetsSharedLink",- "description": "","parameters": [],"requestBody": {"required": true,@@ -2744,7 +2683,6 @@"/asset/shared-link/add": {"patch": {"operationId": "addAssetsToSharedLink",- "description": "","parameters": [{"name": "key",@@ -2793,7 +2731,6 @@"/asset/shared-link/remove": {"patch": {"operationId": "removeAssetsFromSharedLink",- "description": "","parameters": [{"name": "key",@@ -2842,7 +2779,6 @@"/tag": {"post": {"operationId": "create",- "description": "","parameters": [],"requestBody": {"required": true,@@ -2880,7 +2816,6 @@},"get": {"operationId": "findAll",- "description": "","parameters": [],"responses": {"200": {@@ -2913,7 +2848,6 @@"/tag/{id}": {"get": {"operationId": "findOne",- "description": "","parameters": [{"name": "id",@@ -2951,7 +2885,6 @@},"patch": {"operationId": "update",- "description": "","parameters": [{"name": "id",@@ -2999,7 +2932,6 @@},"delete": {"operationId": "delete",- "description": "","parameters": [{"name": "id",@@ -3032,7 +2964,6 @@"/album/count-by-user-id": {"get": {"operationId": "getAlbumCountByUserId",- "description": "","parameters": [],"responses": {"200": {@@ -3062,7 +2993,6 @@"/album/{albumId}/users": {"put": {"operationId": "addUsersToAlbum",- "description": "","parameters": [{"name": "albumId",@@ -3112,7 +3042,6 @@"/album/{albumId}/assets": {"put": {"operationId": "addAssetsToAlbum",- "description": "","parameters": [{"name": "albumId",@@ -3168,7 +3097,6 @@},"delete": {"operationId": "removeAssetFromAlbum",- "description": "","parameters": [{"name": "albumId",@@ -3218,7 +3146,6 @@"/album/{albumId}": {"get": {"operationId": "getAlbumInfo",- "description": "","parameters": [{"name": "albumId",@@ -3264,7 +3191,6 @@},"delete": {"operationId": "deleteAlbum",- "description": "","parameters": [{"name": "albumId",@@ -3295,7 +3221,6 @@},"patch": {"operationId": "updateAlbumInfo",- "description": "","parameters": [{"name": "albumId",@@ -3345,7 +3270,6 @@"/album/{albumId}/user/{userId}": {"delete": {"operationId": "removeUserFromAlbum",- "description": "","parameters": [{"name": "albumId",@@ -3386,7 +3310,6 @@"/album/{albumId}/download": {"get": {"operationId": "downloadArchive",- "description": "","parameters": [{"name": "albumId",@@ -3451,7 +3374,6 @@"/album/create-shared-link": {"post": {"operationId": "createAlbumSharedLink",- "description": "","parameters": [],"requestBody": {"required": true,diff --git a/web/src/routes/(user)/albums/+page.svelte b/web/src/routes/(user)/albums/+page.svelteindex 4a8fe52bab..b87293ed20 100644--- a/web/src/routes/(user)/albums/+page.svelte+++ b/web/src/routes/(user)/albums/+page.svelte@@ -10,6 +10,8 @@import EmptyPlaceholder from '$lib/components/shared-components/empty-placeholder.svelte';import UserPageLayout from '$lib/components/layouts/user-page-layout.svelte';import LinkButton from '$lib/components/elements/buttons/link-button.svelte';+ import { onMount } from 'svelte';+ import { flip } from 'svelte/animate';export let data: PageData;@@ -18,6 +20,7 @@isShowContextMenu,contextMenuPosition,createAlbum,+ deleteAlbum,deleteSelectedContextAlbum,showAlbumContextMenu,closeAlbumContextMenu@@ -29,6 +32,23 @@goto('/albums/' + newAlbum.id);}};++ onMount(() => {+ removeAlbumsIfEmpty();+ });++ const removeAlbumsIfEmpty = async () => {+ try {+ for (const album of $albums) {+ if (album.assetCount == 0 && album.albumName == 'Untitled') {+ await deleteAlbum(album);+ $albums = $albums.filter((a) => a.id !== album.id);+ }+ }+ } catch (error) {+ console.log(error);+ }+ };</script><UserPageLayout user={data.user} title={data.meta.title}>@@ -43,15 +63,14 @@<!-- Album Card --><div class="grid grid-cols-[repeat(auto-fill,minmax(15rem,1fr))] gap-8">- {#each $albums as album}- {#key album.id}- <a data-sveltekit-preload-data="hover" href={`albums/${album.id}`}>- <AlbumCard- {album}- on:showalbumcontextmenu={(e) => showAlbumContextMenu(e.detail, album)}- />- </a>- {/key}+ {#each $albums as album (album.id)}+ <a+ data-sveltekit-preload-data="hover"+ href={`albums/${album.id}`}+ animate:flip={{ duration: 200 }}+ >+ <AlbumCard {album} on:showalbumcontextmenu={(e) => showAlbumContextMenu(e.detail, album)} />+ </a>{/each}</div>diff --git a/web/src/routes/(user)/albums/albums.bloc.ts b/web/src/routes/(user)/albums/albums.bloc.tsindex 48a7e312bc..190dfabdfe 100644--- a/web/src/routes/(user)/albums/albums.bloc.ts+++ b/web/src/routes/(user)/albums/albums.bloc.ts@@ -53,11 +53,7 @@ export const useAlbums = (props: AlbumsProps) => {}async function deleteAlbum(album: AlbumResponseDto): Promise<void> {- try {- await api.albumApi.deleteAlbum(album.id);- } catch {- // Do nothing?- }+ await api.albumApi.deleteAlbum(album.id);}async function showAlbumContextMenu(@@ -107,6 +103,7 @@ export const useAlbums = (props: AlbumsProps) => {contextMenuPosition,loadAlbums,createAlbum,+ deleteAlbum,showAlbumContextMenu,closeAlbumContextMenu,deleteSelectedContextAlbum