Referencing entities via enums

Hello, though there is support for creating enums in
schema.prisma
, it does not look like there is a regular way to access them from JS/TS code as they don't seem to be exported as wasp entities in
wasp/entities
.

For example, I've defined this enum:

enum OneToOneMeetingStatus {
SCHEDULED
COMPLETED
POSTPONED
CANCELLED
}

It has been successfully created via migration, but when I try to import it into my code, I get this error

'"wasp/entities"' has no exported member named 'OneToOneMeetingStatus'. Did you mean 'OneToOneMeeting'?


I could not find any reference in the documentation
Was this page helpful?