mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
https://linear.app/unleash/issue/2-2816/add-release-plan-to-feature-flag-from-release-template https://linear.app/unleash/issue/2-2818/list-release-plan-with-milestones-in-feature-flag-environment-section https://linear.app/unleash/issue/2-2819/removing-release-plan-from-feature Implements the release plan flow in the feature flag environment. You can now manage release plans in a feature flag environment by adding or removing them, as well as start milestones. https://github.com/user-attachments/assets/24db9db4-7c3a-463e-b48a-611358f2b212
61 lines
1.3 KiB
TypeScript
61 lines
1.3 KiB
TypeScript
import type { IFeatureStrategy } from './strategy';
|
|
|
|
export interface IReleasePlanTemplate {
|
|
id: string;
|
|
name: string;
|
|
description: string;
|
|
createdAt: string;
|
|
createdByUserId: number;
|
|
}
|
|
|
|
export interface IReleasePlanTemplate {
|
|
id: string;
|
|
name: string;
|
|
description: string;
|
|
createdAt: string;
|
|
createdByUserId: number;
|
|
milestones: IReleasePlanMilestonePayload[];
|
|
}
|
|
|
|
export interface IReleasePlan {
|
|
id: string;
|
|
name: string;
|
|
description: string;
|
|
createdAt: string;
|
|
createdByUserId: number;
|
|
activeMilestoneId?: string;
|
|
featureName: string;
|
|
environment: string;
|
|
milestones: IReleasePlanMilestone[];
|
|
}
|
|
|
|
export interface IReleasePlanMilestone {
|
|
id: string;
|
|
name: string;
|
|
releasePlanDefinitionId: string;
|
|
strategies: IReleasePlanMilestoneStrategy[];
|
|
}
|
|
|
|
export interface IReleasePlanMilestoneStrategy extends IFeatureStrategy {
|
|
milestoneId: string;
|
|
}
|
|
|
|
export interface IReleasePlanTemplatePayload {
|
|
id?: string;
|
|
name: string;
|
|
description: string;
|
|
milestones?: IReleasePlanMilestonePayload[];
|
|
}
|
|
|
|
export interface IReleasePlanMilestonePayload {
|
|
id: string;
|
|
name: string;
|
|
sortOrder: number;
|
|
strategies?: IReleasePlanStrategyPayload[];
|
|
}
|
|
|
|
export interface IReleasePlanStrategyPayload {
|
|
id?: string;
|
|
name: string;
|
|
}
|