mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
cb8add5c30
* feat: add context value descriptions * refcator: use ConditionallyRender for ...conditional render * refactor: fix context form enter behaviour * refactor: decrease margin between inputs * refactor: show error on missing value * refactor: disable add button on error * refactor: avoid clearing value error on name focus
14 lines
273 B
TypeScript
14 lines
273 B
TypeScript
export interface IUnleashContextDefinition {
|
|
name: string;
|
|
description: string;
|
|
createdAt: string;
|
|
sortOrder: number;
|
|
stickiness: boolean;
|
|
legalValues?: ILegalValue[];
|
|
}
|
|
|
|
export interface ILegalValue {
|
|
value: string;
|
|
description?: string;
|
|
}
|