fix lib
deskripsi: - pindah lib di dalam app ke src ( lib setara app dan app_modules )
This commit is contained in:
31
src/lib/router_hipmi/router_vote.ts
Normal file
31
src/lib/router_hipmi/router_vote.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
export const RouterVote = {
|
||||
// main
|
||||
splash: "/dev/vote/splash",
|
||||
beranda: "/dev/vote/main/beranda",
|
||||
status: ({ id }: { id?: string }) => `/dev/vote/main/status/${id}`,
|
||||
kontribusi: "/dev/vote/main/kontribusi",
|
||||
|
||||
/**
|
||||
*
|
||||
* @param riwayatId | 1 & 2 | 1: Semua, 2: Saya
|
||||
* @type string
|
||||
*/
|
||||
riwayat: ({ id }: { id?: string }) => `/dev/vote/main/riwayat/${id}`,
|
||||
|
||||
// create
|
||||
create: "/dev/vote/create",
|
||||
|
||||
//
|
||||
edit: "/dev/vote/edit/",
|
||||
|
||||
//detail
|
||||
main_detail: "/dev/vote/detail/main/",
|
||||
detail_publish: "/dev/vote/detail/publish/",
|
||||
detail_review: "/dev/vote/detail/review/",
|
||||
detail_draft: "/dev/vote/detail/draft/",
|
||||
detail_reject: "/dev/vote/detail/reject/",
|
||||
detail_kontribusi: "/dev/vote/detail/kontribusi/",
|
||||
detail_semua_riwayat: "/dev/vote/detail/semua_riwayat/",
|
||||
detail_riwayat_saya: "/dev/vote/detail/riwayat_saya/",
|
||||
daftar_kontributor: "/dev/vote/detail/daftar-kontributor/",
|
||||
};
|
||||
Reference in New Issue
Block a user