Skip to content

Commit 1c75a3f

Browse files
Export additional assignment cache interfaces. (FF-2110) (#68)
1 parent 5173c69 commit 1c75a3f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/index.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import { logger } from './application-logger';
2-
import { AssignmentCache } from './assignment-cache';
2+
import {
3+
Cacheable,
4+
AssignmentCache,
5+
NonExpiringInMemoryAssignmentCache,
6+
LRUInMemoryAssignmentCache,
7+
} from './assignment-cache';
38
import { IAssignmentHooks } from './assignment-hooks';
49
import { IAssignmentLogger, IAssignmentEvent } from './assignment-logger';
510
import EppoClient, { FlagConfigurationRequestParameters, IEppoClient } from './client/eppo-client';
@@ -37,8 +42,13 @@ export {
3742
HybridConfigurationStore,
3843
MemoryOnlyConfigurationStore,
3944

40-
//
45+
// Assignment cache
4146
AssignmentCache,
47+
Cacheable,
48+
NonExpiringInMemoryAssignmentCache,
49+
LRUInMemoryAssignmentCache,
50+
51+
// Interfaces
4252
FlagConfigurationRequestParameters,
4353
Flag,
4454
VariationType,

0 commit comments

Comments
 (0)