This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { Context, Hono } from "hono"; | |
| import type { z } from "zod/v4"; | |
| const schema: unique symbol = Symbol("[[schema]]"); | |
| // for schema file | |
| interface DefineOperationOptions { | |
| method: "GET" | "POST"; | |
| path: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export * from "https://esm.sh/[email protected]"; | |
| import { Chart } from "https://esm.sh/[email protected]"; | |
| import { useEffect, useRef } from "preact/hooks"; | |
| import { JSX } from "preact"; | |
| interface ChartJsChartProps extends JSX.HTMLAttributes<HTMLCanvasElement> { | |
| config: ConstructorParameters<typeof Chart>[1]; | |
| } | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const RELEASE_URL = | |
| "https://raw.githubusercontent.com/denoland/deno/main/Releases.md"; | |
| const response = await fetch(RELEASE_URL); | |
| const markdown = await response.text(); | |
| const lines = markdown.split("\n"); | |
| const prefixEscape: Record<string, string> = { | |
| "add": "add", | |
| "added": "add", | |
| "adds": "add", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| あああああ |