Spaces:
Build error
Build error
File size: 351 Bytes
166a6c0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import type { ObjectId } from "mongodb";
import type { Message } from "./Message";
import type { Timestamps } from "./Timestamps";
export interface Conversation extends Timestamps {
_id: ObjectId;
// Can be undefined for shared convo then deleted
sessionId: string;
title: string;
messages: Message[];
meta?: {
fromShareId?: string;
};
}
|