@twin.org/data-processing-extractors 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.
@@ -9,6 +9,10 @@ var jsonP3 = require('json-p3');
9
9
  * Class for extracting data from a JSON source.
10
10
  */
11
11
  class JsonPathExtractorConnector {
12
+ /**
13
+ * The namespace supported by the data extractor connector.
14
+ */
15
+ static NAMESPACE = "json-path";
12
16
  /**
13
17
  * Runtime name for the class.
14
18
  */
@@ -7,6 +7,10 @@ import { query } from 'json-p3';
7
7
  * Class for extracting data from a JSON source.
8
8
  */
9
9
  class JsonPathExtractorConnector {
10
+ /**
11
+ * The namespace supported by the data extractor connector.
12
+ */
13
+ static NAMESPACE = "json-path";
10
14
  /**
11
15
  * Runtime name for the class.
12
16
  */
@@ -3,6 +3,10 @@ import type { IDataExtractorConnector, IRule } from "@twin.org/data-processing-m
3
3
  * Class for extracting data from a JSON source.
4
4
  */
5
5
  export declare class JsonPathExtractorConnector implements IDataExtractorConnector {
6
+ /**
7
+ * The namespace supported by the data extractor connector.
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/data-processing-extractors - Changelog
2
2
 
3
- ## v0.0.1-next.3
3
+ ## v0.0.1-next.5
4
4
 
5
5
  - Initial Release
@@ -18,6 +18,14 @@ Class for extracting data from a JSON source.
18
18
 
19
19
  ## Properties
20
20
 
21
+ ### NAMESPACE
22
+
23
+ > `readonly` `static` **NAMESPACE**: `string` = `"json-path"`
24
+
25
+ The namespace supported by the data extractor connector.
26
+
27
+ ***
28
+
21
29
  ### CLASS\_NAME
22
30
 
23
31
  > `readonly` **CLASS\_NAME**: `string`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/data-processing-extractors",
3
- "version": "v0.0.1-next.3",
3
+ "version": "v0.0.1-next.5",
4
4
  "description": "Data extractor connector implementations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@twin.org/core": "next",
18
- "@twin.org/data-processing-models": "0.0.1-next.3",
18
+ "@twin.org/data-processing-models": "0.0.1-next.5",
19
19
  "@twin.org/nameof": "next",
20
20
  "@twin.org/web": "next",
21
21
  "json-p3": "2.1.1"