vision-agent / lib /types.ts
MingruiZhang's picture
init
3ba9c0c unverified
raw
history blame
307 Bytes
import { type Message } from 'ai'
export interface Chat extends Record<string, any> {
id: string
title: string
createdAt: Date
userId: string
path: string
messages: Message[]
sharePath?: string
}
export type ServerActionResult<Result> = Promise<
| Result
| {
error: string
}
>