mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: replace hand-crafted schemas with orval-generated schemas (#10849)
They're mostly the same content, however, so nothing much should change. The `optional` title is already handled in the UI.
This commit is contained in:
		
							parent
							
								
									32a950763b
								
							
						
					
					
						commit
						e8dc64393e
					
				| @ -23,6 +23,6 @@ export type ChangeRequestSearchItemSchemaOneOf = { | ||||
|     segments: string[]; | ||||
|     /** The current state of the change request. */ | ||||
|     state: ChangeRequestSearchItemSchemaOneOfState; | ||||
|     /** Title of the change request. */ | ||||
|     title: string; | ||||
|     /** Title of the change request. Only present if a custom title is set for this change request. */ | ||||
|     title?: string; | ||||
| }; | ||||
|  | ||||
| @ -10,12 +10,8 @@ | ||||
| export type ChangeRequestSearchItemSchemaOneOfCreatedBy = { | ||||
|     /** Unique identifier of the user. */ | ||||
|     id: number; | ||||
|     /** | ||||
|      * Avatar image URL for the user. | ||||
|      */ | ||||
|     /** Avatar image URL for the user. */ | ||||
|     imageUrl?: string; | ||||
|     /** | ||||
|      * Username of the user. | ||||
|      */ | ||||
|     /** Username of the user. */ | ||||
|     username?: string; | ||||
| }; | ||||
|  | ||||
| @ -25,6 +25,6 @@ export type ChangeRequestSearchItemSchemaOneOfFour = { | ||||
|     segments: string[]; | ||||
|     /** The current state of the change request. */ | ||||
|     state: ChangeRequestSearchItemSchemaOneOfFourState; | ||||
|     /** Title of the change request. */ | ||||
|     title: string; | ||||
|     /** Title of the change request. Only present if a custom title is set for this change request. */ | ||||
|     title?: string; | ||||
| }; | ||||
|  | ||||
| @ -10,12 +10,8 @@ | ||||
| export type ChangeRequestSearchItemSchemaOneOfFourCreatedBy = { | ||||
|     /** Unique identifier of the user. */ | ||||
|     id: number; | ||||
|     /** | ||||
|      * Avatar image URL for the user. | ||||
|      */ | ||||
|     /** Avatar image URL for the user. */ | ||||
|     imageUrl?: string; | ||||
|     /** | ||||
|      * Username of the user. | ||||
|      */ | ||||
|     /** Username of the user. */ | ||||
|     username?: string; | ||||
| }; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user