index.d.ts 323 B

123456789
  1. import { KeyValueCache } from 'apollo-server-caching';
  2. export interface DataSourceConfig<TContext> {
  3. context: TContext;
  4. cache: KeyValueCache;
  5. }
  6. export declare abstract class DataSource<TContext = any> {
  7. initialize?(config: DataSourceConfig<TContext>): void | Promise<void>;
  8. }
  9. //# sourceMappingURL=index.d.ts.map