@graphql-markdown/core
Version:
GraphQL-Markdown core package for generating Markdown documentation from a GraphQL schema.
25 lines • 735 B
TypeScript
/**
* Schema loading event class.
*
* @packageDocumentation
*/
import type { GraphQLSchema, Maybe, SchemaMap } from "@graphql-markdown/types";
import type { CancellableEventOptions } from "@graphql-markdown/utils";
import { DataEvent } from "@graphql-markdown/utils";
/**
* Event emitted before/after loading a GraphQL schema.
*
* @category Events
*/
export declare class SchemaEvent extends DataEvent<{
schemaLocation?: string;
schema?: Maybe<GraphQLSchema>;
rootTypes?: Maybe<SchemaMap>;
}> {
constructor(data: {
schemaLocation?: string;
schema?: Maybe<GraphQLSchema>;
rootTypes?: Maybe<SchemaMap>;
}, options?: CancellableEventOptions);
}
//# sourceMappingURL=schema-load.d.ts.map