a tool for shared writing and social publishing
1import { serve } from "inngest/next";
2import { inngest } from "app/api/inngest/client";
3import { index_post_mention } from "./functions/index_post_mention";
4import { come_online } from "./functions/come_online";
5import { batched_update_profiles } from "./functions/batched_update_profiles";
6
7// Create an API that serves zero functions
8export const { GET, POST, PUT } = serve({
9 client: inngest,
10 functions: [index_post_mention, come_online, batched_update_profiles],
11});