Use Flow in ExtensionManager and SourceManager (#7547)

- Replace ExtensionManager relay and observable with Flow
- Inverse SourceManager dependency
    - SourceManager observers ExtensionManager flow
- Separate SourceData from SourceRepository as it created a circular dependency
This commit is contained in:
Andreas
2022-07-16 21:08:15 +02:00
committed by GitHub
parent 905c96922b
commit 35ec593658
14 changed files with 113 additions and 164 deletions

View File

@ -4,7 +4,11 @@ CREATE TABLE sources(
name TEXT NOT NULL
);
getSourceData:
findAll:
SELECT *
FROM sources;
findOne:
SELECT *
FROM sources
WHERE _id = :id;