import { Observable } from 'rxjs' ; import { BaseProduct , BaseProductPrice , BaseProductInventory , BaseProductOption } from '../models' ; /**
 * Product Service Interface
 */ interface IProduct { allBaseProducts ( ) : Observable < BaseProduct [ ] > ; baseProductbyId ( id ) : Observable < BaseProduct > ; allBaseProductOptions ( ) : Observable < BaseProductOption [ ] > ; baseProductOptionsbyId ( id ) : Observable < BaseProductOption > ; allBaseProductPrice ( ) : Observable < BaseProductPrice [ ] > ; baseProductPricebyId ( id ) : Observable < BaseProductPrice > ; allBaseProductInventory ( ) : Observable < BaseProductInventory [ ] > ; baseProductInventorybyId ( id ) : Observable < BaseProductInventory > ; getProductOptionPricebyId ( id ) : Observable < BaseProductPrice [ ] > ; } export default IProduct ;