UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

53 lines (52 loc) 1.58 kB
import * as z from "zod"; export declare const postPatchSchema: z.ZodObject<{ title: z.ZodOptional<z.ZodString>; content: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { title?: string | undefined; content?: any; }, { title?: string | undefined; content?: any; }>; export declare const postListQueryInputSchema: z.ZodObject<{ keyword: z.ZodOptional<z.ZodString>; siteId: z.ZodOptional<z.ZodString>; categoryId: z.ZodOptional<z.ZodNumber>; slug: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodString>; limit: z.ZodOptional<z.ZodNumber>; cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>; }, "strip", z.ZodTypeAny, { keyword?: string | undefined; siteId?: string | undefined; categoryId?: number | undefined; slug?: string | undefined; tags?: string | undefined; limit?: number | undefined; cursor?: string | null | undefined; }, { keyword?: string | undefined; siteId?: string | undefined; categoryId?: number | undefined; slug?: string | undefined; tags?: string | undefined; limit?: number | undefined; cursor?: string | null | undefined; }>; export declare const createPostInputSchema: z.ZodObject<{ blogId: z.ZodNumber; title: z.ZodString; content: z.ZodString; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { title: string; content: string; blogId: number; tags?: string[] | undefined; }, { title: string; content: string; blogId: number; tags?: string[] | undefined; }>;