import { ValidatedResponse } from '@daffodil/core/graphql'
type ValidatedResponse<T, Shape> = { [K in keyof T]: K extends keyof Shape ? Shape[K] extends true ? NonNullable<T[K]> : ValidatedResponse<NonNullable<T[K]>, Shape[K]> : T[K]; }