@daffodil/geography 0.94.1-rc.0 → 0.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/daffodil-geography-driver-in-memory.mjs +161 -121
- package/fesm2022/daffodil-geography-driver-in-memory.mjs.map +1 -1
- package/fesm2022/daffodil-geography-driver-magento-2.4.7.mjs +246 -0
- package/fesm2022/daffodil-geography-driver-magento-2.4.7.mjs.map +1 -0
- package/fesm2022/daffodil-geography-driver-magento-auto.mjs +7 -0
- package/fesm2022/daffodil-geography-driver-magento-auto.mjs.map +1 -0
- package/fesm2022/daffodil-geography-driver-testing.mjs +100 -61
- package/fesm2022/daffodil-geography-driver-testing.mjs.map +1 -1
- package/fesm2022/daffodil-geography-driver.mjs +18 -29
- package/fesm2022/daffodil-geography-driver.mjs.map +1 -1
- package/fesm2022/daffodil-geography-state-testing.mjs +98 -57
- package/fesm2022/daffodil-geography-state-testing.mjs.map +1 -1
- package/fesm2022/daffodil-geography-state.mjs +275 -275
- package/fesm2022/daffodil-geography-state.mjs.map +1 -1
- package/fesm2022/daffodil-geography-testing.mjs +190 -107
- package/fesm2022/daffodil-geography-testing.mjs.map +1 -1
- package/fesm2022/daffodil-geography.mjs +21 -43
- package/fesm2022/daffodil-geography.mjs.map +1 -1
- package/package.json +1 -1
- package/types/daffodil-geography-driver-in-memory.d.ts +51 -49
- package/types/daffodil-geography-driver-magento-2.4.7.d.ts +86 -0
- package/types/daffodil-geography-driver-magento-auto.d.ts +1 -0
- package/types/daffodil-geography-driver-testing.d.ts +28 -25
- package/types/daffodil-geography-driver.d.ts +22 -30
- package/types/daffodil-geography-state-testing.d.ts +33 -29
- package/types/daffodil-geography-state.d.ts +124 -139
- package/types/daffodil-geography-testing.d.ts +56 -63
- package/types/daffodil-geography.d.ts +37 -46
- package/fesm2022/daffodil-geography-driver-magento.mjs +0 -196
- package/fesm2022/daffodil-geography-driver-magento.mjs.map +0 -1
- package/types/daffodil-geography-driver-magento.d.ts +0 -95
|
@@ -1,59 +1,61 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { ModuleWithProviders } from
|
|
3
|
-
import * as i1 from
|
|
4
|
-
import { HttpClient } from
|
|
5
|
-
import { InMemoryBackendConfig, InMemoryDbService, RequestInfo } from
|
|
6
|
-
import { Observable } from
|
|
7
|
-
import { DaffInMemoryDriverBase, DaffInMemorySingleRouteableBackend } from
|
|
8
|
-
import { DaffCountry } from
|
|
9
|
-
import { DaffGeographyServiceInterface } from
|
|
10
|
-
import { DaffCountryFactory, DaffSubdivisionFactory } from
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EnvironmentProviders, ModuleWithProviders } from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import { HttpClient } from "@angular/common/http";
|
|
5
|
+
import { InMemoryBackendConfig, InMemoryDbService, RequestInfo } from "angular-in-memory-web-api";
|
|
6
|
+
import { Observable } from "rxjs";
|
|
7
|
+
import { DaffInMemoryDriverBase, DaffInMemorySingleRouteableBackend } from "@daffodil/driver/in-memory";
|
|
8
|
+
import { DaffCountry } from "@daffodil/geography";
|
|
9
|
+
import { DaffGeographyServiceInterface } from "@daffodil/geography/driver";
|
|
10
|
+
import { DaffCountryFactory, DaffSubdivisionFactory } from "@daffodil/geography/testing";
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated in favor of {@link provideDaffGeographyInMemoryDriver} Deprecated in version 0.95.0. Will be removed in version 0.98.0.
|
|
13
|
+
*/
|
|
14
|
+
export declare class DaffGeographyInMemoryDriverModule {
|
|
15
|
+
static forRoot(): ModuleWithProviders<DaffGeographyInMemoryDriverModule>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffGeographyInMemoryDriverModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffGeographyInMemoryDriverModule, never, [typeof i1.CommonModule], never>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffGeographyInMemoryDriverModule>;
|
|
17
19
|
}
|
|
18
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Provides the in-memory implementation of the `@daffodil/geography/driver` interfaces.
|
|
22
|
+
*/
|
|
23
|
+
export declare const provideDaffGeographyInMemoryDriver: () => EnvironmentProviders;
|
|
19
24
|
/**
|
|
20
25
|
* @inheritdoc
|
|
21
26
|
*/
|
|
22
|
-
declare class DaffInMemoryGeographyService extends DaffInMemoryDriverBase implements DaffGeographyServiceInterface<DaffCountry> {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
export declare class DaffInMemoryGeographyService extends DaffInMemoryDriverBase implements DaffGeographyServiceInterface<DaffCountry> {
|
|
28
|
+
private http;
|
|
29
|
+
constructor(http: HttpClient, config: InMemoryBackendConfig);
|
|
30
|
+
get(countryId: DaffCountry['id']): Observable<DaffCountry>;
|
|
31
|
+
list(): Observable<DaffCountry[]>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryGeographyService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
29
34
|
}
|
|
30
|
-
|
|
31
35
|
/**
|
|
32
36
|
* An in-memory service that stubs out the backend services for getting countries.
|
|
33
37
|
*
|
|
34
38
|
* @inheritdoc
|
|
35
39
|
*/
|
|
36
|
-
declare class DaffInMemoryBackendGeographyService implements InMemoryDbService, DaffInMemorySingleRouteableBackend {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export { DaffGeographyInMemoryDriverModule, DaffInMemoryBackendGeographyService, DaffInMemoryGeographyService };
|
|
40
|
+
export declare class DaffInMemoryBackendGeographyService implements InMemoryDbService, DaffInMemorySingleRouteableBackend {
|
|
41
|
+
private countryFactory;
|
|
42
|
+
private subdivisionFactory;
|
|
43
|
+
readonly collectionName = "countries";
|
|
44
|
+
countries: DaffCountry[];
|
|
45
|
+
constructor(countryFactory: DaffCountryFactory, subdivisionFactory: DaffSubdivisionFactory);
|
|
46
|
+
/**
|
|
47
|
+
* Creates a fake database of countries for the geography inmemory backend service.
|
|
48
|
+
*
|
|
49
|
+
* @docs-private
|
|
50
|
+
* @returns A fake database of an array of countries
|
|
51
|
+
*/
|
|
52
|
+
createDb(reqInfo: RequestInfo): any;
|
|
53
|
+
/**
|
|
54
|
+
* Responds to GET requests.
|
|
55
|
+
*/
|
|
56
|
+
get(reqInfo: RequestInfo): any;
|
|
57
|
+
private getCountry;
|
|
58
|
+
private listCountries;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffInMemoryBackendGeographyService, never>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { DaffCountry, DaffSubdivision } from "@daffodil/geography";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { EnvironmentProviders, ModuleWithProviders } from "@angular/core";
|
|
4
|
+
import { Apollo } from "apollo-angular";
|
|
5
|
+
import { Observable } from "rxjs";
|
|
6
|
+
import { DaffGeographyServiceInterface } from "@daffodil/geography/driver";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
export interface MagentoRegion {
|
|
9
|
+
__typename?: 'Region';
|
|
10
|
+
id: number;
|
|
11
|
+
code: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Transforms magento carts into an object usable by daffodil.
|
|
16
|
+
*/
|
|
17
|
+
export declare class DaffMagentoSubdivisionTransformer {
|
|
18
|
+
/**
|
|
19
|
+
* Transforms the MagentoRegion from the magento region query into a DaffSubdivision.
|
|
20
|
+
*/
|
|
21
|
+
transform(region: MagentoRegion): DaffSubdivision;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffMagentoSubdivisionTransformer, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
24
|
+
}
|
|
25
|
+
export interface MagentoCountry {
|
|
26
|
+
__typename?: 'Country';
|
|
27
|
+
id: string;
|
|
28
|
+
available_regions?: MagentoRegion[];
|
|
29
|
+
full_name_english: string;
|
|
30
|
+
full_name_locale: string;
|
|
31
|
+
three_letter_abbreviation: string;
|
|
32
|
+
two_letter_abbreviation: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Transforms magento carts into an object usable by daffodil.
|
|
36
|
+
*/
|
|
37
|
+
export declare class DaffMagentoCountryTransformer {
|
|
38
|
+
subdivisionTransformer: DaffMagentoSubdivisionTransformer;
|
|
39
|
+
constructor(subdivisionTransformer: DaffMagentoSubdivisionTransformer);
|
|
40
|
+
private transformSubdivisions;
|
|
41
|
+
/**
|
|
42
|
+
* Transforms the MagentoCountry from the magento country query into a DaffCountry.
|
|
43
|
+
*/
|
|
44
|
+
transform(country: MagentoCountry): DaffCountry;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffMagentoCountryTransformer, never>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
47
|
+
}
|
|
48
|
+
export declare const countryFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
49
|
+
export declare const regionFragment: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
50
|
+
export interface MagentoGetCountriesResponse {
|
|
51
|
+
countries: MagentoCountry[];
|
|
52
|
+
}
|
|
53
|
+
export interface MagentoGetCountryResponse {
|
|
54
|
+
country: MagentoCountry;
|
|
55
|
+
}
|
|
56
|
+
export declare const MAGENTO_GET_COUNTRIES_QUERY_NAME = "MagentoGetCountries";
|
|
57
|
+
export declare const getCountries: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
58
|
+
export declare const MAGENTO_GET_COUNTRY_QUERY_NAME = "MagentoGetCountry";
|
|
59
|
+
export declare const getCountry: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
60
|
+
/**
|
|
61
|
+
* A service for making Magento GraphQL queries for carts.
|
|
62
|
+
*
|
|
63
|
+
* @inheritdoc
|
|
64
|
+
*/
|
|
65
|
+
export declare class DaffGeographyMagentoService implements DaffGeographyServiceInterface<DaffCountry> {
|
|
66
|
+
private apollo;
|
|
67
|
+
countryTransformer: DaffMagentoCountryTransformer;
|
|
68
|
+
constructor(apollo: Apollo, countryTransformer: DaffMagentoCountryTransformer);
|
|
69
|
+
list(): Observable<DaffCountry[]>;
|
|
70
|
+
get(countryId: DaffCountry['id']): Observable<DaffCountry>;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffGeographyMagentoService, never>;
|
|
72
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated in favor of {@link provideDaffGeographyMagentoDriver} Deprecated in version 0.95.0. Will be removed in version 0.98.0.
|
|
76
|
+
*/
|
|
77
|
+
export declare class DaffGeographyMagentoDriverModule {
|
|
78
|
+
static forRoot(): ModuleWithProviders<DaffGeographyMagentoDriverModule>;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffGeographyMagentoDriverModule, never>;
|
|
80
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffGeographyMagentoDriverModule, never, [typeof i1.CommonModule], never>;
|
|
81
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffGeographyMagentoDriverModule>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Provides the Magento implementation of the `@daffodil/geography/driver` interfaces.
|
|
85
|
+
*/
|
|
86
|
+
export declare const provideDaffGeographyMagentoDriver: () => EnvironmentProviders;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -1,29 +1,32 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { ModuleWithProviders } from
|
|
3
|
-
import * as i1 from
|
|
4
|
-
import { Observable } from
|
|
5
|
-
import { DaffCountry } from
|
|
6
|
-
import { DaffGeographyServiceInterface } from
|
|
7
|
-
import { DaffCountryFactory, DaffSubdivisionFactory } from
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EnvironmentProviders, ModuleWithProviders } from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import { Observable } from "rxjs";
|
|
5
|
+
import { DaffCountry } from "@daffodil/geography";
|
|
6
|
+
import { DaffGeographyServiceInterface } from "@daffodil/geography/driver";
|
|
7
|
+
import { DaffCountryFactory, DaffSubdivisionFactory } from "@daffodil/geography/testing";
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated in favor of {@link provideDaffGeographyTestingDriver} Deprecated in version 0.95.0. Will be removed in version 0.98.0.
|
|
10
|
+
*/
|
|
11
|
+
export declare class DaffGeographyTestingDriverModule {
|
|
12
|
+
static forRoot(): ModuleWithProviders<DaffGeographyTestingDriverModule>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffGeographyTestingDriverModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffGeographyTestingDriverModule, never, [typeof i1.CommonModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffGeographyTestingDriverModule>;
|
|
14
16
|
}
|
|
15
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Provides the testing implementation of the `@daffodil/geography/driver` interfaces.
|
|
19
|
+
*/
|
|
20
|
+
export declare const provideDaffGeographyTestingDriver: () => EnvironmentProviders;
|
|
16
21
|
/**
|
|
17
22
|
* @inheritdoc
|
|
18
23
|
*/
|
|
19
|
-
declare class DaffTestingGeographyService implements DaffGeographyServiceInterface<DaffCountry> {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { DaffGeographyTestingDriverModule, DaffTestingGeographyService };
|
|
24
|
+
export declare class DaffTestingGeographyService implements DaffGeographyServiceInterface<DaffCountry> {
|
|
25
|
+
private countryFactory;
|
|
26
|
+
private subdivisionFactory;
|
|
27
|
+
constructor(countryFactory: DaffCountryFactory, subdivisionFactory: DaffSubdivisionFactory);
|
|
28
|
+
get(countryId: DaffCountry['id']): Observable<DaffCountry>;
|
|
29
|
+
list(): Observable<DaffCountry[]>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTestingGeographyService, never>;
|
|
31
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
32
|
+
}
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
readonly code: string;
|
|
9
|
-
constructor(message: string);
|
|
1
|
+
import { DaffError, DaffInheritableError } from "@daffodil/core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { DaffCountry } from "@daffodil/geography";
|
|
4
|
+
export declare class DaffCountryNotFoundError extends DaffInheritableError implements DaffError {
|
|
5
|
+
message: string;
|
|
6
|
+
readonly code: string;
|
|
7
|
+
constructor(message: string);
|
|
10
8
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
constructor(message: string);
|
|
9
|
+
export declare class DaffGeographyInvalidAPIResponseError extends DaffInheritableError implements DaffError {
|
|
10
|
+
message: string;
|
|
11
|
+
readonly code: string;
|
|
12
|
+
constructor(message: string);
|
|
16
13
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
get(id: T['id']): Observable<T>;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { DaffCountryNotFoundError, DaffGeographyDriver, DaffGeographyInvalidAPIResponseError, provideDaffGeographyDriver };
|
|
32
|
-
export type { DaffGeographyServiceInterface };
|
|
14
|
+
export declare const DaffGeographyDriver: import("@angular/core").InjectionToken<DaffGeographyServiceInterface<DaffCountry>>, provideDaffGeographyDriver: <R extends DaffGeographyServiceInterface<DaffCountry> = DaffGeographyServiceInterface<DaffCountry>>(klass: import("@angular/core").Type<R>) => import("@angular/core").ExistingProvider;
|
|
15
|
+
export interface DaffGeographyServiceInterface<T extends DaffCountry = DaffCountry> {
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves the list of countries available to the given store.
|
|
18
|
+
*/
|
|
19
|
+
list(): Observable<T[]>;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve precise information about a specific country.
|
|
22
|
+
*/
|
|
23
|
+
get(id: T['id']): Observable<T>;
|
|
24
|
+
}
|
|
@@ -1,33 +1,37 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EnvironmentProviders } from "@angular/core";
|
|
3
|
+
import { Dictionary } from "@ngrx/entity";
|
|
4
|
+
import { Action } from "@ngrx/store";
|
|
5
|
+
import { BehaviorSubject } from "rxjs";
|
|
6
|
+
import { DaffStateError } from "@daffodil/core/state";
|
|
7
|
+
import { DaffCountry } from "@daffodil/geography";
|
|
8
|
+
import { DaffGeographyFacadeInterface } from "@daffodil/geography/state";
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated in favor of {@link provideDaffGeographyStateTesting} Deprecated in version 0.95.0. Will be removed in version 0.98.0.
|
|
11
|
+
*/
|
|
12
|
+
export declare class DaffGeographyStateTestingModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffGeographyStateTestingModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffGeographyStateTestingModule, never, never, never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffGeographyStateTestingModule>;
|
|
13
16
|
}
|
|
14
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Provides {@link MockDaffGeographyFacade} in place of {@link DaffGeographyFacade}.
|
|
19
|
+
*/
|
|
20
|
+
export declare const provideDaffGeographyStateTesting: () => EnvironmentProviders;
|
|
15
21
|
/**
|
|
16
22
|
* @inheritdoc
|
|
17
23
|
*/
|
|
18
|
-
declare class MockDaffGeographyFacade implements DaffGeographyFacadeInterface {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { DaffGeographyStateTestingModule, MockDaffGeographyFacade };
|
|
24
|
+
export declare class MockDaffGeographyFacade implements DaffGeographyFacadeInterface {
|
|
25
|
+
loading$: BehaviorSubject<boolean>;
|
|
26
|
+
errors$: BehaviorSubject<DaffStateError[]>;
|
|
27
|
+
countries$: BehaviorSubject<DaffCountry[]>;
|
|
28
|
+
countryIds$: BehaviorSubject<DaffCountry['id'][]>;
|
|
29
|
+
countryCount$: BehaviorSubject<number>;
|
|
30
|
+
countryEntities$: BehaviorSubject<Dictionary<DaffCountry>>;
|
|
31
|
+
getCountry(id: any): BehaviorSubject<any>;
|
|
32
|
+
getCountrySubdivisions(id: any): BehaviorSubject<any[]>;
|
|
33
|
+
isCountryFullyLoaded(id: any): BehaviorSubject<boolean>;
|
|
34
|
+
dispatch(action: Action): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockDaffGeographyFacade, never>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
37
|
+
}
|