ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Module types/request

    Interfaces

    SerializedResponse

    Represents a serialized response from a supplier with content type and optional content. This type is used to standardize the format of responses across different supplier implementations.

    RequestHashObject

    Represents a request object with associated hash and file information. This type is used to track and manage requests with their corresponding file data.

    CacheResponse

    Just an object with both of the above

    RequestOptions

    Represents the options for a request. This type is used to standardize the format of request options across different supplier implementations.

    RequestParams

    Type Aliases

    HttpHeaders

    A string-keyed map of HTTP header values. Used for request and response headers throughout the supplier layer.

    QueryParams

    A string-keyed map of URL query parameter values. Used when building URLSearchParams for supplier API requests.

    SupplierCookieSeed

    A cookie a supplier needs seeded into the browser jar before its requests run (e.g. a currency or session-preference cookie the backend reads). Mirrors chrome.cookies.SetDetails but makes url optional — SupplierBase defaults it to the supplier's baseURL.