Template
1
0

feat: biome check

This commit is contained in:
2025-09-25 14:29:15 +02:00
parent f2ba21a7e3
commit 0819534901
68 changed files with 211 additions and 802 deletions

View File

@@ -6,8 +6,8 @@ import {
InternalServerError,
NotFoundError,
NotImplementedError,
Route,
RouteMethod,
type Route,
type RouteMethod,
ServerError,
type ServerErrorResponse,
UnauthorizedError,

View File

@@ -13,4 +13,4 @@
"@valkyr/json-rpc": "npm:@jsr/valkyr__json-rpc@1.1.0",
"zod": "4.1.11"
}
}
}

View File

@@ -1,9 +1,7 @@
import "./types.ts";
import { context } from "@platform/relay";
import { InternalServerError } from "@platform/relay";
import { storage } from "@platform/storage";
import { getStorageContext } from "@platform/storage";
import { context, InternalServerError } from "@platform/relay";
import { getStorageContext, storage } from "@platform/storage";
export default {
/**

View File

@@ -8,7 +8,7 @@ import type { Api } from "./api.ts";
/**
* TODO ...
*/
export function upgradeWebSocket(request: Request, api: Api) {
export function upgradeWebSocket(request: Request, _api: Api) {
const { socket, response } = Deno.upgradeWebSocket(request);
socket.addEventListener("open", () => {