Metamigo -> Bridge

This commit is contained in:
Darren Clarke 2024-04-21 09:44:30 +02:00
parent 242f3cf6b8
commit a445762a37
145 changed files with 396 additions and 16668 deletions

View file

@ -0,0 +1 @@
export { receiveMessages as GET } from "@/app/_lib/routing";

View file

@ -0,0 +1 @@
export { registerBot as POST } from "@/app/_lib/routing";

View file

@ -0,0 +1 @@
export { requestCode as POST } from "@/app/_lib/routing";

View file

@ -0,0 +1 @@
export { resetBot as POST } from "@/app/_lib/routing";

View file

@ -0,0 +1 @@
export { getOneBot as GET } from "@/app/_lib/routing";

View file

@ -0,0 +1 @@
export { sendMessage as POST } from "@/app/_lib/routing";

View file

@ -0,0 +1 @@
export { getAllBots as GET } from "@/app/_lib/routing";

View file

@ -0,0 +1,8 @@
import { NextRequest, NextResponse } from "next/server";
const handleRequest = async (req: NextRequest, res: NextResponse) => {
return NextResponse.json({ message: "ok" });
};
export { handleRequest as GET, handleRequest as POST };

View file

@ -0,0 +1,6 @@
import NextAuth from "next-auth";
import { authOptions } from "@/app/_lib/authentication";
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };