RefType<T, K, Auth>: Omit<{
    array(): RefType<SetTypeSubArg<T, "array", true>, "array" | Exclude<K, "required">, undefined>;
    authorization<AuthRuleType>(callback): RefType<T, "authorization" | K, AuthRuleType>;
    mutations(operations): RefType<T, "mutations" | K, undefined>;
    required(): RefType<SetTypeSubArg<T, T["array"] extends true
        ? "arrayRequired"
        : "valueRequired", true>, "required" | K, undefined>;
}, K> & {
    [___auth]?: Auth;
} & Brand<typeof brandName>

Reference type definition interface

Type Parameters

  • T extends RefTypeParamShape

    The shape of the reference type

  • K extends keyof RefType<T> = never

    The keys already defined

  • Auth = undefined

Type declaration

  • Optional [___auth]?: Auth