mirror of
https://github.com/graphql-hive/console
synced 2026-05-24 09:38:26 +00:00
14 lines
347 B
TypeScript
14 lines
347 B
TypeScript
export interface RegistryContext {
|
|
req: any;
|
|
requestId: string;
|
|
user: any;
|
|
headers: Record<string, string | string[] | undefined>;
|
|
abortSignal: AbortSignal;
|
|
}
|
|
|
|
declare global {
|
|
namespace GraphQLModules {
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
interface GlobalContext extends RegistryContext {}
|
|
}
|
|
}
|