update naming of notification fragment
This commit is contained in:
@@ -4101,7 +4101,7 @@ export type DeleteNotificationMutation = {
|
|||||||
deleteNotification: boolean;
|
deleteNotification: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type NotificationFragmentFragment = {
|
export type NotificationFragment = {
|
||||||
__typename?: "NotificationGQL";
|
__typename?: "NotificationGQL";
|
||||||
id: number;
|
id: number;
|
||||||
notificationType: NotificationTypeEnum;
|
notificationType: NotificationTypeEnum;
|
||||||
@@ -5943,8 +5943,8 @@ export const MedalFieldsFragmentDoc = gql`
|
|||||||
nickname
|
nickname
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export const NotificationFragmentFragmentDoc = gql`
|
export const NotificationFragmentDoc = gql`
|
||||||
fragment NotificationFragment on NotificationGQL {
|
fragment Notification on NotificationGQL {
|
||||||
id
|
id
|
||||||
notificationType
|
notificationType
|
||||||
actor {
|
actor {
|
||||||
@@ -7235,14 +7235,14 @@ export const GetNotificationsDocument = gql`
|
|||||||
) {
|
) {
|
||||||
notifications(limit: $limit, offset: $offset, filters: $filters) {
|
notifications(limit: $limit, offset: $offset, filters: $filters) {
|
||||||
notifications {
|
notifications {
|
||||||
...NotificationFragment
|
...Notification
|
||||||
}
|
}
|
||||||
totalCount
|
totalCount
|
||||||
unreadCount
|
unreadCount
|
||||||
hasMore
|
hasMore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
${NotificationFragmentFragmentDoc}
|
${NotificationFragmentDoc}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ query GetNotifications(
|
|||||||
) {
|
) {
|
||||||
notifications(limit: $limit, offset: $offset, filters: $filters) {
|
notifications(limit: $limit, offset: $offset, filters: $filters) {
|
||||||
notifications {
|
notifications {
|
||||||
...NotificationFragment
|
...Notification
|
||||||
}
|
}
|
||||||
totalCount
|
totalCount
|
||||||
unreadCount
|
unreadCount
|
||||||
@@ -33,7 +33,7 @@ mutation DeleteNotification($notificationId: Int!) {
|
|||||||
deleteNotification(notificationId: $notificationId)
|
deleteNotification(notificationId: $notificationId)
|
||||||
}
|
}
|
||||||
|
|
||||||
fragment NotificationFragment on NotificationGQL {
|
fragment Notification on NotificationGQL {
|
||||||
id
|
id
|
||||||
notificationType
|
notificationType
|
||||||
actor {
|
actor {
|
||||||
|
|||||||
Reference in New Issue
Block a user