@devcycle/js-cloud-server-sdk
Version:
The DevCycle JS Cloud Bucketing Server SDK used for feature management.
11 lines (10 loc) • 468 B
TypeScript
import { ConfigMetadata } from '@devcycle/types';
import { DevCycleUser, DVCVariableValue } from '../../src/';
export type HookMetadata = ConfigMetadata | Record<string, string>;
export declare class HookContext<T extends DVCVariableValue> {
user: DevCycleUser;
readonly variableKey: string;
readonly defaultValue: T;
readonly metadata: HookMetadata;
constructor(user: DevCycleUser, variableKey: string, defaultValue: T, metadata: HookMetadata);
}