From af2e8bd626bf9550a757a417aa84ffacbaf031e5 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 24 Sep 2023 12:28:05 +0200 Subject: [PATCH] fix(nextcloud): Expose files_reminders client Signed-off-by: jld3103 --- packages/nextcloud/lib/nextcloud.dart | 2 ++ packages/nextcloud/lib/src/client.dart | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/nextcloud/lib/nextcloud.dart b/packages/nextcloud/lib/nextcloud.dart index 8994c1a8..27cd9bef 100644 --- a/packages/nextcloud/lib/nextcloud.dart +++ b/packages/nextcloud/lib/nextcloud.dart @@ -6,6 +6,7 @@ export 'src/api/dashboard.openapi.dart'; export 'src/api/dav.openapi.dart'; export 'src/api/files.openapi.dart'; export 'src/api/files_external.openapi.dart'; +export 'src/api/files_reminders.openapi.dart'; export 'src/api/files_sharing.openapi.dart'; export 'src/api/files_trashbin.openapi.dart'; export 'src/api/files_versions.openapi.dart'; @@ -14,6 +15,7 @@ export 'src/api/notes.openapi.dart'; export 'src/api/notifications.openapi.dart'; export 'src/api/provisioning_api.openapi.dart'; export 'src/api/settings.openapi.dart'; +export 'src/api/sharebymail.openapi.dart'; export 'src/api/theming.openapi.dart'; export 'src/api/updatenotification.openapi.dart'; export 'src/api/uppush.openapi.dart'; diff --git a/packages/nextcloud/lib/src/client.dart b/packages/nextcloud/lib/src/client.dart index 9ee47f42..be53fd5a 100644 --- a/packages/nextcloud/lib/src/client.dart +++ b/packages/nextcloud/lib/src/client.dart @@ -2,8 +2,6 @@ import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'package:dynamite_runtime/content_string.dart'; import 'package:nextcloud/nextcloud.dart'; -import 'package:nextcloud/src/api/files_reminders.openapi.dart'; -import 'package:nextcloud/src/api/sharebymail.openapi.dart'; // ignore: public_member_api_docs class NextcloudClient extends DynamiteClient { @@ -45,6 +43,7 @@ class NextcloudClient extends DynamiteClient { DavClient? _dav; FilesClient? _files; FilesExternalClient? _filesExternal; + FilesRemindersClient? _filesReminders; FilesSharingClient? _filesSharing; FilesTrashbinClient? _filesTrashbin; FilesVersionsClient? _filesVersions; @@ -82,6 +81,9 @@ class NextcloudClient extends DynamiteClient { /// Client for the files external APIs FilesExternalClient get filesExternal => _filesExternal ??= FilesExternalClient.fromClient(this); + /// Client for the files reminders APIs + FilesRemindersClient get filesReminders => _filesReminders ??= FilesRemindersClient.fromClient(this); + /// Client for the files sharing APIs FilesSharingClient get filesSharing => _filesSharing ??= FilesSharingClient.fromClient(this);