UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

15 lines (14 loc) 480 B
import { z } from "zod"; import { commonListInputSchema } from "./_common"; export const botConfigEntity = z.object({ id: z.number(), title: z.string(), description: z.string(), botType: z.string(), config: z.any(), }); export const listBotInputSchema = commonListInputSchema.extend({}); export const literalSchema = z.union([z.string(), z.number(), z.boolean()]); export const saveBotConfigSchema = botConfigEntity.extend({ id: z.number().optional(), });