@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.
Files changed (151) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/compodoc/changelog.html +36 -0
  3. package/compodoc/dependencies.html +6 -6
  4. package/compodoc/injectables/ConfigLoaderService.html +10 -77
  5. package/compodoc/injectables/ConfigService.html +38 -42
  6. package/compodoc/interfaces/ConfigLoadOptions.html +2 -6
  7. package/compodoc/js/search/search_index.js +2 -2
  8. package/compodoc/properties.html +1 -1
  9. package/docs/documentation.json +904 -950
  10. package/docs/html/assets/hierarchy.js +1 -1
  11. package/docs/html/assets/search.js +1 -1
  12. package/docs/html/classes/ConfigLoaderService.html +2 -2
  13. package/docs/html/classes/ConfigService.html +7 -7
  14. package/docs/html/classes/ConfigTestingService.html +2 -2
  15. package/docs/html/enums/ConfigLoadMethod.html +2 -2
  16. package/docs/html/enums/ConfigLoadingStrategy.html +2 -2
  17. package/docs/html/functions/ProvideConfig.html +1 -1
  18. package/docs/html/functions/defaultConfigLoadErrorHandler.html +2 -2
  19. package/docs/html/functions/dnsLookup.html +1 -1
  20. package/docs/html/functions/dnsResolver.html +1 -1
  21. package/docs/html/functions/fetchCidContent.html +1 -1
  22. package/docs/html/functions/fetchCidContentAsJson.html +1 -1
  23. package/docs/html/functions/fetchCidContentViaHttp.html +1 -1
  24. package/docs/html/functions/fetchContentViaHttp.html +1 -1
  25. package/docs/html/functions/localPathIpfsGateway.html +1 -1
  26. package/docs/html/functions/localSubDomainIpfsGateway.html +1 -1
  27. package/docs/html/functions/raceSuccess.html +2 -2
  28. package/docs/html/functions/showConfigLoadError.html +2 -2
  29. package/docs/html/functions/storachaIpfsGateway.html +1 -1
  30. package/docs/html/functions/w3sIpfsGateway.html +1 -1
  31. package/docs/html/hierarchy.html +1 -1
  32. package/docs/html/index.html +2 -2
  33. package/docs/html/interfaces/AppsNavigationConfig.html +2 -2
  34. package/docs/html/interfaces/Config.html +2 -2
  35. package/docs/html/interfaces/ConfigLoadError.html +4 -4
  36. package/docs/html/interfaces/ConfigLoadOptions.html +8 -8
  37. package/docs/html/interfaces/LogoConfig.html +2 -2
  38. package/docs/html/interfaces/NavigationConfig.html +2 -2
  39. package/docs/html/interfaces/Oauth2Config.html +2 -2
  40. package/docs/html/interfaces/i18nConfig.html +2 -2
  41. package/docs/html/modules.html +1 -1
  42. package/docs/html/types/AnySchema.html +1 -1
  43. package/docs/html/types/ConfigLoadErrorHandler.html +2 -2
  44. package/docs/html/types/ConfigLoadErrorKind.html +2 -2
  45. package/docs/html/types/ConfigRequestOptions.html +1 -1
  46. package/docs/html/types/IpfsGatewayFunction.html +1 -1
  47. package/docs/html/types/Join.html +1 -1
  48. package/docs/html/types/LanguagesConfig.html +1 -1
  49. package/docs/html/types/Leaves.html +1 -1
  50. package/docs/html/types/NoInferType.html +1 -1
  51. package/docs/html/types/Paths.html +1 -1
  52. package/docs/html/variables/RXAP_CONFIG.html +1 -1
  53. package/docs/html/variables/defaultDnsServers.html +1 -1
  54. package/docs/html/variables/defaultIpfsGatewayServers.html +1 -1
  55. package/docs/markdown/README.md +1 -1
  56. package/docs/markdown/classes/ConfigLoaderService.md +7 -15
  57. package/docs/markdown/classes/ConfigService.md +23 -23
  58. package/docs/markdown/classes/ConfigTestingService.md +8 -8
  59. package/docs/markdown/enumerations/ConfigLoadMethod.md +6 -6
  60. package/docs/markdown/enumerations/ConfigLoadingStrategy.md +4 -4
  61. package/docs/markdown/functions/ProvideConfig.md +2 -2
  62. package/docs/markdown/functions/defaultConfigLoadErrorHandler.md +2 -2
  63. package/docs/markdown/functions/dnsLookup.md +2 -2
  64. package/docs/markdown/functions/dnsResolver.md +2 -2
  65. package/docs/markdown/functions/fetchCidContent.md +2 -2
  66. package/docs/markdown/functions/fetchCidContentAsJson.md +2 -2
  67. package/docs/markdown/functions/fetchCidContentViaHttp.md +2 -2
  68. package/docs/markdown/functions/fetchContentViaHttp.md +2 -2
  69. package/docs/markdown/functions/localPathIpfsGateway.md +2 -2
  70. package/docs/markdown/functions/localSubDomainIpfsGateway.md +2 -2
  71. package/docs/markdown/functions/raceSuccess.md +2 -2
  72. package/docs/markdown/functions/showConfigLoadError.md +2 -2
  73. package/docs/markdown/functions/storachaIpfsGateway.md +2 -2
  74. package/docs/markdown/functions/w3sIpfsGateway.md +2 -2
  75. package/docs/markdown/globals.md +2 -2
  76. package/docs/markdown/interfaces/AppsNavigationConfig.md +12 -12
  77. package/docs/markdown/interfaces/Config.md +6 -6
  78. package/docs/markdown/interfaces/ConfigLoadError.md +9 -9
  79. package/docs/markdown/interfaces/ConfigLoadOptions.md +17 -17
  80. package/docs/markdown/interfaces/LogoConfig.md +5 -5
  81. package/docs/markdown/interfaces/NavigationConfig.md +9 -9
  82. package/docs/markdown/interfaces/Oauth2Config.md +3 -3
  83. package/docs/markdown/interfaces/i18nConfig.md +4 -4
  84. package/docs/markdown/type-aliases/AnySchema.md +2 -2
  85. package/docs/markdown/type-aliases/ConfigLoadErrorHandler.md +2 -2
  86. package/docs/markdown/type-aliases/ConfigLoadErrorKind.md +2 -2
  87. package/docs/markdown/type-aliases/ConfigRequestOptions.md +2 -2
  88. package/docs/markdown/type-aliases/IpfsGatewayFunction.md +2 -2
  89. package/docs/markdown/type-aliases/Join.md +2 -2
  90. package/docs/markdown/type-aliases/LanguagesConfig.md +2 -2
  91. package/docs/markdown/type-aliases/Leaves.md +2 -2
  92. package/docs/markdown/type-aliases/NoInferType.md +2 -2
  93. package/docs/markdown/type-aliases/Paths.md +2 -2
  94. package/docs/markdown/variables/RXAP_CONFIG.md +2 -2
  95. package/docs/markdown/variables/defaultDnsServers.md +2 -2
  96. package/docs/markdown/variables/defaultIpfsGatewayServers.md +2 -2
  97. package/docs/wiki/Class.ConfigLoaderService.md +6 -14
  98. package/docs/wiki/Class.ConfigService.md +22 -22
  99. package/docs/wiki/Class.ConfigTestingService.md +7 -7
  100. package/docs/wiki/Enumeration.ConfigLoadMethod.md +5 -5
  101. package/docs/wiki/Enumeration.ConfigLoadingStrategy.md +3 -3
  102. package/docs/wiki/Function.ProvideConfig.md +1 -1
  103. package/docs/wiki/Function.defaultConfigLoadErrorHandler.md +1 -1
  104. package/docs/wiki/Function.dnsLookup.md +1 -1
  105. package/docs/wiki/Function.dnsResolver.md +1 -1
  106. package/docs/wiki/Function.fetchCidContent.md +1 -1
  107. package/docs/wiki/Function.fetchCidContentAsJson.md +1 -1
  108. package/docs/wiki/Function.fetchCidContentViaHttp.md +1 -1
  109. package/docs/wiki/Function.fetchContentViaHttp.md +1 -1
  110. package/docs/wiki/Function.localPathIpfsGateway.md +1 -1
  111. package/docs/wiki/Function.localSubDomainIpfsGateway.md +1 -1
  112. package/docs/wiki/Function.raceSuccess.md +1 -1
  113. package/docs/wiki/Function.showConfigLoadError.md +1 -1
  114. package/docs/wiki/Function.storachaIpfsGateway.md +1 -1
  115. package/docs/wiki/Function.w3sIpfsGateway.md +1 -1
  116. package/docs/wiki/Interface.AppsNavigationConfig.md +11 -11
  117. package/docs/wiki/Interface.Config.md +5 -5
  118. package/docs/wiki/Interface.ConfigLoadError.md +8 -8
  119. package/docs/wiki/Interface.ConfigLoadOptions.md +16 -16
  120. package/docs/wiki/Interface.LogoConfig.md +4 -4
  121. package/docs/wiki/Interface.NavigationConfig.md +8 -8
  122. package/docs/wiki/Interface.Oauth2Config.md +2 -2
  123. package/docs/wiki/Interface.i18nConfig.md +3 -3
  124. package/docs/wiki/TypeAlias.AnySchema.md +1 -1
  125. package/docs/wiki/TypeAlias.ConfigLoadErrorHandler.md +1 -1
  126. package/docs/wiki/TypeAlias.ConfigLoadErrorKind.md +1 -1
  127. package/docs/wiki/TypeAlias.ConfigRequestOptions.md +1 -1
  128. package/docs/wiki/TypeAlias.IpfsGatewayFunction.md +1 -1
  129. package/docs/wiki/TypeAlias.Join.md +1 -1
  130. package/docs/wiki/TypeAlias.LanguagesConfig.md +1 -1
  131. package/docs/wiki/TypeAlias.Leaves.md +1 -1
  132. package/docs/wiki/TypeAlias.NoInferType.md +1 -1
  133. package/docs/wiki/TypeAlias.Paths.md +1 -1
  134. package/docs/wiki/Variable.RXAP_CONFIG.md +1 -1
  135. package/docs/wiki/Variable.defaultDnsServers.md +1 -1
  136. package/docs/wiki/Variable.defaultIpfsGatewayServers.md +1 -1
  137. package/docs/wiki/globals.md +1 -1
  138. package/fesm2022/rxap-config.mjs +19 -22
  139. package/fesm2022/rxap-config.mjs.map +1 -1
  140. package/package.json +15 -14
  141. package/types/rxap-config.d.ts +297 -0
  142. package/index.d.ts +0 -9
  143. package/lib/config-load-error.d.ts +0 -41
  144. package/lib/config-loader.service.d.ts +0 -12
  145. package/lib/config-testing-service.d.ts +0 -12
  146. package/lib/config.d.ts +0 -41
  147. package/lib/config.service.d.ts +0 -129
  148. package/lib/provide-config.d.ts +0 -4
  149. package/lib/tokens.d.ts +0 -2
  150. package/lib/types.d.ts +0 -34
  151. package/lib/utilities.d.ts +0 -19
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: LogoConfig
4
4
 
