feat(FE-102) create master data flock and add LTI theme

This commit is contained in:
randy-ar
2025-10-15 20:01:41 +07:00
parent 302da65c59
commit e2b35e765c
13 changed files with 677 additions and 2 deletions
@@ -0,0 +1,14 @@
import * as Yup from 'yup';
export const FlockFormSchema = Yup.object({
name: Yup.string()
.required('Nama wajib diisi!')
.matches(
/^[a-zA-Z0-9]+$/,
'Nama hanya boleh berisi huruf dan angka (tanpa spasi atau simbol)'
),
});
export const UpdateFlockFormSchema = FlockFormSchema;
export type FlockFormValues = Yup.InferType<typeof FlockFormSchema>;