From c915c21d47a2b417979b20e9e9d9b6ff30a03c0d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 19:51:21 +0900 Subject: refactor(client): use Hono InferResponseType for API response types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace manually defined AuthResponse and User types with Hono's InferResponseType to automatically derive types from server definitions. This ensures client types stay in sync with server responses. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- drizzle.config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'drizzle.config.ts') diff --git a/drizzle.config.ts b/drizzle.config.ts index 0520eb6..698a49a 100644 --- a/drizzle.config.ts +++ b/drizzle.config.ts @@ -1,6 +1,12 @@ import { defineConfig } from "drizzle-kit"; -const { POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB, POSTGRES_HOST, POSTGRES_PORT } = process.env; +const { + POSTGRES_USER, + POSTGRES_PASSWORD, + POSTGRES_DB, + POSTGRES_HOST, + POSTGRES_PORT, +} = process.env; export default defineConfig({ out: "./drizzle", -- cgit v1.2.3-70-g09d2