@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>
21 lines • 737 B
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { PropertyKey } from "./propertykey.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
/**
* Represents an error encountered while parsing a value to match the schema
*/
export type Issue = {
/**
* The path to the property where the issue occurred
*/
path: Array<PropertyKey>;
/**
* A descriptive message explaining the issue
*/
message: string;
};
/** @internal */
export declare const Issue$inboundSchema: z.ZodType<Issue, z.ZodTypeDef, unknown>;
export declare function issueFromJSON(jsonString: string): SafeParseResult<Issue, SDKValidationError>;
//# sourceMappingURL=issue.d.ts.map