UNPKG

@flagship.io/react-sdk

Version:
13 lines (12 loc) 586 B
import { type BucketingDTO, DecisionMode, type IBucketingConfig, type IDecisionApiConfig, type IEdgeConfig, type IFlagshipConfig } from "./deps.js"; export declare enum INTERNAL_EVENTS { FsTriggerRendering = "FS_TRIGGER_RENDERING" } export interface EdgeConfig extends IFlagshipConfig { decisionMode: DecisionMode.BUCKETING_EDGE; /** * This is a set of flag data provided to avoid the SDK to have an empty cache during the first initialization. */ initialBucketing?: BucketingDTO; } export type SDKConfig = IBucketingConfig | IDecisionApiConfig | IEdgeConfig;