Skip to main content
Module

x/cav/dom.ts>EndpointShape

A server framework for Deno
Go to Latest
type alias EndpointShape
import { type EndpointShape } from "https://deno.land/x/cav@0.2.0-alpha.7/dom.ts";

The shape of an EndpointRequest, holding the type information needed to calculate the allowable ClientArgs.

definition: { socket?: false; query?: QueryRecord; body?: unknown; result: unknown; } | { socket?: true; query?: QueryRecord; body?: never; result: WS<any, any>; }