@twin.org/logging-models 0.0.2-next.4 → 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?:
|
|
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?:
|
|
21
|
+
timeStart?: string;
|
|
22
22
|
/**
|
|
23
23
|
* The end time of the metrics to retrieve as a timestamp in ms.
|
|
24
24
|
*/
|
|
25
|
-
timeEnd?:
|
|
25
|
+
timeEnd?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The optional cursor to get next chunk.
|
|
28
28
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
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
|
+
|
|
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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add context id features ([#33](https://github.com/twinfoundation/logging/issues/33)) ([38e982c](https://github.com/twinfoundation/logging/commit/38e982c9f009019fc02b67d919444b52657c9021))
|
|
16
|
+
* add validate-locales ([df53f13](https://github.com/twinfoundation/logging/commit/df53f1331394f2f9333e91e4995a88dded90e484))
|
|
17
|
+
* eslint migration to flat config ([1f9fdde](https://github.com/twinfoundation/logging/commit/1f9fddedfdcce9942afed431d9460a0f22092744))
|
|
18
|
+
* update dependencies ([976fc06](https://github.com/twinfoundation/logging/commit/976fc06976c4899769486b7cb2e827c407d7fc89))
|
|
19
|
+
* update framework core ([aac823c](https://github.com/twinfoundation/logging/commit/aac823c2ead88843618b8a82b308d5a793411764))
|
|
20
|
+
* use shared store mechanism ([#20](https://github.com/twinfoundation/logging/issues/20)) ([bbacd31](https://github.com/twinfoundation/logging/commit/bbacd31af991d82d84294ad432a40830692880ca))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* query params force coercion ([71c5329](https://github.com/twinfoundation/logging/commit/71c53292d300acae0369bd7937c5ca3ab5430689))
|
|
26
|
+
|
|
3
27
|
## [0.0.2-next.3](https://github.com/twinfoundation/logging/compare/logging-models-v0.0.2-next.2...logging-models-v0.0.2-next.3) (2025-10-09)
|
|
4
28
|
|
|
5
29
|
|
|
@@ -24,13 +24,13 @@ The source of the log entries to retrieve.
|
|
|
24
24
|
|
|
25
25
|
#### timeStart?
|
|
26
26
|
|
|
27
|
-
> `optional` **timeStart**: `string`
|
|
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`
|
|
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
|
+
"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",
|
|
@@ -13,39 +13,11 @@
|
|
|
13
13
|
"engines": {
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"clean": "rimraf dist coverage docs/reference",
|
|
18
|
-
"build": "tspc",
|
|
19
|
-
"dev": "nodemon --watch src --ext ts --exec \"npm run build\"",
|
|
20
|
-
"test": "vitest --run --config ./vitest.config.ts --no-cache",
|
|
21
|
-
"test:build": "tspc -p ./tests/tsconfig.json --noEmit",
|
|
22
|
-
"validate-locales": "validate-locales",
|
|
23
|
-
"test:coverage": "vitest --run --coverage --config ./vitest.config.ts --no-cache",
|
|
24
|
-
"docs:clean": "rimraf docs/reference",
|
|
25
|
-
"docs:generate": "typedoc",
|
|
26
|
-
"docs": "npm run docs:clean && npm run docs:generate",
|
|
27
|
-
"dist": "npm run clean && npm run build && npm run validate-locales && npm run test:build && npm run test && npm run docs",
|
|
28
|
-
"dist:no-test": "npm run clean && npm run build && npm run test:build && npm run docs"
|
|
29
|
-
},
|
|
30
16
|
"dependencies": {
|
|
31
17
|
"@twin.org/core": "next",
|
|
32
18
|
"@twin.org/entity": "next",
|
|
33
19
|
"@twin.org/nameof": "next"
|
|
34
20
|
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@twin.org/nameof-transformer": "next",
|
|
37
|
-
"@twin.org/nameof-vitest-plugin": "next",
|
|
38
|
-
"@twin.org/validate-locales": "next",
|
|
39
|
-
"@vitest/coverage-v8": "4.0.8",
|
|
40
|
-
"copyfiles": "2.4.1",
|
|
41
|
-
"nodemon": "3.1.10",
|
|
42
|
-
"rimraf": "6.1.0",
|
|
43
|
-
"ts-patch": "3.3.0",
|
|
44
|
-
"typedoc": "0.28.14",
|
|
45
|
-
"typedoc-plugin-markdown": "4.9.0",
|
|
46
|
-
"typescript": "5.9.3",
|
|
47
|
-
"vitest": "4.0.8"
|
|
48
|
-
},
|
|
49
21
|
"main": "./dist/es/index.js",
|
|
50
22
|
"types": "./dist/types/index.d.ts",
|
|
51
23
|
"exports": {
|