@redocly/graphql-docs
Version:
Redocly GraphQL docs
5 lines (4 loc) • 482 B
TypeScript
import type { FieldExampleGenerator } from '../field-example.js';
import type { GraphQLNamedOutputType } from '../../../schema/index.js';
export type SelectionSetExampleGenerator = (type: GraphQLNamedOutputType, multilineArguments: boolean, indentation: number, maxLevel: number, level: number, getFieldExample: FieldExampleGenerator, translate: (key: string, defaultMessage?: string) => string) => string;
export declare const getSelectionSetExample: SelectionSetExampleGenerator;