UNPKG

pulse-ai-utils

Version:

Utility functions and helpers for AI-powered applications

11 lines (10 loc) 388 B
import { z } from 'zod'; /** * Build a union schema from multiple category schemas * This is the same logic used in runQuery to create a unified schema */ export declare function buildUnionSchema(categories: string[]): z.ZodObject<any>; /** * Build the standard response schema with union items */ export declare function buildResponseSchema(categories: string[]): z.ZodObject<any>;