Appearance
DoCurious API Reference / types / TargetingRule
Interface: TargetingRule
Defined in: types/featureFlag.types.ts:70
A single targeting condition. Multiple rules on a flag are combined with AND logic.
Properties
id
id:
string
Defined in: types/featureFlag.types.ts:71
operator
operator:
TargetingOperator
Defined in: types/featureFlag.types.ts:73
type
type:
TargetingRuleType
Defined in: types/featureFlag.types.ts:72
values
values:
string[]
Defined in: types/featureFlag.types.ts:75
Values depend on type: role names, user IDs, tier names, a percentage string, or env names