Possible to infere type from PgEnum?
how to get the type of something like this
export const serenity = pgEnum("serenity", ["ok", "warning", "critical", "error"])
1 Reply
how about
Maybe a more readable way is to define the array of values first, then pass that array into
pgEnum