UNPKG

547 BTypeScriptView Raw
1import type { BaseContext } from 'apollo-server-types';
2import type { ApolloServerPlugin } from 'apollo-server-plugin-base';
3export interface InternalApolloServerPlugin<TContext extends BaseContext = BaseContext> extends ApolloServerPlugin<TContext> {
4 __internal_plugin_id__(): InternalPluginId;
5}
6export declare type InternalPluginId = 'SchemaReporting' | 'InlineTrace' | 'UsageReporting';
7export declare function pluginIsInternal(plugin: ApolloServerPlugin): plugin is InternalApolloServerPlugin;
8//# sourceMappingURL=internalPlugin.d.ts.map
\No newline at end of file