Skip to content

Type Alias: GraphQLArgumentSchema ​

GraphQLArgumentSchema = Readonly<{ fields: Readonly<Record<string, Readonly<Record<string, GraphQLArguments>>>>; inputs: Readonly<Record<string, Readonly<{ kind: "enum"; values: ReadonlyArray<string>; }> | Readonly<{ fields: GraphQLArguments; kind: "object"; }>>>; mutationType?: string; outputs?: Readonly<Record<string, Readonly<Record<string, string>>>>; possibleTypes?: Readonly<Record<string, ReadonlyArray<string>>>; queryType: string; scalars?: ReadonlyArray<string>; subscriptionType?: string; unions?: Readonly<Record<string, ReadonlyArray<string>>>; }>

Defined in: fate/src/graphqlSchema.ts:48

Build-time schema metadata needed to validate inputs and declare wire variables.

Released under the MIT License