research: delete Hono backend (do not merge) (#25667)

This commit is contained in:
Kit Langton
2026-05-09 09:10:42 -04:00
committed by GitHub
parent 32684e70e6
commit 28b03595bf
81 changed files with 224 additions and 7566 deletions

View File

@@ -1,12 +1,12 @@
import z from "zod"
import { AsyncQueue } from "@/util/queue"
import { Schema } from "effect"
export const TuiRequest = z.object({
path: z.string(),
body: z.any(),
export const TuiRequest = Schema.Struct({
path: Schema.String,
body: Schema.Unknown,
})
export type TuiRequest = z.infer<typeof TuiRequest>
export type TuiRequest = Schema.Schema.Type<typeof TuiRequest>
const request = new AsyncQueue<TuiRequest>()
const response = new AsyncQueue<unknown>()