import { type BaseKeystoneTypeInfo, type KeystoneConfig, type KeystoneContext } from './types' import { createSystem } from './lib/createSystem' export function getContext ( config: KeystoneConfig, PrismaModule: unknown ): KeystoneContext { const system = createSystem(config) const { context } = system.getKeystone(PrismaModule) return context }