Fix Seeder APBDes V3
This commit is contained in:
@@ -27,6 +27,8 @@ export async function seedAPBDes() {
|
||||
jumlah: item.jumlah,
|
||||
imageId,
|
||||
fileId,
|
||||
isActive: true,
|
||||
deletedAt: null,
|
||||
},
|
||||
create: {
|
||||
id: item.id,
|
||||
|
||||
@@ -22,6 +22,8 @@ export async function seedAPBDesItem() {
|
||||
level: item.level,
|
||||
parentId: item.parentId,
|
||||
apbdesId: item.apbdesId,
|
||||
isActive: true,
|
||||
deletedAt: null,
|
||||
},
|
||||
create: {
|
||||
id: item.id,
|
||||
|
||||
@@ -1,237 +1,4 @@
|
||||
[
|
||||
{
|
||||
"id": "cmk-apbdes",
|
||||
"tahun": 2026,
|
||||
"name": "APBDes Tahun 2026",
|
||||
"deskripsi": "",
|
||||
"jumlah": "",
|
||||
"imageId": null,
|
||||
"fileId": null,
|
||||
"createdAt": "2026-05-18T07:12:48.524Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.524Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"image": null,
|
||||
"file": null,
|
||||
"items": [
|
||||
{
|
||||
"id": "cmk-apbdes-item-050",
|
||||
"kode": "4.1.1",
|
||||
"uraian": "Hasil Usaha Desa",
|
||||
"anggaran": 20000000,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 20000000,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.569Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-051",
|
||||
"kode": "4.2.1",
|
||||
"uraian": "Dana Desa",
|
||||
"anggaran": 457952000,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 457952000,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.569Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-052",
|
||||
"kode": "4.2.2",
|
||||
"uraian": "Bagi Hasil Pajak dan Retribusi",
|
||||
"anggaran": 21424289948,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 21424289948,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.569Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-053",
|
||||
"kode": "4.2.3",
|
||||
"uraian": "Alokasi Dana Desa",
|
||||
"anggaran": 940248688,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 940248688,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.570Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-054",
|
||||
"kode": "4.2.4",
|
||||
"uraian": "Bantuan Keuangan Provinsi",
|
||||
"anggaran": 148800000,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 148800000,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.571Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-055",
|
||||
"kode": "4.3.6",
|
||||
"uraian": "Pendapatan Lain-Lain (Bunga Bank)",
|
||||
"anggaran": 150000000,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 150000000,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.571Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-056",
|
||||
"kode": "5.1.1",
|
||||
"uraian": "Bidang Penyelenggaraan Pemerintahan Desa",
|
||||
"anggaran": 8000089216,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 8000089216,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.572Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-057",
|
||||
"kode": "5.1.2",
|
||||
"uraian": "Bidang Pelaksanaan Pembangunan Desa",
|
||||
"anggaran": 12479605032,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 12479605032,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.572Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-058",
|
||||
"kode": "5.1.3",
|
||||
"uraian": "Bidang Pembinaan Kemasyarakatan Desa",
|
||||
"anggaran": 6335909763,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 6335909763,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.572Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-059",
|
||||
"kode": "5.1.4",
|
||||
"uraian": "Bidang Pemberdayaan Masyarakat Desa",
|
||||
"anggaran": 983380361,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 983380361,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.573Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-060",
|
||||
"kode": "5.1.5",
|
||||
"uraian": "Bidang Peneanggulangan Bencana, Darurat, dan Mendesak Desa",
|
||||
"anggaran": 3188549498,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 3188549498,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.574Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-061",
|
||||
"kode": "6.1.1",
|
||||
"uraian": "Penerimaan Pembiayaan",
|
||||
"anggaran": 7854243235,
|
||||
"tipe": "pembiayaan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 7854243235,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.574Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-001",
|
||||
"tahun": 2025,
|
||||
@@ -499,5 +266,238 @@
|
||||
"apbdesId": "cmk-apbdes-001"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes",
|
||||
"tahun": 2026,
|
||||
"name": "APBDes Tahun 2026",
|
||||
"deskripsi": "",
|
||||
"jumlah": "",
|
||||
"imageId": null,
|
||||
"fileId": null,
|
||||
"createdAt": "2026-05-18T07:12:48.524Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.524Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"image": null,
|
||||
"file": null,
|
||||
"items": [
|
||||
{
|
||||
"id": "cmk-apbdes-item-050",
|
||||
"kode": "4.1.1",
|
||||
"uraian": "Hasil Usaha Desa",
|
||||
"anggaran": 20000000,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 20000000,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.569Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-051",
|
||||
"kode": "4.2.1",
|
||||
"uraian": "Dana Desa",
|
||||
"anggaran": 457952000,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 457952000,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.569Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-052",
|
||||
"kode": "4.2.2",
|
||||
"uraian": "Bagi Hasil Pajak dan Retribusi",
|
||||
"anggaran": 21424289948,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 21424289948,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.569Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-053",
|
||||
"kode": "4.2.3",
|
||||
"uraian": "Alokasi Dana Desa",
|
||||
"anggaran": 940248688,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 940248688,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.570Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-054",
|
||||
"kode": "4.2.4",
|
||||
"uraian": "Bantuan Keuangan Provinsi",
|
||||
"anggaran": 148800000,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 148800000,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.571Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-055",
|
||||
"kode": "4.3.6",
|
||||
"uraian": "Pendapatan Lain-Lain (Bunga Bank)",
|
||||
"anggaran": 150000000,
|
||||
"tipe": "pendapatan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 150000000,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.571Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-056",
|
||||
"kode": "5.1.1",
|
||||
"uraian": "Bidang Penyelenggaraan Pemerintahan Desa",
|
||||
"anggaran": 8000089216,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 8000089216,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.572Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-057",
|
||||
"kode": "5.1.2",
|
||||
"uraian": "Bidang Pelaksanaan Pembangunan Desa",
|
||||
"anggaran": 12479605032,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 12479605032,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.572Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-058",
|
||||
"kode": "5.1.3",
|
||||
"uraian": "Bidang Pembinaan Kemasyarakatan Desa",
|
||||
"anggaran": 6335909763,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 6335909763,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.572Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-059",
|
||||
"kode": "5.1.4",
|
||||
"uraian": "Bidang Pemberdayaan Masyarakat Desa",
|
||||
"anggaran": 983380361,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 983380361,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.573Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-060",
|
||||
"kode": "5.1.5",
|
||||
"uraian": "Bidang Peneanggulangan Bencana, Darurat, dan Mendesak Desa",
|
||||
"anggaran": 3188549498,
|
||||
"tipe": "belanja",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 3188549498,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.574Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
},
|
||||
{
|
||||
"id": "cmk-apbdes-item-061",
|
||||
"kode": "6.1.1",
|
||||
"uraian": "Penerimaan Pembiayaan",
|
||||
"anggaran": 7854243235,
|
||||
"tipe": "pembiayaan",
|
||||
"level": 3,
|
||||
"parentId": null,
|
||||
"apbdesId": "cmk-apbdes",
|
||||
"totalRealisasi": 0,
|
||||
"selisih": 7854243235,
|
||||
"persentase": 0,
|
||||
"createdAt": "2026-05-18T07:12:48.529Z",
|
||||
"updatedAt": "2026-05-18T07:12:48.574Z",
|
||||
"deletedAt": null,
|
||||
"isActive": true,
|
||||
"realisasiItems": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user