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:
		
							parent
							
								
									1d4f72cf81
								
							
						
					
					
						commit
						f35804e55f
					
				@ -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<
 | 
					export class ReleasePlanMilestoneStore extends CRUDStore<
 | 
				
			||||||
    ReleasePlanMilestone,
 | 
					    ReleasePlanMilestone,
 | 
				
			||||||
 | 
				
			|||||||
@ -5,7 +5,7 @@ export interface ReleasePlanMilestone {
 | 
				
			|||||||
    name: string;
 | 
					    name: string;
 | 
				
			||||||
    sortOrder: number;
 | 
					    sortOrder: number;
 | 
				
			||||||
    releasePlanDefinitionId: string;
 | 
					    releasePlanDefinitionId: string;
 | 
				
			||||||
    startedAt?: Date;
 | 
					    startedAt?: string;
 | 
				
			||||||
    transitionCondition?: object;
 | 
					    transitionCondition?: object;
 | 
				
			||||||
    strategies?: ReleasePlanMilestoneStrategy[];
 | 
					    strategies?: ReleasePlanMilestoneStrategy[];
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user