api division
Deskripsi: - api divisi create, update, delete, get one dan get all No Issues
This commit is contained in:
33
src/module/division_new/api/api_index.ts
Normal file
33
src/module/division_new/api/api_index.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import getAllDivision from "./get/getAllDivision";
|
||||
import getOneDivision from "./get/getOneDivision";
|
||||
import createDivision from "./post/createDivision";
|
||||
import deleteDivision from "./post/deleteDivision";
|
||||
import updateDivision from "./post/updateDivision";
|
||||
|
||||
export const API_INDEX_DIVISION = [
|
||||
{
|
||||
path: "create-division",
|
||||
method: "POST",
|
||||
bin: createDivision,
|
||||
},
|
||||
{
|
||||
path: "update-division",
|
||||
method: "POST",
|
||||
bin: updateDivision,
|
||||
},
|
||||
{
|
||||
path: "delete-division",
|
||||
method: "POST",
|
||||
bin: deleteDivision,
|
||||
},
|
||||
{
|
||||
path: "get-all-division",
|
||||
method: "GET",
|
||||
bin: getAllDivision,
|
||||
},
|
||||
{
|
||||
path: "get-one-division",
|
||||
method: "GET",
|
||||
bin: getOneDivision,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user