add DatabaseSource type, update repository classes to use it
Also fixes some issues with leftover imports during refactoring:
- i initially had a `repo.ts` in directories to allow re-exporting for deep imports, but had removed it (may re-add later in the future?)
- zDrizzleSchema function was moved around in lib/server/db but not updated in some places