@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
13 lines (10 loc) • 332 B
text/typescript
/* eslint-disable sort-keys-fix/sort-keys-fix */
import { z } from 'zod';
export const DB_PluginSchema = z.object({
identifier: z.string(),
id: z.string(),
type: z.enum(['plugin', 'customPlugin']),
manifest: z.any().optional(),
settings: z.any().optional(),
});
export type DB_Plugin = z.infer<typeof DB_PluginSchema>;