diff --git a/src/index.tsx b/src/index.tsx index 0ffc8fd..8a1602f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4100,7 +4100,7 @@ export type DeleteNotificationMutation = { deleteNotification: boolean; }; -export type NotificationFragmentFragment = { +export type NotificationFragment = { __typename?: "NotificationGQL"; id: number; notificationType: NotificationTypeEnum; @@ -5942,8 +5942,8 @@ export const MedalFieldsFragmentDoc = gql` nickname } `; -export const NotificationFragmentFragmentDoc = gql` - fragment NotificationFragment on NotificationGQL { +export const NotificationFragmentDoc = gql` + fragment Notification on NotificationGQL { id notificationType actor { @@ -7234,14 +7234,14 @@ export const GetNotificationsDocument = gql` ) { notifications(limit: $limit, offset: $offset, filters: $filters) { notifications { - ...NotificationFragment + ...Notification } totalCount unreadCount hasMore } } - ${NotificationFragmentFragmentDoc} + ${NotificationFragmentDoc} `; /** diff --git a/src/operations/notifications.gql b/src/operations/notifications.gql index 8429b98..fa3747d 100644 --- a/src/operations/notifications.gql +++ b/src/operations/notifications.gql @@ -5,7 +5,7 @@ query GetNotifications( ) { notifications(limit: $limit, offset: $offset, filters: $filters) { notifications { - ...NotificationFragment + ...Notification } totalCount unreadCount @@ -33,7 +33,7 @@ mutation DeleteNotification($notificationId: Int!) { deleteNotification(notificationId: $notificationId) } -fragment NotificationFragment on NotificationGQL { +fragment Notification on NotificationGQL { id notificationType actor {