mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
add stubs for mutations
This commit is contained in:
16
src/resolvers/MutationResolvers.ts
Normal file
16
src/resolvers/MutationResolvers.ts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
import { NotificationInput, Resolvers } from "../generated/graphql";
|
||||||
|
import { ServerContext } from "../ServerContext";
|
||||||
|
|
||||||
|
export const MutationResolvers: Resolvers<ServerContext> = {
|
||||||
|
Mutation: {
|
||||||
|
scheduleNotification: async (_parent, args, context, _info) => {
|
||||||
|
|
||||||
|
},
|
||||||
|
cancelNotification: async (_parent, args, context, _info) => {
|
||||||
|
|
||||||
|
},
|
||||||
|
cancelAllNotifications: async (_parent, args, context, _info) => {
|
||||||
|
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user