@rxap/config 19.3.0-dev.4 → 19.3.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/CHANGELOG.md +4 -0
- package/compodoc/changelog.html +11 -0
- package/compodoc/dependencies.html +2 -2
- package/compodoc/index.html +69 -1
- package/compodoc/injectables/ConfigService.html +210 -102
- package/compodoc/interfaces/ConfigLoadError.html +610 -0
- package/compodoc/interfaces/ConfigLoadOptions.html +213 -66
- package/compodoc/js/menu-wc.js +3 -0
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +130 -1
- package/compodoc/miscellaneous/typealiases.html +78 -0
- package/compodoc/overview.html +1 -1
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +2441 -1293
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/highlight.css +42 -0
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ConfigLoaderService.html +2 -2
- package/docs/html/classes/ConfigService.html +8 -6
- package/docs/html/classes/ConfigTestingService.html +2 -2
- package/docs/html/enums/ConfigLoadMethod.html +2 -2
- package/docs/html/enums/ConfigLoadingStrategy.html +2 -2
- package/docs/html/functions/ProvideConfig.html +1 -1
- package/docs/html/functions/defaultConfigLoadErrorHandler.html +4 -0
- package/docs/html/functions/dnsLookup.html +1 -1
- package/docs/html/functions/dnsResolver.html +1 -1
- package/docs/html/functions/fetchCidContent.html +1 -1
- package/docs/html/functions/fetchCidContentAsJson.html +1 -1
- package/docs/html/functions/fetchCidContentViaHttp.html +1 -1
- package/docs/html/functions/fetchContentViaHttp.html +1 -1
- package/docs/html/functions/localPathIpfsGateway.html +1 -1
- package/docs/html/functions/localSubDomainIpfsGateway.html +1 -1
- package/docs/html/functions/raceSuccess.html +2 -2
- package/docs/html/functions/showConfigLoadError.html +2 -0
- package/docs/html/functions/storachaIpfsGateway.html +1 -1
- package/docs/html/functions/w3sIpfsGateway.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +54 -2
- package/docs/html/interfaces/AppsNavigationConfig.html +2 -2
- package/docs/html/interfaces/Config.html +2 -2
- package/docs/html/interfaces/ConfigLoadError.html +11 -0
- package/docs/html/interfaces/ConfigLoadOptions.html +13 -6
- package/docs/html/interfaces/LogoConfig.html +2 -2
- package/docs/html/interfaces/NavigationConfig.html +2 -2
- package/docs/html/interfaces/Oauth2Config.html +2 -2
- package/docs/html/interfaces/i18nConfig.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AnySchema.html +1 -1
- package/docs/html/types/ConfigLoadErrorHandler.html +2 -0
- package/docs/html/types/ConfigLoadErrorKind.html +9 -0
- package/docs/html/types/ConfigRequestOptions.html +1 -0
- package/docs/html/types/IpfsGatewayFunction.html +1 -1
- package/docs/html/types/Join.html +1 -1
- package/docs/html/types/LanguagesConfig.html +1 -1
- package/docs/html/types/Leaves.html +1 -1
- package/docs/html/types/NoInferType.html +1 -1
- package/docs/html/types/Paths.html +1 -1
- package/docs/html/variables/RXAP_CONFIG.html +1 -1
- package/docs/html/variables/defaultDnsServers.html +1 -1
- package/docs/html/variables/defaultIpfsGatewayServers.html +1 -1
- package/docs/markdown/README.md +54 -1
- package/docs/markdown/classes/ConfigLoaderService.md +7 -7
- package/docs/markdown/classes/ConfigService.md +37 -23
- package/docs/markdown/classes/ConfigTestingService.md +8 -8
- package/docs/markdown/enumerations/ConfigLoadMethod.md +6 -6
- package/docs/markdown/enumerations/ConfigLoadingStrategy.md +4 -4
- package/docs/markdown/functions/ProvideConfig.md +2 -2
- package/docs/markdown/functions/defaultConfigLoadErrorHandler.md +26 -0
- package/docs/markdown/functions/dnsLookup.md +2 -2
- package/docs/markdown/functions/dnsResolver.md +2 -2
- package/docs/markdown/functions/fetchCidContent.md +2 -2
- package/docs/markdown/functions/fetchCidContentAsJson.md +2 -2
- package/docs/markdown/functions/fetchCidContentViaHttp.md +2 -2
- package/docs/markdown/functions/fetchContentViaHttp.md +2 -2
- package/docs/markdown/functions/localPathIpfsGateway.md +2 -2
- package/docs/markdown/functions/localSubDomainIpfsGateway.md +2 -2
- package/docs/markdown/functions/raceSuccess.md +2 -2
- package/docs/markdown/functions/showConfigLoadError.md +23 -0
- package/docs/markdown/functions/storachaIpfsGateway.md +2 -2
- package/docs/markdown/functions/w3sIpfsGateway.md +2 -2
- package/docs/markdown/globals.md +8 -2
- package/docs/markdown/interfaces/AppsNavigationConfig.md +12 -12
- package/docs/markdown/interfaces/Config.md +6 -6
- package/docs/markdown/interfaces/ConfigLoadError.md +70 -0
- package/docs/markdown/interfaces/ConfigLoadOptions.md +39 -15
- package/docs/markdown/interfaces/LogoConfig.md +5 -5
- package/docs/markdown/interfaces/NavigationConfig.md +9 -9
- package/docs/markdown/interfaces/Oauth2Config.md +3 -3
- package/docs/markdown/interfaces/i18nConfig.md +4 -4
- package/docs/markdown/type-aliases/AnySchema.md +2 -2
- package/docs/markdown/type-aliases/ConfigLoadErrorHandler.md +23 -0
- package/docs/markdown/type-aliases/ConfigLoadErrorKind.md +19 -0
- package/docs/markdown/type-aliases/ConfigRequestOptions.md +11 -0
- package/docs/markdown/type-aliases/IpfsGatewayFunction.md +2 -2
- package/docs/markdown/type-aliases/Join.md +2 -2
- package/docs/markdown/type-aliases/LanguagesConfig.md +2 -2
- package/docs/markdown/type-aliases/Leaves.md +2 -2
- package/docs/markdown/type-aliases/NoInferType.md +2 -2
- package/docs/markdown/type-aliases/Paths.md +2 -2
- package/docs/markdown/variables/RXAP_CONFIG.md +2 -2
- package/docs/markdown/variables/defaultDnsServers.md +2 -2
- package/docs/markdown/variables/defaultIpfsGatewayServers.md +2 -2
- package/docs/wiki/Class.ConfigLoaderService.md +6 -6
- package/docs/wiki/Class.ConfigService.md +36 -22
- package/docs/wiki/Class.ConfigTestingService.md +7 -7
- package/docs/wiki/Enumeration.ConfigLoadMethod.md +5 -5
- package/docs/wiki/Enumeration.ConfigLoadingStrategy.md +3 -3
- package/docs/wiki/Function.ProvideConfig.md +1 -1
- package/docs/wiki/Function.defaultConfigLoadErrorHandler.md +22 -0
- package/docs/wiki/Function.dnsLookup.md +1 -1
- package/docs/wiki/Function.dnsResolver.md +1 -1
- package/docs/wiki/Function.fetchCidContent.md +1 -1
- package/docs/wiki/Function.fetchCidContentAsJson.md +1 -1
- package/docs/wiki/Function.fetchCidContentViaHttp.md +1 -1
- package/docs/wiki/Function.fetchContentViaHttp.md +1 -1
- package/docs/wiki/Function.localPathIpfsGateway.md +1 -1
- package/docs/wiki/Function.localSubDomainIpfsGateway.md +1 -1
- package/docs/wiki/Function.raceSuccess.md +1 -1
- package/docs/wiki/Function.showConfigLoadError.md +19 -0
- package/docs/wiki/Function.storachaIpfsGateway.md +1 -1
- package/docs/wiki/Function.w3sIpfsGateway.md +1 -1
- package/docs/wiki/Home.md +53 -0
- package/docs/wiki/Interface.AppsNavigationConfig.md +11 -11
- package/docs/wiki/Interface.Config.md +5 -5
- package/docs/wiki/Interface.ConfigLoadError.md +66 -0
- package/docs/wiki/Interface.ConfigLoadOptions.md +38 -14
- package/docs/wiki/Interface.LogoConfig.md +4 -4
- package/docs/wiki/Interface.NavigationConfig.md +8 -8
- package/docs/wiki/Interface.Oauth2Config.md +2 -2
- package/docs/wiki/Interface.i18nConfig.md +3 -3
- package/docs/wiki/TypeAlias.AnySchema.md +1 -1
- package/docs/wiki/TypeAlias.ConfigLoadErrorHandler.md +19 -0
- package/docs/wiki/TypeAlias.ConfigLoadErrorKind.md +15 -0
- package/docs/wiki/TypeAlias.ConfigRequestOptions.md +7 -0
- package/docs/wiki/TypeAlias.IpfsGatewayFunction.md +1 -1
- package/docs/wiki/TypeAlias.Join.md +1 -1
- package/docs/wiki/TypeAlias.LanguagesConfig.md +1 -1
- package/docs/wiki/TypeAlias.Leaves.md +1 -1
- package/docs/wiki/TypeAlias.NoInferType.md +1 -1
- package/docs/wiki/TypeAlias.Paths.md +1 -1
- package/docs/wiki/Variable.RXAP_CONFIG.md +1 -1
- package/docs/wiki/Variable.defaultDnsServers.md +1 -1
- package/docs/wiki/Variable.defaultIpfsGatewayServers.md +1 -1
- package/docs/wiki/_Sidebar.md +6 -0
- package/docs/wiki/globals.md +7 -1
- package/package.json +5 -5
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/config](../globals.md) / ConfigRequestOptions
|
|
6
|
+
|
|
7
|
+
# Type Alias: ConfigRequestOptions
|
|
8
|
+
|
|
9
|
+
> **ConfigRequestOptions**: `Pick`\<[`ConfigLoadOptions`](../interfaces/ConfigLoadOptions.md), `"errorHandler"` \| `"requestInit"`\>
|
|
10
|
+
|
|
11
|
+
Defined in: [config.service.ts:87](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L87)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **IpfsGatewayFunction**: (`cid`) => `string`
|
|
10
10
|
|
|
11
|
-
Defined in: [utilities.ts:125](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [utilities.ts:125](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L125)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **Join**\<`K`, `P`\>: `K` *extends* `string` \| `number` ? `P` *extends* `string` \| `number` ? `` `${K}${"" extends P ? "" : "."}${P}` `` : `never` : `never`
|
|
10
10
|
|
|
11
|
-
Defined in: [types.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [types.ts:8](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/types.ts#L8)
|
|
12
12
|
|
|
13
13
|
## Type Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
> **LanguagesConfig**: `Record`\<`string`, `string`\>
|
|
10
10
|
|
|
11
|
-
Defined in: [config.ts:32](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [config.ts:32](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L32)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **Leaves**\<`T`, `D`\>: \[`D`\] *extends* \[`never`\] ? `never` : `T` *extends* `object` ? `{ [K in keyof T]-?: Join<K, Leaves<T[K], Prev[D]>> }`\[keyof `T`\] : `""`
|
|
10
10
|
|
|
11
|
-
Defined in: [types.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [types.ts:20](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/types.ts#L20)
|
|
12
12
|
|
|
13
13
|
## Type Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **NoInferType**\<`T`\>: \[`T`\]\[`T` *extends* `any` ? `0` : `never`\]
|
|
10
10
|
|
|
11
|
-
Defined in: [types.ts:1](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [types.ts:1](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/types.ts#L1)
|
|
12
12
|
|
|
13
13
|
## Type Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **Paths**\<`T`, `D`\>: \[`D`\] *extends* \[`never`\] ? `never` : `T` *extends* `object` ? \{ \[K in keyof T\]-?: K extends string \| number ? \`$\{K\}\` \| Join\<K, Paths\<T\[K\], Prev\[D\]\>\> : never \}\[keyof `T`\] : `""`
|
|
10
10
|
|
|
11
|
-
Defined in: [types.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [types.ts:13](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/types.ts#L13)
|
|
12
12
|
|
|
13
13
|
## Type Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **RXAP\_CONFIG**: `InjectionToken`\<`unknown`\>
|
|
10
10
|
|
|
11
|
-
Defined in: [tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/tokens.ts#L3)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **defaultDnsServers**: `string`[]
|
|
10
10
|
|
|
11
|
-
Defined in: [utilities.ts:62](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [utilities.ts:62](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L62)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/config v19.3.0
|
|
1
|
+
[**@rxap/config v19.3.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **defaultIpfsGatewayServers**: [`IpfsGatewayFunction`](../type-aliases/IpfsGatewayFunction.md)[]
|
|
10
10
|
|
|
11
|
-
Defined in: [utilities.ts:132](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [utilities.ts:132](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L132)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: ConfigLoaderService
|
|
4
4
|
|
|
5
|
-
Defined in: [config-loader.service.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [config-loader.service.ts:16](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-loader.service.ts#L16)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config-loader.service.ts:16](https://gitlab.com/rxap/packages/-/blo
|
|
|
10
10
|
|
|
11
11
|
> **new ConfigLoaderService**(`http`): [`ConfigLoaderService`](../wiki/Class.ConfigLoaderService)
|
|
12
12
|
|
|
13
|
-
Defined in: [config-loader.service.ts:21](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [config-loader.service.ts:21](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-loader.service.ts#L21)
|
|
14
14
|
|
|
15
15
|
#### Parameters
|
|
16
16
|
|
|
@@ -28,7 +28,7 @@ Defined in: [config-loader.service.ts:21](https://gitlab.com/rxap/packages/-/blo
|
|
|
28
28
|
|
|
29
29
|
> `readonly` **configLoading**: `Map`\<`string`, `Observable`\<`any`\>\>
|
|
30
30
|
|
|
31
|
-
Defined in: [config-loader.service.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
31
|
+
Defined in: [config-loader.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-loader.service.ts#L19)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ Defined in: [config-loader.service.ts:19](https://gitlab.com/rxap/packages/-/blo
|
|
|
36
36
|
|
|
37
37
|
> `readonly` **configs**: `Map`\<`string`, `any`\>
|
|
38
38
|
|
|
39
|
-
Defined in: [config-loader.service.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
39
|
+
Defined in: [config-loader.service.ts:17](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-loader.service.ts#L17)
|
|
40
40
|
|
|
41
41
|
***
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Defined in: [config-loader.service.ts:17](https://gitlab.com/rxap/packages/-/blo
|
|
|
44
44
|
|
|
45
45
|
> `readonly` **http**: `HttpClient`
|
|
46
46
|
|
|
47
|
-
Defined in: [config-loader.service.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
47
|
+
Defined in: [config-loader.service.ts:23](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-loader.service.ts#L23)
|
|
48
48
|
|
|
49
49
|
## Methods
|
|
50
50
|
|
|
@@ -52,7 +52,7 @@ Defined in: [config-loader.service.ts:23](https://gitlab.com/rxap/packages/-/blo
|
|
|
52
52
|
|
|
53
53
|
> **load$**\<`T`\>(`url`): `Promise`\<`T`\>
|
|
54
54
|
|
|
55
|
-
Defined in: [config-loader.service.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
55
|
+
Defined in: [config-loader.service.ts:27](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-loader.service.ts#L27)
|
|
56
56
|
|
|
57
57
|
#### Type Parameters
|
|
58
58
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: ConfigService\<Config\>
|
|
4
4
|
|
|
5
|
-
Defined in: [config.service.ts:
|
|
5
|
+
Defined in: [config.service.ts:92](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L92)
|
|
6
6
|
|
|
7
7
|
## Type Parameters
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [config.service.ts:73](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
14
14
|
|
|
15
15
|
> **new ConfigService**\<`Config`\>(`config`): [`ConfigService`](../wiki/Class.ConfigService)\<`Config`\>
|
|
16
16
|
|
|
17
|
-
Defined in: [config.service.ts:
|
|
17
|
+
Defined in: [config.service.ts:128](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L128)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -32,7 +32,7 @@ Defined in: [config.service.ts:104](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
32
32
|
|
|
33
33
|
> `readonly` **config**: `Config`
|
|
34
34
|
|
|
35
|
-
Defined in: [config.service.ts:
|
|
35
|
+
Defined in: [config.service.ts:126](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L126)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Defined in: [config.service.ts:102](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
40
40
|
|
|
41
41
|
> `static` **Config**: `any` = `null`
|
|
42
42
|
|
|
43
|
-
Defined in: [config.service.ts:
|
|
43
|
+
Defined in: [config.service.ts:100](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L100)
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Defined in: [config.service.ts:81](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
48
48
|
|
|
49
49
|
> `static` **Defaults**: `any` = `{}`
|
|
50
50
|
|
|
51
|
-
Defined in: [config.service.ts:
|
|
51
|
+
Defined in: [config.service.ts:107](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L107)
|
|
52
52
|
|
|
53
53
|
Static default values for the config object.
|
|
54
54
|
Will be overwritten by an dynamic config file specified in
|
|
@@ -60,7 +60,7 @@ the Urls array.
|
|
|
60
60
|
|
|
61
61
|
> `static` **LocalStorageKey**: `string` = `'rxap/config/local-config'`
|
|
62
62
|
|
|
63
|
-
Defined in: [config.service.ts:
|
|
63
|
+
Defined in: [config.service.ts:115](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L115)
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
@@ -68,7 +68,7 @@ Defined in: [config.service.ts:96](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
68
68
|
|
|
69
69
|
> `static` **onError**: `ReplaySubject`\<`unknown`\>
|
|
70
70
|
|
|
71
|
-
Defined in: [config.service.ts:
|
|
71
|
+
Defined in: [config.service.ts:94](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L94)
|
|
72
72
|
|
|
73
73
|
***
|
|
74
74
|
|
|
@@ -76,7 +76,7 @@ Defined in: [config.service.ts:75](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
76
76
|
|
|
77
77
|
> `static` **onErrorFnc**: (`error`) => `void`[] = `[]`
|
|
78
78
|
|
|
79
|
-
Defined in: [config.service.ts:
|
|
79
|
+
Defined in: [config.service.ts:97](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L97)
|
|
80
80
|
|
|
81
81
|
#### Parameters
|
|
82
82
|
|
|
@@ -94,7 +94,7 @@ Defined in: [config.service.ts:78](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
94
94
|
|
|
95
95
|
> `static` **onRequestError**: `ReplaySubject`\<`Response`\>
|
|
96
96
|
|
|
97
|
-
Defined in: [config.service.ts:
|
|
97
|
+
Defined in: [config.service.ts:95](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L95)
|
|
98
98
|
|
|
99
99
|
***
|
|
100
100
|
|
|
@@ -102,7 +102,7 @@ Defined in: [config.service.ts:76](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
102
102
|
|
|
103
103
|
> `static` **onRequestErrorFnc**: (`response`) => `void`[] = `[]`
|
|
104
104
|
|
|
105
|
-
Defined in: [config.service.ts:
|
|
105
|
+
Defined in: [config.service.ts:98](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L98)
|
|
106
106
|
|
|
107
107
|
#### Parameters
|
|
108
108
|
|
|
@@ -120,18 +120,28 @@ Defined in: [config.service.ts:79](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
120
120
|
|
|
121
121
|
> `static` **Overwrites**: `any` = `{}`
|
|
122
122
|
|
|
123
|
-
Defined in: [config.service.ts:
|
|
123
|
+
Defined in: [config.service.ts:113](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L113)
|
|
124
124
|
|
|
125
125
|
Any value definition in the Overwrites object will overwrite any
|
|
126
126
|
value form the Defaults values or dynamic config files
|
|
127
127
|
|
|
128
128
|
***
|
|
129
129
|
|
|
130
|
+
### RequestOptions
|
|
131
|
+
|
|
132
|
+
> `static` **RequestOptions**: [`ConfigRequestOptions`](../wiki/TypeAlias.ConfigRequestOptions) = `{}`
|
|
133
|
+
|
|
134
|
+
Defined in: [config.service.ts:120](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L120)
|
|
135
|
+
|
|
136
|
+
The errorHandler and requestInit of the last Load call. Used by SideLoad.
|
|
137
|
+
|
|
138
|
+
***
|
|
139
|
+
|
|
130
140
|
### ~~Urls~~
|
|
131
141
|
|
|
132
142
|
> `static` **Urls**: `never`[] = `[]`
|
|
133
143
|
|
|
134
|
-
Defined in: [config.service.ts:
|
|
144
|
+
Defined in: [config.service.ts:125](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L125)
|
|
135
145
|
|
|
136
146
|
#### Deprecated
|
|
137
147
|
|
|
@@ -143,7 +153,7 @@ instead use the url property of the ConfigLoadOptions
|
|
|
143
153
|
|
|
144
154
|
> **clearLocalConfig**(): `void`
|
|
145
155
|
|
|
146
|
-
Defined in: [config.service.ts:
|
|
156
|
+
Defined in: [config.service.ts:598](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L598)
|
|
147
157
|
|
|
148
158
|
#### Returns
|
|
149
159
|
|
|
@@ -157,7 +167,7 @@ Defined in: [config.service.ts:556](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
157
167
|
|
|
158
168
|
> **get**\<`T`\>(`propertyPath`): `undefined` \| `T`
|
|
159
169
|
|
|
160
|
-
Defined in: [config.service.ts:
|
|
170
|
+
Defined in: [config.service.ts:602](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L602)
|
|
161
171
|
|
|
162
172
|
##### Type Parameters
|
|
163
173
|
|
|
@@ -177,7 +187,7 @@ Defined in: [config.service.ts:560](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
177
187
|
|
|
178
188
|
> **get**\<`T`\>(`propertyPath`, `defaultValue`): `T`
|
|
179
189
|
|
|
180
|
-
Defined in: [config.service.ts:
|
|
190
|
+
Defined in: [config.service.ts:603](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L603)
|
|
181
191
|
|
|
182
192
|
##### Type Parameters
|
|
183
193
|
|
|
@@ -205,7 +215,7 @@ Defined in: [config.service.ts:561](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
205
215
|
|
|
206
216
|
> **getOrThrow**\<`T`\>(`propertyPath`): `T`
|
|
207
217
|
|
|
208
|
-
Defined in: [config.service.ts:
|
|
218
|
+
Defined in: [config.service.ts:608](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L608)
|
|
209
219
|
|
|
210
220
|
##### Type Parameters
|
|
211
221
|
|
|
@@ -225,7 +235,7 @@ Defined in: [config.service.ts:566](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
225
235
|
|
|
226
236
|
> **getOrThrow**\<`T`\>(`propertyPath`, `defaultValue`): `T`
|
|
227
237
|
|
|
228
|
-
Defined in: [config.service.ts:
|
|
238
|
+
Defined in: [config.service.ts:609](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L609)
|
|
229
239
|
|
|
230
240
|
##### Type Parameters
|
|
231
241
|
|
|
@@ -251,7 +261,7 @@ Defined in: [config.service.ts:567](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
251
261
|
|
|
252
262
|
> **setLocalConfig**(`config`): `void`
|
|
253
263
|
|
|
254
|
-
Defined in: [config.service.ts:
|
|
264
|
+
Defined in: [config.service.ts:594](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L594)
|
|
255
265
|
|
|
256
266
|
#### Parameters
|
|
257
267
|
|
|
@@ -269,7 +279,7 @@ Defined in: [config.service.ts:552](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
269
279
|
|
|
270
280
|
> `static` **Get**\<`T`, `K`\>(`path`, `defaultValue`, `config`): `T`
|
|
271
281
|
|
|
272
|
-
Defined in: [config.service.ts:
|
|
282
|
+
Defined in: [config.service.ts:562](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L562)
|
|
273
283
|
|
|
274
284
|
#### Type Parameters
|
|
275
285
|
|
|
@@ -301,7 +311,7 @@ Defined in: [config.service.ts:494](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
301
311
|
|
|
302
312
|
> `static` **Load**(`options`?, `environment`?): `Promise`\<`void`\>
|
|
303
313
|
|
|
304
|
-
Defined in: [config.service.ts:
|
|
314
|
+
Defined in: [config.service.ts:146](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L146)
|
|
305
315
|
|
|
306
316
|
Used to load the app config from a remote resource.
|
|
307
317
|
|
|
@@ -327,9 +337,9 @@ Promise.all([ ConfigService.Load() ])
|
|
|
327
337
|
|
|
328
338
|
### SideLoad()
|
|
329
339
|
|
|
330
|
-
> `static` **SideLoad**(`url`, `propertyPath`, `required`?, `schema`?): `Promise`\<`void`\>
|
|
340
|
+
> `static` **SideLoad**(`url`, `propertyPath`, `required`?, `schema`?, `options`?): `Promise`\<`void`\>
|
|
331
341
|
|
|
332
|
-
Defined in: [config.service.ts:
|
|
342
|
+
Defined in: [config.service.ts:542](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L542)
|
|
333
343
|
|
|
334
344
|
#### Parameters
|
|
335
345
|
|
|
@@ -349,6 +359,10 @@ Defined in: [config.service.ts:475](https://gitlab.com/rxap/packages/-/blob/c440
|
|
|
349
359
|
|
|
350
360
|
[`AnySchema`](../wiki/TypeAlias.AnySchema)
|
|
351
361
|
|
|
362
|
+
##### options?
|
|
363
|
+
|
|
364
|
+
[`ConfigRequestOptions`](../wiki/TypeAlias.ConfigRequestOptions) = `...`
|
|
365
|
+
|
|
352
366
|
#### Returns
|
|
353
367
|
|
|
354
368
|
`Promise`\<`void`\>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: ConfigTestingService
|
|
4
4
|
|
|
5
|
-
Defined in: [config-testing-service.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [config-testing-service.ts:9](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-testing-service.ts#L9)
|
|
6
6
|
|
|
7
7
|
## Implements
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ Defined in: [config-testing-service.ts:9](https://gitlab.com/rxap/packages/-/blo
|
|
|
24
24
|
|
|
25
25
|
> `readonly` **config**: `Record`\<`string`, `any`\> = `{}`
|
|
26
26
|
|
|
27
|
-
Defined in: [config-testing-service.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
27
|
+
Defined in: [config-testing-service.ts:10](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-testing-service.ts#L10)
|
|
28
28
|
|
|
29
29
|
#### Implementation of
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ Defined in: [config-testing-service.ts:10](https://gitlab.com/rxap/packages/-/bl
|
|
|
36
36
|
|
|
37
37
|
> **clearLocalConfig**(): `void`
|
|
38
38
|
|
|
39
|
-
Defined in: [config-testing-service.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
39
|
+
Defined in: [config-testing-service.ts:13](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-testing-service.ts#L13)
|
|
40
40
|
|
|
41
41
|
#### Returns
|
|
42
42
|
|
|
@@ -52,7 +52,7 @@ Defined in: [config-testing-service.ts:13](https://gitlab.com/rxap/packages/-/bl
|
|
|
52
52
|
|
|
53
53
|
> **get**\<`T`\>(`propertyPath`, `defaultValue`?): `undefined` \| `T`
|
|
54
54
|
|
|
55
|
-
Defined in: [config-testing-service.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
55
|
+
Defined in: [config-testing-service.ts:20](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-testing-service.ts#L20)
|
|
56
56
|
|
|
57
57
|
#### Type Parameters
|
|
58
58
|
|
|
@@ -82,7 +82,7 @@ Defined in: [config-testing-service.ts:20](https://gitlab.com/rxap/packages/-/bl
|
|
|
82
82
|
|
|
83
83
|
> **getOrThrow**\<`T`\>(`propertyPath`): `T`
|
|
84
84
|
|
|
85
|
-
Defined in: [config-testing-service.ts:24](https://gitlab.com/rxap/packages/-/blob/
|
|
85
|
+
Defined in: [config-testing-service.ts:24](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-testing-service.ts#L24)
|
|
86
86
|
|
|
87
87
|
#### Type Parameters
|
|
88
88
|
|
|
@@ -108,7 +108,7 @@ Defined in: [config-testing-service.ts:24](https://gitlab.com/rxap/packages/-/bl
|
|
|
108
108
|
|
|
109
109
|
> **set**\<`T`\>(`propertyPath`, `value`): `void`
|
|
110
110
|
|
|
111
|
-
Defined in: [config-testing-service.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
111
|
+
Defined in: [config-testing-service.ts:16](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-testing-service.ts#L16)
|
|
112
112
|
|
|
113
113
|
#### Type Parameters
|
|
114
114
|
|
|
@@ -134,7 +134,7 @@ Defined in: [config-testing-service.ts:16](https://gitlab.com/rxap/packages/-/bl
|
|
|
134
134
|
|
|
135
135
|
> **setLocalConfig**(`config`): `void`
|
|
136
136
|
|
|
137
|
-
Defined in: [config-testing-service.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
137
|
+
Defined in: [config-testing-service.ts:33](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-testing-service.ts#L33)
|
|
138
138
|
|
|
139
139
|
#### Parameters
|
|
140
140
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Enumeration: ConfigLoadMethod
|
|
4
4
|
|
|
5
|
-
Defined in: [config.service.ts:
|
|
5
|
+
Defined in: [config.service.ts:34](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L34)
|
|
6
6
|
|
|
7
7
|
## Enumeration Members
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config.service.ts:29](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
10
10
|
|
|
11
11
|
> **FROM\_CID**: `"fromCid"`
|
|
12
12
|
|
|
13
|
-
Defined in: [config.service.ts:
|
|
13
|
+
Defined in: [config.service.ts:38](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L38)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [config.service.ts:33](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
18
18
|
|
|
19
19
|
> **FROM\_LOCAL\_STORAGE**: `"fromLocalStorage"`
|
|
20
20
|
|
|
21
|
-
Defined in: [config.service.ts:
|
|
21
|
+
Defined in: [config.service.ts:36](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L36)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [config.service.ts:31](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
26
26
|
|
|
27
27
|
> **FROM\_URL\_PARAM**: `"fromUrlParam"`
|
|
28
28
|
|
|
29
|
-
Defined in: [config.service.ts:
|
|
29
|
+
Defined in: [config.service.ts:37](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L37)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,4 +34,4 @@ Defined in: [config.service.ts:32](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
34
34
|
|
|
35
35
|
> **FROM\_URLS**: `"fromUrls"`
|
|
36
36
|
|
|
37
|
-
Defined in: [config.service.ts:
|
|
37
|
+
Defined in: [config.service.ts:35](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L35)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Enumeration: ConfigLoadingStrategy
|
|
4
4
|
|
|
5
|
-
Defined in: [config.service.ts:
|
|
5
|
+
Defined in: [config.service.ts:29](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L29)
|
|
6
6
|
|
|
7
7
|
## Enumeration Members
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config.service.ts:24](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
10
10
|
|
|
11
11
|
> **DEFAULT**: `"default"`
|
|
12
12
|
|
|
13
|
-
Defined in: [config.service.ts:
|
|
13
|
+
Defined in: [config.service.ts:30](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L30)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,4 +18,4 @@ Defined in: [config.service.ts:25](https://gitlab.com/rxap/packages/-/blob/c440f
|
|
|
18
18
|
|
|
19
19
|
> **FIFO**: `"fifo"`
|
|
20
20
|
|
|
21
|
-
Defined in: [config.service.ts:
|
|
21
|
+
Defined in: [config.service.ts:31](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L31)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **ProvideConfig**(`config`): `object`
|
|
6
6
|
|
|
7
|
-
Defined in: [provide-config.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide-config.ts:3](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/provide-config.ts#L3)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[@rxap/config](../wiki/globals) / defaultConfigLoadErrorHandler
|
|
2
|
+
|
|
3
|
+
# Function: defaultConfigLoadErrorHandler()
|
|
4
|
+
|
|
5
|
+
> **defaultConfigLoadErrorHandler**(`error`): `void`
|
|
6
|
+
|
|
7
|
+
Defined in: [config-load-error.ts:45](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-load-error.ts#L45)
|
|
8
|
+
|
|
9
|
+
The default config load error handler. Shows the error message in an overlay and reloads the
|
|
10
|
+
page after 30 s for required config urls. Logs a warning for optional config urls.
|
|
11
|
+
|
|
12
|
+
Can be used as fallback in a custom error handler for error kinds it does not handle.
|
|
13
|
+
|
|
14
|
+
## Parameters
|
|
15
|
+
|
|
16
|
+
### error
|
|
17
|
+
|
|
18
|
+
[`ConfigLoadError`](../wiki/Interface.ConfigLoadError)
|
|
19
|
+
|
|
20
|
+
## Returns
|
|
21
|
+
|
|
22
|
+
`void`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **dnsLookup**(`name`, `type`, `dnsServers`): `Promise`\<`string`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:67](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [utilities.ts:67](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L67)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **dnsResolver**(`endpoint`, `name`, `type`): `Promise`\<`string`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:39](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [utilities.ts:39](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L39)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **fetchCidContent**(`cid`, `path`?, `ipfsGatewayServers`?): `Promise`\<`null` \| `Blob`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:153](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [utilities.ts:153](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L153)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **fetchCidContentAsJson**(`cid`, `path`?, `_fetchCidContent`?, `ipfsGatewayServers`?): `Promise`\<`any`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:170](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [utilities.ts:170](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L170)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **fetchCidContentViaHttp**(`cid`, `path`?, `ipfsGatewayServers`?): `Observable`\<`null` \| `Blob`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:139](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [utilities.ts:139](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L139)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|