UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

20 lines 895 B
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; /** * HTTP header injection rules for outgoing requests matching specific domains. */ export type SandboxInjectionRule = { /** * The domain (or pattern) that this injection rule applies to. Supports wildcards like *.vercel.com. */ domain: string; /** * The names of HTTP headers that have value that will be injected for requests to this domain. */ headerNames?: Array<string> | undefined; }; /** @internal */ export declare const SandboxInjectionRule$inboundSchema: z.ZodType<SandboxInjectionRule, z.ZodTypeDef, unknown>; export declare function sandboxInjectionRuleFromJSON(jsonString: string): SafeParseResult<SandboxInjectionRule, SDKValidationError>; //# sourceMappingURL=sandboxinjectionrule.d.ts.map