@@ -76,7 +76,7 @@ It will be removed/overwritten on next get request.
76
76
77
77
#### Defined in
78
78
79
- [ aws-config-store/src/AWSConfigStore.impl.ts:29 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L29 )
79
+ [ aws-config-store/src/AWSConfigStore.impl.ts:30 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L30 )
80
80
81
81
## Properties
82
82
@@ -90,7 +90,7 @@ It will be removed/overwritten on next get request.
90
90
91
91
#### Defined in
92
92
93
- core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:12
93
+ core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:20
94
94
95
95
___
96
96
100
100
101
101
#### Defined in
102
102
103
- [ aws-config-store/src/AWSConfigStore.impl.ts:27 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L27 )
103
+ [ aws-config-store/src/AWSConfigStore.impl.ts:28 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L28 )
104
104
105
105
___
106
106
127
127
128
128
#### Defined in
129
129
130
- core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:10
130
+ core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:18
131
131
132
132
___
133
133
141
141
142
142
#### Defined in
143
143
144
- core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:9
144
+ core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:17
145
145
146
146
___
147
147
@@ -157,7 +157,7 @@ name of store
157
157
158
158
#### Defined in
159
159
160
- core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:11
160
+ core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:19
161
161
162
162
## Methods
163
163
@@ -177,62 +177,88 @@ disconnects and shuts down the config store
177
177
178
178
#### Defined in
179
179
180
- core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:20
180
+ core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:70
181
181
182
182
___
183
183
184
184
### getConfig
185
185
186
- ▸ ** getConfig** (` ...configNames ` ): ` Promise ` \< ` Record ` \< ` string ` , ` unknown ` \>\>
186
+ ▸ ** getConfig** \< ` ConfigNames ` \> (` ...configNames ` ): ` Promise ` \< [ ` ObjectWithKeysFromStringArray ` ] ( ../modules/purista_core.md#objectwithkeysfromstringarray ) \< ` ConfigNames ` \>\>
187
+
188
+ Returns the values for given config properties.
189
+ This function ** SHOULD NOT** be overwritten by store implementation.
190
+ For implementation overwrite protected ` getConfigImpl `
191
+
192
+ #### Type parameters
193
+
194
+ | Name | Type |
195
+ | :------ | :------ |
196
+ | ` ConfigNames ` | extends ` string ` [ ] |
187
197
188
198
#### Parameters
189
199
190
200
| Name | Type |
191
201
| :------ | :------ |
192
- | ` ...configNames ` | ` string ` [ ] |
202
+ | ` ...configNames ` | ` ConfigNames ` |
193
203
194
204
#### Returns
195
205
196
- ` Promise ` \< ` Record ` \< ` string ` , ` unknown ` \>\>
206
+ ` Promise ` \< [ ` ObjectWithKeysFromStringArray ` ] ( ../modules/purista_core.md#objectwithkeysfromstringarray ) \< ` ConfigNames ` \>\>
207
+
208
+ an object of { [ configName] : value | undefined }
197
209
198
210
#### Inherited from
199
211
200
212
[ ConfigStoreBaseClass] ( purista_core.ConfigStoreBaseClass.md ) .[ getConfig] ( purista_core.ConfigStoreBaseClass.md#getconfig )
201
213
202
214
#### Defined in
203
215
204
- core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:15
216
+ core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:37
205
217
206
218
___
207
219
208
220
### getConfigImpl
209
221
210
- ▸ ** getConfigImpl** (` ...configNames ` ): ` Promise ` \< ` Record ` \< ` string ` , ` undefined ` \| ` string ` \>\>
222
+ ▸ ** getConfigImpl** \< ` ConfigNames ` \> (` ...configNames ` ): ` Promise ` \< [ ` ObjectWithKeysFromStringArray ` ] ( ../modules/purista_core.md#objectwithkeysfromstringarray ) \< ` ConfigNames ` \>\>
211
223
212
- #### Parameters
224
+ This method must be overwritten by actual store implementation.
225
+
226
+ #### Type parameters
213
227
214
228
| Name | Type |
215
229
| :------ | :------ |
216
- | ` ...configNames ` | ` string ` [ ] |
230
+ | ` ConfigNames ` | extends ` string ` [ ] |
231
+
232
+ #### Parameters
233
+
234
+ | Name | Type | Description |
235
+ | :------ | :------ | :------ |
236
+ | ` ...configNames ` | ` ConfigNames ` | list of config items |
217
237
218
238
#### Returns
219
239
220
- ` Promise ` \< ` Record ` \< ` string ` , ` undefined ` \| ` string ` \>\>
240
+ ` Promise ` \< [ ` ObjectWithKeysFromStringArray ` ] ( ../modules/purista_core.md#objectwithkeysfromstringarray ) \< ` ConfigNames ` \>\>
241
+
242
+ an object of { [ configName] : value | undefined }
221
243
222
244
#### Overrides
223
245
224
246
[ ConfigStoreBaseClass] ( purista_core.ConfigStoreBaseClass.md ) .[ getConfigImpl] ( purista_core.ConfigStoreBaseClass.md#getconfigimpl )
225
247
226
248
#### Defined in
227
249
228
- [ aws-config-store/src/AWSConfigStore.impl.ts:34 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L34 )
250
+ [ aws-config-store/src/AWSConfigStore.impl.ts:35 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L35 )
229
251
230
252
___
231
253
232
254
### removeConfig
233
255
234
256
▸ ** removeConfig** (` configName ` ): ` Promise ` \< ` void ` \>
235
257
258
+ Removes the config item given by config name.
259
+ This function ** SHOULD NOT** be overwritten by store implementation.
260
+ For implementation overwrite protected ` removeConfigImpl `
261
+
236
262
#### Parameters
237
263
238
264
| Name | Type |
@@ -249,14 +275,16 @@ ___
249
275
250
276
#### Defined in
251
277
252
- core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:17
278
+ core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:52
253
279
254
280
___
255
281
256
282
### removeConfigImpl
257
283
258
284
▸ ** removeConfigImpl** (` configName ` ): ` Promise ` \< ` void ` \>
259
285
286
+ This method must be overwritten by actual store implementation.
287
+
260
288
#### Parameters
261
289
262
290
| Name | Type |
@@ -273,14 +301,18 @@ ___
273
301
274
302
#### Defined in
275
303
276
- [ aws-config-store/src/AWSConfigStore.impl.ts:55 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L55 )
304
+ [ aws-config-store/src/AWSConfigStore.impl.ts:58 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L58 )
277
305
278
306
___
279
307
280
308
### setConfig
281
309
282
310
▸ ** setConfig** (` configName ` , ` configValue ` ): ` Promise ` \< ` void ` \>
283
311
312
+ Sets a config value
313
+ This function ** SHOULD NOT** be overwritten by store implementation.
314
+ For implementation overwrite protected ` setConfigImpl `
315
+
284
316
#### Parameters
285
317
286
318
| Name | Type |
@@ -298,14 +330,16 @@ ___
298
330
299
331
#### Defined in
300
332
301
- core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:19
333
+ core/dist/commonjs/core/ConfigStore/ConfigStoreBaseClass.impl.d.ts:69
302
334
303
335
___
304
336
305
337
### setConfigImpl
306
338
307
339
▸ ** setConfigImpl** (` configName ` , ` configValue ` ): ` Promise ` \< ` void ` \>
308
340
341
+ This method must be overwritten by actual store implementation.
342
+
309
343
#### Parameters
310
344
311
345
| Name | Type |
323
357
324
358
#### Defined in
325
359
326
- [ aws-config-store/src/AWSConfigStore.impl.ts:63 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L63 )
360
+ [ aws-config-store/src/AWSConfigStore.impl.ts:66 ] ( https://github.com/sebastianwessel/purista/blob/master/packages/aws-config-store/src/AWSConfigStore.impl.ts#L66 )
0 commit comments