UNPKG

563 BTypeScriptView Raw
1import type { CacheHint } from 'apollo-server-types';
2import type { InternalApolloServerPlugin } from '../../internalPlugin';
3export interface ApolloServerPluginCacheControlOptions {
4 defaultMaxAge?: number;
5 calculateHttpHeaders?: boolean;
6 __testing__cacheHints?: Map<string, CacheHint>;
7}
8export declare function ApolloServerPluginCacheControl(options?: ApolloServerPluginCacheControlOptions): InternalApolloServerPlugin;
9export declare function ApolloServerPluginCacheControlDisabled(): InternalApolloServerPlugin;
10//# sourceMappingURL=index.d.ts.map
\No newline at end of file