/** * Base implementer with typed APIContext * All procedures and middlewares should derive from this */ import type { APIContext } from "../context.js"; import { implement } from "@orpc/server"; import { contract } from "@reviq/api-contract"; export const os = implement(contract).$context();