@twin.org/logging-service 0.0.1-next.14 → 0.0.1-next.16

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,33 @@
1
1
  # @twin.org/logging-service - Changelog
2
2
 
3
+ ## [0.0.1-next.16](https://github.com/twinfoundation/logging/compare/logging-service-v0.0.1-next.15...logging-service-v0.0.1-next.16) (2025-06-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * query params force coercion ([71c5329](https://github.com/twinfoundation/logging/commit/71c53292d300acae0369bd7937c5ca3ab5430689))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/logging-models bumped from 0.0.1-next.15 to 0.0.1-next.16
16
+
17
+ ## [0.0.1-next.15](https://github.com/twinfoundation/logging/compare/logging-service-v0.0.1-next.14...logging-service-v0.0.1-next.15) (2025-06-12)
18
+
19
+
20
+ ### Features
21
+
22
+ * update dependencies ([976fc06](https://github.com/twinfoundation/logging/commit/976fc06976c4899769486b7cb2e827c407d7fc89))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @twin.org/logging-models bumped from 0.0.1-next.14 to 0.0.1-next.15
30
+
3
31
  ## [0.0.1-next.14](https://github.com/twinfoundation/logging/compare/logging-service-v0.0.1-next.13...logging-service-v0.0.1-next.14) (2025-04-17)
4
32
 
5
33
 
@@ -164,7 +164,10 @@
164
164
  "in": "query",
165
165
  "required": false,
166
166
  "schema": {
167
- "type": "number"
167
+ "type": [
168
+ "number",
169
+ "string"
170
+ ]
168
171
  }
169
172
  },
170
173
  {
@@ -173,7 +176,10 @@
173
176
  "in": "query",
174
177
  "required": false,
175
178
  "schema": {
176
- "type": "number"
179
+ "type": [
180
+ "number",
181
+ "string"
182
+ ]
177
183
  }
178
184
  },
179
185
  {
@@ -191,7 +197,10 @@
191
197
  "in": "query",
192
198
  "required": false,
193
199
  "schema": {
194
- "type": "number"
200
+ "type": [
201
+ "number",
202
+ "string"
203
+ ]
195
204
  }
196
205
  }
197
206
  ],
@@ -375,10 +384,12 @@
375
384
  "properties": {
376
385
  "entities": {
377
386
  "type": "array",
378
- "items": {
379
- "$ref": "#/components/schemas/LogEntry"
380
- },
381
- "description": "The entities, which can be partial if a limited keys list was provided."
387
+ "description": "The entities, which can be partial if a limited keys list was provided.",
388
+ "prefixItems": [
389
+ {
390
+ "$ref": "#/components/schemas/LogEntry"
391
+ }
392
+ ]
382
393
  },
383
394
  "cursor": {
384
395
  "type": "string",
@@ -76,7 +76,7 @@ Nothing.
76
76
 
77
77
  ### query()
78
78
 
79
- > **query**(`level?`, `source?`, `timeStart?`, `timeEnd?`, `cursor?`, `pageSize?`): `Promise`\<\{ `entities`: `ILogEntry`[]; `cursor`: `string`; \}\>
79
+ > **query**(`level?`, `source?`, `timeStart?`, `timeEnd?`, `cursor?`, `pageSize?`): `Promise`\<\{ `entities`: `ILogEntry`[]; `cursor?`: `string`; \}\>
80
80
 
81
81
  Query the log entries.
82
82
 
@@ -120,7 +120,7 @@ The maximum number of entities in a page.
120
120
 
121
121
  #### Returns
122
122
 
123
- `Promise`\<\{ `entities`: `ILogEntry`[]; `cursor`: `string`; \}\>
123
+ `Promise`\<\{ `entities`: `ILogEntry`[]; `cursor?`: `string`; \}\>
124
124
 
125
125
  All the entities for the storage matching the conditions,
126
126
  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/logging-service",
3
- "version": "0.0.1-next.14",
3
+ "version": "0.0.1-next.16",
4
4
  "description": "Logging 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/logging-models": "0.0.1-next.14",
20
+ "@twin.org/logging-models": "0.0.1-next.16",
21
21
  "@twin.org/nameof": "next",
22
22
  "@twin.org/web": "next"
23
23
  },