🌈 搜索
📅 最后修改于: 2022-03-11 14:58:58.552000 🧑 作者: Mango
Given a prisma schema like this: enum UserCategory { BASIC ADMIN } Import the enum as a type as follows: import { UserCategory } from '@prisma/client'