@twin.org/telemetry-service 0.0.1-next.4 → 0.0.1-next.6

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.
@@ -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
  */
@@ -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
@@ -1,5 +1,5 @@
1
1
  # @twin.org/telemetry-service - Changelog
2
2
 
3
- ## v0.0.1-next.4
3
+ ## v0.0.1-next.6
4
4
 
5
5
  - Initial Release
@@ -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.4",
3
+ "version": "0.0.1-next.6",
4
4
  "description": "Telemetry contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  "@twin.org/core": "next",
19
19
  "@twin.org/entity": "next",
20
20
  "@twin.org/nameof": "next",
21
- "@twin.org/telemetry-models": "0.0.1-next.4",
21
+ "@twin.org/telemetry-models": "0.0.1-next.6",
22
22
  "@twin.org/web": "next"
23
23
  },
24
24
  "main": "./dist/cjs/index.cjs",
@@ -30,7 +30,7 @@
30
30
  "import": "./dist/esm/index.mjs",
31
31
  "types": "./dist/types/index.d.ts"
32
32
  },
33
- "./locales": "./locales"
33
+ "./locales/*.json": "./locales/*.json"
34
34
  },
35
35
  "files": [
36
36
  "dist/cjs",