UNPKG

@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 (9 loc) 294 B
/* eslint-disable sort-keys-fix/sort-keys-fix */ import { z } from 'zod'; export const DB_TopicSchema = z.object({ title: z.string(), favorite: z.number().int().default(0), // foreign keys sessionId: z.string().optional(), }); export type DB_Topic = z.infer<typeof DB_TopicSchema>;