2025-02-06 16:32:52 +08:00
|
|
|
import { z } from 'zod';
|
2025-01-03 09:24:46 +08:00
|
|
|
|
|
|
|
export const EnrollSchema = z.object({
|
2025-02-06 16:32:52 +08:00
|
|
|
studentId: z.string(),
|
|
|
|
postId: z.string(),
|
2025-01-03 09:24:46 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
export const UnenrollSchema = z.object({
|
2025-02-06 16:32:52 +08:00
|
|
|
studentId: z.string(),
|
|
|
|
postId: z.string(),
|
|
|
|
});
|