evyos-frontend-development/frontend/pages/build-ibans/add/schema.ts

16 lines
350 B
TypeScript

import { z } from "zod"
export const buildIbansAddSchema = z.object({
iban: z.string(),
startDate: z.string(),
stopDate: z.string(),
bankCode: z.string(),
xcomment: z.string(),
expiryStarts: z.string().optional(),
expiryEnds: z.string().optional(),
});
export type BuildIbansAdd = z.infer<typeof buildIbansAddSchema>;