@twin.org/logging-models 0.0.3-next.1 → 0.0.3-next.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ILoggingListRequest.js","sourceRoot":"","sources":["../../../../src/models/api/ILoggingListRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { LogLevel } from \"../logLevel.js\";\n\n/**\n * Get the a list of the log entries.\n */\nexport interface ILoggingListRequest {\n\t/**\n\t * The query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * The level of the log entries to retrieve.\n\t\t */\n\t\tlevel?: LogLevel;\n\n\t\t/**\n\t\t * The source of the log entries to retrieve.\n\t\t */\n\t\tsource?: string;\n\n\t\t/**\n\t\t * The start time of the metrics to retrieve as a timestamp in ms.\n\t\t */\n\t\ttimeStart?: number | string;\n\n\t\t/**\n\t\t * The end time of the metrics to retrieve as a timestamp in ms.\n\t\t */\n\t\ttimeEnd?: number | string;\n\n\t\t/**\n\t\t * The optional cursor to get next chunk.\n\t\t */\n\t\tcursor?: string;\n\n\t\t/**\n\t\t * Limit the number of entities to return.\n\t\t */\n\t\tlimit?: string;\n\t};\n}\n"]}
1
+ {"version":3,"file":"ILoggingListRequest.js","sourceRoot":"","sources":["../../../../src/models/api/ILoggingListRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { LogLevel } from \"../logLevel.js\";\n\n/**\n * Get the a list of the log entries.\n */\nexport interface ILoggingListRequest {\n\t/**\n\t * The query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * The level of the log entries to retrieve.\n\t\t */\n\t\tlevel?: LogLevel;\n\n\t\t/**\n\t\t * The source of the log entries to retrieve.\n\t\t */\n\t\tsource?: string;\n\n\t\t/**\n\t\t * The start time of the metrics to retrieve as a timestamp in ms.\n\t\t */\n\t\ttimeStart?: string;\n\n\t\t/**\n\t\t * The end time of the metrics to retrieve as a timestamp in ms.\n\t\t */\n\t\ttimeEnd?: string;\n\n\t\t/**\n\t\t * The optional cursor to get next chunk.\n\t\t */\n\t\tcursor?: string;\n\n\t\t/**\n\t\t * Limit the number of entities to return.\n\t\t */\n\t\tlimit?: string;\n\t};\n}\n"]}
@@ -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 | string;
21
+ timeStart?: string;
22
22
  /**
23
23
  * The end time of the metrics to retrieve as a timestamp in ms.
24
24
  */
25
- timeEnd?: number | string;
25
+ timeEnd?: string;
26
26
  /**
27
27
  * The optional cursor to get next chunk.
28
28
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/logging-models - Changelog
2
2
 
3
+ ## [0.0.3-next.2](https://github.com/twinfoundation/logging/compare/logging-models-v0.0.3-next.1...logging-models-v0.0.3-next.2) (2026-03-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * api data types ([8d37cab](https://github.com/twinfoundation/logging/commit/8d37cab7ec759f079b6480bcc27d739357dbc392))
9
+
3
10
  ## [0.0.3-next.1](https://github.com/twinfoundation/logging/compare/logging-models-v0.0.3-next.0...logging-models-v0.0.3-next.1) (2025-11-10)
4
11
 
5
12
 
@@ -24,13 +24,13 @@ The source of the log entries to retrieve.
24
24
 
25
25
  #### timeStart?
26
26
 
27
- > `optional` **timeStart**: `string` \| `number`
27
+ > `optional` **timeStart**: `string`
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**: `string` \| `number`
33
+ > `optional` **timeEnd**: `string`
34
34
 
35
35
  The end time of the metrics to retrieve as a timestamp in ms.
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/logging-models",
3
- "version": "0.0.3-next.1",
3
+ "version": "0.0.3-next.2",
4
4
  "description": "Models which define the structure of the logging connectors and services",
5
5
  "repository": {
6
6
  "type": "git",