@truedat/dq 5.15.1 → 5.16.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dq",
3
- "version": "5.15.1",
3
+ "version": "5.16.0",
4
4
  "description": "Truedat Web Data Quality Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -92,8 +92,8 @@
92
92
  },
93
93
  "dependencies": {
94
94
  "@apollo/client": "^3.7.1",
95
- "@truedat/core": "5.15.1",
96
- "@truedat/df": "5.15.1",
95
+ "@truedat/core": "5.15.2",
96
+ "@truedat/df": "5.15.2",
97
97
  "decode-uri-component": "^0.2.2",
98
98
  "graphql": "^15.5.3",
99
99
  "moment": "^2.29.4",
@@ -118,5 +118,5 @@
118
118
  "react-dom": ">= 16.8.6 < 17",
119
119
  "semantic-ui-react": ">= 2.0.3 < 2.2"
120
120
  },
121
- "gitHead": "c29b540210d0023992b422302bf2f2b974c42320"
121
+ "gitHead": "4095b928a46c026eae47a266d327086be5421a61"
122
122
  }
@@ -22,6 +22,7 @@ export const NewBasicRuleImplementation = ({
22
22
  edition
23
23
  ? {
24
24
  id: clone ? null : ruleImplementationProps.id,
25
+ original_id: clone ? ruleImplementationProps.id : null,
25
26
  implementationKey: clone
26
27
  ? ""
27
28
  : ruleImplementationProps.implementation_key,
@@ -69,6 +70,7 @@ export const NewBasicRuleImplementation = ({
69
70
  goal: ruleImplementation.goal,
70
71
  domain_id: ruleImplementation.domain_id,
71
72
  status: props?.status,
73
+ ...(clone ? { original_id: ruleImplementation.original_id } : {}),
72
74
  };
73
75
  clone || !edition
74
76
  ? createRuleImplementation({
@@ -279,6 +279,7 @@ export const NewRuleImplementation = ({
279
279
  edition
280
280
  ? {
281
281
  id: clone ? null : ruleImplementationProps.id,
282
+ original_id: clone ? ruleImplementationProps.id : null,
282
283
  executable:
283
284
  ruleImplementationProps.implementation_type !== "basic"
284
285
  ? ruleImplementationProps.executable
@@ -533,6 +534,7 @@ export const NewRuleImplementation = ({
533
534
  goal: ruleImplementation.goal,
534
535
  domain_id: ruleImplementation.domain_id,
535
536
  status: props?.status,
537
+ ...(clone ? { original_id: ruleImplementation.original_id } : {}),
536
538
  }
537
539
  : {
538
540
  executable: ruleImplementation.executable,
@@ -550,6 +552,7 @@ export const NewRuleImplementation = ({
550
552
  goal: ruleImplementation.goal,
551
553
  domain_id: ruleImplementation.domain_id,
552
554
  status: props?.status,
555
+ ...(clone ? { original_id: ruleImplementation.original_id } : {}),
553
556
  };
554
557
  clone || !edition
555
558
  ? createRuleImplementation({