Stone.js API
    Preparing search index...

    Minimal shape of a Zod-style schema (a safeParse method). Kept structural so @stone-js/validation never has to depend on Zod at runtime.

    interface ZodLikeSchema<T = unknown> {
        safeParse: (data: unknown) => ZodSafeParseResult<T>;
    }

    Type Parameters

    • T = unknown
    Index
    safeParse: (data: unknown) => ZodSafeParseResult<T>