mirror of
https://github.com/mihonapp/mihon.git
synced 2025-07-02 22:17:51 +02:00
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:
@ -4,7 +4,11 @@ CREATE TABLE sources(
|
||||
name TEXT NOT NULL
|
||||
);
|
||||
|
||||
getSourceData:
|
||||
findAll:
|
||||
SELECT *
|
||||
FROM sources;
|
||||
|
||||
findOne:
|
||||
SELECT *
|
||||
FROM sources
|
||||
WHERE _id = :id;
|
||||
|
Reference in New Issue
Block a user