Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/graphql / dist / graphql-modules / common / typings.d.ts
Size: Mime:
export interface ScopedArgsType {
    sessionId: string | undefined;
    amount: string;
    order?: {
        id?: string;
    };
    firstUser?: {
        email: string;
    };
    firstProduct?: {
        identifier: number;
    };
    [key: string]: any;
}
export interface LooseHelperArgs {
    mutate: any;
    query: any;
    scoped: ScopedArgsType;
    [key: string]: any;
}
import { toGraphqlModuleTest } from '../../deps/testHelpers';
export declare type HelperArgs = ReturnType<typeof toGraphqlModuleTest> & {
    scoped: ScopedArgsType;
};
export interface CommonAddressPaymentArgsType {
    amount: string;
    title?: string;
    creditCard: {
        type: string;
        cvv: string;
        expirationMonth: string;
        expirationYear: string;
        name: string;
    } & ({
        id: string;
    } | {
        number: string;
    });
    address: {
        addressLine1: string;
        addressLine2?: string;
        addressLine3?: string;
        postalCode: string;
        city: string;
        state: string;
        country: string;
        phone: string;
        email: string;
        lastName: string;
        firstName: string;
        middleName?: string;
        deliveryInstruction?: string;
    };
}