import * as netzo from "https://deno.land/x/netzo@0.4.40/plugins/api/hooks/mod.ts";
Variables
A hook that authenticates requests using the provided API key by checking the "x-api-key" header or "$apiKey" query parameter. | |
v log | A hook that logs general request information to the console. |
A utility hook to resolve extra properties on the context data. | |
A hook that validates the request data using the provided Zod schema. |
Functions
Returns a new function that wraps an existing async function with hooks. | |
Initializes a hook settings object with the given middleware. |