export const LOAD_PRODUCT_SEARCH_AUTOCOMPLETE = '[AUTOCOMPLETE] Load product';
export const CANCEL_PENDING_SEARCH_AUTOCOMPLETE = '[AUTOCOMPLETE] Cancel product';

export class LoadAutocomplete {
  static readonly type = LOAD_PRODUCT_SEARCH_AUTOCOMPLETE;

  constructor(public payload: string, public type: string) {}
}

export class CancelPendingAutocomplete {
  static readonly type = CANCEL_PENDING_SEARCH_AUTOCOMPLETE;
}
