Appearance
MagicQuerySchema
Type: Object
Input (JSON Schema) and output (introspection) contract for a Magic Query noun.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| inputSchema | JSON! | JSON Schema for the accepted options (limit/after/filters, or id). | ||
| kind | MagicQueryKind! | SINGLE or COLLECTION. | ||
| noun | String! | The noun this describes, e.g. 'jobs'. | ||
| outputSchema | IntrospectionResultJSON! | GraphQL introspection for the return type. | ||
| returnType | String! | The GraphQL type name the query returns, e.g. 'JobState'. |