Application Load

IProductVideo

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

IProductVideo

Product video and its preview image.

app/interfaces/orionplace/products/IProduct.ts
TypeScript
export interface IProductVideo {
  // Video record ID.
  id: number;
  // Product-video URL, or null when no file is set.
  product_video: string | null;
  // ID of the product owning this video.
  product: number;
  // Video preview-image URL, or null when no preview is set.
  preview: string | null;
}