feat(FE): Add filter schemas and types for master data components

This commit is contained in:
rstubryan
2026-03-03 14:02:06 +07:00
parent 4e278c5687
commit 741884ac29
6 changed files with 60 additions and 0 deletions
@@ -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;
};