Skip to content
This repository was archived by the owner on Dec 22, 2022. It is now read-only.

Commit f3ae813

Browse files
committed
add CustomerCreate mutation types
1 parent 59450cf commit f3ae813

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,18 @@ export interface MailingAddress extends Node {
10251025
zip?: string
10261026
}
10271027

1028+
export interface CustomerCreateInput {
1029+
acceptsMarketing?: boolean
1030+
email: string
1031+
firstName?: string
1032+
lastName?: string
1033+
password: string
1034+
phone?: string
1035+
}
1036+
export interface CustomerCreatePayload {
1037+
customer: Customer
1038+
customerUserErrors: CustomerUserError[]
1039+
}
10281040
export interface CustomerAccessTokenCreateInput {
10291041
email: string
10301042
password: string

0 commit comments

Comments
 (0)