simple-graphql
Version:
The simple way to generates GraphQL schemas and Sequelize models from your models definition.
15 lines (14 loc) • 402 B
TypeScript
import { SGPluginConfig, SGPluginOptions } from '../index';
import { SGCacheManager } from './cache';
type CacheOptions = SGPluginOptions & {
prefix?: string;
cacheManager?: SGCacheManager;
expire?: number;
};
declare module '../index' {
interface SGPluginOptionsMap {
cache?: CacheOptions;
}
}
declare const _default: SGPluginConfig<CacheOptions>;
export default _default;