All checks were successful
Automated Container Build / build-and-push (push) Successful in 54s
7 lines
202 B
TypeScript
7 lines
202 B
TypeScript
import { z } from "zod";
|
|
|
|
export const studyActivitySchema = z.object({
|
|
type: z.enum(["FLASHCARD", "QUIZ_QUESTION"]),
|
|
});
|
|
|
|
export type StudyActivityType = z.infer<typeof studyActivitySchema>["type"];
|