UNPKG

@backland/schema

Version:

TypeScript schema declaration and validation library with static type inference

9 lines (8 loc) 556 B
import { BacklandModules } from '../CircularDeps'; import { FieldInput, ObjectFieldInput } from '../fields/_parseFields'; import { GraphType, GraphTypeArgs, LazyParseGraphTypePayload } from './GraphType'; export declare function lazyCreateGraphTypeInitPayload(args: GraphTypeArgs, onLoad?: (payload: LazyParseGraphTypePayload) => LazyParseGraphTypePayload | void): { definitionInput: ObjectFieldInput | ((utils: BacklandModules) => ObjectFieldInput); idFromArgs: any; initializer: (self: GraphType<FieldInput>) => LazyParseGraphTypePayload; };