Skip to content

DoCurious API Reference / types / CreateFeatureFlagData

Interface: CreateFeatureFlagData ​

Defined in: types/featureFlag.types.ts:172

Data required to create a new feature flag.

Properties ​

defaultValue ​

defaultValue: boolean

Defined in: types/featureFlag.types.ts:178


description ​

description: string

Defined in: types/featureFlag.types.ts:175


jsonValue? ​

optional jsonValue: Record<string, unknown>

Defined in: types/featureFlag.types.ts:180


key ​

key: string

Defined in: types/featureFlag.types.ts:173


name ​

name: string

Defined in: types/featureFlag.types.ts:174


status ​

status: FlagStatus

Defined in: types/featureFlag.types.ts:177


tags? ​

optional tags: string[]

Defined in: types/featureFlag.types.ts:182


targetingRules ​

targetingRules: TargetingRule[]

Defined in: types/featureFlag.types.ts:181


type ​

type: FeatureFlagType

Defined in: types/featureFlag.types.ts:176


variants? ​

optional variants: FlagVariant[]

Defined in: types/featureFlag.types.ts:179

DoCurious Platform Documentation