Skip to content

Commit 18f5888

Browse files
ran biome check --write
1 parent ea22ae6 commit 18f5888

File tree

337 files changed

+552
-600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

337 files changed

+552
-600
lines changed

.eslintrc.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 0 additions & 37 deletions
This file was deleted.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@
2121
"start:run": "node --experimental-specifier-resolution=node ./dist/index.js",
2222
"start:docker": "docker compose --profile engine --env-file ./.env up --remove-orphans",
2323
"start:docker-force-build": "docker compose --profile engine --env-file ./.env up --remove-orphans --build",
24-
"lint:fix": "eslint --fix 'src/**/*.ts'",
25-
"lint:fix:sdk": "eslint --fix 'sdk/src/**/*.ts",
24+
"biome:format": "yarn biome format",
25+
"biome:format:fix": "yarn biome format --write",
26+
"biome:lint": "yarn biome lint",
27+
"biome:lint:fix": "yarn biome lint --write",
28+
"biome:check": "yarn biome check",
29+
"biome:check:fix": "yarn biome check --write",
2630
"test:unit": "vitest",
2731
"test:coverage": "vitest run --coverage",
2832
"copy-files": "cp -r ./src/prisma ./dist/"
@@ -85,11 +89,7 @@
8589
"@types/pg": "^8.6.6",
8690
"@types/uuid": "^9.0.1",
8791
"@types/ws": "^8.5.5",
88-
"@typescript-eslint/eslint-plugin": "^8.15.0",
89-
"@typescript-eslint/parser": "^8.15.0",
9092
"@vitest/coverage-v8": "^2.0.3",
91-
"eslint": "^9.15.0",
92-
"eslint-config-prettier": "^9.1.0",
9393
"openapi-typescript-codegen": "^0.25.0",
9494
"prettier": "^2.8.7",
9595
"typescript": "^5.1.3",

src/db/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { PrismaClient } from "@prisma/client";
2-
import pg, { Knex } from "knex";
3-
import { PrismaTransaction } from "../schema/prisma";
2+
import pg, { type Knex } from "knex";
3+
import type { PrismaTransaction } from "../schema/prisma";
44
import { env } from "../utils/env";
55

66
export const prisma = new PrismaClient({

src/db/contractEventLogs/createContractEventLogs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { ContractEventLogs, Prisma } from "@prisma/client";
2-
import { PrismaTransaction } from "../../schema/prisma";
1+
import type { ContractEventLogs, Prisma } from "@prisma/client";
2+
import type { PrismaTransaction } from "../../schema/prisma";
33
import { getPrismaWithPostgresTx } from "../client";
44

55
export interface BulkInsertContractLogsParams {

src/db/contractTransactionReceipts/createContractTransactionReceipts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { ContractTransactionReceipts, Prisma } from "@prisma/client";
2-
import { PrismaTransaction } from "../../schema/prisma";
1+
import type { ContractTransactionReceipts, Prisma } from "@prisma/client";
2+
import type { PrismaTransaction } from "../../schema/prisma";
33
import { getPrismaWithPostgresTx } from "../client";
44

55
export interface BulkInsertContractLogsParams {

src/db/keypair/delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Keypairs } from "@prisma/client";
1+
import type { Keypairs } from "@prisma/client";
22
import { prisma } from "../client";
33

44
export const deleteKeypair = async ({

src/db/keypair/get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Keypairs } from "@prisma/client";
21
import { createHash } from "crypto";
2+
import type { Keypairs } from "@prisma/client";
33
import { prisma } from "../client";
44

55
export const getKeypairByHash = async (

src/db/keypair/insert.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Keypairs } from "@prisma/client";
21
import { createHash } from "crypto";
3-
import { KeypairAlgorithm } from "../../server/schemas/keypairs";
2+
import type { Keypairs } from "@prisma/client";
3+
import type { KeypairAlgorithm } from "../../server/schemas/keypairs";
44
import { prisma } from "../client";
55

66
export const insertKeypair = async ({

src/db/keypair/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Keypairs } from "@prisma/client";
1+
import type { Keypairs } from "@prisma/client";
22
import { prisma } from "../client";
33

44
export const listKeypairs = async (): Promise<Keypairs[]> => {

0 commit comments

Comments
 (0)