@twin.org/telemetry-service 0.0.1-next.3 → 0.0.1-next.5
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/dist/cjs/index.cjs
CHANGED
|
@@ -466,6 +466,10 @@ async function telemetryMetricValueList(httpRequestContext, componentName, reque
|
|
|
466
466
|
* Service for performing telemetry operations to a connector.
|
|
467
467
|
*/
|
|
468
468
|
class TelemetryService {
|
|
469
|
+
/**
|
|
470
|
+
* The namespace supported by the telemetry service.
|
|
471
|
+
*/
|
|
472
|
+
static NAMESPACE = "telemetry";
|
|
469
473
|
/**
|
|
470
474
|
* Runtime name for the class.
|
|
471
475
|
*/
|
package/dist/esm/index.mjs
CHANGED
|
@@ -464,6 +464,10 @@ async function telemetryMetricValueList(httpRequestContext, componentName, reque
|
|
|
464
464
|
* Service for performing telemetry operations to a connector.
|
|
465
465
|
*/
|
|
466
466
|
class TelemetryService {
|
|
467
|
+
/**
|
|
468
|
+
* The namespace supported by the telemetry service.
|
|
469
|
+
*/
|
|
470
|
+
static NAMESPACE = "telemetry";
|
|
467
471
|
/**
|
|
468
472
|
* Runtime name for the class.
|
|
469
473
|
*/
|
|
@@ -3,6 +3,10 @@ import { type ITelemetryComponent, type ITelemetryMetric, type ITelemetryMetricV
|
|
|
3
3
|
* Service for performing telemetry operations to a connector.
|
|
4
4
|
*/
|
|
5
5
|
export declare class TelemetryService implements ITelemetryComponent {
|
|
6
|
+
/**
|
|
7
|
+
* The namespace supported by the telemetry service.
|
|
8
|
+
*/
|
|
9
|
+
static readonly NAMESPACE: string;
|
|
6
10
|
/**
|
|
7
11
|
* Runtime name for the class.
|
|
8
12
|
*/
|
package/docs/changelog.md
CHANGED
package/docs/open-api/spec.json
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"201": {
|
|
60
60
|
"description": "The rest request ended in created response.",
|
|
61
61
|
"headers": {
|
|
62
|
-
"
|
|
62
|
+
"location": {
|
|
63
63
|
"schema": {
|
|
64
64
|
"type": "string"
|
|
65
65
|
},
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"201": {
|
|
617
617
|
"description": "The rest request ended in created response.",
|
|
618
618
|
"headers": {
|
|
619
|
-
"
|
|
619
|
+
"location": {
|
|
620
620
|
"schema": {
|
|
621
621
|
"type": "string"
|
|
622
622
|
},
|
|
@@ -30,6 +30,14 @@ The type of the telemetry connector to use, defaults to "telemetry".
|
|
|
30
30
|
|
|
31
31
|
## Properties
|
|
32
32
|
|
|
33
|
+
### NAMESPACE
|
|
34
|
+
|
|
35
|
+
> `readonly` `static` **NAMESPACE**: `string` = `"telemetry"`
|
|
36
|
+
|
|
37
|
+
The namespace supported by the telemetry service.
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
33
41
|
### CLASS\_NAME
|
|
34
42
|
|
|
35
43
|
> `readonly` **CLASS\_NAME**: `string`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/telemetry-service",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.5",
|
|
4
4
|
"description": "Telemetry contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,42 +13,14 @@
|
|
|
13
13
|
"engines": {
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"clean": "rimraf dist coverage docs/reference",
|
|
18
|
-
"build": "tspc",
|
|
19
|
-
"test": "vitest --run --config ./vitest.config.ts --no-cache",
|
|
20
|
-
"coverage": "vitest --run --coverage --config ./vitest.config.ts --no-cache",
|
|
21
|
-
"bundle:esm": "rollup --config rollup.config.mjs --environment MODULE:esm",
|
|
22
|
-
"bundle:cjs": "rollup --config rollup.config.mjs --environment MODULE:cjs",
|
|
23
|
-
"bundle": "npm run bundle:esm && npm run bundle:cjs",
|
|
24
|
-
"docs:clean": "rimraf docs/reference",
|
|
25
|
-
"docs:generate": "typedoc",
|
|
26
|
-
"docs:api": "ts-to-openapi ./ts-to-openapi.json ./docs/open-api/spec.json",
|
|
27
|
-
"docs": "npm run docs:clean && npm run docs:generate && npm run docs:api",
|
|
28
|
-
"dist": "npm run clean && npm run build && npm run test && npm run bundle && npm run docs"
|
|
29
|
-
},
|
|
30
16
|
"dependencies": {
|
|
31
17
|
"@twin.org/api-models": "next",
|
|
32
18
|
"@twin.org/core": "next",
|
|
33
19
|
"@twin.org/entity": "next",
|
|
34
20
|
"@twin.org/nameof": "next",
|
|
35
|
-
"@twin.org/telemetry-models": "0.0.1-next.
|
|
21
|
+
"@twin.org/telemetry-models": "0.0.1-next.5",
|
|
36
22
|
"@twin.org/web": "next"
|
|
37
23
|
},
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@twin.org/nameof-transformer": "next",
|
|
40
|
-
"@twin.org/ts-to-openapi": "next",
|
|
41
|
-
"@vitest/coverage-v8": "2.1.1",
|
|
42
|
-
"copyfiles": "2.4.1",
|
|
43
|
-
"rimraf": "6.0.1",
|
|
44
|
-
"rollup": "4.22.0",
|
|
45
|
-
"rollup-plugin-typescript2": "0.36.0",
|
|
46
|
-
"ts-patch": "3.2.1",
|
|
47
|
-
"typedoc": "0.26.7",
|
|
48
|
-
"typedoc-plugin-markdown": "4.2.7",
|
|
49
|
-
"typescript": "5.6.2",
|
|
50
|
-
"vitest": "2.1.1"
|
|
51
|
-
},
|
|
52
24
|
"main": "./dist/cjs/index.cjs",
|
|
53
25
|
"module": "./dist/esm/index.mjs",
|
|
54
26
|
"types": "./dist/types/index.d.ts",
|