@rxap/config 19.0.1-dev.2 → 19.0.1-dev.5

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 (106) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +24 -26
  3. package/compodoc/changelog.html +6 -0
  4. package/compodoc/dependencies.html +3 -3
  5. package/compodoc/index.html +26 -20
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +3 -2
  8. package/docs/documentation.json +415 -832
  9. package/docs/html/assets/hierarchy.js +1 -0
  10. package/docs/{assets → html/assets}/highlight.css +13 -6
  11. package/docs/html/assets/icons.js +18 -0
  12. package/docs/html/assets/icons.svg +1 -0
  13. package/docs/{assets → html/assets}/main.js +5 -4
  14. package/docs/html/assets/navigation.js +1 -0
  15. package/docs/html/assets/search.js +1 -0
  16. package/docs/html/assets/style.css +1611 -0
  17. package/docs/html/classes/ConfigLoaderService.html +6 -0
  18. package/docs/html/classes/ConfigService.html +29 -0
  19. package/docs/html/classes/ConfigTestingService.html +8 -0
  20. package/docs/html/functions/ProvideConfig.html +1 -0
  21. package/docs/html/hierarchy.html +1 -0
  22. package/docs/html/index.html +33 -0
  23. package/docs/html/interfaces/AppsNavigationConfig.html +11 -0
  24. package/docs/html/interfaces/Config.html +5 -0
  25. package/docs/html/interfaces/ConfigLoadOptions.html +7 -0
  26. package/docs/html/interfaces/LogoConfig.html +4 -0
  27. package/docs/html/interfaces/NavigationConfig.html +7 -0
  28. package/docs/html/interfaces/Oauth2Config.html +2 -0
  29. package/docs/html/interfaces/i18nConfig.html +3 -0
  30. package/docs/html/modules.html +1 -0
  31. package/docs/html/types/AnySchema.html +1 -0
  32. package/docs/html/types/Join.html +1 -0
  33. package/docs/html/types/LanguagesConfig.html +1 -0
  34. package/docs/html/types/Leaves.html +1 -0
  35. package/docs/html/types/NoInferType.html +1 -0
  36. package/docs/html/types/Paths.html +1 -0
  37. package/docs/html/variables/RXAP_CONFIG.html +1 -0
  38. package/docs/markdown/README.md +37 -0
  39. package/docs/markdown/classes/ConfigLoaderService.md +73 -0
  40. package/docs/markdown/classes/ConfigService.md +358 -0
  41. package/docs/markdown/classes/ConfigTestingService.md +155 -0
  42. package/docs/markdown/functions/ProvideConfig.md +29 -0
  43. package/docs/markdown/globals.md +38 -0
  44. package/docs/markdown/interfaces/AppsNavigationConfig.md +89 -0
  45. package/docs/markdown/interfaces/Config.md +41 -0
  46. package/docs/markdown/interfaces/ConfigLoadOptions.md +51 -0
  47. package/docs/markdown/interfaces/LogoConfig.md +33 -0
  48. package/docs/markdown/interfaces/NavigationConfig.md +57 -0
  49. package/docs/markdown/interfaces/Oauth2Config.md +17 -0
  50. package/docs/markdown/interfaces/i18nConfig.md +25 -0
  51. package/docs/markdown/type-aliases/AnySchema.md +27 -0
  52. package/docs/markdown/type-aliases/Join.md +17 -0
  53. package/docs/markdown/type-aliases/LanguagesConfig.md +11 -0
  54. package/docs/markdown/type-aliases/Leaves.md +17 -0
  55. package/docs/markdown/type-aliases/NoInferType.md +15 -0
  56. package/docs/markdown/type-aliases/Paths.md +17 -0
  57. package/docs/markdown/variables/RXAP_CONFIG.md +11 -0
  58. package/docs/wiki/Class.ConfigLoaderService.md +69 -0
  59. package/docs/wiki/Class.ConfigService.md +354 -0
  60. package/docs/wiki/Class.ConfigTestingService.md +151 -0
  61. package/docs/wiki/Function.ProvideConfig.md +25 -0
  62. package/docs/wiki/Home.md +33 -0
  63. package/docs/wiki/Interface.AppsNavigationConfig.md +85 -0
  64. package/docs/wiki/Interface.Config.md +37 -0
  65. package/docs/wiki/Interface.ConfigLoadOptions.md +47 -0
  66. package/docs/wiki/Interface.LogoConfig.md +29 -0
  67. package/docs/wiki/Interface.NavigationConfig.md +53 -0
  68. package/docs/wiki/Interface.Oauth2Config.md +13 -0
  69. package/docs/wiki/Interface.i18nConfig.md +21 -0
  70. package/docs/wiki/TypeAlias.AnySchema.md +23 -0
  71. package/docs/wiki/TypeAlias.Join.md +13 -0
  72. package/docs/wiki/TypeAlias.LanguagesConfig.md +7 -0
  73. package/docs/wiki/TypeAlias.Leaves.md +13 -0
  74. package/docs/wiki/TypeAlias.NoInferType.md +11 -0
  75. package/docs/wiki/TypeAlias.Paths.md +13 -0
  76. package/docs/wiki/Variable.RXAP_CONFIG.md +7 -0
  77. package/docs/wiki/_Sidebar.md +34 -0
  78. package/docs/wiki/globals.md +34 -0
  79. package/package.json +9 -8
  80. package/docs/assets/icons.js +0 -15
  81. package/docs/assets/icons.svg +0 -1
  82. package/docs/assets/navigation.js +0 -1
  83. package/docs/assets/search.js +0 -1
  84. package/docs/assets/style.css +0 -1412
  85. package/docs/classes/ConfigLoaderService.html +0 -6
  86. package/docs/classes/ConfigService.html +0 -34
  87. package/docs/classes/ConfigTestingService.html +0 -8
  88. package/docs/functions/ProvideConfig.html +0 -1
  89. package/docs/hierarchy.html +0 -1
  90. package/docs/index.html +0 -28
  91. package/docs/interfaces/AppsNavigationConfig.html +0 -11
  92. package/docs/interfaces/Config.html +0 -5
  93. package/docs/interfaces/ConfigLoadOptions.html +0 -7
  94. package/docs/interfaces/LogoConfig.html +0 -4
  95. package/docs/interfaces/NavigationConfig.html +0 -7
  96. package/docs/interfaces/Oauth2Config.html +0 -2
  97. package/docs/interfaces/i18nConfig.html +0 -3
  98. package/docs/modules.html +0 -19
  99. package/docs/types/AnySchema.html +0 -1
  100. package/docs/types/Join.html +0 -1
  101. package/docs/types/LanguagesConfig.html +0 -1
  102. package/docs/types/Leaves.html +0 -1
  103. package/docs/types/NoInferType.html +0 -1
  104. package/docs/types/Paths.html +0 -1
  105. package/docs/variables/RXAP_CONFIG.html +0 -1
  106. /package/docs/{.nojekyll → html/.nojekyll} +0 -0
