refactor: ortak tipler @/types/yokatlas + features/rapor/types'a çıkarıldı, server-only korumaları eklendi (Faz 1)

- Program/PUAN_TURLERI/DilimKey/RankResults/UniturGrubu/ProgramNetSatiri/
  SihirbazFacetleri artık src/types/yokatlas.ts'te; lib/db.ts yalnızca sorgu
  fonksiyonları barındırıyor
- RaporSonuc/RaporKapsam/RaporParams/MaskeliRapor src/features/rapor/types/
  rapor.ts'e taşındı; ölü kalan TercihSchema/RaporSchema silindi
- 11 lib dosyasına import "server-only" eklendi; scripts'in düz node ile
  import ettiği dosyalara (db, appdb, rapor-havuzu, tadimlik-havuzu, ai/client,
  ai/cagri, credits) bilinçli eklenmedi
- Davranış değişikliği yok; pnpm build yeşil

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
bilalgursen
2026-08-08 01:06:06 +03:00
parent 7518baccfa
commit 820eea7eca
62 changed files with 1318 additions and 215 deletions

View File

@@ -0,0 +1,20 @@
{
"version": "1.3.7",
"organization": "Aurora Scharff",
"date": "July 2026",
"abstract": "Build and audit Next.js 16 App Router apps with a next-beats-style RSC architecture: synchronous pages that compose static shells, Suspense, and error boundaries; feature-owned async server components that receive IDs or parsed values; co-located skeletons; server-only queries; server actions; enforced Cache Components practice when enabled; and build/runtime verification of the resulting loading shape. References cover each topic in depth so the agent only loads what's needed for the task.",
"references": [
"https://preview.nextjs.org/docs/app",
"https://preview.nextjs.org/docs/app/guides/ai-agents",
"https://preview.nextjs.org/docs/app/api-reference/config/next-config-js/cacheComponents",
"https://preview.nextjs.org/docs/app/api-reference/directives/use-cache",
"https://preview.nextjs.org/docs/app/api-reference/functions/cacheTag",
"https://preview.nextjs.org/docs/app/api-reference/config/next-config-js/cacheLife",
"https://preview.nextjs.org/docs/app/api-reference/functions/updateTag",
"https://preview.nextjs.org/docs/app/guides/adopting-partial-prefetching",
"https://preview.nextjs.org/docs/app/guides/migrating-to-cache-components",
"https://preview.nextjs.org/docs/app/guides/interactive-apps",
"https://aurorascharff.no/posts/component-architecture-for-react-server-components/",
"https://github.com/vercel-labs/next-beats"
]
}