Fork for PR & AGPL purposes pds.lavate.ch

fix: bulk type safety improvements, added a couple of tests master


+5086 -2760
146 changed files