refactor: 优化项目结构 — 修复拼写、提取共享 interceptor、扁平化 db 目录、清理空包

This commit is contained in:
2026-03-05 10:58:55 +08:00
parent 0438b52c93
commit 0cd8b57d24
13 changed files with 55 additions and 121 deletions

View File

@@ -1,7 +1,7 @@
import { createTanstackQueryUtils } from '@orpc/tanstack-query'
import { orpc as orpcClient } from './orpc'
import { orpc as client } from './orpc'
export const orpc = createTanstackQueryUtils(orpcClient, {
export const orpc = createTanstackQueryUtils(client, {
experimental_defaults: {
todo: {
create: {