Import Enum from my TS to the schema

Hey,

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!
Was this page helpful?