2024-11-25 07:59:58 +01:00
|
|
|
import type { IFeatureVariant } from './featureToggle';
|
|
|
|
import type { IConstraint, IFeatureStrategyParameters } from './strategy';
|
|
|
|
|
2024-11-06 14:02:42 +01:00
|
|
|
export interface IReleasePlanTemplate {
|
|
|
|
id: string;
|
|
|
|
name: string;
|
|
|
|
description: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdByUserId: number;
|
|
|
|
}
|
2024-11-13 09:37:47 +01:00
|
|
|
|
|
|
|
export interface IReleasePlanTemplate {
|
|
|
|
id: string;
|
|
|
|
name: string;
|
|
|
|
description: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdByUserId: number;
|
2024-11-19 13:52:07 +01:00
|
|
|
milestones: IReleasePlanMilestonePayload[];
|
2024-11-13 09:37:47 +01:00
|
|
|
}
|
|
|
|
|
2024-11-25 07:59:58 +01:00
|
|
|
export interface IReleasePlanMilestoneStrategy {
|
|
|
|
id: string;
|
|
|
|
name: string;
|
|
|
|
title: string;
|
|
|
|
disabled?: boolean;
|
|
|
|
constraints: IConstraint[];
|
|
|
|
parameters: IFeatureStrategyParameters;
|
|
|
|
variants?: IFeatureVariant[];
|
|
|
|
}
|
|
|
|
|
2024-11-13 09:37:47 +01:00
|
|
|
export interface IReleasePlanMilestone {
|
|
|
|
id: string;
|
|
|
|
name: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IReleasePlanTemplatePayload {
|
|
|
|
id?: string;
|
|
|
|
name: string;
|
|
|
|
description: string;
|
2024-11-19 13:52:07 +01:00
|
|
|
milestones?: IReleasePlanMilestonePayload[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IReleasePlanMilestonePayload {
|
2024-11-25 10:38:12 +01:00
|
|
|
id: string;
|
2024-11-19 13:52:07 +01:00
|
|
|
name: string;
|
|
|
|
sortOrder: number;
|
|
|
|
strategies?: IReleasePlanStrategyPayload[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IReleasePlanStrategyPayload {
|
|
|
|
id?: string;
|
|
|
|
name: string;
|
2024-11-13 09:37:47 +01:00
|
|
|
}
|