@twin.org/entity-storage-service 0.0.1-next.29 → 0.0.1-next.31
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,5 +1,37 @@
|
|
1
1
|
# @twin.org/entity-storage-service - Changelog
|
2
2
|
|
3
|
+
## [0.0.1-next.31](https://github.com/twinfoundation/entity-storage/compare/entity-storage-service-v0.0.1-next.30...entity-storage-service-v0.0.1-next.31) (2025-06-20)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* query params force coercion ([dd6aa87](https://github.com/twinfoundation/entity-storage/commit/dd6aa87efdfb60bab7d6756a86888863c45c51a7))
|
9
|
+
|
10
|
+
|
11
|
+
### Dependencies
|
12
|
+
|
13
|
+
* The following workspace dependencies were updated
|
14
|
+
* dependencies
|
15
|
+
* @twin.org/entity-storage-models bumped from 0.0.1-next.30 to 0.0.1-next.31
|
16
|
+
* devDependencies
|
17
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.1-next.30 to 0.0.1-next.31
|
18
|
+
|
19
|
+
## [0.0.1-next.30](https://github.com/twinfoundation/entity-storage/compare/entity-storage-service-v0.0.1-next.29...entity-storage-service-v0.0.1-next.30) (2025-06-12)
|
20
|
+
|
21
|
+
|
22
|
+
### Features
|
23
|
+
|
24
|
+
* update dependencies ([7ccc0c4](https://github.com/twinfoundation/entity-storage/commit/7ccc0c429125d073dc60b3de6cf101abc8cc6cba))
|
25
|
+
|
26
|
+
|
27
|
+
### Dependencies
|
28
|
+
|
29
|
+
* The following workspace dependencies were updated
|
30
|
+
* dependencies
|
31
|
+
* @twin.org/entity-storage-models bumped from 0.0.1-next.29 to 0.0.1-next.30
|
32
|
+
* devDependencies
|
33
|
+
* @twin.org/entity-storage-connector-memory bumped from 0.0.1-next.29 to 0.0.1-next.30
|
34
|
+
|
3
35
|
## [0.0.1-next.29](https://github.com/twinfoundation/entity-storage/compare/entity-storage-service-v0.0.1-next.28...entity-storage-service-v0.0.1-next.29) (2025-04-17)
|
4
36
|
|
5
37
|
|
package/docs/open-api/spec.json
CHANGED
@@ -164,7 +164,10 @@
|
|
164
164
|
"in": "query",
|
165
165
|
"required": false,
|
166
166
|
"schema": {
|
167
|
-
"type":
|
167
|
+
"type": [
|
168
|
+
"number",
|
169
|
+
"string"
|
170
|
+
]
|
168
171
|
}
|
169
172
|
},
|
170
173
|
{
|
@@ -518,8 +521,10 @@
|
|
518
521
|
"properties": {
|
519
522
|
"entities": {
|
520
523
|
"type": "array",
|
521
|
-
"
|
522
|
-
"
|
524
|
+
"description": "The entities from the query.",
|
525
|
+
"prefixItems": [
|
526
|
+
{}
|
527
|
+
]
|
523
528
|
},
|
524
529
|
"cursor": {
|
525
530
|
"type": "string",
|
@@ -168,7 +168,7 @@ Nothing.
|
|
168
168
|
|
169
169
|
### query()
|
170
170
|
|
171
|
-
> **query**(`conditions?`, `orderBy?`, `orderByDirection?`, `properties?`, `cursor?`, `pageSize?`, `userIdentity?`, `nodeIdentity?`): `Promise`\<\{ `entities`: `Partial`\<`T`\>[]; `cursor
|
171
|
+
> **query**(`conditions?`, `orderBy?`, `orderByDirection?`, `properties?`, `cursor?`, `pageSize?`, `userIdentity?`, `nodeIdentity?`): `Promise`\<\{ `entities`: `Partial`\<`T`\>[]; `cursor?`: `string`; \}\>
|
172
172
|
|
173
173
|
Query all the entities which match the conditions.
|
174
174
|
|
@@ -224,7 +224,7 @@ The node identity to use with storage operations.
|
|
224
224
|
|
225
225
|
#### Returns
|
226
226
|
|
227
|
-
`Promise`\<\{ `entities`: `Partial`\<`T`\>[]; `cursor
|
227
|
+
`Promise`\<\{ `entities`: `Partial`\<`T`\>[]; `cursor?`: `string`; \}\>
|
228
228
|
|
229
229
|
All the entities for the storage matching the conditions,
|
230
230
|
and a cursor which can be used to request more entities.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@twin.org/entity-storage-service",
|
3
|
-
"version": "0.0.1-next.
|
3
|
+
"version": "0.0.1-next.31",
|
4
4
|
"description": "Entity Storage contract implementation and REST endpoint definitions",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"@twin.org/api-models": "next",
|
18
18
|
"@twin.org/core": "next",
|
19
19
|
"@twin.org/entity": "next",
|
20
|
-
"@twin.org/entity-storage-models": "0.0.1-next.
|
20
|
+
"@twin.org/entity-storage-models": "0.0.1-next.31",
|
21
21
|
"@twin.org/nameof": "next",
|
22
22
|
"@twin.org/web": "next"
|
23
23
|
},
|