diff --git a/api/package.json b/api/package.json index b99329254..d5c53409a 100644 --- a/api/package.json +++ b/api/package.json @@ -34,11 +34,7 @@ "access": "public" }, "license": "MIT or Apache 2", - "keywords": [ - "hono", - "local", - "debugging" - ], + "keywords": ["hono", "local", "debugging"], "bin": { "fpx": "bin/cli.js" }, diff --git a/api/src/lib/ai/fp.ts b/api/src/lib/ai/fp.ts index 39ff212a7..f4d4941db 100644 --- a/api/src/lib/ai/fp.ts +++ b/api/src/lib/ai/fp.ts @@ -30,7 +30,7 @@ export async function generateRequestWithFp({ middleware, middlewareContext, }: GenerateRequestOptions): Promise<{ - // biome-ignore lint/suspicious/noExplicitAny: TODO: replace the temporary type cast with a proper return type + // biome-ignore lint/suspicious/noExplicitAny: TODO: replace the temporary type cast with a proper return type data: any; error?: { message: string } | null; }> { @@ -64,5 +64,8 @@ export async function generateRequestWithFp({ }); // biome-ignore lint/suspicious/noExplicitAny: TODO: replace the temporary type cast with a proper return type - return response.json() as Promise<{ data: any; error?: { message: string } | null }>; + return response.json() as Promise<{ + data: any; + error?: { message: string } | null; + }>; } diff --git a/honc-code-gen/package.json b/honc-code-gen/package.json index 5cbf5fef7..8ea5f10bc 100644 --- a/honc-code-gen/package.json +++ b/honc-code-gen/package.json @@ -42,11 +42,7 @@ "access": "public" }, "license": "MIT or Apache 2", - "keywords": [ - "honc", - "fiberplane", - "ai" - ], + "keywords": ["honc", "fiberplane", "ai"], "dependencies": { "@ai-sdk/openai": "^0.0.66", "@anthropic-ai/sdk": "^0.29.2", diff --git a/studio/src/components/Log/LogHeader.tsx b/studio/src/components/Log/LogHeader.tsx index c08d7a61f..980ce4178 100644 --- a/studio/src/components/Log/LogHeader.tsx +++ b/studio/src/components/Log/LogHeader.tsx @@ -31,7 +31,7 @@ export function LogHeader(props: Props) { )}
- {typeof parsedMessage === "string" ? parsedMessage : message ?? ""} + {typeof parsedMessage === "string" ? parsedMessage : (message ?? "")}
{formattedTimestamp && (
diff --git a/studio/src/pages/RequestDetailsPage/hooks/useReplayRequest.ts b/studio/src/pages/RequestDetailsPage/hooks/useReplayRequest.ts index be2969477..fbcfb4ffd 100644 --- a/studio/src/pages/RequestDetailsPage/hooks/useReplayRequest.ts +++ b/studio/src/pages/RequestDetailsPage/hooks/useReplayRequest.ts @@ -24,7 +24,7 @@ export function useReplayRequest({ span }: { span?: OtelSpan }) { const replayPath = url.pathname; const requestHeaders = useMemo>(() => { - return span ? getRequestHeaders(span) ?? {} : {}; + return span ? (getRequestHeaders(span) ?? {}) : {}; }, [span]); const filterReplayHeaders = useCallback( diff --git a/studio/src/pages/RequestorPage/LogsTable/data.ts b/studio/src/pages/RequestorPage/LogsTable/data.ts index 20719599b..628a5e688 100644 --- a/studio/src/pages/RequestorPage/LogsTable/data.ts +++ b/studio/src/pages/RequestorPage/LogsTable/data.ts @@ -34,7 +34,7 @@ function neonSpanToEvent(span: OtelSpan): NeonEvent { responseBody && isJson(responseBody) ? safeParseJson(responseBody) : null; const rowCount = parsedResponseBody && "rowCount" in parsedResponseBody - ? Number.parseInt(parsedResponseBody.rowCount ?? "") ?? null + ? (Number.parseInt(parsedResponseBody.rowCount ?? "") ?? null) : null; // E.g., "SELECT"