File size: 321 Bytes
5da61b4
 
cad3e14
 
 
1a14c61
 
76d4779
cad3e14
 
 
 
 
 
0bfcf81
 
 
 
cad3e14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import type { ObjectId } from "mongodb";
import type { Message } from "./Message";

export interface Conversation {
	_id: ObjectId;

	// Can be undefined for shared convo then deleted
	sessionId: string;

	title: string;
	messages: Message[];

	createdAt: Date;
	updatedAt: Date;

	meta?: {
		fromShareId?: string;
	};
}