mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 06:15:47 +00:00
refactor(FE-170,174): update GradingForm to include recording_egg_id in grading data enhance validation schema
This commit is contained in:
+2
-2
@@ -85,8 +85,8 @@ export type CreateGrowingRecordingPayload = {
|
||||
};
|
||||
|
||||
export type CreateGradingPayload = {
|
||||
recording_egg_id: number;
|
||||
eggs_grading: {
|
||||
recording_egg_id: number;
|
||||
grade: string;
|
||||
qty: number;
|
||||
}[];
|
||||
@@ -95,8 +95,8 @@ export type CreateGradingPayload = {
|
||||
export type UpdateGradingPayload = CreateGradingPayload;
|
||||
|
||||
export type CreateGradingRecordingPayload = {
|
||||
recording_egg_id: number;
|
||||
eggs_grading: {
|
||||
recording_egg_id: number;
|
||||
grade: string;
|
||||
qty: number;
|
||||
}[];
|
||||
|
||||
Reference in New Issue
Block a user