@@ -15,9 +15,6 @@ import simpleEntityResolvers from "./resolvers/simpleEntityResolvers";
1515import simpleEntityType from "./types/simpleEntityType" ;
1616import userResolvers from "./resolvers/userResolvers" ;
1717import userType from "./types/userType" ;
18- import dashboardType from "./types/dashboardType" ;
19- import dashboardResolvers from "./resolvers/dashboardResolvers" ;
20- import reviewType from "./types/reviewType" ;
2118import reviewDashboardResolvers from "./resolvers/reviewDashboardResolvers" ;
2219import reviewDashboardType from "./types/reviewDashboardType" ;
2320
@@ -38,19 +35,16 @@ const executableSchema = makeExecutableSchema({
3835 query ,
3936 mutation ,
4037 authType ,
41- reviewType ,
4238 entityType ,
4339 simpleEntityType ,
4440 userType ,
45- dashboardType ,
4641 reviewDashboardType ,
4742 ] ,
4843 resolvers : merge (
4944 authResolvers ,
5045 entityResolvers ,
5146 simpleEntityResolvers ,
5247 userResolvers ,
53- dashboardResolvers ,
5448 reviewDashboardResolvers ,
5549 ) ,
5650} ) ;
@@ -65,12 +59,6 @@ const graphQLMiddlewares = {
6559 entities : authorizedByAllRoles ( ) ,
6660 simpleEntity : authorizedByAllRoles ( ) ,
6761 simpleEntities : authorizedByAllRoles ( ) ,
68- dashboardById : authorizedByAllRoles ( ) ,
69- applicationsByRole : authorizedByAllRoles ( ) ,
70- applicationsBySecondChoiceRole : authorizedByAllRoles ( ) ,
71- applicationsById : authorizedByAllRoles ( ) ,
72- applicationTable : authorizedByAllRoles ( ) ,
73- secondChoiceRoleApplicationTable : authorizedByAllRoles ( ) ,
7462 userById : authorizedByAdmin ( ) ,
7563 userByEmail : authorizedByAdmin ( ) ,
7664 login : authorizedByAdmin ( ) ,
@@ -83,10 +71,6 @@ const graphQLMiddlewares = {
8371 createSimpleEntity : authorizedByAllRoles ( ) ,
8472 updateSimpleEntity : authorizedByAllRoles ( ) ,
8573 deleteSimpleEntity : authorizedByAllRoles ( ) ,
86- changeRating : authorizedByAllRoles ( ) ,
87- changeSkillCategory : authorizedByAllRoles ( ) ,
88- updateApplications : authorizedByAllRoles ( ) ,
89- modifyFinalComments : authorizedByAllRoles ( ) ,
9074 createUser : authorizedByAdmin ( ) ,
9175 updateUser : authorizedByAdmin ( ) ,
9276 deleteUserById : authorizedByAdmin ( ) ,
0 commit comments