get-graphql-from-jsonschema
Version:
get-graphql-from-jsonschema gets a GraphQL schema from a JSON schema.
12 lines (11 loc) • 389 B
TypeScript
import { Direction } from './Types/Direction';
import { TranslatableObjectTypeJsonSchema } from './Types/TranslatableObjectTypeJsonSchema';
declare const handleObjectType: ({ path, schema, direction }: {
path: string[];
schema: TranslatableObjectTypeJsonSchema;
direction: Direction;
}) => {
typeName: string;
typeDefinitions: string[];
};
export { handleObjectType };