@getcronit/pylon
Version:

13 lines (12 loc) • 384 B
TypeScript
import { Context } from '../context';
import { PylonConfig } from '..';
interface PylonHandlerOptions {
graphql: {
Query: Record<string, any>;
Mutation?: Record<string, any>;
Subscription?: Record<string, any>;
};
config?: PylonConfig;
}
export declare const handler: (options: PylonHandlerOptions) => (c: Context) => Promise<Response>;
export {};