@twin.org/logging-models 0.0.1-next.15 → 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.
@@ -6,7 +6,7 @@ export interface ILoggingListRequest {
6
6
  /**
7
7
  * The query parameters.
8
8
  */
9
- query: {
9
+ query?: {
10
10
  /**
11
11
  * The level of the log entries to retrieve.
12
12
  */
@@ -18,11 +18,11 @@ export interface ILoggingListRequest {
18
18
  /**
19
19
  * The start time of the metrics to retrieve as a timestamp in ms.
20
20
  */
21
- timeStart?: number;
21
+ timeStart?: number | string;
22
22
  /**
23
23
  * The end time of the metrics to retrieve as a timestamp in ms.
24
24
  */
25
- timeEnd?: number;
25
+ timeEnd?: number | string;
26
26
  /**
27
27
  * The optional cursor to get next chunk.
28
28
  */
@@ -30,6 +30,6 @@ export interface ILoggingListRequest {
30
30
  /**
31
31
  * The maximum number of entities in a page.
32
32
  */
33
- pageSize?: number;
33
+ pageSize?: number | string;
34
34
  };
35
35
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/logging-models - Changelog
2
2
 
3
+ ## [0.0.1-next.16](https://github.com/twinfoundation/logging/compare/logging-models-v0.0.1-next.15...logging-models-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
+
3
10
  ## [0.0.1-next.15](https://github.com/twinfoundation/logging/compare/logging-models-v0.0.1-next.14...logging-models-v0.0.1-next.15) (2025-06-12)
4
11
 
5
12
 
@@ -4,9 +4,9 @@ Get the a list of the log entries.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### query
7
+ ### query?
8
8
 
9
- > **query**: `object`
9
+ > `optional` **query**: `object`
10
10
 
11
11
  The query parameters.
12
12
 
@@ -24,13 +24,13 @@ The source of the log entries to retrieve.
24
24
 
25
25
  #### timeStart?
26
26
 
27
- > `optional` **timeStart**: `number`
27
+ > `optional` **timeStart**: `string` \| `number`
28
28
 
29
29
  The start time of the metrics to retrieve as a timestamp in ms.
30
30
 
31
31
  #### timeEnd?
32
32
 
33
- > `optional` **timeEnd**: `number`
33
+ > `optional` **timeEnd**: `string` \| `number`
34
34
 
35
35
  The end time of the metrics to retrieve as a timestamp in ms.
36
36
 
@@ -42,6 +42,6 @@ The optional cursor to get next chunk.
42
42
 
43
43
  #### pageSize?
44
44
 
45
- > `optional` **pageSize**: `number`
45
+ > `optional` **pageSize**: `string` \| `number`
46
46
 
47
47
  The maximum number of entities in a page.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/logging-models",
3
- "version": "0.0.1-next.15",
3
+ "version": "0.0.1-next.16",
4
4
  "description": "Models which define the structure of the logging connectors and services",
5
5
  "repository": {
6
6
  "type": "git",