@aligent/microservice-util-lib 0.1.2 → 0.1.3
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/docs/classes/S3Dao.md
CHANGED
|
@@ -37,7 +37,7 @@ A data access object for an S3 bucket
|
|
|
37
37
|
|
|
38
38
|
#### Defined in
|
|
39
39
|
|
|
40
|
-
[s3/s3.ts:14](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
40
|
+
[s3/s3.ts:14](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/s3/s3.ts#lines-14)
|
|
41
41
|
|
|
42
42
|
## Properties
|
|
43
43
|
|
|
@@ -47,7 +47,7 @@ A data access object for an S3 bucket
|
|
|
47
47
|
|
|
48
48
|
#### Defined in
|
|
49
49
|
|
|
50
|
-
[s3/s3.ts:9](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
50
|
+
[s3/s3.ts:9](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/s3/s3.ts#lines-9)
|
|
51
51
|
|
|
52
52
|
___
|
|
53
53
|
|
|
@@ -57,7 +57,7 @@ ___
|
|
|
57
57
|
|
|
58
58
|
#### Defined in
|
|
59
59
|
|
|
60
|
-
[s3/s3.ts:8](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
60
|
+
[s3/s3.ts:8](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/s3/s3.ts#lines-8)
|
|
61
61
|
|
|
62
62
|
## Methods
|
|
63
63
|
|
|
@@ -79,7 +79,7 @@ Delete an object from the S3 bucket
|
|
|
79
79
|
|
|
80
80
|
#### Defined in
|
|
81
81
|
|
|
82
|
-
[s3/s3.ts:90](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
82
|
+
[s3/s3.ts:90](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/s3/s3.ts#lines-90)
|
|
83
83
|
|
|
84
84
|
___
|
|
85
85
|
|
|
@@ -107,7 +107,7 @@ Generator to fetch chunked data, chunk by chunk
|
|
|
107
107
|
|
|
108
108
|
#### Defined in
|
|
109
109
|
|
|
110
|
-
[s3/s3.ts:70](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
110
|
+
[s3/s3.ts:70](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/s3/s3.ts#lines-70)
|
|
111
111
|
|
|
112
112
|
___
|
|
113
113
|
|
|
@@ -137,7 +137,7 @@ the body of the object
|
|
|
137
137
|
|
|
138
138
|
#### Defined in
|
|
139
139
|
|
|
140
|
-
[s3/s3.ts:61](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
140
|
+
[s3/s3.ts:61](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/s3/s3.ts#lines-61)
|
|
141
141
|
|
|
142
142
|
___
|
|
143
143
|
|
|
@@ -168,7 +168,7 @@ an array of objects which can be used to fetch the chunks
|
|
|
168
168
|
|
|
169
169
|
#### Defined in
|
|
170
170
|
|
|
171
|
-
[s3/s3.ts:51](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
171
|
+
[s3/s3.ts:51](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/s3/s3.ts#lines-51)
|
|
172
172
|
|
|
173
173
|
___
|
|
174
174
|
|
|
@@ -203,4 +203,4 @@ an object which can be used to fetch the data
|
|
|
203
203
|
|
|
204
204
|
#### Defined in
|
|
205
205
|
|
|
206
|
-
[s3/s3.ts:25](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
206
|
+
[s3/s3.ts:25](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/s3/s3.ts#lines-25)
|
|
@@ -27,7 +27,7 @@ The amount to increase the delay by each retry (in ms)
|
|
|
27
27
|
|
|
28
28
|
#### Defined in
|
|
29
29
|
|
|
30
|
-
[retryWrapper/retryWrapper.ts:17](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
30
|
+
[retryWrapper/retryWrapper.ts:17](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/retryWrapper/retryWrapper.ts#lines-17)
|
|
31
31
|
|
|
32
32
|
___
|
|
33
33
|
|
|
@@ -43,7 +43,7 @@ The base delay between retries (in ms)
|
|
|
43
43
|
|
|
44
44
|
#### Defined in
|
|
45
45
|
|
|
46
|
-
[retryWrapper/retryWrapper.ts:12](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
46
|
+
[retryWrapper/retryWrapper.ts:12](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/retryWrapper/retryWrapper.ts#lines-12)
|
|
47
47
|
|
|
48
48
|
___
|
|
49
49
|
|
|
@@ -71,7 +71,7 @@ A callback to run before each retry
|
|
|
71
71
|
|
|
72
72
|
#### Defined in
|
|
73
73
|
|
|
74
|
-
[retryWrapper/retryWrapper.ts:24](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
74
|
+
[retryWrapper/retryWrapper.ts:24](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/retryWrapper/retryWrapper.ts#lines-24)
|
|
75
75
|
|
|
76
76
|
___
|
|
77
77
|
|
|
@@ -87,4 +87,4 @@ The number of retries to attempt after the first run
|
|
|
87
87
|
|
|
88
88
|
#### Defined in
|
|
89
89
|
|
|
90
|
-
[retryWrapper/retryWrapper.ts:7](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
90
|
+
[retryWrapper/retryWrapper.ts:7](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/retryWrapper/retryWrapper.ts#lines-7)
|
package/docs/modules.md
CHANGED
|
@@ -35,7 +35,7 @@ A list of keys to keys, with an optional transformer function
|
|
|
35
35
|
|
|
36
36
|
#### Defined in
|
|
37
37
|
|
|
38
|
-
[remap/remap.ts:15](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
38
|
+
[remap/remap.ts:15](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/remap/remap.ts#lines-15)
|
|
39
39
|
|
|
40
40
|
___
|
|
41
41
|
|
|
@@ -52,7 +52,7 @@ ___
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[remap/remap.ts:159](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
55
|
+
[remap/remap.ts:159](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/remap/remap.ts#lines-159)
|
|
56
56
|
|
|
57
57
|
## Functions
|
|
58
58
|
|
|
@@ -87,7 +87,7 @@ chunkBy([1, 2, 3, 4, 5, 6, 7], 2) // [[1, 2], [3, 4], [5, 6], [7]]
|
|
|
87
87
|
|
|
88
88
|
#### Defined in
|
|
89
89
|
|
|
90
|
-
[chunkBy/chunkBy.ts:10](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
90
|
+
[chunkBy/chunkBy.ts:10](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/chunkBy/chunkBy.ts#lines-10)
|
|
91
91
|
|
|
92
92
|
___
|
|
93
93
|
|
|
@@ -109,7 +109,7 @@ Fetch one SSM parameter
|
|
|
109
109
|
|
|
110
110
|
#### Defined in
|
|
111
111
|
|
|
112
|
-
[fetchSsmParams/fetchSsmParams.ts:9](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
112
|
+
[fetchSsmParams/fetchSsmParams.ts:9](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/fetchSsmParams/fetchSsmParams.ts#lines-9)
|
|
113
113
|
|
|
114
114
|
▸ **fetchSsmParams**(`...params`): `Promise`<`SSM.ParameterList`\>
|
|
115
115
|
|
|
@@ -127,7 +127,7 @@ Fetch a list of SSM parameters
|
|
|
127
127
|
|
|
128
128
|
#### Defined in
|
|
129
129
|
|
|
130
|
-
[fetchSsmParams/fetchSsmParams.ts:16](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
130
|
+
[fetchSsmParams/fetchSsmParams.ts:16](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/fetchSsmParams/fetchSsmParams.ts#lines-16)
|
|
131
131
|
|
|
132
132
|
___
|
|
133
133
|
|
|
@@ -173,7 +173,7 @@ obj is SimplifyIntersection<Required<Pick<T, K\>\> & Omit<T, K\>\>
|
|
|
173
173
|
|
|
174
174
|
#### Defined in
|
|
175
175
|
|
|
176
|
-
[hasPropertiesDefined/hasPropertiesDefined.ts:22](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
176
|
+
[hasPropertiesDefined/hasPropertiesDefined.ts:22](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/hasPropertiesDefined/hasPropertiesDefined.ts#lines-22)
|
|
177
177
|
|
|
178
178
|
___
|
|
179
179
|
|
|
@@ -240,7 +240,7 @@ the remapped object
|
|
|
240
240
|
|
|
241
241
|
#### Defined in
|
|
242
242
|
|
|
243
|
-
[remap/remap.ts:198](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
243
|
+
[remap/remap.ts:198](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/remap/remap.ts#lines-198)
|
|
244
244
|
|
|
245
245
|
___
|
|
246
246
|
|
|
@@ -278,4 +278,4 @@ retryWrapper(someAsyncFunction, {
|
|
|
278
278
|
|
|
279
279
|
#### Defined in
|
|
280
280
|
|
|
281
|
-
[retryWrapper/retryWrapper.ts:78](https://bitbucket.org/aligent/microservice-util-lib/src/
|
|
281
|
+
[retryWrapper/retryWrapper.ts:78](https://bitbucket.org/aligent/microservice-util-lib/src/0052f4c/src/retryWrapper/retryWrapper.ts#lines-78)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aligent/microservice-util-lib",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "A set of utility functions for Aligent Microservices",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
|
-
"url": "git+ssh://git@bitbucket.org/aligent/
|
|
17
|
+
"url": "git+ssh://git@bitbucket.org/aligent/microservice-util-lib.git"
|
|
18
18
|
},
|
|
19
19
|
"author": "Aligent",
|
|
20
20
|
"license": "ISC",
|