1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00

Improve release plan write model (#10759)

This commit is contained in:
Mateusz Kwasniewski 2025-10-08 12:27:32 +02:00 committed by GitHub
parent 1d4f72cf81
commit f35804e55f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -16,7 +16,10 @@ const fromRow = (row: any): ReleasePlanMilestone => {
};
};
export type ReleasePlanMilestoneWriteModel = Omit<ReleasePlanMilestone, 'id'>;
export type ReleasePlanMilestoneWriteModel = Omit<
ReleasePlanMilestone,
'id' | 'startedAt' | 'transitionCondition'
>;
export class ReleasePlanMilestoneStore extends CRUDStore<
ReleasePlanMilestone,

View File

@ -5,7 +5,7 @@ export interface ReleasePlanMilestone {
name: string;
sortOrder: number;
releasePlanDefinitionId: string;
startedAt?: Date;
startedAt?: string;
transitionCondition?: object;
strategies?: ReleasePlanMilestoneStrategy[];
}