@metreeca/qest - v0.9.2
    Preparing search index...

    Type Alias CodecOpts

    Shared configuration options for codec operations.

    Controls IRI rewriting behaviour during encoding and decoding. When a base IRI is provided, absolute IRIs are converted to root-relative form during encoding and resolved back to absolute form during decoding.

    type CodecOpts = {
        base?: IRI;
    }
    Index

    Properties

    Properties

    base?: IRI

    Base IRI for IRI resolution (must be absolute and hierarchical).

    • Encoding: Converts absolute IRIs to internal (root-relative) form
    • Decoding: Resolves internal IRIs to absolute form

    If omitted, no IRI rewriting is performed.