mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
feat(FE-316): Save and preview uniformity verification
This commit is contained in:
+4
@@ -23,3 +23,7 @@ export type VerifyUniformityPayload = {
|
||||
project_flock_kandang_id: number;
|
||||
files: File;
|
||||
};
|
||||
|
||||
export type VerifyUniformityResponse = {
|
||||
body_weights: number[];
|
||||
};
|
||||
|
||||
Vendored
+3
@@ -1,4 +1,5 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import type { VerifyUniformityResponse } from '@/types/api/uniformity/uniformity';
|
||||
|
||||
type MainUiSlice = {
|
||||
mainDrawerOpen: boolean;
|
||||
@@ -18,6 +19,8 @@ type DrawerUISlice = {
|
||||
setExpandedDrawerContent: (content: ReactNode) => void;
|
||||
isNextStep: boolean;
|
||||
setIsNextStep: (v: boolean) => void;
|
||||
verifyUniformityResult: VerifyUniformityResponse | null;
|
||||
setVerifyUniformityResult: (result: VerifyUniformityResponse | null) => void;
|
||||
};
|
||||
|
||||
export type UIStore = MainUiSlice & DrawerUISlice;
|
||||
|
||||
Reference in New Issue
Block a user