mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 14:55:44 +00:00
feat(FE): Add filter schemas and types for master data components
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { string, boolean, object } from 'yup';
|
||||
|
||||
export const WarehouseFilterSchema = object().shape({
|
||||
area_id: string().nullable(),
|
||||
active_project_flock: boolean().nullable(),
|
||||
});
|
||||
|
||||
export type WarehouseFilterType = {
|
||||
area_id: string | null;
|
||||
active_project_flock: boolean | null;
|
||||
};
|
||||
Reference in New Issue
Block a user