@omnigraph/mysql
Version:
10 lines (9 loc) • 439 B
text/typescript
import type { MySQLSSLOptions } from '@graphql-mesh/transport-mysql';
import type { TableFieldConfig } from './types.cjs';
export interface LoadGraphQLSchemaFromMySQLOpts {
endpoint: string;
ssl?: MySQLSSLOptions;
tables?: string[];
tableFields?: TableFieldConfig[];
}
export declare function loadGraphQLSchemaFromMySQL(subgraphName: string, opts: LoadGraphQLSchemaFromMySQLOpts): Promise<import("graphql").GraphQLSchema>;