OmniDataEditor API
    Preparing search index...

    Interface StandardSchemaV1Like<Input, Output>

    interface StandardSchemaV1Like<Input = unknown, Output = Input> {
        "~standard": {
            validate: (
                value: unknown,
                options?: { libraryOptions?: Record<string, unknown> },
            ) =>
                | { issues?: undefined; value: Output }
                | { issues: readonly StandardSchemaIssueLike[] }
                | Promise<
                    | { issues?: undefined; value: Output }
                    | { issues: readonly StandardSchemaIssueLike[] },
                >;
            vendor: string;
            version: 1;
        };
    }

    Type Parameters

    • Input = unknown
    • Output = Input
    Index
    "~standard": {
        validate: (
            value: unknown,
            options?: { libraryOptions?: Record<string, unknown> },
        ) =>
            | { issues?: undefined; value: Output }
            | { issues: readonly StandardSchemaIssueLike[] }
            | Promise<
                | { issues?: undefined; value: Output }
                | { issues: readonly StandardSchemaIssueLike[] },
            >;
        vendor: string;
        version: 1;
    }