import 'package:nextcloud/src/api/notes.openapi.dart';
import 'package:nextcloud/src/client.dart';

export 'src/api/notes.openapi.dart';
export 'src/helpers/notes.dart';

// ignore: public_member_api_docs
extension NotesExtension on NextcloudClient {
  static final _notes = Expando<NotesClient>();

  /// Client for the notes APIs
  NotesClient get notes => _notes[this] ??= NotesClient.fromClient(this);
}