Migrate Beam.Type to be an enum

1 job for ca/flags2 in 0 seconds (queued for 42 seconds)