internalPlugin.d.ts 547 B

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