Study/src/lib/validation/activitySchemas.ts
Elijah dad62c9914
All checks were successful
Automated Container Build / build-and-push (push) Successful in 54s
Add study activity tracking and refresh class header UI
2026-07-12 11:44:26 -07:00

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"];