import { PluginConfig } from './validateConfig' ; export type StateCache = { [ key ] : any ; } ; export enum CACHE_KEYS { TYPE_MAP = 'typeMap' , GRAPHQL_SDL = 'graphqlSdl' , IMAGE_EXTENSIONS = 'imageExt' } export function getCacheKey ( config , suffix ) { return `${ config . projectId }-${ config . dataset }-${ suffix }` ; }