Type Alias ExpandPotentialArrayPrismaTypeMapPayload<PayloadWrapper>

ExpandPotentialArrayPrismaTypeMapPayload: PayloadWrapper extends (
    infer ActualPayload extends BasePrismaPayload
)[]
    ? ExpandPrismaTypeMapPayload<ActualPayload>[]
    : PayloadWrapper extends BasePrismaPayload
        ? ExpandPrismaTypeMapPayload<PayloadWrapper>
        : never

Expand a payload that might be inside of an array, keeping it inside of an array if it is.

Type Parameters