UNPKG

@ideal-photography/shared

Version:

Shared GraphQL (Apollo Server v5) and Mongoose logic for Ideal Photography PWAs: users, products, services, bookings, orders/cart, galleries, reviews, notifications, campaigns, settings, and audit logs.

25 lines (22 loc) 539 B
// Main entry point for the shared package import * as mongoDB from './mongoDB/index.js'; import * as graphql from './graphql/index.js'; // import * as validations from './validations/common.js'; export { mongoDB, graphql }; // Convenience exports export const { models, mongoose, connectDB, initializeDB, utils } = mongoDB; export const { typeDefs, resolvers, createApolloServer, applyApolloMiddleware, createContext, ApolloServer, expressMiddleware } = graphql;