featurehub-javascript-client-sdk
Version:
FeatureHub client/browser SDK
12 lines (11 loc) • 633 B
TypeScript
import { FeatureHubRepository } from './featurehub_repository';
import { FeatureRolloutStrategy, SSEResultState } from './models';
import { InterceptorValueMatch } from './interceptors';
import { ClientContext } from './client_context';
import { Applied } from './strategy_matcher';
export interface InternalFeatureRepository extends FeatureHubRepository {
notReady(): void;
notify(state: SSEResultState, data: any): any;
valueInterceptorMatched(key: string): InterceptorValueMatch | undefined;
apply(strategies: Array<FeatureRolloutStrategy>, key: string, featureValueId: string, context: ClientContext): Applied;
}