GitHub

DaffGeographyServiceInterface

import { DaffGeographyServiceInterface } from '@daffodil/geography/driver'

interface DaffGeographyServiceInterface<T extends DaffCountry = DaffCountry> {
  list(): Observable<T[]>
  get(id: T["id"]): Observable<T>
}

() Methods

list
Observable<T[]>

Retrieves the list of countries available to the given store.

get
Observable<T>

Retrieve precise information about a specific country.

Parameters
Parameterid: T["id"]
Description