mirror of
https://github.com/vale981/apollo-server
synced 2025-03-14 14:56:40 -04:00
6 lines
179 B
TypeScript
6 lines
179 B
TypeScript
![]() |
import { KeyValueCache } from 'apollo-server-caching';
|
||
|
|
||
|
export abstract class DataSource<TContext = any> {
|
||
|
abstract initialize(context: TContext, cache: KeyValueCache): void;
|
||
|
}
|