UNPKG

@wavequery/conductor

Version:
61 lines (60 loc) 1.52 kB
import { z } from 'zod'; export declare const configSchema: z.ZodObject<{ openai: z.ZodObject<{ apiKey: z.ZodString; model: z.ZodOptional<z.ZodString>; organization: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { model?: string; apiKey?: string; organization?: string; }, { model?: string; apiKey?: string; organization?: string; }>; server: z.ZodObject<{ port: z.ZodDefault<z.ZodNumber>; host: z.ZodDefault<z.ZodString>; }, "strip", z.ZodTypeAny, { host?: string; port?: number; }, { host?: string; port?: number; }>; logging: z.ZodObject<{ level: z.ZodDefault<z.ZodEnum<["debug", "info", "warn", "error"]>>; }, "strip", z.ZodTypeAny, { level?: "error" | "debug" | "info" | "warn"; }, { level?: "error" | "debug" | "info" | "warn"; }>; }, "strip", z.ZodTypeAny, { server?: { host?: string; port?: number; }; openai?: { model?: string; apiKey?: string; organization?: string; }; logging?: { level?: "error" | "debug" | "info" | "warn"; }; }, { server?: { host?: string; port?: number; }; openai?: { model?: string; apiKey?: string; organization?: string; }; logging?: { level?: "error" | "debug" | "info" | "warn"; }; }>; export type Config = z.infer<typeof configSchema>;