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,26 @@
|
||||
[
|
||||
{
|
||||
"id": "cmk-dinamika-001",
|
||||
"tahun": 2026,
|
||||
"kelahiran": 45,
|
||||
"kematian": 18,
|
||||
"masuk": 22,
|
||||
"keluar": 15
|
||||
},
|
||||
{
|
||||
"id": "cmk-dinamika-002",
|
||||
"tahun": 2025,
|
||||
"kelahiran": 52,
|
||||
"kematian": 21,
|
||||
"masuk": 18,
|
||||
"keluar": 12
|
||||
},
|
||||
{
|
||||
"id": "cmk-dinamika-003",
|
||||
"tahun": 2024,
|
||||
"kelahiran": 48,
|
||||
"kematian": 19,
|
||||
"masuk": 25,
|
||||
"keluar": 20
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user