mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Added enable disable lists and delete lists
This commit is contained in:
parent
b6bf2d80c7
commit
b8b34f7f47
10 changed files with 739 additions and 26 deletions
|
@ -1,6 +1,6 @@
|
|||
class Filtering {
|
||||
final List<Filter> filters;
|
||||
final List<Filter> whitelistFilters;
|
||||
List<Filter> filters;
|
||||
List<Filter> whitelistFilters;
|
||||
List<String> userRules;
|
||||
List<String> blockedServices;
|
||||
int interval;
|
||||
|
@ -40,7 +40,7 @@ class Filter {
|
|||
final DateTime? lastUpdated;
|
||||
final int id;
|
||||
final int rulesCount;
|
||||
final bool enabled;
|
||||
bool enabled;
|
||||
|
||||
Filter({
|
||||
required this.url,
|
||||
|
@ -69,3 +69,13 @@ class Filter {
|
|||
"enabled": enabled,
|
||||
};
|
||||
}
|
||||
|
||||
class ProcessedList {
|
||||
final Filter list;
|
||||
final bool successful;
|
||||
|
||||
const ProcessedList({
|
||||
required this.list,
|
||||
required this.successful
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue