@twin.org/entity-storage-connector-memory 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/docs/changelog.md CHANGED
@@ -1,6 +1,171 @@
1
- # @twin.org/entity-storage-connector-memory - Changelog
1
+ # Changelog
2
2
 
3
- ## [0.0.2-next.9](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.8...entity-storage-connector-memory-v0.0.2-next.9) (2025-10-02)
3
+ ## [0.0.3-next.10](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.9...entity-storage-connector-memory-v0.0.3-next.10) (2026-05-07)
4
+
5
+
6
+ ### Features
7
+
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
+
17
+ ## [0.0.3-next.9](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.8...entity-storage-connector-memory-v0.0.3-next.9) (2026-04-22)
18
+
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * **entity-storage-connector-memory:** Synchronize repo versions
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.8 to 0.0.3-next.9
30
+
31
+ ## [0.0.3-next.8](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.7...entity-storage-connector-memory-v0.0.3-next.8) (2026-03-20)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * 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))
37
+
38
+
39
+ ### Dependencies
40
+
41
+ * The following workspace dependencies were updated
42
+ * dependencies
43
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.7 to 0.0.3-next.8
44
+
45
+ ## [0.0.3-next.7](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.6...entity-storage-connector-memory-v0.0.3-next.7) (2026-03-13)
46
+
47
+
48
+ ### Bug Fixes
49
+
50
+ * 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))
51
+
52
+
53
+ ### Dependencies
54
+
55
+ * The following workspace dependencies were updated
56
+ * dependencies
57
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.6 to 0.0.3-next.7
58
+
59
+ ## [0.0.3-next.6](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.5...entity-storage-connector-memory-v0.0.3-next.6) (2026-01-21)
60
+
61
+
62
+ ### Bug Fixes
63
+
64
+ * 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))
65
+
66
+
67
+ ### Dependencies
68
+
69
+ * The following workspace dependencies were updated
70
+ * dependencies
71
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.5 to 0.0.3-next.6
72
+
73
+ ## [0.0.3-next.5](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.4...entity-storage-connector-memory-v0.0.3-next.5) (2026-01-06)
74
+
75
+
76
+ ### Miscellaneous Chores
77
+
78
+ * **entity-storage-connector-memory:** Synchronize repo versions
79
+
80
+
81
+ ### Dependencies
82
+
83
+ * The following workspace dependencies were updated
84
+ * dependencies
85
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.4 to 0.0.3-next.5
86
+
87
+ ## [0.0.3-next.4](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.3...entity-storage-connector-memory-v0.0.3-next.4) (2025-12-03)
88
+
89
+
90
+ ### Miscellaneous Chores
91
+
92
+ * **entity-storage-connector-memory:** Synchronize repo versions
93
+
94
+
95
+ ### Dependencies
96
+
97
+ * The following workspace dependencies were updated
98
+ * dependencies
99
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.3 to 0.0.3-next.4
100
+
101
+ ## [0.0.3-next.3](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.2...entity-storage-connector-memory-v0.0.3-next.3) (2025-11-26)
102
+
103
+
104
+ ### Features
105
+
106
+ * add support for object comparison conditions ([eb505a1](https://github.com/iotaledger/twin-entity-storage/commit/eb505a17a3642e95c4e3cf137a77a0a8fb388c97))
107
+
108
+
109
+ ### Dependencies
110
+
111
+ * The following workspace dependencies were updated
112
+ * dependencies
113
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.2 to 0.0.3-next.3
114
+
115
+ ## [0.0.3-next.2](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.1...entity-storage-connector-memory-v0.0.3-next.2) (2025-11-13)
116
+
117
+
118
+ ### Miscellaneous Chores
119
+
120
+ * **entity-storage-connector-memory:** Synchronize repo versions
121
+
122
+
123
+ ### Dependencies
124
+
125
+ * The following workspace dependencies were updated
126
+ * dependencies
127
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.1 to 0.0.3-next.2
128
+
129
+ ## [0.0.3-next.1](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.3-next.0...entity-storage-connector-memory-v0.0.3-next.1) (2025-11-10)
130
+
131
+
132
+ ### Features
133
+
134
+ * add context id features ([#55](https://github.com/iotaledger/twin-entity-storage/issues/55)) ([99c15a2](https://github.com/iotaledger/twin-entity-storage/commit/99c15a257539b61d9da63649ce573ebf47699fc9))
135
+ * add production release automation ([1eb4c8e](https://github.com/iotaledger/twin-entity-storage/commit/1eb4c8ee3eb099defdfc2d063ae44935276dcae8))
136
+ * add validate-locales ([e66ef0d](https://github.com/iotaledger/twin-entity-storage/commit/e66ef0de26ca2f82b3fe89bb5c7a15a0978a9644))
137
+ * eslint migration to flat config ([f033b64](https://github.com/iotaledger/twin-entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
138
+ * update dependencies ([7ccc0c4](https://github.com/iotaledger/twin-entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
139
+ * update framework core ([b59a380](https://github.com/iotaledger/twin-entity-storage/commit/b59a380bb7fba2b43610f69074dcdee24a4737da))
140
+ * use shared store mechanism ([#34](https://github.com/iotaledger/twin-entity-storage/issues/34)) ([68b6b71](https://github.com/iotaledger/twin-entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
141
+
142
+
143
+ ### Bug Fixes
144
+
145
+ * query params force coercion ([dd6aa87](https://github.com/iotaledger/twin-entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
146
+
147
+
148
+ ### Dependencies
149
+
150
+ * The following workspace dependencies were updated
151
+ * dependencies
152
+ * @twin.org/entity-storage-models bumped from 0.0.3-next.0 to 0.0.3-next.1
153
+
154
+ ## [0.0.2-next.10](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.9...entity-storage-connector-memory-v0.0.2-next.10) (2025-10-09)
155
+
156
+
157
+ ### Features
158
+
159
+ * add validate-locales ([e66ef0d](https://github.com/iotaledger/twin-entity-storage/commit/e66ef0de26ca2f82b3fe89bb5c7a15a0978a9644))
160
+
161
+
162
+ ### Dependencies
163
+
164
+ * The following workspace dependencies were updated
165
+ * dependencies
166
+ * @twin.org/entity-storage-models bumped from 0.0.2-next.9 to 0.0.2-next.10
167
+
168
+ ## [0.0.2-next.9](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.8...entity-storage-connector-memory-v0.0.2-next.9) (2025-10-02)
4
169
 
5
170
 
6
171
  ### Miscellaneous Chores
@@ -14,12 +179,12 @@
14
179
  * dependencies
15
180
  * @twin.org/entity-storage-models bumped from 0.0.2-next.8 to 0.0.2-next.9
16
181
 
17
- ## [0.0.2-next.8](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.7...entity-storage-connector-memory-v0.0.2-next.8) (2025-08-29)
182
+ ## [0.0.2-next.8](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.7...entity-storage-connector-memory-v0.0.2-next.8) (2025-08-29)
18
183
 
19
184
 
20
185
  ### Features
21
186
 
22
- * eslint migration to flat config ([f033b64](https://github.com/twinfoundation/entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
187
+ * eslint migration to flat config ([f033b64](https://github.com/iotaledger/twin-entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
23
188
 
24
189
 
25
190
  ### Dependencies
@@ -28,7 +193,7 @@
28
193
  * dependencies
29
194
  * @twin.org/entity-storage-models bumped from 0.0.2-next.7 to 0.0.2-next.8
30
195
 
31
- ## [0.0.2-next.7](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.6...entity-storage-connector-memory-v0.0.2-next.7) (2025-08-20)
196
+ ## [0.0.2-next.7](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.6...entity-storage-connector-memory-v0.0.2-next.7) (2025-08-20)
32
197
 
33
198
 
34
199
  ### Miscellaneous Chores
@@ -42,12 +207,12 @@
42
207
  * dependencies
43
208
  * @twin.org/entity-storage-models bumped from 0.0.2-next.6 to 0.0.2-next.7
44
209
 
45
- ## [0.0.2-next.6](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.5...entity-storage-connector-memory-v0.0.2-next.6) (2025-08-19)
210
+ ## [0.0.2-next.6](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.5...entity-storage-connector-memory-v0.0.2-next.6) (2025-08-19)
46
211
 
47
212
 
48
213
  ### Features
49
214
 
50
- * update framework core ([b59a380](https://github.com/twinfoundation/entity-storage/commit/b59a380bb7fba2b43610f69074dcdee24a4737da))
215
+ * update framework core ([b59a380](https://github.com/iotaledger/twin-entity-storage/commit/b59a380bb7fba2b43610f69074dcdee24a4737da))
51
216
 
52
217
 
53
218
  ### Dependencies
@@ -56,7 +221,7 @@
56
221
  * dependencies
57
222
  * @twin.org/entity-storage-models bumped from 0.0.2-next.5 to 0.0.2-next.6
58
223
 
59
- ## [0.0.2-next.5](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.4...entity-storage-connector-memory-v0.0.2-next.5) (2025-08-11)
224
+ ## [0.0.2-next.5](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.4...entity-storage-connector-memory-v0.0.2-next.5) (2025-08-11)
60
225
 
61
226
 
62
227
  ### Miscellaneous Chores
@@ -70,7 +235,7 @@
70
235
  * dependencies
71
236
  * @twin.org/entity-storage-models bumped from 0.0.2-next.4 to 0.0.2-next.5
72
237
 
73
- ## [0.0.2-next.4](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.3...entity-storage-connector-memory-v0.0.2-next.4) (2025-08-08)
238
+ ## [0.0.2-next.4](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.3...entity-storage-connector-memory-v0.0.2-next.4) (2025-08-08)
74
239
 
75
240
 
76
241
  ### Miscellaneous Chores
@@ -84,7 +249,7 @@
84
249
  * dependencies
85
250
  * @twin.org/entity-storage-models bumped from 0.0.2-next.3 to 0.0.2-next.4
86
251
 
87
- ## [0.0.2-next.3](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.2...entity-storage-connector-memory-v0.0.2-next.3) (2025-07-25)
252
+ ## [0.0.2-next.3](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.2...entity-storage-connector-memory-v0.0.2-next.3) (2025-07-25)
88
253
 
89
254
 
90
255
  ### Miscellaneous Chores
@@ -98,7 +263,7 @@
98
263
  * dependencies
99
264
  * @twin.org/entity-storage-models bumped from 0.0.2-next.2 to 0.0.2-next.3
100
265
 
101
- ## [0.0.2-next.2](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.1...entity-storage-connector-memory-v0.0.2-next.2) (2025-07-24)
266
+ ## [0.0.2-next.2](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.1...entity-storage-connector-memory-v0.0.2-next.2) (2025-07-24)
102
267
 
103
268
 
104
269
  ### Miscellaneous Chores
@@ -112,19 +277,19 @@
112
277
  * dependencies
113
278
  * @twin.org/entity-storage-models bumped from 0.0.2-next.1 to 0.0.2-next.2
114
279
 
115
- ## [0.0.2-next.1](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.0...entity-storage-connector-memory-v0.0.2-next.1) (2025-07-17)
280
+ ## [0.0.2-next.1](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.2-next.0...entity-storage-connector-memory-v0.0.2-next.1) (2025-07-17)
116
281
 
117
282
 
118
283
  ### Features
119
284
 
120
- * add production release automation ([1eb4c8e](https://github.com/twinfoundation/entity-storage/commit/1eb4c8ee3eb099defdfc2d063ae44935276dcae8))
121
- * update dependencies ([7ccc0c4](https://github.com/twinfoundation/entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
122
- * use shared store mechanism ([#34](https://github.com/twinfoundation/entity-storage/issues/34)) ([68b6b71](https://github.com/twinfoundation/entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
285
+ * add production release automation ([1eb4c8e](https://github.com/iotaledger/twin-entity-storage/commit/1eb4c8ee3eb099defdfc2d063ae44935276dcae8))
286
+ * update dependencies ([7ccc0c4](https://github.com/iotaledger/twin-entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
287
+ * use shared store mechanism ([#34](https://github.com/iotaledger/twin-entity-storage/issues/34)) ([68b6b71](https://github.com/iotaledger/twin-entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
123
288
 
124
289
 
125
290
  ### Bug Fixes
126
291
 
127
- * query params force coercion ([dd6aa87](https://github.com/twinfoundation/entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
292
+ * query params force coercion ([dd6aa87](https://github.com/iotaledger/twin-entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
128
293
 
129
294
 
130
295
  ### Dependencies
@@ -138,15 +303,15 @@
138
303
 
139
304
  ### Features
140
305
 
141
- * add production release automation ([1eb4c8e](https://github.com/twinfoundation/entity-storage/commit/1eb4c8ee3eb099defdfc2d063ae44935276dcae8))
142
- * release to production ([a309051](https://github.com/twinfoundation/entity-storage/commit/a3090519adebf7943232b4df12e4c6bd5afe7eed))
143
- * update dependencies ([7ccc0c4](https://github.com/twinfoundation/entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
144
- * use shared store mechanism ([#34](https://github.com/twinfoundation/entity-storage/issues/34)) ([68b6b71](https://github.com/twinfoundation/entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
306
+ * add production release automation ([1eb4c8e](https://github.com/iotaledger/twin-entity-storage/commit/1eb4c8ee3eb099defdfc2d063ae44935276dcae8))
307
+ * release to production ([a309051](https://github.com/iotaledger/twin-entity-storage/commit/a3090519adebf7943232b4df12e4c6bd5afe7eed))
308
+ * update dependencies ([7ccc0c4](https://github.com/iotaledger/twin-entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
309
+ * use shared store mechanism ([#34](https://github.com/iotaledger/twin-entity-storage/issues/34)) ([68b6b71](https://github.com/iotaledger/twin-entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
145
310
 
146
311
 
147
312
  ### Bug Fixes
148
313
 
149
- * query params force coercion ([dd6aa87](https://github.com/twinfoundation/entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
314
+ * query params force coercion ([dd6aa87](https://github.com/iotaledger/twin-entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
150
315
 
151
316
 
152
317
  ### Dependencies
@@ -155,12 +320,12 @@
155
320
  * dependencies
156
321
  * @twin.org/entity-storage-models bumped from ^0.0.0 to ^0.0.1
157
322
 
158
- ## [0.0.1-next.31](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.30...entity-storage-connector-memory-v0.0.1-next.31) (2025-06-20)
323
+ ## [0.0.1-next.31](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.30...entity-storage-connector-memory-v0.0.1-next.31) (2025-06-20)
159
324
 
160
325
 
161
326
  ### Bug Fixes
162
327
 
163
- * query params force coercion ([dd6aa87](https://github.com/twinfoundation/entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
328
+ * query params force coercion ([dd6aa87](https://github.com/iotaledger/twin-entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
164
329
 
165
330
 
166
331
  ### Dependencies
@@ -169,12 +334,12 @@
169
334
  * dependencies
170
335
  * @twin.org/entity-storage-models bumped from 0.0.1-next.30 to 0.0.1-next.31
171
336
 
172
- ## [0.0.1-next.30](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.29...entity-storage-connector-memory-v0.0.1-next.30) (2025-06-12)
337
+ ## [0.0.1-next.30](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.29...entity-storage-connector-memory-v0.0.1-next.30) (2025-06-12)
173
338
 
174
339
 
175
340
  ### Features
176
341
 
177
- * update dependencies ([7ccc0c4](https://github.com/twinfoundation/entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
342
+ * update dependencies ([7ccc0c4](https://github.com/iotaledger/twin-entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
178
343
 
179
344
 
180
345
  ### Dependencies
@@ -183,12 +348,12 @@
183
348
  * dependencies
184
349
  * @twin.org/entity-storage-models bumped from 0.0.1-next.29 to 0.0.1-next.30
185
350
 
186
- ## [0.0.1-next.29](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.28...entity-storage-connector-memory-v0.0.1-next.29) (2025-04-17)
351
+ ## [0.0.1-next.29](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.28...entity-storage-connector-memory-v0.0.1-next.29) (2025-04-17)
187
352
 
188
353
 
189
354
  ### Features
190
355
 
191
- * use shared store mechanism ([#34](https://github.com/twinfoundation/entity-storage/issues/34)) ([68b6b71](https://github.com/twinfoundation/entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
356
+ * use shared store mechanism ([#34](https://github.com/iotaledger/twin-entity-storage/issues/34)) ([68b6b71](https://github.com/iotaledger/twin-entity-storage/commit/68b6b71e7a96d7d016cd57bfff36775b56bf3f93))
192
357
 
193
358
 
194
359
  ### Dependencies
@@ -197,7 +362,7 @@
197
362
  * dependencies
198
363
  * @twin.org/entity-storage-models bumped from 0.0.1-next.28 to 0.0.1-next.29
199
364
 
200
- ## [0.0.1-next.28](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.27...entity-storage-connector-memory-v0.0.1-next.28) (2025-04-09)
365
+ ## [0.0.1-next.28](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.27...entity-storage-connector-memory-v0.0.1-next.28) (2025-04-09)
201
366
 
202
367
 
203
368
  ### Miscellaneous Chores
@@ -211,7 +376,7 @@
211
376
  * dependencies
212
377
  * @twin.org/entity-storage-models bumped from 0.0.1-next.27 to 0.0.1-next.28
213
378
 
214
- ## [0.0.1-next.27](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.26...entity-storage-connector-memory-v0.0.1-next.27) (2025-03-28)
379
+ ## [0.0.1-next.27](https://github.com/iotaledger/twin-entity-storage/compare/entity-storage-connector-memory-v0.0.1-next.26...entity-storage-connector-memory-v0.0.1-next.27) (2025-03-28)
215
380
 
216
381
 
217
382
  ### Miscellaneous Chores
package/docs/examples.md CHANGED
@@ -1 +1,78 @@
1
- # @twin.org/entity-storage-connector-memory - Examples
1
+ # Entity Storage Connector Memory Examples
2
+
3
+ Use these snippets to perform fast in-memory storage operations during development and unit testing.
4
+
5
+ ## MemoryEntityStorageConnector
6
+
7
+ ```typescript
8
+ import { MemoryEntityStorageConnector } from '@twin.org/entity-storage-connector-memory';
9
+ import {
10
+ ComparisonOperator,
11
+ LogicalOperator,
12
+ SortDirection,
13
+ type EntityCondition
14
+ } from '@twin.org/entity';
15
+
16
+ interface Profile {
17
+ id: string;
18
+ email: string;
19
+ status: 'active' | 'inactive';
20
+ createdAt: string;
21
+ }
22
+
23
+ const connector = new MemoryEntityStorageConnector<Profile>({
24
+ entitySchema: 'Profile',
25
+ partitionContextIds: ['tenantId']
26
+ });
27
+
28
+ const className = connector.className();
29
+ const schema = connector.getSchema();
30
+
31
+ await connector.set({
32
+ id: 'profile-1',
33
+ email: 'ada@example.com',
34
+ status: 'active',
35
+ createdAt: '2026-03-09T10:30:00.000Z'
36
+ });
37
+
38
+ const byPrimaryKey = await connector.get('profile-1');
39
+ const bySecondaryIndex = await connector.get('ada@example.com', 'email');
40
+
41
+ const activeCondition: EntityCondition<Profile> = {
42
+ logicalOperator: LogicalOperator.And,
43
+ conditions: [
44
+ {
45
+ property: 'status',
46
+ comparison: ComparisonOperator.Equals,
47
+ value: 'active'
48
+ }
49
+ ]
50
+ };
51
+
52
+ const result = await connector.query(
53
+ activeCondition,
54
+ [{ property: 'createdAt', sortDirection: SortDirection.Descending }],
55
+ ['id', 'email', 'status'],
56
+ undefined,
57
+ 25
58
+ );
59
+
60
+ await connector.remove('profile-1');
61
+ ```
62
+
63
+ ```typescript
64
+ import { MemoryEntityStorageConnector } from '@twin.org/entity-storage-connector-memory';
65
+
66
+ interface Profile {
67
+ id: string;
68
+ email: string;
69
+ status: 'active' | 'inactive';
70
+ createdAt: string;
71
+ }
72
+
73
+ const connector = new MemoryEntityStorageConnector<Profile>({
74
+ entitySchema: 'Profile'
75
+ });
76
+
77
+ const store = connector.getStore();
78
+ ```
@@ -34,19 +34,51 @@ The options for the connector.
34
34
 
35
35
  ## Properties
36
36
 
37
- ### CLASS\_NAME
37
+ ### CLASS\_NAME {#class_name}
38
38
 
39
- > `readonly` **CLASS\_NAME**: `string`
39
+ > `readonly` `static` **CLASS\_NAME**: `string`
40
40
 
41
41
  Runtime name for the class.
42
42
 
43
+ ## Methods
44
+
45
+ ### className() {#classname}
46
+
47
+ > **className**(): `string`
48
+
49
+ Returns the class name of the component.
50
+
51
+ #### Returns
52
+
53
+ `string`
54
+
55
+ The class name of the component.
56
+
43
57
  #### Implementation of
44
58
 
45
- `IEntityStorageConnector.CLASS_NAME`
59
+ `IEntityStorageConnector.className`
46
60
 
47
- ## Methods
61
+ ***
62
+
63
+ ### health() {#health}
64
+
65
+ > **health**(): `Promise`\<`IHealth`[]\>
48
66
 
49
- ### getSchema()
67
+ Returns the health status of the component.
68
+
69
+ #### Returns
70
+
71
+ `Promise`\<`IHealth`[]\>
72
+
73
+ The health status of the component.
74
+
75
+ #### Implementation of
76
+
77
+ `IEntityStorageConnector.health`
78
+
79
+ ***
80
+
81
+ ### getSchema() {#getschema}
50
82
 
51
83
  > **getSchema**(): `IEntitySchema`
52
84
 
@@ -64,9 +96,9 @@ The schema for the entities.
64
96
 
65
97
  ***
66
98
 
67
- ### get()
99
+ ### get() {#get}
68
100
 
69
- > **get**(`id`, `secondaryIndex?`, `conditions?`): `Promise`\<`undefined` \| `T`\>
101
+ > **get**(`id`, `secondaryIndex?`, `conditions?`): `Promise`\<`T` \| `undefined`\>
70
102
 
71
103
  Get an entity.
72
104
 
@@ -92,7 +124,7 @@ The optional conditions to match for the entities.
92
124
 
93
125
  #### Returns
94
126
 
95
- `Promise`\<`undefined` \| `T`\>
127
+ `Promise`\<`T` \| `undefined`\>
96
128
 
97
129
  The object if it can be found or undefined.
98
130
 
@@ -102,7 +134,7 @@ The object if it can be found or undefined.
102
134
 
103
135
  ***
104
136
 
105
- ### set()
137
+ ### set() {#set}
106
138
 
107
139
  > **set**(`entity`, `conditions?`): `Promise`\<`void`\>
108
140
 
@@ -134,7 +166,33 @@ The id of the entity.
134
166
 
135
167
  ***
136
168
 
137
- ### remove()
169
+ ### setBatch() {#setbatch}
170
+
171
+ > **setBatch**(`entities`): `Promise`\<`void`\>
172
+
173
+ Set multiple entities in a batch.
174
+
175
+ #### Parameters
176
+
177
+ ##### entities
178
+
179
+ `T`[]
180
+
181
+ The entities to set.
182
+
183
+ #### Returns
184
+
185
+ `Promise`\<`void`\>
186
+
187
+ Nothing.
188
+
189
+ #### Implementation of
190
+
191
+ `IEntityStorageConnector.setBatch`
192
+
193
+ ***
194
+
195
+ ### remove() {#remove}
138
196
 
139
197
  > **remove**(`id`, `conditions?`): `Promise`\<`void`\>
140
198
 
@@ -166,9 +224,9 @@ Nothing.
166
224
 
167
225
  ***
168
226
 
169
- ### query()
227
+ ### query() {#query}
170
228
 
171
- > **query**(`conditions?`, `sortProperties?`, `properties?`, `cursor?`, `pageSize?`): `Promise`\<\{ `entities`: `Partial`\<`T`\>[]; `cursor?`: `string`; \}\>
229
+ > **query**(`conditions?`, `sortProperties?`, `properties?`, `cursor?`, `limit?`): `Promise`\<\{ `entities`: `Partial`\<`T`\>[]; `cursor?`: `string`; \}\>
172
230
 
173
231
  Find all the entities which match the conditions.
174
232
 
@@ -196,9 +254,9 @@ The optional properties to return, defaults to all.
196
254
 
197
255
  `string`
198
256
 
199
- The cursor to request the next page of entities.
257
+ The cursor to request the next chunk of entities.
200
258
 
201
- ##### pageSize?
259
+ ##### limit?
202
260
 
203
261
  `number`
204
262
 
@@ -217,7 +275,95 @@ and a cursor which can be used to request more entities.
217
275
 
218
276
  ***
219
277
 
220
- ### getStore()
278
+ ### empty() {#empty}
279
+
280
+ > **empty**(): `Promise`\<`void`\>
281
+
282
+ Remove all entities from the storage.
283
+
284
+ #### Returns
285
+
286
+ `Promise`\<`void`\>
287
+
288
+ Nothing.
289
+
290
+ #### Implementation of
291
+
292
+ `IEntityStorageConnector.empty`
293
+
294
+ ***
295
+
296
+ ### removeBatch() {#removebatch}
297
+
298
+ > **removeBatch**(`ids`): `Promise`\<`void`\>
299
+
300
+ Remove multiple entities by id.
301
+
302
+ #### Parameters
303
+
304
+ ##### ids
305
+
306
+ `string`[]
307
+
308
+ The ids of the entities to remove.
309
+
310
+ #### Returns
311
+
312
+ `Promise`\<`void`\>
313
+
314
+ Nothing.
315
+
316
+ #### Implementation of
317
+
318
+ `IEntityStorageConnector.removeBatch`
319
+
320
+ ***
321
+
322
+ ### teardown() {#teardown}
323
+
324
+ > **teardown**(`nodeLoggingComponentType?`): `Promise`\<`boolean`\>
325
+
326
+ Teardown the storage by clearing the underlying store.
327
+
328
+ #### Parameters
329
+
330
+ ##### nodeLoggingComponentType?
331
+
332
+ `string`
333
+
334
+ The node logging component type.
335
+
336
+ #### Returns
337
+
338
+ `Promise`\<`boolean`\>
339
+
340
+ True if the teardown process was successful.
341
+
342
+ #### Implementation of
343
+
344
+ `IEntityStorageConnector.teardown`
345
+
346
+ ***
347
+
348
+ ### count() {#count}
349
+
350
+ > **count**(): `Promise`\<`number`\>
351
+
352
+ Count all the entities which match the conditions.
353
+
354
+ #### Returns
355
+
356
+ `Promise`\<`number`\>
357
+
358
+ The total count of entities in the storage.
359
+
360
+ #### Implementation of
361
+
362
+ `IEntityStorageConnector.count`
363
+
364
+ ***
365
+
366
+ ### getStore() {#getstore}
221
367
 
222
368
  > **getStore**(): `T`[]
223
369