mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
chore: update orval with latest change request schema updates (#4446)
This commit is contained in:
parent
57c448c197
commit
17798408a4
@ -7,7 +7,7 @@ import type { ChangeRequestChangeSchemaPayload } from './changeRequestChangeSche
|
|||||||
import type { ChangeRequestChangeSchemaCreatedBy } from './changeRequestChangeSchemaCreatedBy';
|
import type { ChangeRequestChangeSchemaCreatedBy } from './changeRequestChangeSchemaCreatedBy';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A change request event, containing info about the type of change and the specific changes.
|
* A change request change, containing info about the type of change and the specific changes.
|
||||||
*/
|
*/
|
||||||
export interface ChangeRequestChangeSchema {
|
export interface ChangeRequestChangeSchema {
|
||||||
/** The ID of this change. */
|
/** The ID of this change. */
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
import type { ChangeRequestSchemaState } from './changeRequestSchemaState';
|
import type { ChangeRequestSchemaState } from './changeRequestSchemaState';
|
||||||
import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema';
|
import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema';
|
||||||
import type { ChangeRequestChangeSchema } from './changeRequestChangeSchema';
|
import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema';
|
||||||
import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema';
|
import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema';
|
||||||
import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema';
|
import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema';
|
||||||
import type { ChangeRequestSchemaCreatedBy } from './changeRequestSchemaCreatedBy';
|
import type { ChangeRequestSchemaCreatedBy } from './changeRequestSchemaCreatedBy';
|
||||||
@ -29,7 +29,7 @@ export interface ChangeRequestSchema {
|
|||||||
/** The list of features and their changes that relate to this change request. */
|
/** The list of features and their changes that relate to this change request. */
|
||||||
features: ChangeRequestFeatureSchema[];
|
features: ChangeRequestFeatureSchema[];
|
||||||
/** The list of segments and their changes that relate to this change request. */
|
/** The list of segments and their changes that relate to this change request. */
|
||||||
segments: ChangeRequestChangeSchema[];
|
segments: ChangeRequestSegmentChangeSchema[];
|
||||||
/** A list of approvals that this change request has received. */
|
/** A list of approvals that this change request has received. */
|
||||||
approvals?: ChangeRequestApprovalSchema[];
|
approvals?: ChangeRequestApprovalSchema[];
|
||||||
/** All comments that have been made on this change request. */
|
/** All comments that have been made on this change request. */
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { ChangeRequestSegmentChangeSchemaPayload } from './changeRequestSegmentChangeSchemaPayload';
|
||||||
|
import type { ChangeRequestSegmentChangeSchemaCreatedBy } from './changeRequestSegmentChangeSchemaCreatedBy';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A change request segment change, containing info about the type of segment change and the specific changes.
|
||||||
|
*/
|
||||||
|
export interface ChangeRequestSegmentChangeSchema {
|
||||||
|
/** The ID of this change. */
|
||||||
|
id: number;
|
||||||
|
/** The kind of action that the change contains information about. */
|
||||||
|
action: string;
|
||||||
|
/** A description of the conflict caused by this change. Only present if there are any conflicts. */
|
||||||
|
conflict?: string;
|
||||||
|
/** The data required to perform this action. */
|
||||||
|
payload: ChangeRequestSegmentChangeSchemaPayload;
|
||||||
|
/** The user who created this change. */
|
||||||
|
createdBy?: ChangeRequestSegmentChangeSchemaCreatedBy;
|
||||||
|
/** When this change was suggested */
|
||||||
|
createdAt?: string;
|
||||||
|
/** The current name of the segment */
|
||||||
|
name: string;
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The user who created this change.
|
||||||
|
*/
|
||||||
|
export type ChangeRequestSegmentChangeSchemaCreatedBy = {
|
||||||
|
/** The user's username. */
|
||||||
|
username?: string | null;
|
||||||
|
/** The URL where the user's image can be found. */
|
||||||
|
imageUrl?: string | null;
|
||||||
|
};
|
@ -0,0 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { ChangeRequestSegmentChangeSchemaPayloadOneOf } from './changeRequestSegmentChangeSchemaPayloadOneOf';
|
||||||
|
import type { SetStrategySortOrderSchema } from './setStrategySortOrderSchema';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The data required to perform this action.
|
||||||
|
*/
|
||||||
|
export type ChangeRequestSegmentChangeSchemaPayload =
|
||||||
|
| string
|
||||||
|
| boolean
|
||||||
|
| ChangeRequestSegmentChangeSchemaPayloadOneOf
|
||||||
|
| number
|
||||||
|
| SetStrategySortOrderSchema;
|
@ -0,0 +1,9 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
export type ChangeRequestSegmentChangeSchemaPayloadOneOf = {
|
||||||
|
[key: string]: any;
|
||||||
|
};
|
@ -149,6 +149,10 @@ export * from './changeRequestOneOrManyCreateSchema';
|
|||||||
export * from './changeRequestSchema';
|
export * from './changeRequestSchema';
|
||||||
export * from './changeRequestSchemaCreatedBy';
|
export * from './changeRequestSchemaCreatedBy';
|
||||||
export * from './changeRequestSchemaState';
|
export * from './changeRequestSchemaState';
|
||||||
|
export * from './changeRequestSegmentChangeSchema';
|
||||||
|
export * from './changeRequestSegmentChangeSchemaCreatedBy';
|
||||||
|
export * from './changeRequestSegmentChangeSchemaPayload';
|
||||||
|
export * from './changeRequestSegmentChangeSchemaPayloadOneOf';
|
||||||
export * from './changeRequestStateSchema';
|
export * from './changeRequestStateSchema';
|
||||||
export * from './changeRequestStateSchemaState';
|
export * from './changeRequestStateSchemaState';
|
||||||
export * from './changeRequestUpdateTitleSchema';
|
export * from './changeRequestUpdateTitleSchema';
|
||||||
|
Loading…
Reference in New Issue
Block a user