1
0
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:
Thomas Heartman 2025-10-23 14:29:44 +02:00 committed by GitHub
parent 32a950763b
commit e8dc64393e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 16 deletions

View File

@ -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;
};

View File

@ -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;
};

View File

@ -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;
};

View File

@ -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;
};