fix: fix credential3rd graphql
This commit is contained in:
parent
66413f92e3
commit
313b1bf1ba
@ -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!,
|
||||
|
@ -11,6 +11,12 @@ import {
|
||||
TableHeader,
|
||||
TableRow,
|
||||
} from '@/components/ui/table';
|
||||
import {
|
||||
DELETE_SUBSCRIPTIONS,
|
||||
GET_SUBSCRIPTIONS,
|
||||
type SubscriptionDto,
|
||||
UPDATE_SUBSCRIPTIONS,
|
||||
} from '@/domains/recorder/graphql/subscriptions';
|
||||
import type {
|
||||
GetSubscriptionsQuery,
|
||||
SubscriptionsUpdateInput,
|
||||
@ -35,12 +41,6 @@ import {
|
||||
import { useMemo, useState } from 'react';
|
||||
import { toast } from 'sonner';
|
||||
import { DataTableRowActions } from '../../../../components/ui/data-table-row-actions';
|
||||
import {
|
||||
DELETE_SUBSCRIPTIONS,
|
||||
GET_SUBSCRIPTIONS,
|
||||
type SubscriptionDto,
|
||||
UPDATE_SUBSCRIPTIONS,
|
||||
} from '../../../../domains/recorder/graphql/subscriptions.js';
|
||||
|
||||
export const Route = createFileRoute('/_app/subscriptions/manage')({
|
||||
component: SubscriptionManageRouteComponent,
|
||||
|
Loading…
Reference in New Issue
Block a user