import { DaffGeographyServiceInterface } from '@daffodil/geography/driver'
interface DaffGeographyServiceInterface<T extends DaffCountry = DaffCountry> {
list(): Observable<T[]>
get(id: T["id"]): Observable<T>
}
Observable<T[]>
Retrieves the list of countries available to the given store.
Observable<T>
Retrieve precise information about a specific country.
Parameter | id: T["id"] |
---|---|
Description |