Notifications Operation #206
@@ -4101,7 +4101,7 @@ export type DeleteNotificationMutation = {
|
||||
deleteNotification: boolean;
|
||||
};
|
||||
|
||||
export type NotificationFragmentFragment = {
|
||||
export type NotificationFragment = {
|
||||
__typename?: "NotificationGQL";
|
||||
id: number;
|
||||
notificationType: NotificationTypeEnum;
|
||||
@@ -5943,8 +5943,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 {
|
||||
@@ -7235,14 +7235,14 @@ export const GetNotificationsDocument = gql`
|
||||
) {
|
||||
notifications(limit: $limit, offset: $offset, filters: $filters) {
|
||||
notifications {
|
||||
...NotificationFragment
|
||||
...Notification
|
||||
}
|
||||
totalCount
|
||||
unreadCount
|
||||
hasMore
|
||||
}
|
||||
}
|
||||
${NotificationFragmentFragmentDoc}
|
||||
${NotificationFragmentDoc}
|
||||
`;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user