projects/core/src/model/product-interest.model.ts
Properties |
|
pagination |
pagination:
|
Type : Pagination
|
Optional |
results |
results:
|
Type : ProductInterestEntryRelation[]
|
Optional |
sorts |
sorts:
|
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',
}