GitHub

DaffGeographyFacadeInterface

Type

import { DaffGeographyFacadeInterface } from '@daffodil/geography/state'

interface DaffGeographyFacadeInterface<T extends DaffCountry = DaffCountry> {
  loading$: Observable<boolean>
  errors$: Observable<DaffStateError[]>
  countries$: Observable<T[]>
  countryIds$: Observable<T['id'][]>
  countryCount$: Observable<number>
  countryEntities$: Observable<Dictionary<T>>

  getCountry(id: T["id"]): any
  getCountrySubdivisions(id: T["id"]): any
  isCountryFullyLoaded(id: T["id"]): any
}

() Methods

getCountry
any
Parameters
Parameterid: T["id"]
Description
getCountrySubdivisions
any
Parameters
Parameterid: T["id"]
Description
isCountryFullyLoaded
any
Parameters
Parameterid: T["id"]
Description