how to use types on frontend - Drizzle Team