diff --git a/src/resolvers/MutationResolvers.ts b/src/resolvers/MutationResolvers.ts index c6d61db..a050bb1 100644 --- a/src/resolvers/MutationResolvers.ts +++ b/src/resolvers/MutationResolvers.ts @@ -1,16 +1,28 @@ -import { NotificationInput, Resolvers } from "../generated/graphql"; +import { NotificationInput, NotificationResponse, Resolvers } from "../generated/graphql"; import { ServerContext } from "../ServerContext"; export const MutationResolvers: Resolvers = { Mutation: { scheduleNotification: async (_parent, args, context, _info) => { - + const response: NotificationResponse = { + message: "Not implemented", + success: false + } + return response; }, cancelNotification: async (_parent, args, context, _info) => { - + const response: NotificationResponse = { + message: "Not implemented", + success: false + } + return response; }, cancelAllNotifications: async (_parent, args, context, _info) => { - + const response: NotificationResponse = { + message: "Not implemented", + success: false + } + return response; }, }, }