mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-24 20:06:55 +01:00
fix: switch to new change milestone endpoint
This commit is contained in:
parent
92d03d2058
commit
bf2c421944
14
frontend/src/openapi/models/changeMilestoneProgression401.ts
Normal file
14
frontend/src/openapi/models/changeMilestoneProgression401.ts
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
export type ChangeMilestoneProgression401 = {
|
||||||
|
/** The ID of the error instance */
|
||||||
|
id?: string;
|
||||||
|
/** A description of what went wrong. */
|
||||||
|
message?: string;
|
||||||
|
/** The name of the error kind */
|
||||||
|
name?: string;
|
||||||
|
};
|
||||||
14
frontend/src/openapi/models/changeMilestoneProgression403.ts
Normal file
14
frontend/src/openapi/models/changeMilestoneProgression403.ts
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
export type ChangeMilestoneProgression403 = {
|
||||||
|
/** The ID of the error instance */
|
||||||
|
id?: string;
|
||||||
|
/** A description of what went wrong. */
|
||||||
|
message?: string;
|
||||||
|
/** The name of the error kind */
|
||||||
|
name?: string;
|
||||||
|
};
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { ChangeRequestCreateFeatureSchemaOneOfThreethreeAction } from './changeRequestCreateFeatureSchemaOneOfThreethreeAction.js';
|
||||||
|
import type { ChangeRequestCreateFeatureSchemaOneOfThreethreePayload } from './changeRequestCreateFeatureSchemaOneOfThreethreePayload.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Delete milestone progression.
|
||||||
|
*/
|
||||||
|
export type ChangeRequestCreateFeatureSchemaOneOfThreethree = {
|
||||||
|
/** The name of this action. */
|
||||||
|
action: ChangeRequestCreateFeatureSchemaOneOfThreethreeAction;
|
||||||
|
/** The name of the feature that this change applies to. */
|
||||||
|
feature: string;
|
||||||
|
payload: ChangeRequestCreateFeatureSchemaOneOfThreethreePayload;
|
||||||
|
};
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of this action.
|
||||||
|
*/
|
||||||
|
export type ChangeRequestCreateFeatureSchemaOneOfThreethreeAction =
|
||||||
|
(typeof ChangeRequestCreateFeatureSchemaOneOfThreethreeAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfThreethreeAction];
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||||
|
export const ChangeRequestCreateFeatureSchemaOneOfThreethreeAction = {
|
||||||
|
deleteMilestoneProgression: 'deleteMilestoneProgression',
|
||||||
|
} as const;
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
export type ChangeRequestCreateFeatureSchemaOneOfThreethreePayload = {
|
||||||
|
/** The ID of the source milestone with progression to delete. */
|
||||||
|
sourceMilestone: string;
|
||||||
|
};
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { TransitionConditionSchema } from './transitionConditionSchema.js';
|
||||||
|
|
||||||
|
export type ChangeRequestCreateFeatureSchemaOneOfThreezeroPayload = {
|
||||||
|
/** The ID of the source milestone */
|
||||||
|
sourceMilestone: string;
|
||||||
|
/** The ID of the target milestone */
|
||||||
|
targetMilestone: string;
|
||||||
|
/** The condition configuration for the transition */
|
||||||
|
transitionCondition: TransitionConditionSchema;
|
||||||
|
};
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { ChangeRequestCreateSchemaOneOfThreeeightAction } from './changeRequestCreateSchemaOneOfThreeeightAction.js';
|
||||||
|
import type { ChangeRequestCreateSchemaOneOfThreeeightPayload } from './changeRequestCreateSchemaOneOfThreeeightPayload.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Delete milestone progression.
|
||||||
|
*/
|
||||||
|
export type ChangeRequestCreateSchemaOneOfThreeeight = {
|
||||||
|
/** The name of this action. */
|
||||||
|
action: ChangeRequestCreateSchemaOneOfThreeeightAction;
|
||||||
|
/** The name of the feature that this change applies to. */
|
||||||
|
feature: string;
|
||||||
|
payload: ChangeRequestCreateSchemaOneOfThreeeightPayload;
|
||||||
|
};
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of this action.
|
||||||
|
*/
|
||||||
|
export type ChangeRequestCreateSchemaOneOfThreeeightAction =
|
||||||
|
(typeof ChangeRequestCreateSchemaOneOfThreeeightAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreeeightAction];
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||||
|
export const ChangeRequestCreateSchemaOneOfThreeeightAction = {
|
||||||
|
deleteMilestoneProgression: 'deleteMilestoneProgression',
|
||||||
|
} as const;
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
export type ChangeRequestCreateSchemaOneOfThreeeightPayload = {
|
||||||
|
/** The ID of the source milestone with progression to delete. */
|
||||||
|
sourceMilestone: string;
|
||||||
|
};
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { TransitionConditionSchema } from './transitionConditionSchema.js';
|
||||||
|
|
||||||
|
export type ChangeRequestCreateSchemaOneOfThreefivePayload = {
|
||||||
|
/** The ID of the source milestone */
|
||||||
|
sourceMilestone: string;
|
||||||
|
/** The ID of the target milestone */
|
||||||
|
targetMilestone: string;
|
||||||
|
/** The condition configuration for the transition */
|
||||||
|
transitionCondition: TransitionConditionSchema;
|
||||||
|
};
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction } from './changeRequestOneOrManyCreateSchemaOneOfThreeeightAction.js';
|
||||||
|
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreeeightPayload } from './changeRequestOneOrManyCreateSchemaOneOfThreeeightPayload.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Delete milestone progression.
|
||||||
|
*/
|
||||||
|
export type ChangeRequestOneOrManyCreateSchemaOneOfThreeeight = {
|
||||||
|
/** The name of this action. */
|
||||||
|
action: ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction;
|
||||||
|
/** The name of the feature that this change applies to. */
|
||||||
|
feature: string;
|
||||||
|
payload: ChangeRequestOneOrManyCreateSchemaOneOfThreeeightPayload;
|
||||||
|
};
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of this action.
|
||||||
|
*/
|
||||||
|
export type ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction =
|
||||||
|
(typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction];
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||||
|
export const ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction = {
|
||||||
|
deleteMilestoneProgression: 'deleteMilestoneProgression',
|
||||||
|
} as const;
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
export type ChangeRequestOneOrManyCreateSchemaOneOfThreeeightPayload = {
|
||||||
|
/** The ID of the source milestone with progression to delete. */
|
||||||
|
sourceMilestone: string;
|
||||||
|
};
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { TransitionConditionSchema } from './transitionConditionSchema.js';
|
||||||
|
|
||||||
|
export type ChangeRequestOneOrManyCreateSchemaOneOfThreefivePayload = {
|
||||||
|
/** The ID of the source milestone */
|
||||||
|
sourceMilestone: string;
|
||||||
|
/** The ID of the target milestone */
|
||||||
|
targetMilestone: string;
|
||||||
|
/** The condition configuration for the transition */
|
||||||
|
transitionCondition: TransitionConditionSchema;
|
||||||
|
};
|
||||||
14
frontend/src/openapi/models/edgeInstanceHeartbeat400.ts
Normal file
14
frontend/src/openapi/models/edgeInstanceHeartbeat400.ts
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
export type EdgeInstanceHeartbeat400 = {
|
||||||
|
/** The ID of the error instance */
|
||||||
|
id?: string;
|
||||||
|
/** A description of what went wrong. */
|
||||||
|
message?: string;
|
||||||
|
/** The name of the error kind */
|
||||||
|
name?: string;
|
||||||
|
};
|
||||||
14
frontend/src/openapi/models/edgeLicenseStateSchema.ts
Normal file
14
frontend/src/openapi/models/edgeLicenseStateSchema.ts
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
import type { EdgeLicenseStateSchemaEdgeLicenseState } from './edgeLicenseStateSchemaEdgeLicenseState.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A model representing the Edge license state response.
|
||||||
|
*/
|
||||||
|
export interface EdgeLicenseStateSchema {
|
||||||
|
/** State of the current Enterprise Edge license */
|
||||||
|
edgeLicenseState: EdgeLicenseStateSchemaEdgeLicenseState;
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* State of the current Enterprise Edge license
|
||||||
|
*/
|
||||||
|
export type EdgeLicenseStateSchemaEdgeLicenseState =
|
||||||
|
(typeof EdgeLicenseStateSchemaEdgeLicenseState)[keyof typeof EdgeLicenseStateSchemaEdgeLicenseState];
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||||
|
export const EdgeLicenseStateSchemaEdgeLicenseState = {
|
||||||
|
Valid: 'Valid',
|
||||||
|
Invalid: 'Invalid',
|
||||||
|
Expired: 'Expired',
|
||||||
|
} as const;
|
||||||
17
frontend/src/openapi/models/licenseReadSchemaResources.ts
Normal file
17
frontend/src/openapi/models/licenseReadSchemaResources.ts
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* Generated by Orval
|
||||||
|
* Do not edit manually.
|
||||||
|
* See `gen:api` script in package.json
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The resources available in the license.
|
||||||
|
*/
|
||||||
|
export type LicenseReadSchemaResources = {
|
||||||
|
/** Number of Edge instances in the license. */
|
||||||
|
edgeInstances?: number;
|
||||||
|
/** Number of release templates in the license. */
|
||||||
|
releaseTemplates?: number;
|
||||||
|
/** Number of seats in the license. */
|
||||||
|
seats?: number;
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue
Block a user