I have built a dynamic enum that can be useful for your project. I’ve published it on GitHub, and you can refer to it here: flexiEnums