accessing prisma generated enums on browser client
in my prisma schema I have an enum called
i can access that enum in on the server by importing
but whenever I import the same thing in a svelte file, the
I temporarily fixed it by copying the values of the prisma generated
but the issue is, if the enum is updated, then i need to copy over the values again
Sizes with the values of s, m, l, xli can access that enum in on the server by importing
import { Sizes } from "@prisma/client"; but whenever I import the same thing in a svelte file, the
Sizes become undefinedI temporarily fixed it by copying the values of the prisma generated
Sizesbut the issue is, if the enum is updated, then i need to copy over the values again