@prisma/client#course_category_enum TypeScript Examples
The following examples show how to use
@prisma/client#course_category_enum.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: mutations.ts From backend with MIT License | 5 votes |
// @TypeGraphQL.Field(_type => String, {
// nullable: true
// })
// image?: string | undefined;
@TypeGraphQL.Field(_type => course_category_enum)
category!: "revision" | "club" | "coaching";
Example #2
Source File: mutations.ts From backend with MIT License | 5 votes |
// @TypeGraphQL.Field(_type => String, {
// nullable: true
// })
// image?: string | undefined;
@TypeGraphQL.Field(_type => course_category_enum, { nullable: true })
category?: "revision" | "club" | "coaching";