diff --git a/apps/api/biome.json b/apps/api/biome.json new file mode 100644 index 00000000..b9710aec --- /dev/null +++ b/apps/api/biome.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.8.0/schema.json", + "extends": ["../../biome.json"], + "files": { + "include": ["**/*.ts"], + "ignore": ["**/*.d.ts"] + } +} diff --git a/apps/api/v1/routes/transactions.ts b/apps/api/v1/routes/transactions.ts index 7159513d..75a24e9e 100644 --- a/apps/api/v1/routes/transactions.ts +++ b/apps/api/v1/routes/transactions.ts @@ -1,7 +1,4 @@ -import { - zCreateTransaction, - zUpdateTransaction, -} from '@6pm/validation' +import { zCreateTransaction, zUpdateTransaction } from '@6pm/validation' import { zValidator } from '@hono/zod-validator' import { Hono } from 'hono' import { z } from 'zod' diff --git a/apps/api/v1/services/wallet.service.ts b/apps/api/v1/services/wallet.service.ts index 7d849e5a..60bbcded 100644 --- a/apps/api/v1/services/wallet.service.ts +++ b/apps/api/v1/services/wallet.service.ts @@ -67,6 +67,7 @@ export async function getWalletBalance({ }: { wallet: UserWalletAccount }) { const balance = await prisma.transaction.aggregate({ where: { walletAccountId: wallet.id }, + // biome-ignore lint/style/useNamingConvention: _sum: { amount: true }, })