Import Enum from my TS to the schema
Hey,
Wanted to know if it's possible to import an enum inside my
Because all my types used by both front & back are located to a dedicated package, and it actually force me to define my enum in 2 distinct places, where I would like to only have it in my types package.
Thanks!
Wanted to know if it's possible to import an enum inside my
schema.prisma file instead of defining it inside ?Because all my types used by both front & back are located to a dedicated package, and it actually force me to define my enum in 2 distinct places, where I would like to only have it in my types package.
Thanks!