- Schema: companyType, topics, salesScore, salesReason, offerPackage, approved, approvedAt, SearchHistory table - /api/search-history: GET (by mode) + POST (save query) - /api/ai-search: stadtwerke/industrie/custom prompts with history dedup - /api/enrich-leads: website scraping + GPT-4o-mini enrichment (fire-and-forget after each job) - /api/generate-email: personalized outreach via GPT-4o - Suche page: 3 mode tabs (Stadtwerke/Industrie/Freie Suche), Alle-Bundesländer queue button, AiSearchModal gets searchMode + history - Leadspeicher: Bewertung dots column, Paket badge column, Freigeben toggle button, email generator in SidePanel, approved-only export option - Leads API: approvedOnly + companyType filters, new fields in PATCH Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"name": "onyva-leads",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "^1.3.0",
|
|
"@libsql/client": "0.17.0",
|
|
"@prisma/adapter-better-sqlite3": "^7.5.0",
|
|
"@prisma/adapter-libsql": "^7.5.0",
|
|
"@prisma/client": "^7.5.0",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/crypto-js": "^4.2.2",
|
|
"@types/papaparse": "^5.5.2",
|
|
"@types/xlsx": "^0.0.35",
|
|
"apify-client": "^2.22.2",
|
|
"axios": "^1.13.6",
|
|
"better-sqlite3": "^12.8.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"crypto-js": "^4.2.0",
|
|
"lucide-react": "^0.577.0",
|
|
"next": "16.1.7",
|
|
"next-themes": "^0.4.6",
|
|
"papaparse": "^5.5.3",
|
|
"prisma": "^7.5.0",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"shadcn": "^4.0.8",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"xlsx": "^0.18.5",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.7",
|
|
"openai": "^6.33.0",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|