UNPKG

@accounter/server

Version:

14 lines (13 loc) 502 B
import type { AdminContext } from './plugins/admin-context-plugin.js'; import type { UserType } from './plugins/auth-plugin.js'; import type { Environment } from './shared/types/index.js'; declare global { namespace GraphQLModules { interface GlobalContext { env: Environment; currentUser: UserType; adminContext: AdminContext; } } } export declare function createGraphQLApp(env: Environment): Promise<import("graphql-modules").Application>;