Repository URL to install this package:
|
Version:
9.0.35-framework ▾
|
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;
};
}