Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Product } from "./product.model";
- import { Offer } from "./offer.model";
- import { Store } from "./store.model";
- import { Money } from "./money.model";
- import { Geolocation } from "./geolocation.model";
- export interface Hit {
- _id: string
- name: string
- categoryName: string
- subCategoryName: string
- imageUrl: string
- merchantUID: string
- offer: Offer
- price: Money
- hasOffer: boolean
- description: string
- store: Store
- _geoloc: Geolocation
- ObjectID: string
- }
- export interface SearchResult {
- hits?: Hit[],
- hitsPerPage?: number,
- indexUsed?: string,
- page?: number,
- query?: string
- }
- export interface SearchParameters {
- query?: string,
- filters?: string,
- page?: number
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement