Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Favorites/DataAccess"

Index

Functions

addCustomPlaceToFavorites

  • addCustomPlaceToFavorites(name: string, location: Location, address: string): Promise<string>

addPlaceToFavorites

  • addPlaceToFavorites(id: string): Promise<void>

getFavorites

  • getFavorites(): Promise<string[]>

getFromApi

  • getFromApi(): Promise<string[]>

isFavoriteInCache

  • isFavoriteInCache(id: string): Promise<boolean>

removeFavoriteFromCache

  • removeFavoriteFromCache(id: string): Promise<void>

removePlaceFromFavorites

  • removePlaceFromFavorites(id: string): Promise<ApiResponse>

shouldNotifyOnFavoritesUpdate

  • shouldNotifyOnFavoritesUpdate(id: string): Promise<boolean>

Generated using TypeDoc