@@ -0,0 +1,69 @@
1
+ [@rxap/config](../wiki/globals) / ConfigLoaderService
2
+
3
+ # Class: ConfigLoaderService
4
+
5
+ Defined in: [config-loader.service.ts:16](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-loader.service.ts#L16)
6
+
7
+ ## Constructors
8
+
9
+ ### new ConfigLoaderService()
10
+
11
+ > **new ConfigLoaderService**(`http`): [`ConfigLoaderService`](../wiki/Class.ConfigLoaderService)
12
+
13
+ Defined in: [config-loader.service.ts:21](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-loader.service.ts#L21)
14
+
15
+ #### Parameters
16
+
17
+ ##### http
18
+
19
+ `HttpClient`
20
+
21
+ #### Returns
22
+
23
+ [`ConfigLoaderService`](../wiki/Class.ConfigLoaderService)
24
+
25
+ ## Properties
26
+
27
+ ### configLoading
28
+
29
+ > `readonly` **configLoading**: `Map`\<`string`, `Observable`\<`any`\>\>
30
+
31
+ Defined in: [config-loader.service.ts:19](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-loader.service.ts#L19)
32
+
33
+ ***
34
+
35
+ ### configs
36
+
37
+ > `readonly` **configs**: `Map`\<`string`, `any`\>
38
+
39
+ Defined in: [config-loader.service.ts:17](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-loader.service.ts#L17)
40
+
41
+ ***
42
+
43
+ ### http
44
+
45
+ > `readonly` **http**: `HttpClient`
46
+
47
+ Defined in: [config-loader.service.ts:23](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-loader.service.ts#L23)
48
+
49
+ ## Methods
50
+
51
+ ### load$()
52
+
53
+ > **load$**\<`T`\>(`url`): `Promise`\<`T`\>
54
+
55
+ Defined in: [config-loader.service.ts:27](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-loader.service.ts#L27)
56
+
57
+ #### Type Parameters
58
+
59
+ • **T** = `any`
60
+
61
+ #### Parameters
62
+
63
+ ##### url
64
+
65
+ `string`
66
+
67
+ #### Returns
68
+
69
+ `Promise`\<`T`\>
@@ -0,0 +1,354 @@
1
+ [@rxap/config](../wiki/globals) / ConfigService
2
+
3
+ # Class: ConfigService\<Config\>
4
+
5
+ Defined in: [config.service.ts:32](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L32)
6
+
7
+ ## Type Parameters
8
+
9
+ • **Config** *extends* `Record`\<`string`, `any`\> = `Record`\<`string`, `any`\>
10
+
11
+ ## Constructors
12
+
13
+ ### new ConfigService()
14
+
15
+ > **new ConfigService**\<`Config`\>(`config`): [`ConfigService`](../wiki/Class.ConfigService)\<`Config`\>
16
+
17
+ Defined in: [config.service.ts:63](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L63)
18
+
19
+ #### Parameters
20
+
21
+ ##### config
22
+
23
+ `any` = `null`
24
+
25
+ #### Returns
26
+
27
+ [`ConfigService`](../wiki/Class.ConfigService)\<`Config`\>
28
+
29
+ ## Properties
30
+
31
+ ### config
32
+
33
+ > `readonly` **config**: `Config`
34
+
35
+ Defined in: [config.service.ts:61](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L61)
36
+
37
+ ***
38
+
39
+ ### Config
40
+
41
+ > `static` **Config**: `any` = `null`
42
+
43
+ Defined in: [config.service.ts:40](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L40)
44
+
45
+ ***
46
+
47
+ ### Defaults
48
+
49
+ > `static` **Defaults**: `any` = `{}`
50
+
51
+ Defined in: [config.service.ts:47](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L47)
52
+
53
+ Static default values for the config object.
54
+ Will be overwritten by an dynamic config file specified in
55
+ the Urls array.
56
+
57
+ ***
58
+
59
+ ### LocalStorageKey
60
+
61
+ > `static` **LocalStorageKey**: `string` = `'rxap/config/local-config'`
62
+
63
+ Defined in: [config.service.ts:55](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L55)
64
+
65
+ ***
66
+
67
+ ### onError
68
+
69
+ > `static` **onError**: `ReplaySubject`\<`unknown`\>
70
+
71
+ Defined in: [config.service.ts:34](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L34)
72
+
73
+ ***
74
+
75
+ ### onErrorFnc
76
+
77
+ > `static` **onErrorFnc**: (`error`) => `void`[] = `[]`
78
+
79
+ Defined in: [config.service.ts:37](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L37)
80
+
81
+ #### Parameters
82
+
83
+ ##### error
84
+
85
+ `any`
86
+
87
+ #### Returns
88
+
89
+ `void`
90
+
91
+ ***
92
+
93
+ ### onRequestError
94
+
95
+ > `static` **onRequestError**: `ReplaySubject`\<`Response`\>
96
+
97
+ Defined in: [config.service.ts:35](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L35)
98
+
99
+ ***
100
+
101
+ ### onRequestErrorFnc
102
+
103
+ > `static` **onRequestErrorFnc**: (`response`) => `void`[] = `[]`
104
+
105
+ Defined in: [config.service.ts:38](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L38)
106
+
107
+ #### Parameters
108
+
109
+ ##### response
110
+
111
+ `Response`
112
+
113
+ #### Returns
114
+
115
+ `void`
116
+
117
+ ***
118
+
119
+ ### Overwrites
120
+
121
+ > `static` **Overwrites**: `any` = `{}`
122
+
123
+ Defined in: [config.service.ts:53](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L53)
124
+
125
+ Any value definition in the Overwrites object will overwrite any
126
+ value form the Defaults values or dynamic config files
127
+
128
+ ***
129
+
130
+ ### ~~Urls~~
131
+
132
+ > `static` **Urls**: `never`[] = `[]`
133
+
134
+ Defined in: [config.service.ts:60](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L60)
135
+
136
+ #### Deprecated
137
+
138
+ instead use the url property of the ConfigLoadOptions
139
+
140
+ ## Methods
141
+
142
+ ### clearLocalConfig()
143
+
144
+ > **clearLocalConfig**(): `void`
145
+
146
+ Defined in: [config.service.ts:346](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L346)
147
+
148
+ #### Returns
149
+
150
+ `void`
151
+
152
+ ***
153
+
154
+ ### get()
155
+
156
+ #### Call Signature
157
+
158
+ > **get**\<`T`\>(`propertyPath`): `undefined` \| `T`
159
+
160
+ Defined in: [config.service.ts:350](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L350)
161
+
162
+ ##### Type Parameters
163
+
164
+ • **T** = `any`
165
+
166
+ ##### Parameters
167
+
168
+ ###### propertyPath
169
+
170
+ `string`
171
+
172
+ ##### Returns
173
+
174
+ `undefined` \| `T`
175
+
176
+ #### Call Signature
177
+
178
+ > **get**\<`T`\>(`propertyPath`, `defaultValue`): `T`
179
+
180
+ Defined in: [config.service.ts:351](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L351)
181
+
182
+ ##### Type Parameters
183
+
184
+ • **T** = `any`
185
+
186
+ ##### Parameters
187
+
188
+ ###### propertyPath
189
+
190
+ `string`
191
+
192
+ ###### defaultValue
193
+
194
+ [`NoInferType`](../wiki/TypeAlias.NoInferType)\<`T`\>
195
+
196
+ ##### Returns
197
+
198
+ `T`
199
+
200
+ ***
201
+
202
+ ### getOrThrow()
203
+
204
+ #### Call Signature
205
+
206
+ > **getOrThrow**\<`T`\>(`propertyPath`): `T`
207
+
208
+ Defined in: [config.service.ts:356](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L356)
209
+
210
+ ##### Type Parameters
211
+
212
+ • **T** = `any`
213
+
214
+ ##### Parameters
215
+
216
+ ###### propertyPath
217
+
218
+ `string`
219
+
220
+ ##### Returns
221
+
222
+ `T`
223
+
224
+ #### Call Signature
225
+
226
+ > **getOrThrow**\<`T`\>(`propertyPath`, `defaultValue`): `T`
227
+
228
+ Defined in: [config.service.ts:357](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L357)
229
+
230
+ ##### Type Parameters
231
+
232
+ • **T** = `any`
233
+
234
+ ##### Parameters
235
+
236
+ ###### propertyPath
237
+
238
+ `string`
239
+
240
+ ###### defaultValue
241
+
242
+ [`NoInferType`](../wiki/TypeAlias.NoInferType)\<`T`\>
243
+
244
+ ##### Returns
245
+
246
+ `T`
247
+
248
+ ***
249
+
250
+ ### setLocalConfig()
251
+
252
+ > **setLocalConfig**(`config`): `void`
253
+
254
+ Defined in: [config.service.ts:342](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L342)
255
+
256
+ #### Parameters
257
+
258
+ ##### config
259
+
260
+ `Config`
261
+
262
+ #### Returns
263
+
264
+ `void`
265
+
266
+ ***
267
+
268
+ ### Get()
269
+
270
+ > `static` **Get**\<`T`, `K`\>(`path`, `defaultValue`, `config`): `T`
271
+
272
+ Defined in: [config.service.ts:283](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L283)
273
+
274
+ #### Type Parameters
275
+
276
+ • **T** = `any`
277
+
278
+ • **K** *extends* `Record`\<`string`, `any`\> = `Record`\<`string`, `any`\>
279
+
280
+ #### Parameters
281
+
282
+ ##### path
283
+
284
+ `string`
285
+
286
+ ##### defaultValue
287
+
288
+ `undefined` | `T`
289
+
290
+ ##### config
291
+
292
+ `Record`\<`string`, `any`\>
293
+
294
+ #### Returns
295
+
296
+ `T`
297
+
298
+ ***
299
+
300
+ ### Load()
301
+
302
+ > `static` **Load**(`options`?, `environment`?): `Promise`\<`void`\>
303
+
304
+ Defined in: [config.service.ts:81](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L81)
305
+
306
+ Used to load the app config from a remote resource.
307
+
308
+ Promise.all([ ConfigService.Load() ])
309
+ .then(() => platformBrowserDynamic().bootstrapModule(AppModule))
310
+ .catch(err => console.error(err))
311
+
312
+ #### Parameters
313
+
314
+ ##### options?
315
+
316
+ [`ConfigLoadOptions`](../wiki/Interface.ConfigLoadOptions)
317
+
318
+ ##### environment?
319
+
320
+ `Environment`
321
+
322
+ #### Returns
323
+
324
+ `Promise`\<`void`\>
325
+
326
+ ***
327
+
328
+ ### SideLoad()
329
+
330
+ > `static` **SideLoad**(`url`, `propertyPath`, `required`?, `schema`?): `Promise`\<`void`\>
331
+
332
+ Defined in: [config.service.ts:264](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config.service.ts#L264)
333
+
334
+ #### Parameters
335
+
336
+ ##### url
337
+
338
+ `string`
339
+
340
+ ##### propertyPath
341
+
342
+ `string`
343
+
344
+ ##### required?
345
+
346
+ `boolean`
347
+
348
+ ##### schema?
349
+
350
+ [`AnySchema`](../wiki/TypeAlias.AnySchema)
351
+
352
+ #### Returns
353
+
354
+ `Promise`\<`void`\>
@@ -0,0 +1,151 @@
1
+ [@rxap/config](../wiki/globals) / ConfigTestingService
2
+
3
+ # Class: ConfigTestingService
4
+
5
+ Defined in: [config-testing-service.ts:9](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-testing-service.ts#L9)
6
+
7
+ ## Implements
8
+
9
+ - [`ConfigService`](../wiki/Class.ConfigService)
10
+
11
+ ## Constructors
12
+
13
+ ### new ConfigTestingService()
14
+
15
+ > **new ConfigTestingService**(): [`ConfigTestingService`](../wiki/Class.ConfigTestingService)
16
+
17
+ #### Returns
18
+
19
+ [`ConfigTestingService`](../wiki/Class.ConfigTestingService)
20
+
21
+ ## Properties
22
+
23
+ ### config
24
+
25
+ > `readonly` **config**: `Record`\<`string`, `any`\> = `{}`
26
+
27
+ Defined in: [config-testing-service.ts:10](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-testing-service.ts#L10)
28
+
29
+ #### Implementation of
30
+
31
+ [`ConfigService`](../wiki/Class.ConfigService).[`config`](../wiki/Class.ConfigService#config-1)
32
+
33
+ ## Methods
34
+
35
+ ### clearLocalConfig()
36
+
37
+ > **clearLocalConfig**(): `void`
38
+
39
+ Defined in: [config-testing-service.ts:13](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-testing-service.ts#L13)
40
+
41
+ #### Returns
42
+
43
+ `void`
44
+
45
+ #### Implementation of
46
+
47
+ [`ConfigService`](../wiki/Class.ConfigService).[`clearLocalConfig`](../wiki/Class.ConfigService#clearlocalconfig)
48
+
49
+ ***
50
+
51
+ ### get()
52
+
53
+ > **get**\<`T`\>(`propertyPath`, `defaultValue`?): `undefined` \| `T`
54
+
55
+ Defined in: [config-testing-service.ts:20](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-testing-service.ts#L20)
56
+
57
+ #### Type Parameters
58
+
59
+ • **T**
60
+
61
+ #### Parameters
62
+
63
+ ##### propertyPath
64
+
65
+ `string`
66
+
67
+ ##### defaultValue?
68
+
69
+ `T`
70
+
71
+ #### Returns
72
+
73
+ `undefined` \| `T`
74
+
75
+ #### Implementation of
76
+
77
+ [`ConfigService`](../wiki/Class.ConfigService).[`get`](../wiki/Class.ConfigService#get)
78
+
79
+ ***
80
+
81
+ ### getOrThrow()
82
+
83
+ > **getOrThrow**\<`T`\>(`propertyPath`): `T`
84
+
85
+ Defined in: [config-testing-service.ts:24](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-testing-service.ts#L24)
86
+
87
+ #### Type Parameters
88
+
89
+ • **T**
90
+
91
+ #### Parameters
92
+
93
+ ##### propertyPath
94
+
95
+ `string`
96
+
97
+ #### Returns
98
+
99
+ `T`
100
+
101
+ #### Implementation of
102
+
103
+ [`ConfigService`](../wiki/Class.ConfigService).[`getOrThrow`](../wiki/Class.ConfigService#getorthrow)
104
+
105
+ ***
106
+
107
+ ### set()
108
+
109
+ > **set**\<`T`\>(`propertyPath`, `value`): `void`
110
+
111
+ Defined in: [config-testing-service.ts:16](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-testing-service.ts#L16)
112
+
113
+ #### Type Parameters
114
+
115
+ • **T**
116
+
117
+ #### Parameters
118
+
119
+ ##### propertyPath
120
+
121
+ `string`
122
+
123
+ ##### value
124
+
125
+ `T`
126
+
127
+ #### Returns
128
+
129
+ `void`
130
+
131
+ ***
132
+
133
+ ### setLocalConfig()
134
+
135
+ > **setLocalConfig**(`config`): `void`
136
+
137
+ Defined in: [config-testing-service.ts:33](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/config-testing-service.ts#L33)
138
+
139
+ #### Parameters
140
+
141
+ ##### config
142
+
143
+ `Record`\<`string`, `any`\>
144
+
145
+ #### Returns
146
+
147
+ `void`
148
+
149
+ #### Implementation of
150
+
151
+ [`ConfigService`](../wiki/Class.ConfigService).[`setLocalConfig`](../wiki/Class.ConfigService#setlocalconfig)
@@ -0,0 +1,25 @@
1
+ [@rxap/config](../wiki/globals) / ProvideConfig
2
+
3
+ # Function: ProvideConfig()
4
+
5
+ > **ProvideConfig**(`config`): `object`
6
+
7
+ Defined in: [provide-config.ts:3](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/config/src/lib/provide-config.ts#L3)
8
+
9
+ ## Parameters
10
+
11
+ ### config
12
+
13
+ `Record`\<`string`, `unknown`\> = `{}`
14
+
15
+ ## Returns
16
+
17
+ `object`
18
+
19
+ ### provide
20
+
21
+ > **provide**: `InjectionToken`\<`unknown`\> = `RXAP_CONFIG`
22
+
23
+ ### useValue
24
+
25
+ > **useValue**: `Record`\<`string`, `unknown`\> = `config`
@@ -0,0 +1,33 @@
1
+ Provides a configuration service for Angular applications, allowing you to load and manage application settings from various sources such as static files, URLs, local storage, and URL parameters. It supports schema validation and provides utilities for accessing configuration values. This package also includes testing utilities for mocking and managing configurations in test environments.
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@rxap/config?style=flat-square)](https://www.npmjs.com/package/@rxap/config)
4
+ [![commitizen
5
+ friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
6
+ [![styled with
7
+ prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
8
+ ![Libraries.io dependency status for latest release, scoped npm
9
+ package](https://img.shields.io/librariesio/release/npm/@rxap/config)
10
+ ![npm](https://img.shields.io/npm/dm/@rxap/config)
11
+ ![NPM](https://img.shields.io/npm/l/@rxap/config) -
12
+ [Installation](../wiki/#installation)
13
+ - [Generators](../wiki/#generators)
14
+ - [init](../wiki/#init)
15
+
16
+ # Installation **Add the package to your workspace:** ```bash yarn add
17
+ @rxap/config
18
+ ```
19
+ **Install peer dependencies:** ```bash yarn add
20
+ @angular/common@^19.1.3 @angular/core@^19.1.3 @rxap/environment@^19.0.1-dev.4 @rxap/utilities@^16.4.2-dev.4 rxjs@^7.8.1
21
+ ```
22
+ **Execute the init generator:** ```bash yarn nx g
23
+ @rxap/config:init ```
24
+ # Generators
25
+
26
+ ##
27
+ init
28
+ >
29
+ Initialize the package in the workspace
30
+
31
+ ```bash nx g
32
+ @rxap/config:init
33
+ ```