apollo-server/packages/apollo-server-core/src/caching.ts

5 lines
133 B
TypeScript
Raw Normal View History

export interface PersistedQueryCache {
set(key: string, data: string): Promise<any>;
get(key: string): Promise<string | null>;
}