5
- Defined in: [config.ts:16](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L16)
5
+ Defined in: [config.ts:16](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L16)
6
6
 
7
7
  ## Properties
8
8
 
@@ -10,7 +10,7 @@ Defined in: [config.ts:16](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
10
10
 
11
11
  > `optional` **height**: `number`
12
12
 
13
- Defined in: [config.ts:19](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L19)
13
+ Defined in: [config.ts:19](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L19)
14
14
 
15
15
  ***
16
16
 
@@ -18,7 +18,7 @@ Defined in: [config.ts:19](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
18
18
 
19
19
  > `optional` **src**: `string`
20
20
 
21
- Defined in: [config.ts:17](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L17)
21
+ Defined in: [config.ts:17](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L17)
22
22
 
23
23
  ***
24
24
 
@@ -26,4 +26,4 @@ Defined in: [config.ts:17](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
26
26
 
27
27
  > `optional` **width**: `number`
28
28
 
29
- Defined in: [config.ts:18](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L18)
29
+ Defined in: [config.ts:18](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L18)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: NavigationConfig
4
4
 
5
- Defined in: [config.ts:22](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L22)
5
+ Defined in: [config.ts:22](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L22)
6
6
 
7
7
  ## Properties
8
8
 
@@ -10,7 +10,7 @@ Defined in: [config.ts:22](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
10
10
 
11
11
  > `optional` **apps**: [`AppsNavigationConfig`](../wiki/Interface.AppsNavigationConfig)[]
12
12
 
13
- Defined in: [config.ts:23](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L23)
13
+ Defined in: [config.ts:23](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L23)
14
14
 
15
15
  ***
16
16
 
@@ -18,7 +18,7 @@ Defined in: [config.ts:23](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
18
18
 
19
19
  > `optional` **collapsable**: `boolean`
20
20
 
21
- Defined in: [config.ts:24](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L24)
21
+ Defined in: [config.ts:24](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L24)
22
22
 
23
23
  ***
24
24
 
@@ -26,7 +26,7 @@ Defined in: [config.ts:24](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
26
26
 
27
27
  > `optional` **fixedInViewport**: `boolean`
28
28
 
29
- Defined in: [config.ts:28](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L28)
29
+ Defined in: [config.ts:28](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L28)
30
30
 
31
31
  ***
32
32
 
@@ -34,7 +34,7 @@ Defined in: [config.ts:28](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
34
34
 
35
35
  > `optional` **mobileQuery**: `string`
36
36
 
37
- Defined in: [config.ts:29](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L29)
37
+ Defined in: [config.ts:29](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L29)
38
38
 
39
39
  ***
40
40
 
@@ -42,7 +42,7 @@ Defined in: [config.ts:29](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
42
42
 
43
43
  > `optional` **mode**: `"side"` \| `"over"`
44
44
 
45
- Defined in: [config.ts:26](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L26)
45
+ Defined in: [config.ts:26](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L26)
46
46
 
47
47
  ***
48
48
 
@@ -50,7 +50,7 @@ Defined in: [config.ts:26](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
50
50
 
51
51
  > `optional` **opened**: `boolean`
52
52
 
53
- Defined in: [config.ts:27](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L27)
53
+ Defined in: [config.ts:27](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L27)
54
54
 
55
55
  ***
56
56
 
@@ -58,4 +58,4 @@ Defined in: [config.ts:27](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
58
58
 
59
59
  > `optional` **pinned**: `boolean`
60
60
 
61
- Defined in: [config.ts:25](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L25)
61
+ Defined in: [config.ts:25](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L25)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: Oauth2Config
4
4
 
5
- Defined in: [config.ts:39](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L39)
5
+ Defined in: [config.ts:39](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L39)
6
6
 
7
7
  ## Properties
8
8
 
@@ -10,4 +10,4 @@ Defined in: [config.ts:39](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
10
10
 
11
11
  > `optional` **profileUrl**: `string`
12
12
 
13
- Defined in: [config.ts:40](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L40)
13
+ Defined in: [config.ts:40](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L40)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: i18nConfig
4
4
 
5
- Defined in: [config.ts:34](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L34)
5
+ Defined in: [config.ts:34](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L34)
6
6
 
7
7
  ## Properties
8
8
 
@@ -10,7 +10,7 @@ Defined in: [config.ts:34](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
10
10
 
11
11
  > `optional` **defaultLanguage**: `string`
12
12
 
13
- Defined in: [config.ts:36](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L36)
13
+ Defined in: [config.ts:36](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L36)
14
14
 
15
15
  ***
16
16
 
@@ -18,4 +18,4 @@ Defined in: [config.ts:36](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f
18
18
 
19
19
  > `optional` **languages**: [`LanguagesConfig`](../wiki/TypeAlias.LanguagesConfig)
20
20
 
21
- Defined in: [config.ts:35](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L35)
21
+ Defined in: [config.ts:35](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L35)
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **AnySchema**: `object`
6
6
 
7
- Defined in: [config.service.ts:27](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L27)
7
+ Defined in: [config.service.ts:23](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L23)
8
8
 
9
9
  ## Type declaration
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **ConfigLoadErrorHandler**: (`error`) => `void` \| `Promise`\<`void`\>
6
6
 
7
- Defined in: [config-load-error.ts:37](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-load-error.ts#L37)
7
+ Defined in: [config-load-error.ts:37](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L37)
8
8
 
9
9
  Called for every failed config url request. May never resolve, e.g. if it navigates away.
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **ConfigLoadErrorKind**: `"network"` \| `"redirect"` \| `"http"` \| `"parse"` \| `"schema"`
6
6
 
7
- Defined in: [config-load-error.ts:10](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config-load-error.ts#L10)
7
+ Defined in: [config-load-error.ts:10](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config-load-error.ts#L10)
8
8
 
9
9
  The kind of failure that happened while loading a config url.
10
10
 
@@ -4,4 +4,4 @@
4
4
 
5
5
  > **ConfigRequestOptions**: `Pick`\<[`ConfigLoadOptions`](../wiki/Interface.ConfigLoadOptions), `"errorHandler"` \| `"requestInit"`\>
6
6
 
7
- Defined in: [config.service.ts:87](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.service.ts#L87)
7
+ Defined in: [config.service.ts:83](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.service.ts#L83)
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **IpfsGatewayFunction**: (`cid`) => `string`
6
6
 
7
- Defined in: [utilities.ts:125](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L125)
7
+ Defined in: [utilities.ts:126](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L126)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **Join**\<`K`, `P`\>: `K` *extends* `string` \| `number` ? `P` *extends* `string` \| `number` ? `` `${K}${"" extends P ? "" : "."}${P}` `` : `never` : `never`
6
6
 
7
- Defined in: [types.ts:8](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/types.ts#L8)
7
+ Defined in: [types.ts:8](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/types.ts#L8)
8
8
 
9
9
  ## Type Parameters
10
10
 
@@ -4,4 +4,4 @@
4
4
 
5
5
  > **LanguagesConfig**: `Record`\<`string`, `string`\>
6
6
 
7
- Defined in: [config.ts:32](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/config.ts#L32)
7
+ Defined in: [config.ts:32](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/config.ts#L32)
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **Leaves**\<`T`, `D`\>: \[`D`\] *extends* \[`never`\] ? `never` : `T` *extends* `object` ? `{ [K in keyof T]-?: Join<K, Leaves<T[K], Prev[D]>> }`\[keyof `T`\] : `""`
6
6
 
7
- Defined in: [types.ts:20](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/types.ts#L20)
7
+ Defined in: [types.ts:20](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/types.ts#L20)
8
8
 
9
9
  ## Type Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **NoInferType**\<`T`\>: \[`T`\]\[`T` *extends* `any` ? `0` : `never`\]
6
6
 
7
- Defined in: [types.ts:1](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/types.ts#L1)
7
+ Defined in: [types.ts:1](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/types.ts#L1)
8
8
 
9
9
  ## Type Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **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`\] : `""`
6
6
 
7
- Defined in: [types.ts:13](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/types.ts#L13)
7
+ Defined in: [types.ts:13](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/types.ts#L13)
8
8
 
9
9
  ## Type Parameters
10
10
 
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_CONFIG**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/tokens.ts#L3)
7
+ Defined in: [tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/tokens.ts#L3)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **defaultDnsServers**: `string`[]
6
6
 
7
- Defined in: [utilities.ts:62](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L62)
7
+ Defined in: [utilities.ts:62](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L62)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **defaultIpfsGatewayServers**: [`IpfsGatewayFunction`](../wiki/TypeAlias.IpfsGatewayFunction)[]
6
6
 
7
- Defined in: [utilities.ts:132](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/config/src/lib/utilities.ts#L132)
7
+ Defined in: [utilities.ts:133](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/config/src/lib/utilities.ts#L133)
@@ -1,4 +1,4 @@
1
- # @rxap/config v19.3.0
1
+ # @rxap/config v21.0.1-dev.1
2
2
 
3
3
  ## Enumerations
4
4
 
@@ -1,9 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Inject, InjectionToken, Optional } from '@angular/core';
2
+ import { inject, Injectable, InjectionToken, Optional, Inject } from '@angular/core';
3
3
  import { firstValueFrom, Observable, catchError, EMPTY, race, ReplaySubject } from 'rxjs';
4
- import * as i1 from '@angular/common/http';
5
4
  import { HttpClient } from '@angular/common/http';
6
- import { finalize, share } from 'rxjs/operators';
5
+ import { tap, finalize, share } from 'rxjs/operators';
7
6
  import { SetToObject, getFromObject, JoinPath, deepMerge, coerceArray, CoercePrefix, SetObjectValue } from '@rxap/utilities';
8
7
  import { log } from '@rxap/rxjs';
9
8
 
@@ -51,8 +50,8 @@ function showConfigLoadError(message) {
51
50
  }
52
51
 
53
52
  class ConfigLoaderService {
54
- constructor(http) {
55
- this.http = http;
53
+ constructor() {
54
+ this.http = inject(HttpClient);
56
55
  this.configs = new Map();
57
56
  this.configLoading = new Map();
58
57
  }
@@ -61,22 +60,19 @@ class ConfigLoaderService {
61
60
  return this.configs.get(url);
62
61
  }
63
62
  if (this.configLoading.has(url)) {
64
- return this.configLoading.get(url).toPromise();
63
+ return firstValueFrom(this.configLoading.get(url));
65
64
  }
66
- const loading$ = this.http.get(url).pipe(finalize(() => this.configLoading.delete(url)), share());
65
+ const loading$ = this.http.get(url).pipe(tap(config => this.configs.set(url, config)), finalize(() => this.configLoading.delete(url)), share());
67
66
  this.configLoading.set(url, loading$);
68
67
  return firstValueFrom(loading$);
69
68
  }
70
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigLoaderService, deps: [{ token: HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
71
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigLoaderService, providedIn: 'root' }); }
69
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
70
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigLoaderService, providedIn: 'root' }); }
72
71
  }
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigLoaderService, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigLoaderService, decorators: [{
74
73
  type: Injectable,
75
74
  args: [{ providedIn: 'root' }]
76
- }], ctorParameters: () => [{ type: i1.HttpClient, decorators: [{
77
- type: Inject,
78
- args: [HttpClient]
79
- }] }] });
75
+ }] });
80
76
 
81
77
  class ConfigTestingService {
82
78
  constructor() {
@@ -101,10 +97,10 @@ class ConfigTestingService {
101
97
  // eslint-disable-next-line @typescript-eslint/no-empty-function
102
98
  setLocalConfig(config) {
103
99
  }
104
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigTestingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
105
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigTestingService }); }
100
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigTestingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
101
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigTestingService }); }
106
102
  }
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigTestingService, decorators: [{
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigTestingService, decorators: [{
108
104
  type: Injectable
109
105
  }] });
110
106
 
@@ -177,7 +173,7 @@ async function dnsLookup(name, type, dnsServers = defaultDnsServers) {
177
173
  function fetchContentViaHttp(url) {
178
174
  return new Observable((subscriber) => {
179
175
  let controller = new AbortController(); // For cancellation
180
- fetch(url)
176
+ fetch(url, { signal: controller.signal })
181
177
  .then(response => {
182
178
  if (!response.ok) {
183
179
  // Don't complete here, let catchError handle it
@@ -194,6 +190,7 @@ function fetchContentViaHttp(url) {
194
190
  .catch(error => {
195
191
  if (error.name !== 'AbortError' && !subscriber.closed) {
196
192
  console.warn(`Fetch error for ${url}:`, error);
193
+ subscriber.error(error);
197
194
  }
198
195
  });
199
196
  // Cleanup function for when the observable is unsubscribed
@@ -649,7 +646,7 @@ class ConfigService {
649
646
  const queryString = window.location.search;
650
647
  const urlParams = new URLSearchParams(queryString);
651
648
  const configFromParams = {};
652
- for (const configParam of urlParams.getAll('config')) {
649
+ for (const configParam of urlParams.getAll(param)) {
653
650
  try {
654
651
  const split = configParam.split(';');
655
652
  if (split.length === 2) {
@@ -710,10 +707,10 @@ class ConfigService {
710
707
  }
711
708
  return value;
712
709
  }
713
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigService, deps: [{ token: RXAP_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
714
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigService, providedIn: 'root' }); }
710
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigService, deps: [{ token: RXAP_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
711
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigService, providedIn: 'root' }); }
715
712
  }
716
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ConfigService, decorators: [{
713
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ConfigService, decorators: [{
717
714
  type: Injectable,
718
715
  args: [{
719
716
  providedIn: 'root',