From 00633e390604ff67feb2b99042ac07de25d8879c Mon Sep 17 00:00:00 2001 From: Noah Paige Date: Tue, 1 Oct 2024 11:48:30 -0400 Subject: [PATCH] Missed cleanup files --- .../dataall/modules/notifications/api/queries.py | 15 --------------- .../src/services/graphql/Notification/index.js | 3 --- 2 files changed, 18 deletions(-) diff --git a/backend/dataall/modules/notifications/api/queries.py b/backend/dataall/modules/notifications/api/queries.py index 95ba57aaa..ef89ec79c 100644 --- a/backend/dataall/modules/notifications/api/queries.py +++ b/backend/dataall/modules/notifications/api/queries.py @@ -1,7 +1,5 @@ from dataall.base.api import gql from .resolvers import ( - count_deleted_notifications, - count_read_notifications, count_unread_notifications, list_my_notifications, ) @@ -22,16 +20,3 @@ resolver=count_unread_notifications, ) -# Not used in frontend -countReadNotifications = gql.QueryField( - name='countReadNotifications', - type=gql.Integer, - resolver=count_read_notifications, -) - -# Not used in frontend -countDeletedNotifications = gql.QueryField( - name='countDeletedNotifications', - type=gql.Integer, - resolver=count_deleted_notifications, -) diff --git a/frontend/src/services/graphql/Notification/index.js b/frontend/src/services/graphql/Notification/index.js index b050f4df8..4deab1497 100644 --- a/frontend/src/services/graphql/Notification/index.js +++ b/frontend/src/services/graphql/Notification/index.js @@ -1,6 +1,3 @@ -export * from './archiveNotification'; -export * from './countDeletedNotifications'; -export * from './countReadNotifications'; export * from './countUnreadNotifications'; export * from './listNotifications'; export * from './markAsRead';