@accounter/server
Version:
Accounter GraphQL server
15 lines (13 loc) • 404 B
TypeScript
import type { RawAuth } from '../../plugins/auth-plugin.js';
import type { DisposableDbClient, Environment } from './index.js';
declare global {
namespace GraphQLModules {
interface GlobalContext {
env: Environment;
rawAuth: RawAuth;
dbClientsToDispose?: DisposableDbClient[];
/** See `AccounterContext.executionInFlight`. */
executionInFlight?: boolean;
}
}
}