/** * Shared Prisma select object for note list queries. * Excludes the `embedding` field (stored in a separate NoteEmbedding table) * to avoid loading ~6KB per note in list views. */ export const NOTE_LIST_SELECT = { id: true, title: true, content: true, color: true, isPinned: true, isArchived: true, trashedAt: true, type: true, dismissedFromRecent: true, checkItems: true, labels: true, images: true, illustrationSvg: true, links: true, reminder: true, isReminderDone: true, reminderRecurrence: true, reminderLocation: true, isMarkdown: true, size: true, sharedWith: true, userId: true, order: true, notebookId: true, createdAt: true, updatedAt: true, contentUpdatedAt: true, autoGenerated: true, aiProvider: true, aiConfidence: true, language: true, languageConfidence: true, lastAiAnalysis: true, historyEnabled: true, } as const