@ptkl/sdk - v1.7.1
    Preparing search index...

    Type Alias IDLValidateRequest

    type IDLValidateRequest = {
        field?: string;
        idl?: Record<string, unknown>;
        ref?: string;
        value: unknown;
    }
    Index

    Properties

    Properties

    field?: string

    Field key to validate (required for component/extension refs, ignored for pfn).

    idl?: Record<string, unknown>

    Inline IDL to validate against. Mutually exclusive with ref.

    ref?: string

    Compound ref, e.g. "component:ns::name", "pfn:fnName". Mutually exclusive with idl.

    value: unknown

    The value to validate.