Add document AI gen support

This commit is contained in:
Joey Yakimowich-Payne 2026-01-13 22:48:43 -07:00
commit 028bab23fd
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
11 changed files with 1270 additions and 170 deletions

View file

@ -51,6 +51,18 @@ export interface QuizListItem {
updatedAt: string;
}
export interface ProcessedDocument {
type: 'native' | 'text';
content: string | Buffer;
mimeType?: string;
}
export interface GenerateQuizOptions {
topic?: string;
questionCount?: number;
documents?: ProcessedDocument[];
}
export interface Player {
id: string;
name: string;