mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
20 lines
356 B
TypeScript
20 lines
356 B
TypeScript
|
export interface IStrategy {
|
||
|
constraints: IConstraint[];
|
||
|
id: string;
|
||
|
name: string;
|
||
|
parameters: IParameter;
|
||
|
}
|
||
|
|
||
|
export interface IConstraint {
|
||
|
values: string[];
|
||
|
operator: string;
|
||
|
contextName: string;
|
||
|
}
|
||
|
|
||
|
export interface IParameter {
|
||
|
groupId?: string;
|
||
|
rollout?: number;
|
||
|
stickiness?: string;
|
||
|
[index: string]: any;
|
||
|
}
|