Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cav/client.ts>EndpointShape

A server framework for Deno
Go to Latest
type alias EndpointShape
import { type EndpointShape } from "https://deno.land/x/cav@0.2.3/client.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<unknown, unknown>; }