UNPKG

@omnigraph/mysql

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