GraphQLResponseValue type
Values returned by GraphQL without runtime field metadata.
Dates and booleans may arrive as strings and cannot be distinguished from text fields by inspecting their contents. Other scalar objects stay atomic.
type GraphQLResponseValue<T> = unknown extends T
? T
: T extends Date
? Date | string
: T extends boolean
? T | Object
: T extends ProjectionScalar
? T
: T extends readonly unknown[]
? { [K in keyof T]: GraphQLResponseValue<T[K]> }
: T extends object
? { [K in keyof T]: GraphQLResponseValue<T[K]> }
: T