import { mergeTypeDefs, mergeResolvers } from "@graphql-tools/merge";
import { userTypeDefs } from "./schema/userTypeDefs";
import { userResolvers } from "./resolvers/userResolvers";
import { personTypeDefs } from "./schema/personTypeDefs";
import { personResolvers } from "./resolvers/personResolvers";

export const typeDefs = mergeTypeDefs([userTypeDefs, personTypeDefs]);
export const resolvers = mergeResolvers([userResolvers, personResolvers]);
