mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-08-18 04:11:07 +08:00
28 lines
571 B
Dart
28 lines
571 B
Dart
/*
|
|
* SPDX-FileCopyrightText: 2019-2021 Vishesh Handa <me@vhanda.in>
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import 'note.dart';
|
|
import 'notes_folder_config.dart';
|
|
import 'notes_folder_notifier.dart';
|
|
|
|
export 'notes_folder_config.dart';
|
|
|
|
abstract class NotesFolder implements NotesFolderNotifier {
|
|
bool get isEmpty;
|
|
bool get hasNotes;
|
|
String get name;
|
|
String get publicName;
|
|
|
|
List<Note> get notes;
|
|
List<NotesFolder> get subFolders;
|
|
NotesFolder? get parent;
|
|
NotesFolder? get fsFolder;
|
|
|
|
NotesFolderConfig get config;
|
|
|
|
String pathSpec();
|
|
}
|