blocklists
blocklists copied to clipboard
blocklistConfig.json in today's reality
Now that the blocklists cat is out of the bag, time to get rid of an unused field and introduce a new one.
-
Remove unused field:
uname
. It was included for book-keeping purposes from when we tracked nextdns/metadata for reasons that don't exist anymore. -
Add new optional string field:
status
, which can assumedead
,alive
,unknown
to depict the state of the blocklist. Since we can't recyclevalue
s once assigned (unlessversion
is bumped up), we'd have to keep those entries around for book-keeping purposes. -
Add fields for homepage and a short description of the blocklist.
-
Overall, though,
blocklistConfig.json
must also capture its ownversion
, so that's another field to introduce at the top-level.