@finos/legend-extension-dsl-data-quality 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +201 -0
- package/README.md +1 -0
- package/lib/components/DSL_DataQuality_ClassElementDriver.d.ts +46 -0
- package/lib/components/DSL_DataQuality_ClassElementDriver.d.ts.map +1 -0
- package/lib/components/DSL_DataQuality_ClassElementDriver.js +116 -0
- package/lib/components/DSL_DataQuality_ClassElementDriver.js.map +1 -0
- package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.d.ts +30 -0
- package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.js +161 -0
- package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/DSL_DataQuality_LegendStudioPlugin_Extension.d.ts +25 -0
- package/lib/components/DSL_DataQuality_LegendStudioPlugin_Extension.d.ts.map +1 -0
- package/lib/components/DSL_DataQuality_LegendStudioPlugin_Extension.js +2 -0
- package/lib/components/DSL_DataQuality_LegendStudioPlugin_Extension.js.map +1 -0
- package/lib/components/DSL_DataQuality_ServiceElementDriver.d.ts +27 -0
- package/lib/components/DSL_DataQuality_ServiceElementDriver.d.ts.map +1 -0
- package/lib/components/DSL_DataQuality_ServiceElementDriver.js +41 -0
- package/lib/components/DSL_DataQuality_ServiceElementDriver.js.map +1 -0
- package/lib/components/DSL_NewDataQualityClassValidationElement.d.ts +19 -0
- package/lib/components/DSL_NewDataQualityClassValidationElement.d.ts.map +1 -0
- package/lib/components/DSL_NewDataQualityClassValidationElement.js +64 -0
- package/lib/components/DSL_NewDataQualityClassValidationElement.js.map +1 -0
- package/lib/components/DSL_NewDataQualityServiceValidationElement.d.ts +19 -0
- package/lib/components/DSL_NewDataQualityServiceValidationElement.d.ts.map +1 -0
- package/lib/components/DSL_NewDataQualityServiceValidationElement.js +41 -0
- package/lib/components/DSL_NewDataQualityServiceValidationElement.js.map +1 -0
- package/lib/components/DataQualityClassValidationEditor.d.ts +19 -0
- package/lib/components/DataQualityClassValidationEditor.d.ts.map +1 -0
- package/lib/components/DataQualityClassValidationEditor.js +29 -0
- package/lib/components/DataQualityClassValidationEditor.js.map +1 -0
- package/lib/components/DataQualityConstraintsSelection.d.ts +39 -0
- package/lib/components/DataQualityConstraintsSelection.d.ts.map +1 -0
- package/lib/components/DataQualityConstraintsSelection.js +133 -0
- package/lib/components/DataQualityConstraintsSelection.js.map +1 -0
- package/lib/components/DataQualityDataSpaceBuilder.d.ts +22 -0
- package/lib/components/DataQualityDataSpaceBuilder.d.ts.map +1 -0
- package/lib/components/DataQualityDataSpaceBuilder.js +101 -0
- package/lib/components/DataQualityDataSpaceBuilder.js.map +1 -0
- package/lib/components/DataQualityExplorerPanel.d.ts +29 -0
- package/lib/components/DataQualityExplorerPanel.d.ts.map +1 -0
- package/lib/components/DataQualityExplorerPanel.js +185 -0
- package/lib/components/DataQualityExplorerPanel.js.map +1 -0
- package/lib/components/DataQualityFilterPanel.d.ts +24 -0
- package/lib/components/DataQualityFilterPanel.d.ts.map +1 -0
- package/lib/components/DataQualityFilterPanel.js +32 -0
- package/lib/components/DataQualityFilterPanel.js.map +1 -0
- package/lib/components/DataQualityMappingAndRuntimeBuilder.d.ts +22 -0
- package/lib/components/DataQualityMappingAndRuntimeBuilder.d.ts.map +1 -0
- package/lib/components/DataQualityMappingAndRuntimeBuilder.js +98 -0
- package/lib/components/DataQualityMappingAndRuntimeBuilder.js.map +1 -0
- package/lib/components/DataQualityResultPanel.d.ts +22 -0
- package/lib/components/DataQualityResultPanel.d.ts.map +1 -0
- package/lib/components/DataQualityResultPanel.js +110 -0
- package/lib/components/DataQualityResultPanel.js.map +1 -0
- package/lib/components/DataQualityResultValues.d.ts +24 -0
- package/lib/components/DataQualityResultValues.d.ts.map +1 -0
- package/lib/components/DataQualityResultValues.js +31 -0
- package/lib/components/DataQualityResultValues.js.map +1 -0
- package/lib/components/DataQualityServiceValidationEditor.d.ts +19 -0
- package/lib/components/DataQualityServiceValidationEditor.d.ts.map +1 -0
- package/lib/components/DataQualityServiceValidationEditor.js +29 -0
- package/lib/components/DataQualityServiceValidationEditor.js.map +1 -0
- package/lib/components/DataQualitySideBar.d.ts +40 -0
- package/lib/components/DataQualitySideBar.d.ts.map +1 -0
- package/lib/components/DataQualitySideBar.js +78 -0
- package/lib/components/DataQualitySideBar.js.map +1 -0
- package/lib/components/DataQualityStructuralValidationsPanel.d.ts +22 -0
- package/lib/components/DataQualityStructuralValidationsPanel.d.ts.map +1 -0
- package/lib/components/DataQualityStructuralValidationsPanel.js +50 -0
- package/lib/components/DataQualityStructuralValidationsPanel.js.map +1 -0
- package/lib/components/DataQualityTabs.d.ts +22 -0
- package/lib/components/DataQualityTabs.d.ts.map +1 -0
- package/lib/components/DataQualityTabs.js +58 -0
- package/lib/components/DataQualityTabs.js.map +1 -0
- package/lib/components/DataQualityValidationEditor.d.ts +23 -0
- package/lib/components/DataQualityValidationEditor.d.ts.map +1 -0
- package/lib/components/DataQualityValidationEditor.js +24 -0
- package/lib/components/DataQualityValidationEditor.js.map +1 -0
- package/lib/components/constants/DataQualityConstants.d.ts +24 -0
- package/lib/components/constants/DataQualityConstants.d.ts.map +1 -0
- package/lib/components/constants/DataQualityConstants.js +25 -0
- package/lib/components/constants/DataQualityConstants.js.map +1 -0
- package/lib/components/index.d.ts +19 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +19 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/states/ConstraintState.d.ts +30 -0
- package/lib/components/states/ConstraintState.d.ts.map +1 -0
- package/lib/components/states/ConstraintState.js +55 -0
- package/lib/components/states/ConstraintState.js.map +1 -0
- package/lib/components/states/DataQualityClassValidationState.d.ts +43 -0
- package/lib/components/states/DataQualityClassValidationState.d.ts.map +1 -0
- package/lib/components/states/DataQualityClassValidationState.js +162 -0
- package/lib/components/states/DataQualityClassValidationState.js.map +1 -0
- package/lib/components/states/DataQualityGraphFetchTreeState.d.ts +34 -0
- package/lib/components/states/DataQualityGraphFetchTreeState.d.ts.map +1 -0
- package/lib/components/states/DataQualityGraphFetchTreeState.js +70 -0
- package/lib/components/states/DataQualityGraphFetchTreeState.js.map +1 -0
- package/lib/components/states/DataQualityQueryBuilderState.d.ts +19 -0
- package/lib/components/states/DataQualityQueryBuilderState.d.ts.map +1 -0
- package/lib/components/states/DataQualityQueryBuilderState.js +19 -0
- package/lib/components/states/DataQualityQueryBuilderState.js.map +1 -0
- package/lib/components/states/DataQualityResultState.d.ts +44 -0
- package/lib/components/states/DataQualityResultState.d.ts.map +1 -0
- package/lib/components/states/DataQualityResultState.js +154 -0
- package/lib/components/states/DataQualityResultState.js.map +1 -0
- package/lib/components/states/DataQualityServiceValidationState.d.ts +25 -0
- package/lib/components/states/DataQualityServiceValidationState.d.ts.map +1 -0
- package/lib/components/states/DataQualityServiceValidationState.js +33 -0
- package/lib/components/states/DataQualityServiceValidationState.js.map +1 -0
- package/lib/components/states/DataQualityState.d.ts +67 -0
- package/lib/components/states/DataQualityState.d.ts.map +1 -0
- package/lib/components/states/DataQualityState.js +204 -0
- package/lib/components/states/DataQualityState.js.map +1 -0
- package/lib/components/utils/DataQualityGraphFetchTreeUtil.d.ts +51 -0
- package/lib/components/utils/DataQualityGraphFetchTreeUtil.d.ts.map +1 -0
- package/lib/components/utils/DataQualityGraphFetchTreeUtil.js +321 -0
- package/lib/components/utils/DataQualityGraphFetchTreeUtil.js.map +1 -0
- package/lib/graph/metamodel/DSL_DataQuality_HashUtils.d.ts +29 -0
- package/lib/graph/metamodel/DSL_DataQuality_HashUtils.d.ts.map +1 -0
- package/lib/graph/metamodel/DSL_DataQuality_HashUtils.js +30 -0
- package/lib/graph/metamodel/DSL_DataQuality_HashUtils.js.map +1 -0
- package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.d.ts +22 -0
- package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.d.ts.map +1 -0
- package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.js +31 -0
- package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.d.ts +26 -0
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js +44 -0
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.d.ts +47 -0
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js +75 -0
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js.map +1 -0
- package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.d.ts +20 -0
- package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.d.ts.map +1 -0
- package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.js +20 -0
- package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.js.map +1 -0
- package/lib/graph-manager/DSL_DataQuality_GraphManagerPreset.d.ts +20 -0
- package/lib/graph-manager/DSL_DataQuality_GraphManagerPreset.d.ts.map +1 -0
- package/lib/graph-manager/DSL_DataQuality_GraphManagerPreset.js +30 -0
- package/lib/graph-manager/DSL_DataQuality_GraphManagerPreset.js.map +1 -0
- package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.d.ts +26 -0
- package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.d.ts.map +1 -0
- package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.js +57 -0
- package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.js.map +1 -0
- package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.d.ts +7 -0
- package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.d.ts.map +1 -0
- package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.js +42 -0
- package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.js.map +1 -0
- package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.d.ts +24 -0
- package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.d.ts.map +1 -0
- package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.js +98 -0
- package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.js.map +1 -0
- package/lib/graph-manager/index.d.ts +19 -0
- package/lib/graph-manager/index.d.ts.map +1 -0
- package/lib/graph-manager/index.js +19 -0
- package/lib/graph-manager/index.js.map +1 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts +27 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.js +21 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.js.map +1 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.d.ts +25 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js +140 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_buildGraphManagerExtension.d.ts +18 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_buildGraphManagerExtension.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_buildGraphManagerExtension.js +20 -0
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_buildGraphManagerExtension.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts +41 -0
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js +95 -0
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.d.ts +46 -0
- package/lib/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.js +76 -0
- package/lib/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityPropertyGraphFetchTree.d.ts +22 -0
- package/lib/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityPropertyGraphFetchTree.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityPropertyGraphFetchTree.js +32 -0
- package/lib/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityPropertyGraphFetchTree.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityRootGraphFetchTree.d.ts +22 -0
- package/lib/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityRootGraphFetchTree.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityRootGraphFetchTree.js +31 -0
- package/lib/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityRootGraphFetchTree.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationBuilderHelper.d.ts +24 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationBuilderHelper.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationBuilderHelper.js +92 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationBuilderHelper.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationSerializer.d.ts +20 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationSerializer.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationSerializer.js +56 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationSerializer.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationTransformer.d.ts +22 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationTransformer.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationTransformer.js +70 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationTransformer.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.d.ts +29 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js +80 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js.map +1 -0
- package/lib/index.css +17 -0
- package/lib/index.css.map +1 -0
- package/lib/package.json +87 -0
- package/package.json +87 -0
- package/src/components/DSL_DataQuality_ClassElementDriver.tsx +175 -0
- package/src/components/DSL_DataQuality_LegendStudioApplicationPlugin.tsx +220 -0
- package/src/components/DSL_DataQuality_LegendStudioPlugin_Extension.ts +39 -0
- package/src/components/DSL_DataQuality_ServiceElementDriver.tsx +57 -0
- package/src/components/DSL_NewDataQualityClassValidationElement.tsx +156 -0
- package/src/components/DSL_NewDataQualityServiceValidationElement.tsx +74 -0
- package/src/components/DataQualityClassValidationEditor.tsx +49 -0
- package/src/components/DataQualityConstraintsSelection.tsx +376 -0
- package/src/components/DataQualityDataSpaceBuilder.tsx +274 -0
- package/src/components/DataQualityExplorerPanel.tsx +584 -0
- package/src/components/DataQualityFilterPanel.tsx +50 -0
- package/src/components/DataQualityMappingAndRuntimeBuilder.tsx +224 -0
- package/src/components/DataQualityResultPanel.tsx +335 -0
- package/src/components/DataQualityResultValues.tsx +61 -0
- package/src/components/DataQualityServiceValidationEditor.tsx +49 -0
- package/src/components/DataQualitySideBar.tsx +216 -0
- package/src/components/DataQualityStructuralValidationsPanel.tsx +105 -0
- package/src/components/DataQualityTabs.tsx +104 -0
- package/src/components/DataQualityValidationEditor.tsx +52 -0
- package/src/components/constants/DataQualityConstants.ts +24 -0
- package/src/components/index.ts +19 -0
- package/src/components/states/ConstraintState.ts +70 -0
- package/src/components/states/DataQualityClassValidationState.ts +308 -0
- package/src/components/states/DataQualityGraphFetchTreeState.ts +125 -0
- package/src/components/states/DataQualityQueryBuilderState.ts +19 -0
- package/src/components/states/DataQualityResultState.ts +217 -0
- package/src/components/states/DataQualityServiceValidationState.ts +56 -0
- package/src/components/states/DataQualityState.ts +354 -0
- package/src/components/utils/DataQualityGraphFetchTreeUtil.ts +592 -0
- package/src/graph/metamodel/DSL_DataQuality_HashUtils.ts +29 -0
- package/src/graph/metamodel/DSL_DataQuality_PureGraphPlugin.ts +36 -0
- package/src/graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.ts +55 -0
- package/src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts +107 -0
- package/src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts +46 -0
- package/src/graph-manager/DSL_DataQuality_GraphManagerPreset.ts +31 -0
- package/src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts +113 -0
- package/src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts +59 -0
- package/src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts +153 -0
- package/src/graph-manager/index.ts +19 -0
- package/src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts +59 -0
- package/src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts +283 -0
- package/src/graph-manager/protocol/pure/DSL_DataQuality_buildGraphManagerExtension.ts +27 -0
- package/src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts +246 -0
- package/src/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.ts +103 -0
- package/src/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityPropertyGraphFetchTree.ts +37 -0
- package/src/graph-manager/protocol/pure/v1/model/graphFetch/V1_DataQualityRootGraphFetchTree.ts +36 -0
- package/src/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationBuilderHelper.ts +241 -0
- package/src/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationSerializer.ts +113 -0
- package/src/graph-manager/protocol/pure/v1/transformation/V1_ValueSpecificationTransformer.ts +139 -0
- package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.ts +186 -0
- package/style/_data-quality-validation-builder.scss +1660 -0
- package/style/index.scss +67 -0
- package/tsconfig.json +137 -0
- package/tsconfig.package.json +9 -0
@@ -0,0 +1,75 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { PackageableElement, } from '@finos/legend-graph';
|
17
|
+
import { hashArray } from '@finos/legend-shared';
|
18
|
+
import { DATA_QUALITY_HASH_STRUCTURE } from '../../../DSL_DataQuality_HashUtils.js';
|
19
|
+
export class DataQualityExecutionContext {
|
20
|
+
}
|
21
|
+
export class DataSpaceDataQualityExecutionContext extends DataQualityExecutionContext {
|
22
|
+
context;
|
23
|
+
dataSpace;
|
24
|
+
get hashCode() {
|
25
|
+
return hashArray([
|
26
|
+
DATA_QUALITY_HASH_STRUCTURE.DATA_QUALTIY_DATASPACE_EXECUTION_CONTEXT,
|
27
|
+
this.context,
|
28
|
+
this.dataSpace.valueForSerialization ?? '',
|
29
|
+
]);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
export class MappingAndRuntimeDataQualityExecutionContext extends DataQualityExecutionContext {
|
33
|
+
mapping;
|
34
|
+
runtime;
|
35
|
+
get hashCode() {
|
36
|
+
return hashArray([
|
37
|
+
DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_MAPPING_AND_RUNTIME_EXECUTION_CONTEXT,
|
38
|
+
this.mapping.valueForSerialization ?? '',
|
39
|
+
this.runtime.valueForSerialization ?? '',
|
40
|
+
]);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
export class DataQualityClassValidationsConfiguration extends PackageableElement {
|
44
|
+
context;
|
45
|
+
dataQualityRootGraphFetchTree;
|
46
|
+
filter;
|
47
|
+
get _elementHashCode() {
|
48
|
+
return hashArray([
|
49
|
+
DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_CONSTRAINTS_CONFIGURATION,
|
50
|
+
this.context,
|
51
|
+
this.filter ?? '',
|
52
|
+
this.dataQualityRootGraphFetchTree ?? '',
|
53
|
+
]);
|
54
|
+
}
|
55
|
+
accept_PackageableElementVisitor(visitor) {
|
56
|
+
return visitor.visit_PackageableElement(this);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
export class DataQualityServiceValidationConfiguration extends PackageableElement {
|
60
|
+
serviceName;
|
61
|
+
contextName;
|
62
|
+
dataQualityRootGraphFetchTree;
|
63
|
+
get _elementHashCode() {
|
64
|
+
return hashArray([
|
65
|
+
DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_SERVICE_VALIDATION_CONFIGURATION,
|
66
|
+
this.serviceName ?? '',
|
67
|
+
this.contextName ?? '',
|
68
|
+
this.dataQualityRootGraphFetchTree ?? '',
|
69
|
+
]);
|
70
|
+
}
|
71
|
+
accept_PackageableElementVisitor(visitor) {
|
72
|
+
return visitor.visit_PackageableElement(this);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
//# sourceMappingURL=DataQualityValidationConfiguration.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DataQualityValidationConfiguration.js","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAIpF,MAAM,OAAgB,2BAA2B;CAEhD;AAED,MAAM,OAAO,oCAAqC,SAAQ,2BAA2B;IACnF,OAAO,CAAU;IACjB,SAAS,CAA0C;IAEnD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,wCAAwC;YACpE,IAAI,CAAC,OAAO;YACZ,IAAI,CAAC,SAAS,CAAC,qBAAqB,IAAI,EAAE;SAC3C,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,4CAA6C,SAAQ,2BAA2B;IAC3F,OAAO,CAAwC;IAC/C,OAAO,CAAmD;IAE1D,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,kDAAkD;YAC9E,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE;YACxC,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE;SACzC,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,wCACX,SAAQ,kBAAkB;IAG1B,OAAO,CAA+B;IACtC,6BAA6B,CAA4C;IACzE,MAAM,CAAyB;IAE/B,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,sCAAsC;YAClE,IAAI,CAAC,OAAO;YACZ,IAAI,CAAC,MAAM,IAAI,EAAE;YACjB,IAAI,CAAC,6BAA6B,IAAI,EAAE;SACzC,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF;AAED,MAAM,OAAO,yCACX,SAAQ,kBAAkB;IAG1B,WAAW,CAAqB;IAChC,WAAW,CAAqB;IAChC,6BAA6B,CAA6B;IAE1D,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,6CAA6C;YACzE,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,6BAA6B,IAAI,EAAE;SACzC,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import type { BasicModel } from '@finos/legend-graph';
|
17
|
+
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
18
|
+
export declare const getOwnDataQualityClassValidationsConfiguration: (path: string, graph: BasicModel) => DataQualityClassValidationsConfiguration;
|
19
|
+
export declare const getOwnDataQualityServiceValidationsConfiguration: (path: string, graph: BasicModel) => DataQualityServiceValidationConfiguration;
|
20
|
+
//# sourceMappingURL=DSL_DataQuality_GraphManagerHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EACL,wCAAwC,EACxC,yCAAyC,EAC1C,MAAM,gGAAgG,CAAC;AAExG,eAAO,MAAM,8CAA8C,SACnD,MAAM,SACL,UAAU,KAChB,wCAOA,CAAC;AAEJ,eAAO,MAAM,gDAAgD,SACrD,MAAM,SACL,UAAU,KAChB,yCAOA,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { guaranteeNonNullable } from '@finos/legend-shared';
|
17
|
+
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
18
|
+
export const getOwnDataQualityClassValidationsConfiguration = (path, graph) => guaranteeNonNullable(graph.getOwnNullableExtensionElement(path, DataQualityClassValidationsConfiguration), `Can't find data quality class validation element on '${path}'`);
|
19
|
+
export const getOwnDataQualityServiceValidationsConfiguration = (path, graph) => guaranteeNonNullable(graph.getOwnNullableExtensionElement(path, DataQualityServiceValidationConfiguration), `Can't find data quality service validation element on '${path}'`);
|
20
|
+
//# sourceMappingURL=DSL_DataQuality_GraphManagerHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,wCAAwC,EACxC,yCAAyC,GAC1C,MAAM,gGAAgG,CAAC;AAExG,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAC5D,IAAY,EACZ,KAAiB,EACyB,EAAE,CAC5C,oBAAoB,CAClB,KAAK,CAAC,8BAA8B,CAClC,IAAI,EACJ,wCAAwC,CACzC,EACD,wDAAwD,IAAI,GAAG,CAChE,CAAC;AAEJ,MAAM,CAAC,MAAM,gDAAgD,GAAG,CAC9D,IAAY,EACZ,KAAiB,EAC0B,EAAE,CAC7C,oBAAoB,CAClB,KAAK,CAAC,8BAA8B,CAClC,IAAI,EACJ,yCAAyC,CAC1C,EACD,0DAA0D,IAAI,GAAG,CAClE,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { AbstractPreset } from '@finos/legend-shared';
|
17
|
+
export declare class DSL_DataQuality_GraphManagerPreset extends AbstractPreset {
|
18
|
+
constructor();
|
19
|
+
}
|
20
|
+
//# sourceMappingURL=DSL_DataQuality_GraphManagerPreset.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphManagerPreset.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphManagerPreset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAMtD,qBAAa,kCAAmC,SAAQ,cAAc;;CAQrE"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { AbstractPreset } from '@finos/legend-shared';
|
17
|
+
import packageJson from '../../package.json';
|
18
|
+
import { DSL_DataQuality_PureGraphPlugin } from '../graph/metamodel/DSL_DataQuality_PureGraphPlugin.js';
|
19
|
+
import { DSL_DataQuality_PureGraphManagerPlugin } from './DSL_DataQuality_PureGraphManagerPlugin.js';
|
20
|
+
import { DSL_DataQuality_PureProtocolProcessorPlugin } from './protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js';
|
21
|
+
export class DSL_DataQuality_GraphManagerPreset extends AbstractPreset {
|
22
|
+
constructor() {
|
23
|
+
super(packageJson.extensions.graphManagerPreset, packageJson.version, [
|
24
|
+
new DSL_DataQuality_PureGraphPlugin(),
|
25
|
+
new DSL_DataQuality_PureGraphManagerPlugin(),
|
26
|
+
new DSL_DataQuality_PureProtocolProcessorPlugin(),
|
27
|
+
]);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
//# sourceMappingURL=DSL_DataQuality_GraphManagerPreset.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphManagerPreset.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphManagerPreset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,uDAAuD,CAAC;AACxG,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,2CAA2C,EAAE,MAAM,gEAAgE,CAAC;AAE7H,MAAM,OAAO,kCAAmC,SAAQ,cAAc;IACpE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,kBAAkB,EAAE,WAAW,CAAC,OAAO,EAAE;YACpE,IAAI,+BAA+B,EAAE;YACrC,IAAI,sCAAsC,EAAE;YAC5C,IAAI,2CAA2C,EAAE;SAClD,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { type DataQualityClassValidationsConfiguration, type DataQualityExecutionContext } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
17
|
+
import { DataQualityRootGraphFetchTree } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
18
|
+
import { type GraphFetchTree, type PackageableElementReference, type PackageableRuntime, type RawLambda, type ObserverContext } from '@finos/legend-graph';
|
19
|
+
export declare const dataQualityClassValidation_setDataQualityGraphFetchTree: (element: DataQualityClassValidationsConfiguration, val: DataQualityRootGraphFetchTree | undefined) => void;
|
20
|
+
export declare const dataQualityClassValidation_setDataQualityContext: (element: DataQualityClassValidationsConfiguration, val: DataQualityExecutionContext) => void;
|
21
|
+
export declare const dataQualityClassValidation_setFilter: (element: DataQualityClassValidationsConfiguration, val: RawLambda | undefined) => void;
|
22
|
+
export declare const dataQualityClassValidation_setContextDataQualityContext: (element: DataQualityClassValidationsConfiguration, val: string) => void;
|
23
|
+
export declare const dataQualityClassValidation_setRuntimeDataQualityContext: (element: DataQualityClassValidationsConfiguration, val: PackageableElementReference<PackageableRuntime>, observerContext: ObserverContext) => void;
|
24
|
+
export declare const graphFetchTree_removeAllSubTrees: (target: GraphFetchTree) => void;
|
25
|
+
export declare const dataQualityGraphFetchTree_removeConstraints: (target: GraphFetchTree) => void;
|
26
|
+
//# sourceMappingURL=DSL_DataQuality_GraphModifierHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,wCAAwC,EAC7C,KAAK,2BAA2B,EAGjC,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAC;AACtI,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,eAAe,EAIrB,MAAM,qBAAqB,CAAC;AAO7B,eAAO,MAAM,uDAAuD,YAEvD,wCAAwC,OAC5C,6BAA6B,GAAG,SAAS,KAC7C,IAKJ,CAAC;AAEF,eAAO,MAAM,gDAAgD,YAEhD,wCAAwC,OAC5C,2BAA2B,KAC/B,IASJ,CAAC;AAEF,eAAO,MAAM,oCAAoC,YAEpC,wCAAwC,OAC5C,SAAS,GAAG,SAAS,KACzB,IAGJ,CAAC;AAEF,eAAO,MAAM,uDAAuD,YACxD,wCAAwC,OAAO,MAAM,KAAG,IAQnE,CAAC;AAEF,eAAO,MAAM,uDAAuD,YAEvD,wCAAwC,OAC5C,2BAA2B,CAAC,kBAAkB,CAAC,mBACnC,eAAe,KAC/B,IASJ,CAAC;AACF,eAAO,MAAM,gCAAgC,WAClC,cAAc,KAAG,IAG3B,CAAC;AACF,eAAO,MAAM,2CAA2C,WAC7C,cAAc,KAAG,IAK3B,CAAC"}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { action } from 'mobx';
|
17
|
+
import { DataSpaceDataQualityExecutionContext, MappingAndRuntimeDataQualityExecutionContext, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
18
|
+
import { DataQualityRootGraphFetchTree } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
19
|
+
import { observe_PackageableRuntime, observe_RawLambda, PackageableElementExplicitReference, } from '@finos/legend-graph';
|
20
|
+
import { observe_DataQualityRootGraphFetchTree, observe_DataSpaceDataQualityExecutionContext, observe_MappingAndRuntimeDataQualityExecutionContext, } from './action/changeDetection/DSL_DataQuality_ObserverHelper.js';
|
21
|
+
export const dataQualityClassValidation_setDataQualityGraphFetchTree = action((element, val) => {
|
22
|
+
element.dataQualityRootGraphFetchTree = val
|
23
|
+
? observe_DataQualityRootGraphFetchTree(val)
|
24
|
+
: val;
|
25
|
+
});
|
26
|
+
export const dataQualityClassValidation_setDataQualityContext = action((element, val) => {
|
27
|
+
if (val instanceof DataSpaceDataQualityExecutionContext) {
|
28
|
+
element.context = observe_DataSpaceDataQualityExecutionContext(val);
|
29
|
+
}
|
30
|
+
if (val instanceof MappingAndRuntimeDataQualityExecutionContext) {
|
31
|
+
element.context =
|
32
|
+
observe_MappingAndRuntimeDataQualityExecutionContext(val);
|
33
|
+
}
|
34
|
+
});
|
35
|
+
export const dataQualityClassValidation_setFilter = action((element, val) => {
|
36
|
+
element.filter = val ? observe_RawLambda(val) : val;
|
37
|
+
});
|
38
|
+
export const dataQualityClassValidation_setContextDataQualityContext = action((element, val) => {
|
39
|
+
if (element.context instanceof DataSpaceDataQualityExecutionContext) {
|
40
|
+
element.context.context = val;
|
41
|
+
element.context = observe_DataSpaceDataQualityExecutionContext(element.context);
|
42
|
+
}
|
43
|
+
});
|
44
|
+
export const dataQualityClassValidation_setRuntimeDataQualityContext = action((element, val, observerContext) => {
|
45
|
+
if (element.context instanceof MappingAndRuntimeDataQualityExecutionContext) {
|
46
|
+
element.context.runtime = PackageableElementExplicitReference.create(observe_PackageableRuntime(val.value, observerContext));
|
47
|
+
}
|
48
|
+
});
|
49
|
+
export const graphFetchTree_removeAllSubTrees = action((target) => {
|
50
|
+
target.subTrees = [];
|
51
|
+
});
|
52
|
+
export const dataQualityGraphFetchTree_removeConstraints = action((target) => {
|
53
|
+
if (target instanceof DataQualityRootGraphFetchTree) {
|
54
|
+
target.constraints = [];
|
55
|
+
}
|
56
|
+
});
|
57
|
+
//# sourceMappingURL=DSL_DataQuality_GraphModifierHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphModifierHelper.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAGL,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAC;AACtI,OAAO,EAML,0BAA0B,EAC1B,iBAAiB,EACjB,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qCAAqC,EACrC,4CAA4C,EAC5C,oDAAoD,GACrD,MAAM,4DAA4D,CAAC;AAEpE,MAAM,CAAC,MAAM,uDAAuD,GAAG,MAAM,CAC3E,CACE,OAAiD,EACjD,GAA8C,EACxC,EAAE;IACR,OAAO,CAAC,6BAA6B,GAAG,GAAG;QACzC,CAAC,CAAC,qCAAqC,CAAC,GAAG,CAAC;QAC5C,CAAC,CAAC,GAAG,CAAC;AACV,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gDAAgD,GAAG,MAAM,CACpE,CACE,OAAiD,EACjD,GAAgC,EAC1B,EAAE;IACR,IAAI,GAAG,YAAY,oCAAoC,EAAE,CAAC;QACxD,OAAO,CAAC,OAAO,GAAG,4CAA4C,CAAC,GAAG,CAAC,CAAC;IACtE,CAAC;IACD,IAAI,GAAG,YAAY,4CAA4C,EAAE,CAAC;QAChE,OAAO,CAAC,OAAO;YACb,oDAAoD,CAAC,GAAG,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAG,MAAM,CACxD,CACE,OAAiD,EACjD,GAA0B,EACpB,EAAE;IACR,OAAO,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AACtD,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uDAAuD,GAAG,MAAM,CAC3E,CAAC,OAAiD,EAAE,GAAW,EAAQ,EAAE;IACvE,IAAI,OAAO,CAAC,OAAO,YAAY,oCAAoC,EAAE,CAAC;QACpE,OAAO,CAAC,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;QAC9B,OAAO,CAAC,OAAO,GAAG,4CAA4C,CAC5D,OAAO,CAAC,OAAO,CAChB,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uDAAuD,GAAG,MAAM,CAC3E,CACE,OAAiD,EACjD,GAAoD,EACpD,eAAgC,EAC1B,EAAE;IACR,IACE,OAAO,CAAC,OAAO,YAAY,4CAA4C,EACvE,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,OAAO,GAAG,mCAAmC,CAAC,MAAM,CAClE,0BAA0B,CAAC,GAAG,CAAC,KAAK,EAAE,eAAe,CAAC,CACvD,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,gCAAgC,GAAG,MAAM,CACpD,CAAC,MAAsB,EAAQ,EAAE;IAC/B,MAAM,CAAC,QAAQ,GAAG,EAAE,CAAC;AACvB,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,2CAA2C,GAAG,MAAM,CAC/D,CAAC,MAAsB,EAAQ,EAAE;IAC/B,IAAI,MAAM,YAAY,6BAA6B,EAAE,CAAC;QACpD,MAAM,CAAC,WAAW,GAAG,EAAE,CAAC;IAC1B,CAAC;AACH,CAAC,CACF,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { type ElementObserver, type PureGraphManagerExtensionBuilder, PureGraphManagerPlugin } from '@finos/legend-graph';
|
2
|
+
export declare class DSL_DataQuality_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
3
|
+
constructor();
|
4
|
+
getExtraElementObservers(): ElementObserver[];
|
5
|
+
getExtraPureGraphManagerExtensionBuilders(): PureGraphManagerExtensionBuilder[];
|
6
|
+
}
|
7
|
+
//# sourceMappingURL=DSL_DataQuality_PureGraphManagerPlugin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,gCAAgC,EAGrC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAW7B,qBAAa,sCAAuC,SAAQ,sBAAsB;;IAKvE,wBAAwB,IAAI,eAAe,EAAE;IAiB7C,yCAAyC,IAAI,gCAAgC,EAAE;CAGzF"}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import packageJson from '../../package.json';
|
17
|
+
import { PureGraphManagerPlugin, } from '@finos/legend-graph';
|
18
|
+
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
19
|
+
import { observe_DataQualityConstraintsConfiguration, observe_DataQualityServiceValidationConfiguration, } from './action/changeDetection/DSL_DataQuality_ObserverHelper.js';
|
20
|
+
import { DSL_DataQuality_buildGraphManagerExtension } from './protocol/pure/DSL_DataQuality_buildGraphManagerExtension.js';
|
21
|
+
export class DSL_DataQuality_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
22
|
+
constructor() {
|
23
|
+
super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
|
24
|
+
}
|
25
|
+
getExtraElementObservers() {
|
26
|
+
return [
|
27
|
+
(element, context) => {
|
28
|
+
if (element instanceof DataQualityClassValidationsConfiguration) {
|
29
|
+
return observe_DataQualityConstraintsConfiguration(element);
|
30
|
+
}
|
31
|
+
if (element instanceof DataQualityServiceValidationConfiguration) {
|
32
|
+
return observe_DataQualityServiceValidationConfiguration(element);
|
33
|
+
}
|
34
|
+
return undefined;
|
35
|
+
},
|
36
|
+
];
|
37
|
+
}
|
38
|
+
getExtraPureGraphManagerExtensionBuilders() {
|
39
|
+
return [DSL_DataQuality_buildGraphManagerExtension];
|
40
|
+
}
|
41
|
+
}
|
42
|
+
//# sourceMappingURL=DSL_DataQuality_PureGraphManagerPlugin.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAKL,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wCAAwC,EACxC,yCAAyC,GAC1C,MAAM,gGAAgG,CAAC;AACxG,OAAO,EACL,2CAA2C,EAC3C,iDAAiD,GAClD,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,0CAA0C,EAAE,MAAM,+DAA+D,CAAC;AAE3H,MAAM,OAAO,sCAAuC,SAAQ,sBAAsB;IAChF;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,wBAAwB;QAC/B,OAAO;YACL,CACE,OAA2B,EAC3B,OAAwB,EACQ,EAAE;gBAClC,IAAI,OAAO,YAAY,wCAAwC,EAAE,CAAC;oBAChE,OAAO,2CAA2C,CAAC,OAAO,CAAC,CAAC;gBAC9D,CAAC;gBACD,IAAI,OAAO,YAAY,yCAAyC,EAAE,CAAC;oBACjE,OAAO,iDAAiD,CAAC,OAAO,CAAC,CAAC;gBACpE,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,yCAAyC;QAChD,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACtD,CAAC;CACF"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { type DataQualityClassValidationsConfiguration, type DataQualityServiceValidationConfiguration, DataSpaceDataQualityExecutionContext, MappingAndRuntimeDataQualityExecutionContext } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
17
|
+
import { type DataQualityRootGraphFetchTree, DataQualityPropertyGraphFetchTree } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
18
|
+
export declare const observe_DataSpaceDataQualityExecutionContext: (metamodel: DataSpaceDataQualityExecutionContext) => DataSpaceDataQualityExecutionContext;
|
19
|
+
export declare const observe_MappingAndRuntimeDataQualityExecutionContext: (metamodel: MappingAndRuntimeDataQualityExecutionContext) => MappingAndRuntimeDataQualityExecutionContext;
|
20
|
+
export declare const observe_DataQualityPropertyGraphFetchTree: (metamodel: DataQualityPropertyGraphFetchTree) => DataQualityPropertyGraphFetchTree;
|
21
|
+
export declare const observe_DataQualityRootGraphFetchTree: (metamodel: DataQualityRootGraphFetchTree) => DataQualityRootGraphFetchTree;
|
22
|
+
export declare const observe_DataQualityConstraintsConfiguration: (metamodel: DataQualityClassValidationsConfiguration) => DataQualityClassValidationsConfiguration;
|
23
|
+
export declare const observe_DataQualityServiceValidationConfiguration: (metamodel: DataQualityServiceValidationConfiguration) => DataQualityServiceValidationConfiguration;
|
24
|
+
//# sourceMappingURL=DSL_DataQuality_ObserverHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,oCAAoC,EACpC,4CAA4C,EAC7C,MAAM,sGAAsG,CAAC;AAE9G,OAAO,EACL,KAAK,6BAA6B,EAClC,iCAAiC,EAClC,MAAM,6FAA6F,CAAC;AAErG,eAAO,MAAM,4CAA4C,2FAWxD,CAAC;AAEF,eAAO,MAAM,oDAAoD,2GAa9D,CAAC;AAEJ,eAAO,MAAM,yCAAyC,qFAiBrD,CAAC;AAEF,eAAO,MAAM,qCAAqC,6EAejD,CAAC;AACF,eAAO,MAAM,2CAA2C,mGAiCvD,CAAC;AAEF,eAAO,MAAM,iDAAiD,qGAiB7D,CAAC"}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { observe_Abstract_PackageableElement, observe_Class, observe_PackageableElementReference, observe_PropertyReference, observe_RawLambda, skipObserved, } from '@finos/legend-graph';
|
17
|
+
import { makeObservable, observable, override } from 'mobx';
|
18
|
+
import { DataSpaceDataQualityExecutionContext, MappingAndRuntimeDataQualityExecutionContext, } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
19
|
+
import { observe_DataSpace } from '@finos/legend-extension-dsl-data-space/graph';
|
20
|
+
import { DataQualityPropertyGraphFetchTree, } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
21
|
+
export const observe_DataSpaceDataQualityExecutionContext = skipObserved((metamodel) => {
|
22
|
+
makeObservable(metamodel, {
|
23
|
+
context: observable,
|
24
|
+
dataSpace: observable,
|
25
|
+
});
|
26
|
+
observe_DataSpace(metamodel.dataSpace.value);
|
27
|
+
return metamodel;
|
28
|
+
});
|
29
|
+
export const observe_MappingAndRuntimeDataQualityExecutionContext = skipObserved((metamodel) => {
|
30
|
+
makeObservable(metamodel, {
|
31
|
+
mapping: observable,
|
32
|
+
runtime: observable,
|
33
|
+
});
|
34
|
+
observe_PackageableElementReference(metamodel.mapping);
|
35
|
+
observe_PackageableElementReference(metamodel.runtime);
|
36
|
+
return metamodel;
|
37
|
+
});
|
38
|
+
export const observe_DataQualityPropertyGraphFetchTree = skipObserved((metamodel) => {
|
39
|
+
makeObservable(metamodel, {
|
40
|
+
constraints: observable,
|
41
|
+
property: observable,
|
42
|
+
subTrees: observable,
|
43
|
+
});
|
44
|
+
observe_PropertyReference(metamodel.property);
|
45
|
+
metamodel.subTrees.forEach((subTree) => {
|
46
|
+
if (subTree instanceof DataQualityPropertyGraphFetchTree) {
|
47
|
+
observe_DataQualityPropertyGraphFetchTree(subTree);
|
48
|
+
}
|
49
|
+
});
|
50
|
+
return metamodel;
|
51
|
+
});
|
52
|
+
export const observe_DataQualityRootGraphFetchTree = skipObserved((metamodel) => {
|
53
|
+
makeObservable(metamodel, {
|
54
|
+
class: observable,
|
55
|
+
subTrees: observable,
|
56
|
+
constraints: observable,
|
57
|
+
});
|
58
|
+
observe_Class(metamodel.class.value);
|
59
|
+
metamodel.subTrees.forEach((subTree) => {
|
60
|
+
if (subTree instanceof DataQualityPropertyGraphFetchTree) {
|
61
|
+
observe_DataQualityPropertyGraphFetchTree(subTree);
|
62
|
+
}
|
63
|
+
});
|
64
|
+
return metamodel;
|
65
|
+
});
|
66
|
+
export const observe_DataQualityConstraintsConfiguration = skipObserved((metamodel) => {
|
67
|
+
observe_Abstract_PackageableElement(metamodel);
|
68
|
+
makeObservable(metamodel, {
|
69
|
+
_elementHashCode: override,
|
70
|
+
context: observable,
|
71
|
+
filter: observable,
|
72
|
+
dataQualityRootGraphFetchTree: observable,
|
73
|
+
});
|
74
|
+
if (metamodel.context instanceof DataSpaceDataQualityExecutionContext) {
|
75
|
+
observe_DataSpaceDataQualityExecutionContext(metamodel.context);
|
76
|
+
}
|
77
|
+
if (metamodel.context instanceof MappingAndRuntimeDataQualityExecutionContext) {
|
78
|
+
observe_MappingAndRuntimeDataQualityExecutionContext(metamodel.context);
|
79
|
+
}
|
80
|
+
if (metamodel.filter) {
|
81
|
+
observe_RawLambda(metamodel.filter);
|
82
|
+
}
|
83
|
+
if (metamodel.dataQualityRootGraphFetchTree) {
|
84
|
+
observe_DataQualityRootGraphFetchTree(metamodel.dataQualityRootGraphFetchTree);
|
85
|
+
}
|
86
|
+
return metamodel;
|
87
|
+
});
|
88
|
+
export const observe_DataQualityServiceValidationConfiguration = skipObserved((metamodel) => {
|
89
|
+
observe_Abstract_PackageableElement(metamodel);
|
90
|
+
makeObservable(metamodel, {
|
91
|
+
_elementHashCode: override,
|
92
|
+
contextName: observable,
|
93
|
+
serviceName: observable,
|
94
|
+
dataQualityRootGraphFetchTree: observable,
|
95
|
+
});
|
96
|
+
return metamodel;
|
97
|
+
});
|
98
|
+
//# sourceMappingURL=DSL_DataQuality_ObserverHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mCAAmC,EACnC,aAAa,EACb,mCAAmC,EACnC,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAGL,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,sGAAsG,CAAC;AAC9G,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAEL,iCAAiC,GAClC,MAAM,6FAA6F,CAAC;AAErG,MAAM,CAAC,MAAM,4CAA4C,GAAG,YAAY,CACtE,CACE,SAA+C,EACT,EAAE;IACxC,cAAc,CAAuC,SAAS,EAAE;QAC9D,OAAO,EAAE,UAAU;QACnB,SAAS,EAAE,UAAU;KACtB,CAAC,CAAC;IACH,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC7C,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oDAAoD,GAC/D,YAAY,CACV,CACE,SAAuD,EACT,EAAE;IAChD,cAAc,CAA+C,SAAS,EAAE;QACtE,OAAO,EAAE,UAAU;QACnB,OAAO,EAAE,UAAU;KACpB,CAAC,CAAC;IACH,mCAAmC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACvD,mCAAmC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACvD,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC;AAEJ,MAAM,CAAC,MAAM,yCAAyC,GAAG,YAAY,CACnE,CACE,SAA4C,EACT,EAAE;IACrC,cAAc,CAAoC,SAAS,EAAE;QAC3D,WAAW,EAAE,UAAU;QACvB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,UAAU;KACrB,CAAC,CAAC;IACH,yBAAyB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACrC,IAAI,OAAO,YAAY,iCAAiC,EAAE,CAAC;YACzD,yCAAyC,CAAC,OAAO,CAAC,CAAC;QACrD,CAAC;IACH,CAAC,CAAC,CAAC;IACH,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAAG,YAAY,CAC/D,CAAC,SAAwC,EAAiC,EAAE;IAC1E,cAAc,CAAgC,SAAS,EAAE;QACvD,KAAK,EAAE,UAAU;QACjB,QAAQ,EAAE,UAAU;QACpB,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;IACH,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACrC,IAAI,OAAO,YAAY,iCAAiC,EAAE,CAAC;YACzD,yCAAyC,CAAC,OAAO,CAAC,CAAC;QACrD,CAAC;IACH,CAAC,CAAC,CAAC;IACH,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,2CAA2C,GAAG,YAAY,CACrE,CACE,SAAmD,EACT,EAAE;IAC5C,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAE/C,cAAc,CAGZ,SAAS,EAAE;QACX,gBAAgB,EAAE,QAAQ;QAC1B,OAAO,EAAE,UAAU;QACnB,MAAM,EAAE,UAAU;QAClB,6BAA6B,EAAE,UAAU;KAC1C,CAAC,CAAC;IACH,IAAI,SAAS,CAAC,OAAO,YAAY,oCAAoC,EAAE,CAAC;QACtE,4CAA4C,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IACD,IACE,SAAS,CAAC,OAAO,YAAY,4CAA4C,EACzE,CAAC;QACD,oDAAoD,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAC1E,CAAC;IACD,IAAI,SAAS,CAAC,MAAM,EAAE,CAAC;QACrB,iBAAiB,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACtC,CAAC;IACD,IAAI,SAAS,CAAC,6BAA6B,EAAE,CAAC;QAC5C,qCAAqC,CACnC,SAAS,CAAC,6BAA6B,CACxC,CAAC;IACJ,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iDAAiD,GAAG,YAAY,CAC3E,CACE,SAAoD,EACT,EAAE;IAC7C,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAE/C,cAAc,CAGZ,SAAS,EAAE;QACX,gBAAgB,EAAE,QAAQ;QAC1B,WAAW,EAAE,UAAU;QACvB,WAAW,EAAE,UAAU;QACvB,6BAA6B,EAAE,UAAU;KAC1C,CAAC,CAAC;IACH,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
export * from './DSL_DataQuality_GraphManagerPreset.js';
|
17
|
+
export * from './protocol/pure/v1/transformation/V1_ValueSpecificationBuilderHelper.js';
|
18
|
+
export * from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,yCAAyC,CAAC;AACxD,cAAc,yEAAyE,CAAC;AACxF,cAAc,uFAAuF,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
export * from './DSL_DataQuality_GraphManagerPreset.js';
|
17
|
+
export * from './protocol/pure/v1/transformation/V1_ValueSpecificationBuilderHelper.js';
|
18
|
+
export * from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,yCAAyC,CAAC;AACxD,cAAc,yEAAyE,CAAC;AACxF,cAAc,uFAAuF,CAAC"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { type AbstractPureGraphManager, type RawExecutionPlan, type ExecutionResult, type PureModel, type RootGraphFetchTree, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
|
17
|
+
export declare abstract class DSL_DataQuality_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
18
|
+
abstract generatePlan(graph: PureModel, packagePath: string): Promise<RawExecutionPlan>;
|
19
|
+
abstract execute(graph: PureModel, packagePath: string, previewLimit: number): Promise<ExecutionResult>;
|
20
|
+
abstract debugExecutionPlanGeneration(graph: PureModel, packagePath: string): Promise<{
|
21
|
+
plan: RawExecutionPlan;
|
22
|
+
debug: string;
|
23
|
+
}>;
|
24
|
+
abstract fetchStructuralValidations(graph: PureModel, packagePath: string): Promise<RootGraphFetchTree>;
|
25
|
+
}
|
26
|
+
export declare const getDataQualityPureGraphManagerExtension: (graphManager: AbstractPureGraphManager) => DSL_DataQuality_PureGraphManagerExtension;
|
27
|
+
//# sourceMappingURL=DSL_DataQuality_PureGraphManagerExtension.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAG7B,8BAAsB,yCAA0C,SAAQ,iCAAiC;IACvG,QAAQ,CAAC,YAAY,CACnB,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,CAAC;IAE5B,QAAQ,CAAC,OAAO,CACd,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,eAAe,CAAC;IAE3B,QAAQ,CAAC,4BAA4B,CACnC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAErD,QAAQ,CAAC,0BAA0B,CACjC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,kBAAkB,CAAC;CAC/B;AAED,eAAO,MAAM,uCAAuC,iBACpC,wBAAwB,KACrC,yCAOA,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { AbstractPureGraphManagerExtension, } from '@finos/legend-graph';
|
17
|
+
import { guaranteeNonNullable } from '@finos/legend-shared';
|
18
|
+
export class DSL_DataQuality_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
19
|
+
}
|
20
|
+
export const getDataQualityPureGraphManagerExtension = (graphManager) => guaranteeNonNullable(graphManager.extensions.find((extension) => extension instanceof DSL_DataQuality_PureGraphManagerExtension), `Can't find Data Quality Pure graph manager extension`);
|
21
|
+
//# sourceMappingURL=DSL_DataQuality_PureGraphManagerExtension.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAML,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,OAAgB,yCAA0C,SAAQ,iCAAiC;CAqBxG;AAED,MAAM,CAAC,MAAM,uCAAuC,GAAG,CACrD,YAAsC,EACK,EAAE,CAC7C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,yCAAyC,CACjE,EACD,sDAAsD,CACvD,CAAC"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, V1_ElementBuilder, PureProtocolProcessorPlugin } from '@finos/legend-graph';
|
17
|
+
export declare class DSL_DataQuality_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
18
|
+
constructor();
|
19
|
+
V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[];
|
20
|
+
V1_getExtraElementClassifierPathGetters(): V1_ElementProtocolClassifierPathGetter[];
|
21
|
+
V1_getExtraElementProtocolSerializers(): V1_ElementProtocolSerializer[];
|
22
|
+
V1_getExtraElementProtocolDeserializers(): V1_ElementProtocolDeserializer[];
|
23
|
+
V1_getExtraElementTransformers(): V1_ElementTransformer[];
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=DSL_DataQuality_PureProtocolProcessorPlugin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiCH,OAAO,EACL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAM1B,iBAAiB,EAEjB,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAM7B,qBAAa,2CAA4C,SAAQ,2BAA2B;;IAQjF,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA+HxE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAiBvE,uCAAuC,IAAI,8BAA8B,EAAE;IAiB3E,8BAA8B,IAAI,qBAAqB,EAAE;CAiCnE"}
|