File

projects/core/src/model/product-interest.model.ts

Index

Properties

Properties

pagination
pagination: Pagination
Type : Pagination
Optional
results
results: ProductInterestEntryRelation[]
Type : ProductInterestEntryRelation[]
Optional
sorts
sorts: Sort[]
Type : Sort[]
Optional
import { Product } from './product.model';
import { Pagination, Sort } from './unused.model';

export interface ProductInterestEntry {
  interestType?: NotificationType;
  dateAdded?: string;
  expirationDate?: string;
}

export interface ProductInterestEntryRelation {
  product?: Product;
  productInterestEntry?: ProductInterestEntry[];
}

export interface ProductInterestSearchResult {
  results?: ProductInterestEntryRelation[];
  sorts?: Sort[];
  pagination?: Pagination;
}

export enum NotificationType {
  BACK_IN_STOCK = 'BACK_IN_STOCK',
}

result-matching ""

    No results matching ""