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[];
|
segments: string[];
|
||||||
/** The current state of the change request. */
|
/** The current state of the change request. */
|
||||||
state: ChangeRequestSearchItemSchemaOneOfState;
|
state: ChangeRequestSearchItemSchemaOneOfState;
|
||||||
/** Title of the change request. */
|
/** Title of the change request. Only present if a custom title is set for this change request. */
|
||||||
title: string;
|
title?: string;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -10,12 +10,8 @@
|
|||||||
export type ChangeRequestSearchItemSchemaOneOfCreatedBy = {
|
export type ChangeRequestSearchItemSchemaOneOfCreatedBy = {
|
||||||
/** Unique identifier of the user. */
|
/** Unique identifier of the user. */
|
||||||
id: number;
|
id: number;
|
||||||
/**
|
/** Avatar image URL for the user. */
|
||||||
* Avatar image URL for the user.
|
|
||||||
*/
|
|
||||||
imageUrl?: string;
|
imageUrl?: string;
|
||||||
/**
|
/** Username of the user. */
|
||||||
* Username of the user.
|
|
||||||
*/
|
|
||||||
username?: string;
|
username?: string;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -25,6 +25,6 @@ export type ChangeRequestSearchItemSchemaOneOfFour = {
|
|||||||
segments: string[];
|
segments: string[];
|
||||||
/** The current state of the change request. */
|
/** The current state of the change request. */
|
||||||
state: ChangeRequestSearchItemSchemaOneOfFourState;
|
state: ChangeRequestSearchItemSchemaOneOfFourState;
|
||||||
/** Title of the change request. */
|
/** Title of the change request. Only present if a custom title is set for this change request. */
|
||||||
title: string;
|
title?: string;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -10,12 +10,8 @@
|
|||||||
export type ChangeRequestSearchItemSchemaOneOfFourCreatedBy = {
|
export type ChangeRequestSearchItemSchemaOneOfFourCreatedBy = {
|
||||||
/** Unique identifier of the user. */
|
/** Unique identifier of the user. */
|
||||||
id: number;
|
id: number;
|
||||||
/**
|
/** Avatar image URL for the user. */
|
||||||
* Avatar image URL for the user.
|
|
||||||
*/
|
|
||||||
imageUrl?: string;
|
imageUrl?: string;
|
||||||
/**
|
/** Username of the user. */
|
||||||
* Username of the user.
|
|
||||||
*/
|
|
||||||
username?: string;
|
username?: string;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user