How to use type with all related models - Drizzle Team