Browse Source

Merge pull request #844 from nextcloud/fix/nextcloud/files-reminders-client

fix(nextcloud): Expose files_reminders client
pull/845/head
Kate 1 year ago committed by GitHub
parent
commit
1047f53cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nextcloud/lib/nextcloud.dart
  2. 6
      packages/nextcloud/lib/src/client.dart

2
packages/nextcloud/lib/nextcloud.dart

@ -6,6 +6,7 @@ export 'src/api/dashboard.openapi.dart';
export 'src/api/dav.openapi.dart'; export 'src/api/dav.openapi.dart';
export 'src/api/files.openapi.dart'; export 'src/api/files.openapi.dart';
export 'src/api/files_external.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_sharing.openapi.dart';
export 'src/api/files_trashbin.openapi.dart'; export 'src/api/files_trashbin.openapi.dart';
export 'src/api/files_versions.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/notifications.openapi.dart';
export 'src/api/provisioning_api.openapi.dart'; export 'src/api/provisioning_api.openapi.dart';
export 'src/api/settings.openapi.dart'; export 'src/api/settings.openapi.dart';
export 'src/api/sharebymail.openapi.dart';
export 'src/api/theming.openapi.dart'; export 'src/api/theming.openapi.dart';
export 'src/api/updatenotification.openapi.dart'; export 'src/api/updatenotification.openapi.dart';
export 'src/api/uppush.openapi.dart'; export 'src/api/uppush.openapi.dart';

6
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:built_value/standard_json_plugin.dart';
import 'package:dynamite_runtime/content_string.dart'; import 'package:dynamite_runtime/content_string.dart';
import 'package:nextcloud/nextcloud.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 // ignore: public_member_api_docs
class NextcloudClient extends DynamiteClient { class NextcloudClient extends DynamiteClient {
@ -45,6 +43,7 @@ class NextcloudClient extends DynamiteClient {
DavClient? _dav; DavClient? _dav;
FilesClient? _files; FilesClient? _files;
FilesExternalClient? _filesExternal; FilesExternalClient? _filesExternal;
FilesRemindersClient? _filesReminders;
FilesSharingClient? _filesSharing; FilesSharingClient? _filesSharing;
FilesTrashbinClient? _filesTrashbin; FilesTrashbinClient? _filesTrashbin;
FilesVersionsClient? _filesVersions; FilesVersionsClient? _filesVersions;
@ -82,6 +81,9 @@ class NextcloudClient extends DynamiteClient {
/// Client for the files external APIs /// Client for the files external APIs
FilesExternalClient get filesExternal => _filesExternal ??= FilesExternalClient.fromClient(this); 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 /// Client for the files sharing APIs
FilesSharingClient get filesSharing => _filesSharing ??= FilesSharingClient.fromClient(this); FilesSharingClient get filesSharing => _filesSharing ??= FilesSharingClient.fromClient(this);

Loading…
Cancel
Save