Cereal docs
TypeScript SDKTypeScript signatures

StandardValidationResult

Public TypeScript declaration from @trycereal/sdk.

Import from @trycereal/sdk. Generated from the repository SDK declarations (package version 0.0.0); not from HTTP request schemas.

export type StandardValidationResult = {
    readonly value: unknown;
    readonly issues?: undefined;
} | {
    readonly issues: ReadonlyArray<{
        readonly message: string;
        readonly path?: ReadonlyArray<PropertyKey | {
            readonly key: PropertyKey;
        }> | undefined;
    }>;
};

See SDK setup, authoring, client behavior, and the API/SDK map for usage. Domain types are described in schema reference.