@rxap/config 19.3.0 → 21.0.1-dev.1
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 +38 -0
- package/compodoc/changelog.html +36 -0
- package/compodoc/dependencies.html +6 -6
- package/compodoc/injectables/ConfigLoaderService.html +10 -77
- package/compodoc/injectables/ConfigService.html +38 -42
- package/compodoc/interfaces/ConfigLoadOptions.html +2 -6
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +904 -950
- package/docs/html/assets/hierarchy.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 +7 -7
- 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 +2 -2
- 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 -2
- 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 +2 -2
- package/docs/html/interfaces/AppsNavigationConfig.html +2 -2
- package/docs/html/interfaces/Config.html +2 -2
- package/docs/html/interfaces/ConfigLoadError.html +4 -4
- package/docs/html/interfaces/ConfigLoadOptions.html +8 -8
- 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 -2
- package/docs/html/types/ConfigLoadErrorKind.html +2 -2
- package/docs/html/types/ConfigRequestOptions.html +1 -1
- 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 +1 -1
- package/docs/markdown/classes/ConfigLoaderService.md +7 -15
- package/docs/markdown/classes/ConfigService.md +23 -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 +2 -2
- 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 +2 -2
- package/docs/markdown/functions/storachaIpfsGateway.md +2 -2
- package/docs/markdown/functions/w3sIpfsGateway.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AppsNavigationConfig.md +12 -12
- package/docs/markdown/interfaces/Config.md +6 -6
- package/docs/markdown/interfaces/ConfigLoadError.md +9 -9
- package/docs/markdown/interfaces/ConfigLoadOptions.md +17 -17
- 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 +2 -2
- package/docs/markdown/type-aliases/ConfigLoadErrorKind.md +2 -2
- package/docs/markdown/type-aliases/ConfigRequestOptions.md +2 -2
- 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 -14
- package/docs/wiki/Class.ConfigService.md +22 -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 +1 -1
- 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 +1 -1
- package/docs/wiki/Function.storachaIpfsGateway.md +1 -1
- package/docs/wiki/Function.w3sIpfsGateway.md +1 -1
- package/docs/wiki/Interface.AppsNavigationConfig.md +11 -11
- package/docs/wiki/Interface.Config.md +5 -5
- package/docs/wiki/Interface.ConfigLoadError.md +8 -8
- package/docs/wiki/Interface.ConfigLoadOptions.md +16 -16
- 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 +1 -1
- package/docs/wiki/TypeAlias.ConfigLoadErrorKind.md +1 -1
- package/docs/wiki/TypeAlias.ConfigRequestOptions.md +1 -1
- 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/globals.md +1 -1
- package/fesm2022/rxap-config.mjs +19 -22
- package/fesm2022/rxap-config.mjs.map +1 -1
- package/package.json +15 -14
- package/types/rxap-config.d.ts +297 -0
- package/index.d.ts +0 -9
- package/lib/config-load-error.d.ts +0 -41
- package/lib/config-loader.service.d.ts +0 -12
- package/lib/config-testing-service.d.ts +0 -12
- package/lib/config.d.ts +0 -41
- package/lib/config.service.d.ts +0 -129
- package/lib/provide-config.d.ts +0 -4
- package/lib/tokens.d.ts +0 -2
- package/lib/types.d.ts +0 -34
- package/lib/utilities.d.ts +0 -19
|
@@ -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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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:30](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L30)
|
|
6
6
|
|
|
7
7
|
## Enumeration Members
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config.service.ts:34](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
10
10
|
|
|
11
11
|
> **FROM\_CID**: `"fromCid"`
|
|
12
12
|
|
|
13
|
-
Defined in: [config.service.ts:
|
|
13
|
+
Defined in: [config.service.ts:34](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L34)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [config.service.ts:38](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
18
18
|
|
|
19
19
|
> **FROM\_LOCAL\_STORAGE**: `"fromLocalStorage"`
|
|
20
20
|
|
|
21
|
-
Defined in: [config.service.ts:
|
|
21
|
+
Defined in: [config.service.ts:32](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L32)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [config.service.ts:36](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
26
26
|
|
|
27
27
|
> **FROM\_URL\_PARAM**: `"fromUrlParam"`
|
|
28
28
|
|
|
29
|
-
Defined in: [config.service.ts:
|
|
29
|
+
Defined in: [config.service.ts:33](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L33)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,4 +34,4 @@ Defined in: [config.service.ts:37](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
34
34
|
|
|
35
35
|
> **FROM\_URLS**: `"fromUrls"`
|
|
36
36
|
|
|
37
|
-
Defined in: [config.service.ts:
|
|
37
|
+
Defined in: [config.service.ts:31](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L31)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Enumeration: ConfigLoadingStrategy
|
|
4
4
|
|
|
5
|
-
Defined in: [config.service.ts:
|
|
5
|
+
Defined in: [config.service.ts:25](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L25)
|
|
6
6
|
|
|
7
7
|
## Enumeration Members
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config.service.ts:29](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
10
10
|
|
|
11
11
|
> **DEFAULT**: `"default"`
|
|
12
12
|
|
|
13
|
-
Defined in: [config.service.ts:
|
|
13
|
+
Defined in: [config.service.ts:26](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L26)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,4 +18,4 @@ Defined in: [config.service.ts:30](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
18
18
|
|
|
19
19
|
> **FIFO**: `"fifo"`
|
|
20
20
|
|
|
21
|
-
Defined in: [config.service.ts:
|
|
21
|
+
Defined in: [config.service.ts:27](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L27)
|
|
@@ -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/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/provide-config.ts#L3)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **defaultConfigLoadErrorHandler**(`error`): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [config-load-error.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [config-load-error.ts:45](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L45)
|
|
8
8
|
|
|
9
9
|
The default config load error handler. Shows the error message in an overlay and reloads the
|
|
10
10
|
page after 30 s for required config urls. Logs a warning for optional config urls.
|
|
@@ -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/be7e221de2deba638078b6c685a94021679a1a5b/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/be7e221de2deba638078b6c685a94021679a1a5b/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:
|
|
7
|
+
Defined in: [utilities.ts:154](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L154)
|
|
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:
|
|
7
|
+
Defined in: [utilities.ts:171](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L171)
|
|
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:
|
|
7
|
+
Defined in: [utilities.ts:140](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L140)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **fetchContentViaHttp**(`url`): `Observable`\<`null` \| `Blob`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:86](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [utilities.ts:86](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L86)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **localPathIpfsGateway**(`cid`): `string`
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:
|
|
7
|
+
Defined in: [utilities.ts:130](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L130)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **localSubDomainIpfsGateway**(`cid`): `string`
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:
|
|
7
|
+
Defined in: [utilities.ts:131](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L131)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **raceSuccess**\<`T`\>(`promises`): `Promise`\<`T`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [utilities.ts:17](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L17)
|
|
8
8
|
|
|
9
9
|
Similar to Promise.race() but only resolves with the first successful promise.
|
|
10
10
|
It will only reject if all promises reject.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **showConfigLoadError**(`message`): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [config-load-error.ts:56](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [config-load-error.ts:56](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L56)
|
|
8
8
|
|
|
9
9
|
Appends the message to the config error overlay and schedules a page reload in 30 s.
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **storachaIpfsGateway**(`cid`): `string`
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:
|
|
7
|
+
Defined in: [utilities.ts:129](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L129)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **w3sIpfsGateway**(`cid`): `string`
|
|
6
6
|
|
|
7
|
-
Defined in: [utilities.ts:
|
|
7
|
+
Defined in: [utilities.ts:128](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L128)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: AppsNavigationConfig
|
|
4
4
|
|
|
5
|
-
Defined in: [config.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [config.ts:3](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L3)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config.ts:3](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f7
|
|
|
10
10
|
|
|
11
11
|
> `optional` **empty**: `false`
|
|
12
12
|
|
|
13
|
-
Defined in: [config.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [config.ts:9](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L9)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [config.ts:9](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f7
|
|
|
18
18
|
|
|
19
19
|
> `optional` **hidden**: `boolean`
|
|
20
20
|
|
|
21
|
-
Defined in: [config.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [config.ts:10](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L10)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [config.ts:10](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
|
|
|
26
26
|
|
|
27
27
|
> `optional` **href**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [config.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [config.ts:7](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L7)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ Defined in: [config.ts:7](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f7
|
|
|
34
34
|
|
|
35
35
|
> `optional` **icon**: `IconConfig`
|
|
36
36
|
|
|
37
|
-
Defined in: [config.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
37
|
+
Defined in: [config.ts:13](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L13)
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -42,7 +42,7 @@ Defined in: [config.ts:13](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
|
|
|
42
42
|
|
|
43
43
|
> `optional` **id**: `string`
|
|
44
44
|
|
|
45
|
-
Defined in: [config.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
45
|
+
Defined in: [config.ts:11](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L11)
|
|
46
46
|
|
|
47
47
|
***
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ Defined in: [config.ts:11](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
|
|
|
50
50
|
|
|
51
51
|
> `optional` **image**: `string`
|
|
52
52
|
|
|
53
|
-
Defined in: [config.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
53
|
+
Defined in: [config.ts:5](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L5)
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ Defined in: [config.ts:5](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f7
|
|
|
58
58
|
|
|
59
59
|
> **label**: `string`
|
|
60
60
|
|
|
61
|
-
Defined in: [config.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
61
|
+
Defined in: [config.ts:6](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L6)
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@ Defined in: [config.ts:6](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f7
|
|
|
66
66
|
|
|
67
67
|
> `optional` **permissions**: `string`[]
|
|
68
68
|
|
|
69
|
-
Defined in: [config.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [config.ts:12](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L12)
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
@@ -74,7 +74,7 @@ Defined in: [config.ts:12](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
|
|
|
74
74
|
|
|
75
75
|
> `optional` **routerLink**: `string`[]
|
|
76
76
|
|
|
77
|
-
Defined in: [config.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
77
|
+
Defined in: [config.ts:8](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L8)
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
@@ -82,4 +82,4 @@ Defined in: [config.ts:8](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f7
|
|
|
82
82
|
|
|
83
83
|
> `optional` **target**: `string`
|
|
84
84
|
|
|
85
|
-
Defined in: [config.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
85
|
+
Defined in: [config.ts:4](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L4)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: Config
|
|
4
4
|
|
|
5
|
-
Defined in: [config.ts:43](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [config.ts:43](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L43)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config.ts:43](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
|
|
|
10
10
|
|
|
11
11
|
> `optional` **i18n**: [`i18nConfig`](../wiki/Interface.i18nConfig)
|
|
12
12
|
|
|
13
|
-
Defined in: [config.ts:46](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [config.ts:46](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L46)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [config.ts:46](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
|
|
|
18
18
|
|
|
19
19
|
> `optional` **logo**: [`LogoConfig`](../wiki/Interface.LogoConfig)
|
|
20
20
|
|
|
21
|
-
Defined in: [config.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [config.ts:45](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L45)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [config.ts:45](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
|
|
|
26
26
|
|
|
27
27
|
> `optional` **navigation**: [`NavigationConfig`](../wiki/Interface.NavigationConfig)
|
|
28
28
|
|
|
29
|
-
Defined in: [config.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [config.ts:44](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L44)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,4 +34,4 @@ Defined in: [config.ts:44](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
|
|
|
34
34
|
|
|
35
35
|
> `optional` **oauth2**: [`Oauth2Config`](../wiki/Interface.Oauth2Config)
|
|
36
36
|
|
|
37
|
-
Defined in: [config.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
37
|
+
Defined in: [config.ts:47](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L47)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: ConfigLoadError
|
|
4
4
|
|
|
5
|
-
Defined in: [config-load-error.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [config-load-error.ts:17](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L17)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config-load-error.ts:17](https://gitlab.com/rxap/packages/-/blob/36
|
|
|
10
10
|
|
|
11
11
|
> `optional` **cause**: `unknown`
|
|
12
12
|
|
|
13
|
-
Defined in: [config-load-error.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [config-load-error.ts:27](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L27)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [config-load-error.ts:27](https://gitlab.com/rxap/packages/-/blob/36
|
|
|
18
18
|
|
|
19
19
|
> **kind**: [`ConfigLoadErrorKind`](../wiki/TypeAlias.ConfigLoadErrorKind)
|
|
20
20
|
|
|
21
|
-
Defined in: [config-load-error.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [config-load-error.ts:18](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L18)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [config-load-error.ts:18](https://gitlab.com/rxap/packages/-/blob/36
|
|
|
26
26
|
|
|
27
27
|
> **message**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [config-load-error.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [config-load-error.ts:31](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L31)
|
|
30
30
|
|
|
31
31
|
The message the default handler would show.
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ The message the default handler would show.
|
|
|
36
36
|
|
|
37
37
|
> **required**: `boolean`
|
|
38
38
|
|
|
39
|
-
Defined in: [config-load-error.ts:24](https://gitlab.com/rxap/packages/-/blob/
|
|
39
|
+
Defined in: [config-load-error.ts:24](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L24)
|
|
40
40
|
|
|
41
41
|
true if the config url is required. A required url throws after the error handler is called,
|
|
42
42
|
an optional url resolves with `null`.
|
|
@@ -47,7 +47,7 @@ an optional url resolves with `null`.
|
|
|
47
47
|
|
|
48
48
|
> `optional` **response**: `Response`
|
|
49
49
|
|
|
50
|
-
Defined in: [config-load-error.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
50
|
+
Defined in: [config-load-error.ts:26](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L26)
|
|
51
51
|
|
|
52
52
|
***
|
|
53
53
|
|
|
@@ -55,7 +55,7 @@ Defined in: [config-load-error.ts:26](https://gitlab.com/rxap/packages/-/blob/36
|
|
|
55
55
|
|
|
56
56
|
> `optional` **status**: `number`
|
|
57
57
|
|
|
58
|
-
Defined in: [config-load-error.ts:25](https://gitlab.com/rxap/packages/-/blob/
|
|
58
|
+
Defined in: [config-load-error.ts:25](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L25)
|
|
59
59
|
|
|
60
60
|
***
|
|
61
61
|
|
|
@@ -63,4 +63,4 @@ Defined in: [config-load-error.ts:25](https://gitlab.com/rxap/packages/-/blob/36
|
|
|
63
63
|
|
|
64
64
|
> **url**: `string`
|
|
65
65
|
|
|
66
|
-
Defined in: [config-load-error.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
66
|
+
Defined in: [config-load-error.ts:19](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L19)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: ConfigLoadOptions
|
|
4
4
|
|
|
5
|
-
Defined in: [config.service.ts:
|
|
5
|
+
Defined in: [config.service.ts:37](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L37)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [config.service.ts:41](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
10
10
|
|
|
11
11
|
> `optional` **dnsServers**: `string`[]
|
|
12
12
|
|
|
13
|
-
Defined in: [config.service.ts:
|
|
13
|
+
Defined in: [config.service.ts:59](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L59)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [config.service.ts:63](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
18
18
|
|
|
19
19
|
> `optional` **errorHandler**: [`ConfigLoadErrorHandler`](../wiki/TypeAlias.ConfigLoadErrorHandler)
|
|
20
20
|
|
|
21
|
-
Defined in: [config.service.ts:
|
|
21
|
+
Defined in: [config.service.ts:76](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L76)
|
|
22
22
|
|
|
23
23
|
Replaces the default error handling (error overlay + page reload after 30 s) for failed
|
|
24
24
|
config url requests. Used for the `url` / `fromUrls` source and for `SideLoad`.
|
|
@@ -32,7 +32,7 @@ Afterwards a required url still throws and an optional url resolves with `null`.
|
|
|
32
32
|
|
|
33
33
|
> `optional` **fetchCidContent**: (`cid`, `path`?) => `Promise`\<`null` \| `Blob`\>
|
|
34
34
|
|
|
35
|
-
Defined in: [config.service.ts:
|
|
35
|
+
Defined in: [config.service.ts:57](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L57)
|
|
36
36
|
|
|
37
37
|
#### Parameters
|
|
38
38
|
|
|
@@ -54,7 +54,7 @@ Defined in: [config.service.ts:61](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
54
54
|
|
|
55
55
|
> `optional` **fromCid**: `string`
|
|
56
56
|
|
|
57
|
-
Defined in: [config.service.ts:
|
|
57
|
+
Defined in: [config.service.ts:56](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L56)
|
|
58
58
|
|
|
59
59
|
Load additional configuration directly from the given Content Identifier (CID).
|
|
60
60
|
This takes precedence over `fromDns` if both are provided.
|
|
@@ -65,7 +65,7 @@ This takes precedence over `fromDns` if both are provided.
|
|
|
65
65
|
|
|
66
66
|
> `optional` **fromDns**: `string` \| `boolean`
|
|
67
67
|
|
|
68
|
-
Defined in: [config.service.ts:
|
|
68
|
+
Defined in: [config.service.ts:51](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L51)
|
|
69
69
|
|
|
70
70
|
Load additional configuration based on a CID found in a DNS TXT record.
|
|
71
71
|
If true, uses `location.hostname`. If a string, uses that domain.
|
|
@@ -76,7 +76,7 @@ If true, uses `location.hostname`. If a string, uses that domain.
|
|
|
76
76
|
|
|
77
77
|
> `optional` **fromLocalStorage**: `boolean`
|
|
78
78
|
|
|
79
|
-
Defined in: [config.service.ts:
|
|
79
|
+
Defined in: [config.service.ts:40](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L40)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
@@ -84,7 +84,7 @@ Defined in: [config.service.ts:44](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
84
84
|
|
|
85
85
|
> `optional` **fromUrlParam**: `string` \| `boolean`
|
|
86
86
|
|
|
87
|
-
Defined in: [config.service.ts:
|
|
87
|
+
Defined in: [config.service.ts:38](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L38)
|
|
88
88
|
|
|
89
89
|
***
|
|
90
90
|
|
|
@@ -92,7 +92,7 @@ Defined in: [config.service.ts:42](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
92
92
|
|
|
93
93
|
> `optional` **fromUrls**: `boolean`
|
|
94
94
|
|
|
95
|
-
Defined in: [config.service.ts:
|
|
95
|
+
Defined in: [config.service.ts:39](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L39)
|
|
96
96
|
|
|
97
97
|
***
|
|
98
98
|
|
|
@@ -100,7 +100,7 @@ Defined in: [config.service.ts:43](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
100
100
|
|
|
101
101
|
> `optional` **ipfsGatewayServers**: (`cid`) => `string`[]
|
|
102
102
|
|
|
103
|
-
Defined in: [config.service.ts:
|
|
103
|
+
Defined in: [config.service.ts:58](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L58)
|
|
104
104
|
|
|
105
105
|
#### Parameters
|
|
106
106
|
|
|
@@ -118,7 +118,7 @@ Defined in: [config.service.ts:62](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
118
118
|
|
|
119
119
|
> `optional` **order**: [`ConfigLoadMethod`](../wiki/Enumeration.ConfigLoadMethod)[]
|
|
120
120
|
|
|
121
|
-
Defined in: [config.service.ts:
|
|
121
|
+
Defined in: [config.service.ts:68](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L68)
|
|
122
122
|
|
|
123
123
|
Defines the order and subset of config sources to load.
|
|
124
124
|
If not specified, defaults to: [FROM_URLS, FROM_LOCAL_STORAGE, FROM_URL_PARAM, FROM_CID]
|
|
@@ -132,7 +132,7 @@ Note: fromDns is not a source itself - it resolves the CID for FROM_CID.
|
|
|
132
132
|
|
|
133
133
|
> `optional` **requestInit**: `RequestInit`
|
|
134
134
|
|
|
135
|
-
Defined in: [config.service.ts:
|
|
135
|
+
Defined in: [config.service.ts:80](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L80)
|
|
136
136
|
|
|
137
137
|
Passed to `fetch()` for config url requests, e.g. `{ redirect: 'manual' }`.
|
|
138
138
|
|
|
@@ -142,7 +142,7 @@ Passed to `fetch()` for config url requests, e.g. `{ redirect: 'manual' }`.
|
|
|
142
142
|
|
|
143
143
|
> `optional` **schema**: [`AnySchema`](../wiki/TypeAlias.AnySchema)
|
|
144
144
|
|
|
145
|
-
Defined in: [config.service.ts:
|
|
145
|
+
Defined in: [config.service.ts:41](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L41)
|
|
146
146
|
|
|
147
147
|
***
|
|
148
148
|
|
|
@@ -150,7 +150,7 @@ Defined in: [config.service.ts:45](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
150
150
|
|
|
151
151
|
> `optional` **static**: `Record`\<`string`, `any`\>
|
|
152
152
|
|
|
153
|
-
Defined in: [config.service.ts:
|
|
153
|
+
Defined in: [config.service.ts:46](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L46)
|
|
154
154
|
|
|
155
155
|
static config values
|
|
156
156
|
|
|
@@ -160,7 +160,7 @@ static config values
|
|
|
160
160
|
|
|
161
161
|
> `optional` **strategy**: [`ConfigLoadingStrategy`](../wiki/Enumeration.ConfigLoadingStrategy)
|
|
162
162
|
|
|
163
|
-
Defined in: [config.service.ts:
|
|
163
|
+
Defined in: [config.service.ts:60](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L60)
|
|
164
164
|
|
|
165
165
|
***
|
|
166
166
|
|
|
@@ -168,4 +168,4 @@ Defined in: [config.service.ts:64](https://gitlab.com/rxap/packages/-/blob/36483
|
|
|
168
168
|
|
|
169
169
|
> `optional` **url**: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]
|
|
170
170
|
|
|
171
|
-
Defined in: [config.service.ts:
|
|
171
|
+
Defined in: [config.service.ts:42](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L42)
|