I'll check again Anytype in maybe a year or so, because currently their whole "typing" thing just isn't up to snuff (I wrote about it here before so you can check my comments history of you are curious and find a lengthy post about it and why I think only Trilium notes is sound -as in enforcing type consistency- in this space).
I've adopted Anytype; encryption + self-hosting + open-source backend is rock solid.