import { HttpApiMiddleware } from "effect/unstable/httpapi" import { UnauthorizedError } from "../errors" export class Authorization extends HttpApiMiddleware.Service()("@opencode/HttpApiAuthorization", { error: UnauthorizedError, }) {}