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:
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"id": "cmk-umur-001",
|
||||
"kelompok": "0-14",
|
||||
"jumlah": 820,
|
||||
"tahun": 2026
|
||||
},
|
||||
{
|
||||
"id": "cmk-umur-002",
|
||||
"kelompok": "15-24",
|
||||
"jumlah": 650,
|
||||
"tahun": 2026
|
||||
},
|
||||
{
|
||||
"id": "cmk-umur-003",
|
||||
"kelompok": "25-54",
|
||||
"jumlah": 1680,
|
||||
"tahun": 2026
|
||||
},
|
||||
{
|
||||
"id": "cmk-umur-004",
|
||||
"kelompok": "55-64",
|
||||
"jumlah": 520,
|
||||
"tahun": 2026
|
||||
},
|
||||
{
|
||||
"id": "cmk-umur-005",
|
||||
"kelompok": "65+",
|
||||
"jumlah": 545,
|
||||
"tahun": 2026
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user