Type Alias Product

Product: {
    _id: string;
    description?: string;
    variants: ProductVariant[];
    medias: ProductMedia[];
    locationId: string;
    name: string;
    productType: ProductType;
    availableInStore?: boolean;
    userId?: string;
    createdAt: string;
    updatedAt: string;
    statementDescriptor?: string;
    image?: string;
}

Type declaration

  • _id: string
  • Optionaldescription?: string
  • variants: ProductVariant[]
  • medias: ProductMedia[]
  • locationId: string
  • name: string
  • productType: ProductType
  • OptionalavailableInStore?: boolean
  • OptionaluserId?: string
  • createdAt: string
  • updatedAt: string
  • OptionalstatementDescriptor?: string
  • Optionalimage?: string