@twin.org/entity-storage-connector-dynamodb 0.0.2-next.9 → 0.0.3-next.10
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/README.md +7 -12
- package/dist/{esm/index.mjs → es/dynamoDbEntityStorageConnector.js} +314 -80
- package/dist/es/dynamoDbEntityStorageConnector.js.map +1 -0
- package/dist/es/index.js +6 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/IDynamoDbEntityStorageConnectorConfig.js +4 -0
- package/dist/es/models/IDynamoDbEntityStorageConnectorConfig.js.map +1 -0
- package/dist/es/models/IDynamoDbEntityStorageConnectorConstructorOptions.js +2 -0
- package/dist/es/models/IDynamoDbEntityStorageConnectorConstructorOptions.js.map +1 -0
- package/dist/types/dynamoDbEntityStorageConnector.d.ts +46 -12
- package/dist/types/index.d.ts +3 -3
- package/dist/types/models/IDynamoDbEntityStorageConnectorConfig.d.ts +5 -1
- package/dist/types/models/IDynamoDbEntityStorageConnectorConstructorOptions.d.ts +5 -1
- package/docs/changelog.md +230 -36
- package/docs/examples.md +96 -1
- package/docs/reference/classes/DynamoDbEntityStorageConnector.md +162 -30
- package/docs/reference/interfaces/IDynamoDbEntityStorageConnectorConfig.md +19 -11
- package/docs/reference/interfaces/IDynamoDbEntityStorageConnectorConstructorOptions.md +12 -4
- package/locales/en.json +16 -2
- package/package.json +17 -14
- package/dist/cjs/index.cjs +0 -751
package/docs/changelog.md
CHANGED
|
@@ -1,11 +1,205 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.0.
|
|
3
|
+
## [0.0.3-next.10](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.9...entity-storage-connector-dynamodb-v0.0.3-next.10) (2026-05-07)
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
### Features
|
|
7
7
|
|
|
8
|
-
*
|
|
8
|
+
* entity storage enhancements ([#86](https://github.com/iotaledger/twin-entity-storage/issues/86)) ([1279af4](https://github.com/iotaledger/twin-entity-storage/commit/1279af42615c6497bb06539842cee44842dd1f75))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.9 to 0.0.3-next.10
|
|
16
|
+
* devDependencies
|
|
17
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.9 to 0.0.3-next.10
|
|
18
|
+
|
|
19
|
+
## [0.0.3-next.9](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.8...entity-storage-connector-dynamodb-v0.0.3-next.9) (2026-04-22)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Miscellaneous Chores
|
|
23
|
+
|
|
24
|
+
* **entity-storage-connector-dynamodb:** Synchronize repo versions
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* The following workspace dependencies were updated
|
|
30
|
+
* dependencies
|
|
31
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
32
|
+
* devDependencies
|
|
33
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
34
|
+
|
|
35
|
+
## [0.0.3-next.8](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.7...entity-storage-connector-dynamodb-v0.0.3-next.8) (2026-03-20)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* tests and fixes for the comparisons for null and undefined ([#79](https://github.com/iotaledger/twin-entity-storage/issues/79)) ([e7ffd62](https://github.com/iotaledger/twin-entity-storage/commit/e7ffd62e9ec40ef31498e6e2350bb25d9c84638a))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Dependencies
|
|
44
|
+
|
|
45
|
+
* The following workspace dependencies were updated
|
|
46
|
+
* dependencies
|
|
47
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
48
|
+
* devDependencies
|
|
49
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
50
|
+
|
|
51
|
+
## [0.0.3-next.7](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.6...entity-storage-connector-dynamodb-v0.0.3-next.7) (2026-03-13)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
* adding tests and fixes for dot notation ([#76](https://github.com/iotaledger/twin-entity-storage/issues/76)) ([3879337](https://github.com/iotaledger/twin-entity-storage/commit/387933797e33543e4d8b2d49b8beeb792512a4ff))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Dependencies
|
|
60
|
+
|
|
61
|
+
* The following workspace dependencies were updated
|
|
62
|
+
* dependencies
|
|
63
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
64
|
+
* devDependencies
|
|
65
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
66
|
+
|
|
67
|
+
## [0.0.3-next.6](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.5...entity-storage-connector-dynamodb-v0.0.3-next.6) (2026-01-21)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Bug Fixes
|
|
71
|
+
|
|
72
|
+
* adding tests and support when neccesary for string include operator when needed ([#72](https://github.com/iotaledger/twin-entity-storage/issues/72)) ([3c723dd](https://github.com/iotaledger/twin-entity-storage/commit/3c723dd5694814398099d9d4594089dc6c66ba97))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Dependencies
|
|
76
|
+
|
|
77
|
+
* The following workspace dependencies were updated
|
|
78
|
+
* dependencies
|
|
79
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
80
|
+
* devDependencies
|
|
81
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
82
|
+
|
|
83
|
+
## [0.0.3-next.5](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.4...entity-storage-connector-dynamodb-v0.0.3-next.5) (2026-01-06)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Miscellaneous Chores
|
|
87
|
+
|
|
88
|
+
* **entity-storage-connector-dynamodb:** Synchronize repo versions
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Dependencies
|
|
92
|
+
|
|
93
|
+
* The following workspace dependencies were updated
|
|
94
|
+
* dependencies
|
|
95
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
96
|
+
* devDependencies
|
|
97
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
98
|
+
|
|
99
|
+
## [0.0.3-next.4](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.3...entity-storage-connector-dynamodb-v0.0.3-next.4) (2025-12-03)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Features
|
|
103
|
+
|
|
104
|
+
* add support for connection timeout config ([96d0025](https://github.com/iotaledger/twin-entity-storage/commit/96d0025bc11d27138bfd845e0248ba19382c3fd9))
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### Dependencies
|
|
108
|
+
|
|
109
|
+
* The following workspace dependencies were updated
|
|
110
|
+
* dependencies
|
|
111
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
112
|
+
* devDependencies
|
|
113
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
114
|
+
|
|
115
|
+
## [0.0.3-next.3](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.2...entity-storage-connector-dynamodb-v0.0.3-next.3) (2025-11-26)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Features
|
|
119
|
+
|
|
120
|
+
* add support for connection timeout config ([64f987e](https://github.com/iotaledger/twin-entity-storage/commit/64f987e1ddfd0f09cb24eb0bd5fc3739e9b58a00))
|
|
121
|
+
* add support for object comparison conditions ([eb505a1](https://github.com/iotaledger/twin-entity-storage/commit/eb505a17a3642e95c4e3cf137a77a0a8fb388c97))
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### Dependencies
|
|
125
|
+
|
|
126
|
+
* The following workspace dependencies were updated
|
|
127
|
+
* dependencies
|
|
128
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
129
|
+
* devDependencies
|
|
130
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
131
|
+
|
|
132
|
+
## [0.0.3-next.2](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.1...entity-storage-connector-dynamodb-v0.0.3-next.2) (2025-11-13)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
* add missing dependency ([3282535](https://github.com/iotaledger/twin-entity-storage/commit/328253516e0d13b276406fb4de97dab8ee5e8ba7))
|
|
138
|
+
* add missing dependency ([2b848f3](https://github.com/iotaledger/twin-entity-storage/commit/2b848f3a345522c869b798d7a1cb64112dd8e3e3))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### Dependencies
|
|
142
|
+
|
|
143
|
+
* The following workspace dependencies were updated
|
|
144
|
+
* dependencies
|
|
145
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
146
|
+
* devDependencies
|
|
147
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
148
|
+
|
|
149
|
+
## [0.0.3-next.1](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.3-next.0...entity-storage-connector-dynamodb-v0.0.3-next.1) (2025-11-10)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Features
|
|
153
|
+
|
|
154
|
+
* add AWS pod authentication mode ([caaae36](https://github.com/iotaledger/twin-entity-storage/commit/caaae368ca104cd9994e1af7b6c4c20e603c2021))
|
|
155
|
+
* add context id features ([#55](https://github.com/iotaledger/twin-entity-storage/issues/55)) ([99c15a2](https://github.com/iotaledger/twin-entity-storage/commit/99c15a257539b61d9da63649ce573ebf47699fc9))
|
|
156
|
+
* add production release automation ([1eb4c8e](https://github.com/iotaledger/twin-entity-storage/commit/1eb4c8ee3eb099defdfc2d063ae44935276dcae8))
|
|
157
|
+
* add synchronised to release configs ([e1e749c](https://github.com/iotaledger/twin-entity-storage/commit/e1e749cf261b58c8c36729686861e29c7d5e068e))
|
|
158
|
+
* add validate-locales ([e66ef0d](https://github.com/iotaledger/twin-entity-storage/commit/e66ef0de26ca2f82b3fe89bb5c7a15a0978a9644))
|
|
159
|
+
* eslint migration to flat config ([f033b64](https://github.com/iotaledger/twin-entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
|
|
160
|
+
* logging naming consistency ([f99d12d](https://github.com/iotaledger/twin-entity-storage/commit/f99d12dea04b6d4f2b5632ff5473e9ec7d5f9055))
|
|
161
|
+
* synchronised storage ([#44](https://github.com/iotaledger/twin-entity-storage/issues/44)) ([94e10e2](https://github.com/iotaledger/twin-entity-storage/commit/94e10e26d1feec801449dc04af7a9757ac7495ff))
|
|
162
|
+
* update dependencies ([7ccc0c4](https://github.com/iotaledger/twin-entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
|
|
163
|
+
* update docs ([5203e62](https://github.com/iotaledger/twin-entity-storage/commit/5203e621c3ae368f6fefb29ea5146f024f4a1b0d))
|
|
164
|
+
* update framework core ([b59a380](https://github.com/iotaledger/twin-entity-storage/commit/b59a380bb7fba2b43610f69074dcdee24a4737da))
|
|
165
|
+
* use shared store mechanism ([#34](https://github.com/iotaledger/twin-entity-storage/issues/34)) ([68b6b71](https://github.com/iotaledger/twin-entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Bug Fixes
|
|
169
|
+
|
|
170
|
+
* query params force coercion ([dd6aa87](https://github.com/iotaledger/twin-entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Dependencies
|
|
174
|
+
|
|
175
|
+
* The following workspace dependencies were updated
|
|
176
|
+
* dependencies
|
|
177
|
+
* @twin.org/entity-storage-models bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
178
|
+
* devDependencies
|
|
179
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
180
|
+
|
|
181
|
+
## [0.0.2-next.10](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.9...entity-storage-connector-dynamodb-v0.0.2-next.10) (2025-10-09)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### Features
|
|
185
|
+
|
|
186
|
+
* add validate-locales ([e66ef0d](https://github.com/iotaledger/twin-entity-storage/commit/e66ef0de26ca2f82b3fe89bb5c7a15a0978a9644))
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
### Dependencies
|
|
190
|
+
|
|
191
|
+
* The following workspace dependencies were updated
|
|
192
|
+
* dependencies
|
|
193
|
+
* @twin.org/entity-storage-models bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
194
|
+
* devDependencies
|
|
195
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
196
|
+
|
|
197
|
+
## [0.0.2-next.9](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.8...entity-storage-connector-dynamodb-v0.0.2-next.9) (2025-10-02)
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### Features
|
|
201
|
+
|
|
202
|
+
* add AWS pod authentication mode ([caaae36](https://github.com/iotaledger/twin-entity-storage/commit/caaae368ca104cd9994e1af7b6c4c20e603c2021))
|
|
9
203
|
|
|
10
204
|
|
|
11
205
|
### Dependencies
|
|
@@ -16,12 +210,12 @@
|
|
|
16
210
|
* devDependencies
|
|
17
211
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
18
212
|
|
|
19
|
-
## [0.0.2-next.8](https://github.com/
|
|
213
|
+
## [0.0.2-next.8](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.7...entity-storage-connector-dynamodb-v0.0.2-next.8) (2025-08-29)
|
|
20
214
|
|
|
21
215
|
|
|
22
216
|
### Features
|
|
23
217
|
|
|
24
|
-
* eslint migration to flat config ([f033b64](https://github.com/
|
|
218
|
+
* eslint migration to flat config ([f033b64](https://github.com/iotaledger/twin-entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
|
|
25
219
|
|
|
26
220
|
|
|
27
221
|
### Dependencies
|
|
@@ -32,12 +226,12 @@
|
|
|
32
226
|
* devDependencies
|
|
33
227
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
34
228
|
|
|
35
|
-
## [0.0.2-next.7](https://github.com/
|
|
229
|
+
## [0.0.2-next.7](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.6...entity-storage-connector-dynamodb-v0.0.2-next.7) (2025-08-20)
|
|
36
230
|
|
|
37
231
|
|
|
38
232
|
### Features
|
|
39
233
|
|
|
40
|
-
* logging naming consistency ([f99d12d](https://github.com/
|
|
234
|
+
* logging naming consistency ([f99d12d](https://github.com/iotaledger/twin-entity-storage/commit/f99d12dea04b6d4f2b5632ff5473e9ec7d5f9055))
|
|
41
235
|
|
|
42
236
|
|
|
43
237
|
### Dependencies
|
|
@@ -48,12 +242,12 @@
|
|
|
48
242
|
* devDependencies
|
|
49
243
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
50
244
|
|
|
51
|
-
## [0.0.2-next.6](https://github.com/
|
|
245
|
+
## [0.0.2-next.6](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.5...entity-storage-connector-dynamodb-v0.0.2-next.6) (2025-08-19)
|
|
52
246
|
|
|
53
247
|
|
|
54
248
|
### Features
|
|
55
249
|
|
|
56
|
-
* update framework core ([b59a380](https://github.com/
|
|
250
|
+
* update framework core ([b59a380](https://github.com/iotaledger/twin-entity-storage/commit/b59a380bb7fba2b43610f69074dcdee24a4737da))
|
|
57
251
|
|
|
58
252
|
|
|
59
253
|
### Dependencies
|
|
@@ -64,7 +258,7 @@
|
|
|
64
258
|
* devDependencies
|
|
65
259
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
66
260
|
|
|
67
|
-
## [0.0.2-next.5](https://github.com/
|
|
261
|
+
## [0.0.2-next.5](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.4...entity-storage-connector-dynamodb-v0.0.2-next.5) (2025-08-11)
|
|
68
262
|
|
|
69
263
|
|
|
70
264
|
### Miscellaneous Chores
|
|
@@ -80,7 +274,7 @@
|
|
|
80
274
|
* devDependencies
|
|
81
275
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
82
276
|
|
|
83
|
-
## [0.0.2-next.4](https://github.com/
|
|
277
|
+
## [0.0.2-next.4](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.3...entity-storage-connector-dynamodb-v0.0.2-next.4) (2025-08-08)
|
|
84
278
|
|
|
85
279
|
|
|
86
280
|
### Miscellaneous Chores
|
|
@@ -96,12 +290,12 @@
|
|
|
96
290
|
* devDependencies
|
|
97
291
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
98
292
|
|
|
99
|
-
## [0.0.2-next.3](https://github.com/
|
|
293
|
+
## [0.0.2-next.3](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.2...entity-storage-connector-dynamodb-v0.0.2-next.3) (2025-07-25)
|
|
100
294
|
|
|
101
295
|
|
|
102
296
|
### Features
|
|
103
297
|
|
|
104
|
-
* add synchronised to release configs ([e1e749c](https://github.com/
|
|
298
|
+
* add synchronised to release configs ([e1e749c](https://github.com/iotaledger/twin-entity-storage/commit/e1e749cf261b58c8c36729686861e29c7d5e068e))
|
|
105
299
|
|
|
106
300
|
|
|
107
301
|
### Dependencies
|
|
@@ -112,12 +306,12 @@
|
|
|
112
306
|
* devDependencies
|
|
113
307
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
114
308
|
|
|
115
|
-
## [0.0.2-next.2](https://github.com/
|
|
309
|
+
## [0.0.2-next.2](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.1...entity-storage-connector-dynamodb-v0.0.2-next.2) (2025-07-24)
|
|
116
310
|
|
|
117
311
|
|
|
118
312
|
### Features
|
|
119
313
|
|
|
120
|
-
* synchronised storage ([#44](https://github.com/
|
|
314
|
+
* synchronised storage ([#44](https://github.com/iotaledger/twin-entity-storage/issues/44)) ([94e10e2](https://github.com/iotaledger/twin-entity-storage/commit/94e10e26d1feec801449dc04af7a9757ac7495ff))
|
|
121
315
|
|
|
122
316
|
|
|
123
317
|
### Dependencies
|
|
@@ -128,20 +322,20 @@
|
|
|
128
322
|
* devDependencies
|
|
129
323
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
130
324
|
|
|
131
|
-
## [0.0.2-next.1](https://github.com/
|
|
325
|
+
## [0.0.2-next.1](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.2-next.0...entity-storage-connector-dynamodb-v0.0.2-next.1) (2025-07-17)
|
|
132
326
|
|
|
133
327
|
|
|
134
328
|
### Features
|
|
135
329
|
|
|
136
|
-
* add production release automation ([1eb4c8e](https://github.com/
|
|
137
|
-
* update dependencies ([7ccc0c4](https://github.com/
|
|
138
|
-
* update docs ([5203e62](https://github.com/
|
|
139
|
-
* use shared store mechanism ([#34](https://github.com/
|
|
330
|
+
* add production release automation ([1eb4c8e](https://github.com/iotaledger/twin-entity-storage/commit/1eb4c8ee3eb099defdfc2d063ae44935276dcae8))
|
|
331
|
+
* update dependencies ([7ccc0c4](https://github.com/iotaledger/twin-entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
|
|
332
|
+
* update docs ([5203e62](https://github.com/iotaledger/twin-entity-storage/commit/5203e621c3ae368f6fefb29ea5146f024f4a1b0d))
|
|
333
|
+
* use shared store mechanism ([#34](https://github.com/iotaledger/twin-entity-storage/issues/34)) ([68b6b71](https://github.com/iotaledger/twin-entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
|
|
140
334
|
|
|
141
335
|
|
|
142
336
|
### Bug Fixes
|
|
143
337
|
|
|
144
|
-
* query params force coercion ([dd6aa87](https://github.com/
|
|
338
|
+
* query params force coercion ([dd6aa87](https://github.com/iotaledger/twin-entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
|
|
145
339
|
|
|
146
340
|
|
|
147
341
|
### Dependencies
|
|
@@ -157,16 +351,16 @@
|
|
|
157
351
|
|
|
158
352
|
### Features
|
|
159
353
|
|
|
160
|
-
* add production release automation ([1eb4c8e](https://github.com/
|
|
161
|
-
* release to production ([a309051](https://github.com/
|
|
162
|
-
* update dependencies ([7ccc0c4](https://github.com/
|
|
163
|
-
* update docs ([5203e62](https://github.com/
|
|
164
|
-
* use shared store mechanism ([#34](https://github.com/
|
|
354
|
+
* add production release automation ([1eb4c8e](https://github.com/iotaledger/twin-entity-storage/commit/1eb4c8ee3eb099defdfc2d063ae44935276dcae8))
|
|
355
|
+
* release to production ([a309051](https://github.com/iotaledger/twin-entity-storage/commit/a3090519adebf7943232b4df12e4c6bd5afe7eed))
|
|
356
|
+
* update dependencies ([7ccc0c4](https://github.com/iotaledger/twin-entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
|
|
357
|
+
* update docs ([5203e62](https://github.com/iotaledger/twin-entity-storage/commit/5203e621c3ae368f6fefb29ea5146f024f4a1b0d))
|
|
358
|
+
* use shared store mechanism ([#34](https://github.com/iotaledger/twin-entity-storage/issues/34)) ([68b6b71](https://github.com/iotaledger/twin-entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
|
|
165
359
|
|
|
166
360
|
|
|
167
361
|
### Bug Fixes
|
|
168
362
|
|
|
169
|
-
* query params force coercion ([dd6aa87](https://github.com/
|
|
363
|
+
* query params force coercion ([dd6aa87](https://github.com/iotaledger/twin-entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
|
|
170
364
|
|
|
171
365
|
|
|
172
366
|
### Dependencies
|
|
@@ -177,12 +371,12 @@
|
|
|
177
371
|
* devDependencies
|
|
178
372
|
* @twin.org/entity-storage-connector-memory bumped from ^0.0.0 to ^0.0.1
|
|
179
373
|
|
|
180
|
-
## [0.0.1-next.31](https://github.com/
|
|
374
|
+
## [0.0.1-next.31](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.1-next.30...entity-storage-connector-dynamodb-v0.0.1-next.31) (2025-06-20)
|
|
181
375
|
|
|
182
376
|
|
|
183
377
|
### Bug Fixes
|
|
184
378
|
|
|
185
|
-
* query params force coercion ([dd6aa87](https://github.com/
|
|
379
|
+
* query params force coercion ([dd6aa87](https://github.com/iotaledger/twin-entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
|
|
186
380
|
|
|
187
381
|
|
|
188
382
|
### Dependencies
|
|
@@ -193,12 +387,12 @@
|
|
|
193
387
|
* devDependencies
|
|
194
388
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.1-next.30 to 0.0.1-next.31
|
|
195
389
|
|
|
196
|
-
## [0.0.1-next.30](https://github.com/
|
|
390
|
+
## [0.0.1-next.30](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.1-next.29...entity-storage-connector-dynamodb-v0.0.1-next.30) (2025-06-12)
|
|
197
391
|
|
|
198
392
|
|
|
199
393
|
### Features
|
|
200
394
|
|
|
201
|
-
* update dependencies ([7ccc0c4](https://github.com/
|
|
395
|
+
* update dependencies ([7ccc0c4](https://github.com/iotaledger/twin-entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
|
|
202
396
|
|
|
203
397
|
|
|
204
398
|
### Dependencies
|
|
@@ -209,12 +403,12 @@
|
|
|
209
403
|
* devDependencies
|
|
210
404
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.1-next.29 to 0.0.1-next.30
|
|
211
405
|
|
|
212
|
-
## [0.0.1-next.29](https://github.com/
|
|
406
|
+
## [0.0.1-next.29](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.1-next.28...entity-storage-connector-dynamodb-v0.0.1-next.29) (2025-04-17)
|
|
213
407
|
|
|
214
408
|
|
|
215
409
|
### Features
|
|
216
410
|
|
|
217
|
-
* use shared store mechanism ([#34](https://github.com/
|
|
411
|
+
* use shared store mechanism ([#34](https://github.com/iotaledger/twin-entity-storage/issues/34)) ([68b6b71](https://github.com/iotaledger/twin-entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
|
|
218
412
|
|
|
219
413
|
|
|
220
414
|
### Dependencies
|
|
@@ -225,12 +419,12 @@
|
|
|
225
419
|
* devDependencies
|
|
226
420
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.1-next.28 to 0.0.1-next.29
|
|
227
421
|
|
|
228
|
-
## [0.0.1-next.28](https://github.com/
|
|
422
|
+
## [0.0.1-next.28](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.1-next.27...entity-storage-connector-dynamodb-v0.0.1-next.28) (2025-04-09)
|
|
229
423
|
|
|
230
424
|
|
|
231
425
|
### Features
|
|
232
426
|
|
|
233
|
-
* update docs ([5203e62](https://github.com/
|
|
427
|
+
* update docs ([5203e62](https://github.com/iotaledger/twin-entity-storage/commit/5203e621c3ae368f6fefb29ea5146f024f4a1b0d))
|
|
234
428
|
|
|
235
429
|
|
|
236
430
|
### Dependencies
|
|
@@ -241,7 +435,7 @@
|
|
|
241
435
|
* devDependencies
|
|
242
436
|
* @twin.org/entity-storage-connector-memory bumped from 0.0.1-next.27 to 0.0.1-next.28
|
|
243
437
|
|
|
244
|
-
## [0.0.1-next.27](https://github.com/
|
|
438
|
+
## [0.0.1-next.27](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-dynamodb-v0.0.1-next.26...entity-storage-connector-dynamodb-v0.0.1-next.27) (2025-03-28)
|
|
245
439
|
|
|
246
440
|
|
|
247
441
|
### Miscellaneous Chores
|
package/docs/examples.md
CHANGED
|
@@ -1 +1,96 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Entity Storage Connector DynamoDB Examples
|
|
2
|
+
|
|
3
|
+
These examples show a complete flow from connector setup through reads, writes, filtered queries, and table maintenance tasks.
|
|
4
|
+
|
|
5
|
+
## DynamoDbEntityStorageConnector
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import {
|
|
9
|
+
DynamoDbEntityStorageConnector,
|
|
10
|
+
type IDynamoDbEntityStorageConnectorConstructorOptions
|
|
11
|
+
} from '@twin.org/entity-storage-connector-dynamodb';
|
|
12
|
+
import {
|
|
13
|
+
ComparisonOperator,
|
|
14
|
+
LogicalOperator,
|
|
15
|
+
SortDirection,
|
|
16
|
+
type EntityCondition
|
|
17
|
+
} from '@twin.org/entity';
|
|
18
|
+
|
|
19
|
+
interface Profile {
|
|
20
|
+
id: string;
|
|
21
|
+
email: string;
|
|
22
|
+
status: 'active' | 'inactive';
|
|
23
|
+
createdAt: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const options: IDynamoDbEntityStorageConnectorConstructorOptions = {
|
|
27
|
+
entitySchema: 'Profile',
|
|
28
|
+
config: {
|
|
29
|
+
region: 'eu-west-1',
|
|
30
|
+
authMode: 'credentials',
|
|
31
|
+
accessKeyId: 'local-access-key',
|
|
32
|
+
secretAccessKey: 'local-secret-key',
|
|
33
|
+
tableName: 'profiles',
|
|
34
|
+
endpoint: 'http://localhost:10000'
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
const connector = new DynamoDbEntityStorageConnector<Profile>(options);
|
|
39
|
+
await connector.bootstrap();
|
|
40
|
+
|
|
41
|
+
const className = connector.className();
|
|
42
|
+
const schema = connector.getSchema();
|
|
43
|
+
|
|
44
|
+
await connector.set({
|
|
45
|
+
id: 'profile-1',
|
|
46
|
+
email: 'ada@example.com',
|
|
47
|
+
status: 'active',
|
|
48
|
+
createdAt: '2026-03-09T10:30:00.000Z'
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
const byPrimaryKey = await connector.get('profile-1');
|
|
52
|
+
const bySecondaryIndex = await connector.get('ada@example.com', 'email');
|
|
53
|
+
|
|
54
|
+
const activeCondition: EntityCondition<Profile> = {
|
|
55
|
+
logicalOperator: LogicalOperator.And,
|
|
56
|
+
conditions: [
|
|
57
|
+
{
|
|
58
|
+
property: 'status',
|
|
59
|
+
comparison: ComparisonOperator.Equals,
|
|
60
|
+
value: 'active'
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
const result = await connector.query(
|
|
66
|
+
activeCondition,
|
|
67
|
+
[{ property: 'createdAt', sortDirection: SortDirection.Descending }],
|
|
68
|
+
['id', 'email', 'status'],
|
|
69
|
+
undefined,
|
|
70
|
+
25
|
|
71
|
+
);
|
|
72
|
+
|
|
73
|
+
await connector.remove('profile-1');
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import { DynamoDbEntityStorageConnector } from '@twin.org/entity-storage-connector-dynamodb';
|
|
78
|
+
|
|
79
|
+
interface Profile {
|
|
80
|
+
id: string;
|
|
81
|
+
email: string;
|
|
82
|
+
status: 'active' | 'inactive';
|
|
83
|
+
createdAt: string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
const connector = new DynamoDbEntityStorageConnector<Profile>({
|
|
87
|
+
entitySchema: 'Profile',
|
|
88
|
+
config: {
|
|
89
|
+
region: 'eu-west-1',
|
|
90
|
+
authMode: 'pod',
|
|
91
|
+
tableName: 'profiles'
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
await connector.bootstrap('logging');
|
|
96
|
+
```
|