mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
saleor: remove unused code
This commit is contained in:
@@ -4,7 +4,7 @@ const checkoutCreateMutation = /* GraphQL */ `
|
||||
mutation createCheckout {
|
||||
checkoutCreate(input: {
|
||||
email: "customer@example.com",
|
||||
lines: [{quantity: 1, variantId: "UHJvZHVjdFZhcmlhbnQ6Mjk3"}],
|
||||
lines: [],
|
||||
channel: "default-channel"
|
||||
}) {
|
||||
errors {
|
||||
|
@@ -1,19 +0,0 @@
|
||||
const customerActivateByUrlMutation = /* GraphQL */ `
|
||||
mutation customerActivateByUrl($activationUrl: URL!, $password: String!) {
|
||||
customerActivateByUrl(activationUrl: $activationUrl, password: $password) {
|
||||
customer {
|
||||
id
|
||||
}
|
||||
customerAccessToken {
|
||||
accessToken
|
||||
expiresAt
|
||||
}
|
||||
customerUserErrors {
|
||||
code
|
||||
field
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
export default customerActivateByUrlMutation
|
@@ -1,19 +0,0 @@
|
||||
const customerActivateMutation = /* GraphQL */ `
|
||||
mutation customerActivate($id: ID!, $input: CustomerActivateInput!) {
|
||||
customerActivate(id: $id, input: $input) {
|
||||
customer {
|
||||
id
|
||||
}
|
||||
customerAccessToken {
|
||||
accessToken
|
||||
expiresAt
|
||||
}
|
||||
customerUserErrors {
|
||||
code
|
||||
field
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
export default customerActivateMutation
|
@@ -1,13 +1,14 @@
|
||||
const customerCreateMutation = /* GraphQL */ `
|
||||
mutation customerCreate($input: UserCreateInput!) {
|
||||
customerCreate(input: $input) {
|
||||
mutation customerCreate($input: AccountRegisterInput!) {
|
||||
accountRegister(input: $input) {
|
||||
errors {
|
||||
code
|
||||
field
|
||||
message
|
||||
}
|
||||
customer {
|
||||
id
|
||||
user {
|
||||
email
|
||||
isActive
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -5,5 +5,4 @@ export { default as checkoutLineItemUpdateMutation } from './checkout-line-item-
|
||||
export { default as checkoutLineItemRemoveMutation } from './checkout-line-item-remove'
|
||||
export { default as customerAccessTokenCreateMutation } from './customer-access-token-create'
|
||||
export { default as customerAccessTokenDeleteMutation } from './customer-access-token-delete'
|
||||
export { default as customerActivateMutation } from './customer-activate'
|
||||
export { default as customerActivateByUrlMutation } from './customer-activate-by-url'
|
||||
|
Reference in New Issue
Block a user