active source switching and reactivity

This commit is contained in:
austinried
2025-11-22 11:33:40 +09:00
parent de9bc98044
commit 798a907cca
12 changed files with 271 additions and 774 deletions

View File

@@ -2454,6 +2454,8 @@ abstract class _$SubtracksDatabase extends GeneratedDatabase {
'songs_source_id_artist_id_idx',
'CREATE INDEX songs_source_id_artist_id_idx ON songs (source_id, artist_id)',
);
late final SourcesDao sourcesDao = SourcesDao(this as SubtracksDatabase);
late final LibraryDao libraryDao = LibraryDao(this as SubtracksDatabase);
@override
Iterable<TableInfo<Table, Object?>> get allTables =>
allSchemaEntities.whereType<TableInfo<Table, Object?>>();