mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add placeholder responses to get typescript to stop screaming
This commit is contained in:
@@ -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<ServerContext> = {
|
||||
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;
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user