- Add Ollama fallback support in vector search with Azure OpenAI as primary - Enhance prayer system with public/private visibility options and language filtering - Update OG image to use new biblical-guide-og-image.png - Improve prayer request management with better categorization - Remove deprecated ingest_json_pgvector.py script 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
57 lines
897 B
TypeScript
57 lines
897 B
TypeScript
export interface User {
|
|
id: string
|
|
email: string
|
|
name: string | null
|
|
role: string
|
|
theme: string
|
|
fontSize: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
lastLoginAt: Date | null
|
|
}
|
|
|
|
export interface BibleVerse {
|
|
id: string
|
|
chapterId: string
|
|
verseNum: number
|
|
text: string
|
|
version: string
|
|
chapter: {
|
|
chapterNum: number
|
|
book: {
|
|
name: string
|
|
}
|
|
}
|
|
}
|
|
|
|
export interface ChatMessage {
|
|
id: string
|
|
userId: string
|
|
role: 'user' | 'assistant'
|
|
content: string
|
|
metadata?: any
|
|
createdAt: Date
|
|
}
|
|
|
|
export interface Bookmark {
|
|
id: string
|
|
userId: string
|
|
verseId: string
|
|
note: string | null
|
|
color: string
|
|
createdAt: Date
|
|
verse: BibleVerse
|
|
}
|
|
|
|
export interface PrayerRequest {
|
|
id: string
|
|
userId: string | null
|
|
content: string
|
|
isAnonymous: boolean
|
|
isPublic: boolean
|
|
language: string
|
|
prayerCount: number
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}
|