Application Load

IAppLoadProduct

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

IAppLoadProduct

Application Load product data with a seller reference.

app/interfaces/orionplace/products/IProduct.ts
TypeScript
export type IAppLoadProduct = Omit<IProduct, 'seller'> & {
  // ID used to read this product’s seller from `IAppLoadCommon.sellers`.
  // Products whose seller cannot be resolved are omitted from the product
  // collections exposed to components.
  seller_id: number;
};