feat(mobile): Folder View for mobile ()

* very rough prototype for folder navigation without assets

* fix: refactored data model and tried to implement asset loading

* fix: openapi generator shadowing query param in /view/folder

* add simple alphanumeric sorting for folders

* basic asset viewing in folders

* rudimentary switch sorting order

* fixed reactivity when toggling sort order

* Fixed trailing comma

* Fixed bad merge conflict resolution

* Regenerated open-api

* Added rudimentary breadcrumbs

* Fixed linting problems

* feat: cleanup

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
Arno 2025-03-06 18:27:43 +01:00 committed by GitHub
parent deb399ea15
commit 4ebc25c754
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
49 changed files with 1238 additions and 371 deletions
mobile/openapi/lib/api

View file

@ -19,7 +19,7 @@ class TrashApi {
/// Performs an HTTP 'POST /trash/empty' operation and returns the [Response].
Future<Response> emptyTrashWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/trash/empty';
final apiPath = r'/trash/empty';
// ignore: prefer_final_locals
Object? postBody;
@ -32,7 +32,7 @@ class TrashApi {
return apiClient.invokeAPI(
path,
apiPath,
'POST',
queryParams,
postBody,
@ -63,7 +63,7 @@ class TrashApi {
/// * [BulkIdsDto] bulkIdsDto (required):
Future<Response> restoreAssetsWithHttpInfo(BulkIdsDto bulkIdsDto,) async {
// ignore: prefer_const_declarations
final path = r'/trash/restore/assets';
final apiPath = r'/trash/restore/assets';
// ignore: prefer_final_locals
Object? postBody = bulkIdsDto;
@ -76,7 +76,7 @@ class TrashApi {
return apiClient.invokeAPI(
path,
apiPath,
'POST',
queryParams,
postBody,
@ -107,7 +107,7 @@ class TrashApi {
/// Performs an HTTP 'POST /trash/restore' operation and returns the [Response].
Future<Response> restoreTrashWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/trash/restore';
final apiPath = r'/trash/restore';
// ignore: prefer_final_locals
Object? postBody;
@ -120,7 +120,7 @@ class TrashApi {
return apiClient.invokeAPI(
path,
apiPath,
'POST',
queryParams,
postBody,