mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			768 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			768 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { FromSchema } from 'json-schema-to-ts';
 | |
| 
 | |
| export const feedbackCreateSchema = {
 | |
|     $id: '#/components/schemas/feedbackCreateSchema',
 | |
|     required: ['feedbackId'],
 | |
|     type: 'object',
 | |
|     description: 'User feedback information to be created.',
 | |
|     properties: {
 | |
|         neverShow: {
 | |
|             description:
 | |
|                 '`true` if the user has asked never to see this feedback questionnaire again. Defaults to `false`.',
 | |
|             type: 'boolean',
 | |
|             example: false,
 | |
|         },
 | |
|         feedbackId: {
 | |
|             description: 'The name of the feedback session',
 | |
|             type: 'string',
 | |
|             example: 'pnps',
 | |
|         },
 | |
|     },
 | |
|     components: {},
 | |
| } as const;
 | |
| 
 | |
| export type FeedbackCreateSchema = FromSchema<typeof feedbackCreateSchema>;
 |