mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	* 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;
 | |
| }
 |