branding/shared/data/branding-version.service.ts
Service for creating and manipulating branding versions.
Properties |
|
Methods |
bumpBrandingIteration | ||||||||
bumpBrandingIteration(version: string)
|
||||||||
Bumps the iteration of a branding version. Errors are thrown if the version is not in the expected format.
Parameters :
Returns :
`${string}-${number}`
The bumped branding version. Errors are thrown if the version is not in the expected format. |
splitBrandingIntoNameAndIteration | ||||||||
splitBrandingIntoNameAndIteration(version: string)
|
||||||||
Splits a branding version into its name and iteration. Errors are thrown if the version is not in the expected format.
Parameters :
Returns :
literal type
The name and iteration of the branding version. Errors are thrown if the version is not in the expected format. |
Static Readonly nameAndIterationSeparator |
Type : string
|
Default value : '-'
|