Skip to content

Commit

Permalink
Merge pull request #844 from nextcloud/fix/nextcloud/files-reminders-…
Browse files Browse the repository at this point in the history
…client

fix(nextcloud): Expose files_reminders client
  • Loading branch information
provokateurin authored Sep 24, 2023
2 parents b439219 + af2e8bd commit 1047f53
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
@@ -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';
6 changes: 4 additions & 2 deletions packages/nextcloud/lib/src/client.dart
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 1047f53

Please sign in to comment.