merge: upstream/main (preserve Hanzo brand, 1477 commits)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import api from "@/server/api";
|
||||
import { handle } from "hono/vercel";
|
||||
|
||||
const handler = handle(api);
|
||||
|
||||
export {
|
||||
handler as GET,
|
||||
handler as POST,
|
||||
handler as PUT,
|
||||
handler as DELETE,
|
||||
handler as PATCH,
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
import { ApiReference } from "@scalar/nextjs-api-reference";
|
||||
|
||||
const config = {
|
||||
spec: {
|
||||
url: "/api/v1/schema",
|
||||
},
|
||||
metaData: {
|
||||
title: "Captable API Docs",
|
||||
description: "Captable API Docs",
|
||||
},
|
||||
};
|
||||
|
||||
export const GET = ApiReference(config);
|
||||
@@ -1,4 +1,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||
import { PrismaAdapter } from "@next-auth/prisma-adapter";
|
||||
import bcrypt from "bcryptjs";
|
||||
import {
|
||||
type DefaultSession,
|
||||
type NextAuthOptions,
|
||||
|
||||
Reference in New Issue
Block a user