change selfie with ktp to selfie with setrip tag

This commit is contained in:
2026-05-08 20:02:11 +07:00
parent f5d86d2414
commit ccb3437e82
24 changed files with 127 additions and 84 deletions
+5 -2
View File
@@ -26,10 +26,13 @@ export const submitVerificationSchema = z.object({
.string()
.trim()
.regex(/^ktp\/[A-Za-z0-9_-]+\.(jpg|png|webp)$/, "Foto KTP wajib diunggah"),
selfieKey: z
livenessKey: z
.string()
.trim()
.regex(/^selfie\/[A-Za-z0-9_-]+\.(jpg|png|webp)$/, "Foto selfie wajib diunggah"),
.regex(
/^liveness\/[A-Za-z0-9_-]+\.(jpg|png|webp)$/,
"Foto memegang kertas SETRIP wajib diunggah"
),
bankName: z
.string()
.trim()