mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
54 lines
1.2 KiB
TypeScript
54 lines
1.2 KiB
TypeScript
import type { IFeatureVariant } from './featureToggle';
|
|
import type { IConstraint, IFeatureStrategyParameters } 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 IReleasePlanMilestoneStrategy {
|
|
id: string;
|
|
name: string;
|
|
title: string;
|
|
disabled?: boolean;
|
|
constraints: IConstraint[];
|
|
parameters: IFeatureStrategyParameters;
|
|
variants?: IFeatureVariant[];
|
|
}
|
|
|
|
export interface IReleasePlanMilestone {
|
|
id: string;
|
|
name: 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;
|
|
}
|