mt-flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
40 lines (39 loc) • 1.3 kB
TypeScript
import * as z from "zod";
export declare const FormFieldCreateSchema: z.ZodObject<{
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
}, {
name: string;
}>;
export declare const FormFieldUpdateSchema: z.ZodObject<{
name: z.ZodString;
id: z.ZodString;
title: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
fieldType: z.ZodDefault<z.ZodOptional<z.ZodString>>;
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
defaultValue: z.ZodNullable<z.ZodOptional<z.ZodString>>;
cn: z.ZodNullable<z.ZodOptional<z.ZodString>>;
sortNum: z.ZodDefault<z.ZodNumber>;
placeHolder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
id: string;
name: string;
sortNum: number;
fieldType: string;
title?: string | null | undefined;
label?: string | null | undefined;
defaultValue?: string | null | undefined;
cn?: string | null | undefined;
placeHolder?: string | null | undefined;
}, {
id: string;
name: string;
title?: string | null | undefined;
fieldType?: string | undefined;
label?: string | null | undefined;
defaultValue?: string | null | undefined;
cn?: string | null | undefined;
sortNum?: number | undefined;
placeHolder?: string | null | undefined;
}>;