Skip to content

Commit

Permalink
fix(nextcloud): Expose files_reminders client
Browse files Browse the repository at this point in the history
Signed-off-by: jld3103 <[email protected]>
  • Loading branch information
provokateurin committed Sep 24, 2023
1 parent b439219 commit af2e8bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/nextcloud.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
6 changes: 4 additions & 2 deletions packages/nextcloud/lib/src/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -45,6 +43,7 @@ class NextcloudClient extends DynamiteClient {
DavClient? _dav;
FilesClient? _files;
FilesExternalClient? _filesExternal;
FilesRemindersClient? _filesReminders;
FilesSharingClient? _filesSharing;
FilesTrashbinClient? _filesTrashbin;
FilesVersionsClient? _filesVersions;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit af2e8bd

Please sign in to comment.