Type alias GraphQLVariablesV6<FALLBACK_TYPES, TYPED_GQL_STRING>

GraphQLVariablesV6<FALLBACK_TYPES, TYPED_GQL_STRING>: TYPED_GQL_STRING extends GeneratedQuery<infer IN, any>
    ? IN
    : TYPED_GQL_STRING extends GeneratedMutation<infer IN, any>
        ? IN
        : TYPED_GQL_STRING extends GeneratedSubscription<infer IN, any>
            ? IN
            : FALLBACK_TYPES extends GraphQLOperationType<infer IN, any>
                ? IN
                : any

The expected type for variables in a V6 graphql() operation with respect to the given FALLBACK_TYPES and TYPED_GQL_STRING.

Type Parameters

  • FALLBACK_TYPES = unknown

  • TYPED_GQL_STRING extends string = string