feat: add kependudukan seeders, API routes, year filter, and navbar menu
- Add Prisma models: DataBanjar, DistribusiAgama, DistribusiUmur, MigrasiPenduduk, DinamikaPenduduk - Create seeders for all kependudukan models with year 2026 data - Register Kependudukan API routes in route.ts - Update API findMany endpoints to make tahun parameter optional - Add YearFilter reusable component for admin pages - Update 4 kependudukan admin pages with year filter UI - Fix Mantine color array in AdminThemeProvider (add 10th element) - Fix invalid Mantine color scale in paguTable.tsx (gray.50 -> gray.1) - Add Kependudukan menu to navbar-list-menu.ts - Fix Bun JSON import resolution with loadJsonData helper - Update 74 seeder files to use dynamic JSON loading Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
22
prisma/data/core/potensi.json
Normal file
22
prisma/data/core/potensi.json
Normal file
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"id": "potensi-001",
|
||||
"name": "Pertanian"
|
||||
},
|
||||
{
|
||||
"id": "potensi-002",
|
||||
"name": "Peternakan"
|
||||
},
|
||||
{
|
||||
"id": "potensi-003",
|
||||
"name": "Perikanan"
|
||||
},
|
||||
{
|
||||
"id": "potensi-004",
|
||||
"name": "Kerajinan"
|
||||
},
|
||||
{
|
||||
"id": "potensi-005",
|
||||
"name": "Pariwisata"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user