Partial select with join throwing TS error - Drizzle Team