Skip to content

Commit

Permalink
feat: export all stakeholder routes from index
Browse files Browse the repository at this point in the history
  • Loading branch information
Raju-kadel-27 committed Jun 29, 2024
1 parent 30d2040 commit 90f2f43
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/server/api/routes/company/stakeholder/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { PublicAPI } from "@/server/api/hono";
import create from "./create";
import delete_ from "./delete";
import getMany from "./getMany";
import getOne from "./getOne";
import update from "./update";

const stakeholderRoutes = (api: PublicAPI) => {
getOne(api);
getMany(api);
create(api);
update(api);
delete_(api);
};

export default stakeholderRoutes;

0 comments on commit 90f2f43

Please sign in to comment.