Skip to content

Commit

Permalink
easy
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed Aug 24, 2024
1 parent 88c53ef commit 87b722d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
"dependencies": {
"@elysiajs/eden": "^1.1.2",
"@prisma/client": "^5.18.0",
"@tanstack/react-query": "^5.51.23",
"elysia": "^1.1.6",
"jose": "^5.6.3",
"next": "14.2.5",
"@tanstack/react-query": "^5.52.1",
"elysia": "^1.1.7",
"jose": "^5.7.0",
"next": "14.2.6",
"react": "^18",
"react-dom": "^18"
},
"devDependencies": {
"@types/bun": "^1.1.6",
"@types/node": "^22.4.0",
"@types/bun": "^1.1.7",
"@types/node": "^22.5.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"eslint-config-next": "14.2.6",
"postcss": "^8",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
Expand Down
13 changes: 1 addition & 12 deletions src/utils/base.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { EdenFetchError } from "@elysiajs/eden/dist/errors";
import { Errors } from "@sinclair/typebox/errors";
import type { Static, TSchema } from "@sinclair/typebox/type";
import { Check } from "@sinclair/typebox/value";
Expand Down Expand Up @@ -40,15 +41,3 @@ export function handleEden<T>(
if (response.error) throw response.error;
return response.data;
}

/**
* Represents an error that occurs during an Eden fetch operation.
*/
export declare class EdenFetchError<
Status extends number = number,
Value = unknown,
> extends Error {
status: Status;
value: Value;
constructor(status: Status, value: Value);
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down

0 comments on commit 87b722d

Please sign in to comment.