Biome format

This commit is contained in:
2025-09-03 12:43:51 -03:00
parent 5f6136a378
commit f005ae1c46
24 changed files with 125 additions and 129 deletions

View File

@@ -1,4 +1,4 @@
import { pgTable, text, timestamp, boolean, serial } from "drizzle-orm/pg-core";
import { boolean, pgTable, serial, text, timestamp } from "drizzle-orm/pg-core";
export const user = pgTable("user", {
id: text("id").primaryKey(),

View File

@@ -1,15 +1,14 @@
import "dotenv/config";
import { execSync } from "node:child_process";
import { join } from "node:path";
import { trpcServer } from "@hono/trpc-server";
import { createContext } from "./lib/context";
import { appRouter } from "./routers/index";
import { auth } from "./lib/auth";
import { Hono } from "hono";
import { cors } from "hono/cors";
import { logger as honoLogger } from "hono/logger";
import { join } from "node:path";
import { execSync } from "node:child_process";
import { auth } from "./lib/auth";
import { createContext } from "./lib/context";
import { logger } from "./lib/logger";
import { appRouter } from "./routers/index";
const app = new Hono();

View File

@@ -7,7 +7,7 @@ export const auth = betterAuth({
database: drizzleAdapter(db, {
provider: "pg",
schema: schema,
schema,
}),
trustedOrigins: [process.env.CORS_ORIGIN || ""],
emailAndPassword: {