UNPKG

@devcycle/js-cloud-server-sdk

Version:

The DevCycle JS Cloud Bucketing Server SDK used for feature management.

9 lines (8 loc) 773 B
import { DVCPopulatedUser } from './models/populatedUser'; import { DevCycleEvent } from './types'; import { DevCycleServerSDKOptions } from '@devcycle/types'; export declare const HOST = ".devcycle.com"; export declare function getAllFeatures(user: DVCPopulatedUser, sdkKey: string, options: DevCycleServerSDKOptions): Promise<Response>; export declare function getAllVariables(user: DVCPopulatedUser, sdkKey: string, options: DevCycleServerSDKOptions): Promise<Response>; export declare function getVariable(user: DVCPopulatedUser, sdkKey: string, variableKey: string, options: DevCycleServerSDKOptions): Promise<Response>; export declare function postTrack(user: DVCPopulatedUser, event: DevCycleEvent, sdkKey: string, options: DevCycleServerSDKOptions): Promise<void>;