@graphql-mesh/incontext-sdk-codegen
Version:
14 lines (13 loc) • 448 B
TypeScript
import type { GraphQLSchema } from 'graphql';
export declare function generateIncontextSDKTypes(options: {
schema: GraphQLSchema;
name: string;
contextVariables: Record<string, string>;
flattenTypes: boolean;
codegenConfig: any;
unifiedContextIdentifier: string;
}): Promise<{
identifier: string;
codeAst: string;
}>;
export declare function generateUnifiedContextTypeFromIdentifiers(identifiers: string[]): string;