This is now only used for marshalling in the store, so keep the logic where it is used. Signed-off-by: Tom Gundersen <teg@jklm.no>
These states will be used for tracking the image builds and compose states in the rest of our codebase. There should be no change in the behavior. It is a 1 to 1 replacement with the only difference of using type alias instead of plain string.