Switch to @vercel/kv
This commit is contained in:
parent
45d3a8d0ee
commit
fc79a708f4
20 changed files with 188 additions and 1079 deletions
9
lib/types.ts
Normal file
9
lib/types.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { type Message } from "ai-connector";
|
||||
|
||||
export interface Chat extends Record<string, any> {
|
||||
id: string;
|
||||
title: string;
|
||||
createdAt: Date;
|
||||
userId: string;
|
||||
messages: Message[];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue