File size: 199 Bytes
5ec491a
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import { Chat, Message } from '@prisma/client';

export type ChatWithMessages = Chat & { messages: Message[] };

export type MessageRaw = {
  role: Message['role'];
  content: Message['content'];
};