mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 03:49:56 +08:00
feat: support sign-in with subscription coupon (#5768)
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
mutation checkout(
|
||||
$recurring: SubscriptionRecurring!
|
||||
$idempotencyKey: String!
|
||||
) {
|
||||
checkout(recurring: $recurring, idempotencyKey: $idempotencyKey)
|
||||
mutation createCheckoutSession($input: CreateCheckoutSessionInput!) {
|
||||
createCheckoutSession(input: $input)
|
||||
}
|
||||
|
||||
@@ -127,14 +127,14 @@ mutation changePassword($token: String!, $newPassword: String!) {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const checkoutMutation = {
|
||||
id: 'checkoutMutation' as const,
|
||||
operationName: 'checkout',
|
||||
definitionName: 'checkout',
|
||||
export const createCheckoutSessionMutation = {
|
||||
id: 'createCheckoutSessionMutation' as const,
|
||||
operationName: 'createCheckoutSession',
|
||||
definitionName: 'createCheckoutSession',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation checkout($recurring: SubscriptionRecurring!, $idempotencyKey: String!) {
|
||||
checkout(recurring: $recurring, idempotencyKey: $idempotencyKey)
|
||||
mutation createCheckoutSession($input: CreateCheckoutSessionInput!) {
|
||||
createCheckoutSession(input: $input)
|
||||
}`,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user