Since Prisma queries do not include relations by default (you have to use the include option), the generated types do not include them either. You can create the type you are looking for using one of our built-in utility types, though.
import { Prisma } from '@prisma/client'
type FactionWithOwner = Prisma.FactionGetPayload<{
include: { owner: true }
}>
Here we use the FactionGetPayload type and pass in some query options as the generic parameter to get the desired type.