mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 03:31:23 +00:00
Merge branch 'release-stable' of https://github.com/KieIO/grocery-vercel-commerce into feature/m1-get-product-detail
This commit is contained in:
30
framework/vendure/schema.d.ts
vendored
30
framework/vendure/schema.d.ts
vendored
@@ -3095,6 +3095,36 @@ export type LoginMutation = { __typename?: 'Mutation' } & {
|
||||
>)
|
||||
}
|
||||
|
||||
export type VerifyCustomerAccountVariables = Exact<{
|
||||
token: Scalars['String']
|
||||
password?: Maybe<Scalars['String']>
|
||||
}>
|
||||
|
||||
export type VerifyCustomerAccountMutation = { __typename?: 'Mutation' } & {
|
||||
verifyCustomerAccount:
|
||||
| ({ __typename: 'CurrentUser' } & Pick<CurrentUser, 'id'>)
|
||||
| ({ __typename: 'VerificationTokenInvalidError' } & Pick<
|
||||
VerificationTokenInvalidError,
|
||||
'errorCode' | 'message'
|
||||
>)
|
||||
| ({ __typename: 'VerificationTokenExpiredError' } & Pick<
|
||||
VerificationTokenExpiredError,
|
||||
'errorCode' | 'message'
|
||||
>)
|
||||
| ({ __typename: 'MissingPasswordError' } & Pick<
|
||||
MissingPasswordError,
|
||||
'errorCode' | 'message'
|
||||
>)
|
||||
| ({ __typename: 'PasswordAlreadySetError' } & Pick<
|
||||
PasswordAlreadySetError,
|
||||
'errorCode' | 'message'
|
||||
>)
|
||||
| ({ __typename: 'NativeAuthStrategyError' } & Pick<
|
||||
NativeAuthStrategyError,
|
||||
'errorCode' | 'message'
|
||||
>)
|
||||
}
|
||||
|
||||
export type LogoutMutationVariables = Exact<{ [key: string]: never }>
|
||||
|
||||
export type LogoutMutation = { __typename?: 'Mutation' } & {
|
||||
|
@@ -0,0 +1,15 @@
|
||||
export const verifyCustomerAccountMutaton = /* GraphQL */ `
|
||||
mutation verifyCustomerAccount($token: String!, $password: String) {
|
||||
verifyCustomerAccount( token: $token, password: $password) {
|
||||
__typename
|
||||
...on CurrentUser {
|
||||
id
|
||||
identifier
|
||||
}
|
||||
... on ErrorResult {
|
||||
errorCode
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
Reference in New Issue
Block a user