diff --git a/lib/types/DataSources.ts b/lib/types/DataSources.ts index 685f914..c499d30 100644 --- a/lib/types/DataSources.ts +++ b/lib/types/DataSources.ts @@ -53,14 +53,14 @@ export interface GroupCache extends GroupWriteCache { getExpirationTimeFromGroup: (key: string, group: string) => Promise } -export interface DataSource { +export interface DataSource { get: (loadParams: LoadParams) => Promise getMany: (keys: string[], loadParams?: LoadParams) => Promise name: string } -export interface GroupDataSource { +export interface GroupDataSource { getFromGroup: (loadParams: LoadParams, group: string) => Promise getManyFromGroup: (keys: string[], group: string, loadParams?: LoadParams) => Promise