mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			545 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			545 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { FromSchema } from 'json-schema-to-ts';
 | |
| 
 | |
| export const featureStrategySegmentSchema = {
 | |
|     $id: '#/components/schemas/featureStrategySegmentSchema',
 | |
|     type: 'object',
 | |
|     additionalProperties: false,
 | |
|     required: ['segmentId', 'featureStrategyId'],
 | |
|     properties: {
 | |
|         segmentId: {
 | |
|             type: 'integer',
 | |
|         },
 | |
|         featureStrategyId: {
 | |
|             type: 'string',
 | |
|         },
 | |
|     },
 | |
|     components: {},
 | |
| } as const;
 | |
| 
 | |
| export type FeatureStrategySegmentSchema = FromSchema<
 | |
|     typeof featureStrategySegmentSchema
 | |
| >;
 |