File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ const sanitizeDeploymentApprovalInfo = (
197
197
approverList : sanitizeUserApprovalList ( deploymentApprovalInfo ?. eligibleApprovers ?. anyUsers ?. approverList ) ,
198
198
} ,
199
199
specificUsers : {
200
- approverList : sanitizeUserApprovalList ( deploymentApprovalInfo ?. eligibleApprovers ?. anyUsers ?. approverList ) ,
200
+ approverList : sanitizeUserApprovalList ( deploymentApprovalInfo ?. eligibleApprovers ?. specificUsers ?. approverList ) ,
201
201
} ,
202
202
userGroups : ( deploymentApprovalInfo ?. eligibleApprovers ?. userGroups ?? [ ] ) . map (
203
203
( { groupName, groupIdentifier, approverList } ) => ( {
Original file line number Diff line number Diff line change @@ -374,9 +374,10 @@ export interface UserApprovalInfo {
374
374
}
375
375
376
376
export enum ApprovalConfigDataKindType {
377
- configMap = 'CM' ,
378
- configSecret = 'CS' ,
379
- deploymentTemplate = 'DEPLOYMENT_TEMPLATE' ,
377
+ configMap = 'configuration/config-map' ,
378
+ configSecret = 'configuration/config-secret' ,
379
+ deploymentTemplate = 'configuration/deployment-template' ,
380
+ deploymentTrigger = 'approval/deployment' ,
380
381
}
381
382
382
383
export interface ApprovalConfigDataType extends Pick < UserApprovalInfo , 'currentCount' | 'requiredCount' > {
You can’t perform that action at this time.
0 commit comments