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, object } from 'yup';
export const KandangFilterSchema = object().shape({
location_id: string().nullable(),
pic_id: string().nullable(),
});
export type KandangFilterType = {
location_id: string | null;
pic_id: string | null;
};