I start to create a nuxt with slicemachine. I decided to use typescript on my project.
I'm wondering about the .json model of a slice. I have a select type with options. I will have to test these entries in my component.
Is it possible to have a typescript model that builds and exports a json to allow me to create a class that reflects this json and to have an enum structure that contains my options? The objective is to reduce string duplication in tests and to have only one source of truth.