@redocly/graphql-docs
Version:
Redocly GraphQL docs
10 lines (9 loc) • 389 B
TypeScript
import type { GraphQLConfig } from '@redocly/config';
export type PaginationType = 'none' | 'section' | 'item';
type WithRequired<T, K extends keyof T> = T & {
[P in K]-?: T[P];
};
export type GraphQLDocsSettings = WithRequired<GraphQLConfig, 'hidePaginationButtons' | 'jsonSamplesDepth' | 'samplesMaxInlineArgs' | 'fieldExpandLevel'> & {
pagination: PaginationType;
};
export {};