index.d.ts 486 B

123456789
  1. import type { ApolloServerPlugin } from '../../externalTypes/index.js';
  2. import type { CacheHint } from '@apollo/cache-control-types';
  3. export interface ApolloServerPluginCacheControlOptions {
  4. defaultMaxAge?: number;
  5. calculateHttpHeaders?: boolean | 'if-cacheable';
  6. __testing__cacheHints?: Map<string, CacheHint>;
  7. }
  8. export declare function ApolloServerPluginCacheControl(options?: ApolloServerPluginCacheControlOptions): ApolloServerPlugin;
  9. //# sourceMappingURL=index.d.ts.map