create public layout and admin and fix escrow and refund
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { z } from "zod/v4";
|
||||
import { LIMITS } from "@/lib/limits";
|
||||
|
||||
export const payoutMarkPaidSchema = z.object({
|
||||
payoutId: z.string().trim().min(1, "Payout ID wajib"),
|
||||
adminNote: z
|
||||
.string()
|
||||
.trim()
|
||||
.min(3, "Catatan/referensi transfer minimal 3 karakter")
|
||||
.max(
|
||||
LIMITS.MAX_REFUND_NOTE_LENGTH,
|
||||
`Catatan maksimal ${LIMITS.MAX_REFUND_NOTE_LENGTH} karakter`
|
||||
),
|
||||
});
|
||||
|
||||
export type PayoutMarkPaidInput = z.infer<typeof payoutMarkPaidSchema>;
|
||||
Reference in New Issue
Block a user