ChemPal Documentation - v1.12.0
    Preparing search index...

    Interface SupplierMetaEntry

    Display and shipping metadata for one supplier — the subset of a supplier class's static fields the UI needs before any search has run.

    export interface SupplierMetaEntry {
    /** Human-readable supplier name, mirroring the class's `static supplierName`. */
    readonly displayName: string;
    /** The supplier's home country (ISO 3166-1 alpha-2). */
    readonly country: CountryCode;
    /** The supplier's coarse shipping scope. */
    readonly shipping: ShippingRange;
    /** Explicit destination allowlist; overrides {@link SupplierMetaEntry.shipping} when set. */
    readonly shipsTo?: readonly CountryCode[];
    }
    interface SupplierMetaEntry {
        displayName: string;
        country: valueof;
        shipping: ShippingRange;
        shipsTo?: readonly valueof<any>[];
    }
    Index

    Properties

    displayName: string

    Human-readable supplier name, mirroring the class's static supplierName.

    country: valueof

    The supplier's home country (ISO 3166-1 alpha-2).

    shipping: ShippingRange

    The supplier's coarse shipping scope.

    shipsTo?: readonly valueof<any>[]

    Explicit destination allowlist; overrides SupplierMetaEntry.shipping when set.