Application Load

IProductFlags

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IProductFlags

Product badges such as new, popular or limited stock.

src/lib/interfaces/orionplace/products/IProduct.ts
TypeScript
export interface IProductFlags {
  // Whether the backend marks the product with the new-product badge.
  flag_is_new?: boolean | null;
  // Whether stock remaining after holds is at or below the configured
  // low-stock threshold.
  flag_is_soon_be_out?: boolean;
  // Popular-product flag.
  flag_is_popular?: boolean | null;
  // Good-deal flag.
  flag_is_good_deal?: boolean | null;
}