mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
feat(mobile): Folder View for mobile (#15047)
* 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:
parent
deb399ea15
commit
4ebc25c754
49 changed files with 1238 additions and 371 deletions
mobile/openapi/lib/api
16
mobile/openapi/lib/api/partners_api.dart
generated
16
mobile/openapi/lib/api/partners_api.dart
generated
|
@ -22,7 +22,7 @@ class PartnersApi {
|
|||
/// * [String] id (required):
|
||||
Future<Response> createPartnerWithHttpInfo(String id,) async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/partners/{id}'
|
||||
final apiPath = r'/partners/{id}'
|
||||
.replaceAll('{id}', id);
|
||||
|
||||
// ignore: prefer_final_locals
|
||||
|
@ -36,7 +36,7 @@ class PartnersApi {
|
|||
|
||||
|
||||
return apiClient.invokeAPI(
|
||||
path,
|
||||
apiPath,
|
||||
'POST',
|
||||
queryParams,
|
||||
postBody,
|
||||
|
@ -70,7 +70,7 @@ class PartnersApi {
|
|||
/// * [PartnerDirection] direction (required):
|
||||
Future<Response> getPartnersWithHttpInfo(PartnerDirection direction,) async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/partners';
|
||||
final apiPath = r'/partners';
|
||||
|
||||
// ignore: prefer_final_locals
|
||||
Object? postBody;
|
||||
|
@ -85,7 +85,7 @@ class PartnersApi {
|
|||
|
||||
|
||||
return apiClient.invokeAPI(
|
||||
path,
|
||||
apiPath,
|
||||
'GET',
|
||||
queryParams,
|
||||
postBody,
|
||||
|
@ -122,7 +122,7 @@ class PartnersApi {
|
|||
/// * [String] id (required):
|
||||
Future<Response> removePartnerWithHttpInfo(String id,) async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/partners/{id}'
|
||||
final apiPath = r'/partners/{id}'
|
||||
.replaceAll('{id}', id);
|
||||
|
||||
// ignore: prefer_final_locals
|
||||
|
@ -136,7 +136,7 @@ class PartnersApi {
|
|||
|
||||
|
||||
return apiClient.invokeAPI(
|
||||
path,
|
||||
apiPath,
|
||||
'DELETE',
|
||||
queryParams,
|
||||
postBody,
|
||||
|
@ -164,7 +164,7 @@ class PartnersApi {
|
|||
/// * [UpdatePartnerDto] updatePartnerDto (required):
|
||||
Future<Response> updatePartnerWithHttpInfo(String id, UpdatePartnerDto updatePartnerDto,) async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/partners/{id}'
|
||||
final apiPath = r'/partners/{id}'
|
||||
.replaceAll('{id}', id);
|
||||
|
||||
// ignore: prefer_final_locals
|
||||
|
@ -178,7 +178,7 @@ class PartnersApi {
|
|||
|
||||
|
||||
return apiClient.invokeAPI(
|
||||
path,
|
||||
apiPath,
|
||||
'PUT',
|
||||
queryParams,
|
||||
postBody,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue