normalizePackageRetryAttempts
normalizePackageRetryAttempts(
packageRetryAttempts?):Record<string,number> |undefined
Defined in: packages/simply-cicd-core/src/sfPackages.ts:77
Normalizes package retry attempts configuration from either a key-count record or
an array of alias:count strings into a Record<string, number>.
Parameters
Section titled “Parameters”packageRetryAttempts?
Section titled “packageRetryAttempts?”string[] | Record<string, number>
Returns
Section titled “Returns”Record<string, number> | undefined
Throws
Section titled “Throws”If any string entry does not match the <aliasOrId>:<count> format.
Throws
Section titled “Throws”If any key is a reserved property name or any retry count is not a non-negative integer.