@@ -4,8 +4,7 @@ export const assignmentSchema = object().shape({
|
||||
title: string().required().min(3),
|
||||
courseId: string().required(),
|
||||
sessionId: string().required(),
|
||||
startDate: string().nullable().notRequired(),
|
||||
endDate: string().required(),
|
||||
deadline: string().notRequired(),
|
||||
priority: string().required(),
|
||||
description: string().nullable().notRequired(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user