Browse Source

Merge pull request #843 from nextcloud/fix/nextcloud/exported-serializers

fix(nextcloud): Export all serializers in the merged serializers
pull/844/head
Kate 1 year ago committed by GitHub
parent
commit
b439219fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      packages/nextcloud/lib/src/client.dart

16
packages/nextcloud/lib/src/client.dart

@ -2,6 +2,8 @@ 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 {
@ -124,13 +126,27 @@ class NextcloudClient extends DynamiteClient {
// ignore: public_member_api_docs
final serializers = Serializers.merge([
commentsSerializers,
coreSerializers,
dashboardSerializers,
davSerializers,
filesSerializers,
filesExternalSerializers,
filesRemindersSerializers,
filesSharingSerializers,
filesTrashbinSerializers,
filesVersionsSerializers,
newsSerializers,
notesSerializers,
notificationsSerializers,
provisioningApiSerializers,
settingsSerializers,
sharebymailSerializers,
themingSerializers,
updatenotificationSerializers,
uppushSerializers,
userStatusSerializers,
weatherStatusSerializers,
]);
// ignore: public_member_api_docs

Loading…
Cancel
Save