Type Alias ExpandPrismaTypeMapPayload<Payload>

ExpandPrismaTypeMapPayload<Payload>: Payload["scalars"] & {
    [Key in keyof Payload["objects"]]: ExpandPotentialArrayPrismaTypeMapPayload<NonNullable<Payload["objects"][Key]>> | (null extends Payload["objects"][Key]
        ? null
        : never)
}

Expand a Prisma payload into its scalars and recursive relations.

Type Parameters