@@ -55,10 +55,7 @@ import { attendanceResolver } from "./resolvers/attendanceResolver";
5555import { attendanceSchema } from "./schema/attendanceSchema" ;
5656import { performanceResolver } from "./resolvers/performanceResolver" ;
5757import { performanceSchema } from "./schema/performanceSchema" ;
58- import {
59- applicationStageDefs ,
60- technicalInterviewDefs ,
61- } from "./schema/applicationStage" ;
58+ import { applicationStageDefs } from "./schema/applicationStage" ;
6259import { applicationStageResolvers } from "./resolvers/applicationStageResolver" ;
6360import filterJobResolver from "./resolvers/filterJob" ;
6461import filterProgramResolver from "./resolvers/filterPrograms" ;
@@ -91,12 +88,10 @@ import { jobApplicationTypeDefs } from "./schema/jobApplicationSchema";
9188import { jobApplicationResolver } from "./resolvers/jobApplicationResolver" ;
9289import { blogRelatedResolvers } from "./resolvers/blogRelatedArticlesResolver" ;
9390import { blogRelatedArticlesSchema } from "./schema/blogRelatedArticlesSchema" ;
94- import { reactionSchema } from "./schema/reactionSchema" ;
91+ import { reactionSchema } from "./schema/reactionSchema" ;
9592import { reactionResolvers } from "./resolvers/reactionResolvers" ;
9693import { DocSchema } from "./schema/doc" ;
9794import { docResolver } from "./resolvers/Doc" ;
98- import { technicalInterviewResolvers } from "./resolvers/scheduleInterviewResolver" ;
99-
10095const PORT = process . env . PORT || 3000 ;
10196
10297const resolvers = mergeResolvers ( [
@@ -145,8 +140,7 @@ const resolvers = mergeResolvers([
145140 commentReplyResolvers ,
146141 blogRelatedResolvers ,
147142 docResolver ,
148- reactionResolvers ,
149- technicalInterviewResolvers ,
143+ reactionResolvers
150144] ) ;
151145const typeDefs = mergeTypeDefs ( [
152146 applicationCycleTypeDefs ,
@@ -190,9 +184,7 @@ const typeDefs = mergeTypeDefs([
190184 jobApplicationTypeDefs ,
191185 blogRelatedArticlesSchema ,
192186 DocSchema ,
193- reactionSchema ,
194- applicationStageDefs ,
195- technicalInterviewDefs ,
187+ reactionSchema
196188] ) ;
197189
198190const server = new ApolloServer ( {
@@ -205,7 +197,7 @@ const server = new ApolloServer({
205197 try {
206198 authToken =
207199 req . headers . authorization &&
208- req . headers . authorization . startsWith ( "Bearer " )
200+ req . headers . authorization . startsWith ( "Bearer " )
209201 ? req . headers . authorization . split ( " " ) [ 1 ]
210202 : req . headers . authorization ;
211203 if ( authToken ) {
@@ -224,4 +216,4 @@ const server = new ApolloServer({
224216connect ( ) . then ( ( ) => {
225217 console . log ( "Database connected!" ) ;
226218 server . listen ( PORT ) . then ( ( { url } ) => console . info ( `App on ${ url } ` ) ) ;
227- } ) ;
219+ } ) ;
0 commit comments