forked from pinks/eris
1
0
Fork 0
eris/api/api.ts

15 lines
403 B
TypeScript
Raw Normal View History

2023-10-05 09:00:51 +00:00
import { Api } from "t_rest/server";
import { jobsRoute } from "./jobsRoute.ts";
import { sessionsRoute } from "./sessionsRoute.ts";
import { usersRoute } from "./usersRoute.ts";
import { paramsRoute } from "./paramsRoute.ts";
export const api = new Api({
"jobs": jobsRoute,
"sessions": sessionsRoute,
"users": usersRoute,
"settings/params": paramsRoute,
});
export type ErisApi = typeof api;