import { Router } from "express"; import { AppMaster } from "@onebro/appmaster"; import {sageListUserProfileController} from "./profiles"; import {sageListMessageController} from "./messages"; import {sageListBookEntryController} from "./books"; import {sageListGoalController} from "./goals"; export const SageListApi = async (m:AppMaster):Promise => { const router = Router(); router.use("/profiles",await sageListUserProfileController(m)); router.use("/msgs",await sageListMessageController(m)); router.use("/books",await sageListBookEntryController(m)); router.use("/goals",await sageListGoalController(m)); return router; }; export default SageListApi;