chat-ui / src /lib /types /Report.ts
nsarrazin's picture
nsarrazin HF staff
Ask for a reason when reporting assistants (#825)
3109a5e unverified
raw history blame
No virus
319 Bytes
import type { ObjectId } from "mongodb";
import type { User } from "./User";
import type { Assistant } from "./Assistant";
import type { Timestamps } from "./Timestamps";
export interface Report extends Timestamps {
_id: ObjectId;
createdBy: User["_id"] | string;
assistantId: Assistant["_id"];
reason?: string;
}