Files
kolaytercih/src/features/katalog/katalog-queries.ts
bilalgursen eac0c136ce fix(seo): bilinmeyen katalog adresleri gerçek 404, eski program adresi gerçek 308
Sayfa içi notFound()/permanentRedirect() Suspense içinde kaldığı için
200 + noindex ve meta refresh üretiyordu. Karar artık render öncesinde
proxy'de veriliyor; slug kümeleri süreç başına bir kez kurulur (BACKLOG #5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 02:04:53 +03:00

29 lines
714 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import "server-only";
// Katalog feature'ının sorgu kapısı. Veri motoru @/lib/katalog'da yaşar
// (yokatlas.db üzerinde salt-okunur, globalThis'te önbellekli); feature
// bileşenleri ve sayfa yardımcıları yalnızca buradan okur.
export {
getAllBolumler,
getAllBolumSlugs,
getAllUniversiteler,
getAllUniversiteSlugs,
getAllIller,
getAllIlSlugs,
getAllProgramSayfaYollari,
getBolumBySlug,
getCinsiyetKosulluProgramlar,
getIlBySlug,
getProgramSayfasi,
getUniversiteBySlug,
programSayfaOrnekleri,
programYoluBul,
uniSlugFromAd,
bolumSlugFromIsim,
type BolumOzet,
type CinsiyetKosulluProgram,
type IlOzet,
type ProgramSayfasi,
type UniOzet,
} from "@/lib/katalog";