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

    Variable PRODUCT_REFRESH_STATUSConst

    PRODUCT_REFRESH_STATUS: {
        OK: "ok";
        UNAVAILABLE: "unavailable";
        FAILED: "failed";
    } = ...

    How refetching one specific product ended.

    Type declaration

    • ReadonlyOK: "ok"

      Refetched.

    • ReadonlyUNAVAILABLE: "unavailable"

      The supplier answered, but the product is missing or out of stock. Not an error.

    • ReadonlyFAILED: "failed"

      The request or its parsing failed, so nothing is known about the product.

    export const PRODUCT_REFRESH_STATUS = {
    /** Refetched. */
    OK: 'ok',
    /** The supplier answered, but the product is missing or out of stock. Not an error. */
    UNAVAILABLE: 'unavailable',
    /** The request or its parsing failed, so nothing is known about the product. */
    FAILED: 'failed',
    } as const;