fix: fix credential3rd graphql

This commit is contained in:
2025-05-25 00:04:02 +08:00
parent 66413f92e3
commit 313b1bf1ba
2 changed files with 10 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
import type { GetSubscriptionsQuery } from '@/infra/graphql/gql/graphql';
import { gql } from '@apollo/client';
export const GET_SUBSCRIPTIONS = gql`
@@ -24,6 +25,9 @@ export const GET_SUBSCRIPTIONS = gql`
}
`;
export type SubscriptionDto =
GetSubscriptionsQuery['subscriptions']['nodes'][number];
export const UPDATE_SUBSCRIPTIONS = gql`
mutation UpdateSubscriptions(
$data: SubscriptionsUpdateInput!,