···22import { Layout } from "../../../shared/fragments/Layout.tsx";
33import { Card } from "../../../shared/fragments/Card.tsx";
44import { Text } from "../../../shared/fragments/Text.tsx";
55-import { Link } from "../../../shared/fragments/Link.tsx";
6576interface DocItem {
87 slug: string;
···77import type { AuthenticatedUser } from "../../../../routes/middleware.ts";
88import type { NetworkSlicesSliceDefsSliceView } from "../../../../client.ts";
99import { buildSliceUrlFromView } from "../../../../utils/slice-params.ts";
1010-import { getRkeyFromUri } from "../../../../utils/at-uri.ts";
1110import { codeToHtml } from "jsr:@shikijs/shiki";
12111312interface LexiconDetailPageProps {
···5554 dark: "github-dark",
5655 },
5756 });
5858-5959- // Extract rkey for updating the record
6060- const rkey = getRkeyFromUri(uri);
61576258 // Check if this is a record type lexicon
6359 const isRecordType = parsedDefinitions?.main?.type === "record";
···11import type { NetworkSlicesSliceDefsSliceView } from "../../../../client.ts";
22-import type { AuthenticatedUser } from "../../../../routes/middleware.ts";
32import { buildSliceUrlFromView } from "../../../../utils/slice-params.ts";
4354export interface SliceTab {
+1-1
frontend/src/routes/static.ts
···11import type { Route } from "@std/http/unstable-route";
22import { serveDir } from "@std/http/file-server";
3344-async function handleStatic(req: Request): Promise<Response> {
44+function handleStatic(req: Request): Response | Promise<Response> {
55 const { pathname } = new URL(req.url);
6677 if (pathname.startsWith("/static/")) {
+3-3
frontend/src/utils/preact.ts
···11-import type { ComponentChildren } from "preact";
11+import type { ComponentChildren, VNode } from "preact";
22import { cloneElement } from "preact";
3344/**
···1111 if (Array.isArray(children)) {
1212 return children.map(child => {
1313 if (child && typeof child === 'object' && 'type' in child) {
1414- return cloneElement(child as any, props);
1414+ return cloneElement(child as VNode, props);
1515 }
1616 return child;
1717 });
1818 }
19192020 if (children && typeof children === 'object' && 'type' in children) {
2121- return cloneElement(children as any, props);
2121+ return cloneElement(children as VNode, props);
2222 }
23232424 return children;
···282282 ? 'import { SlicesClient, type RecordResponse, type GetRecordsResponse, type CountRecordsResponse, type GetRecordParams, type WhereCondition, type IndexedRecordFields, type SortField, type BlobRef } from "@slices/client";'
283283 : 'import { SlicesClient, type RecordResponse, type GetRecordsResponse, type CountRecordsResponse, type GetRecordParams, type WhereCondition, type IndexedRecordFields, type SortField, type GetActorsParams, type GetActorsResponse, type BlobRef, type SliceLevelRecordsParams, type SliceRecordsOutput } from "@slices/client";'
284284}
285285-import { OAuthClient } from "@slices/oauth";
285285+import type { OAuthClient } from "@slices/oauth";
286286287287`;
288288}