@finos/legend-application-query 5.2.8 → 7.0.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/lib/application/LegendQuery.d.ts.map +1 -1
- package/lib/application/LegendQuery.js +4 -7
- package/lib/application/LegendQuery.js.map +1 -1
- package/lib/components/LegendQueryApplication.d.ts +0 -1
- package/lib/components/LegendQueryApplication.d.ts.map +1 -1
- package/lib/components/LegendQueryApplication.js +2 -2
- package/lib/components/LegendQueryApplication.js.map +1 -1
- package/lib/components/QueryEditor.d.ts +2 -3
- package/lib/components/QueryEditor.d.ts.map +1 -1
- package/lib/components/QueryEditor.js +83 -32
- package/lib/components/QueryEditor.js.map +1 -1
- package/lib/components/QueryEditorComponentTestUtils.d.ts +5 -1
- package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/QueryEditorComponentTestUtils.js +21 -20
- package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
- package/lib/components/QueryEditorStoreProvider.d.ts +2 -3
- package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -1
- package/lib/components/QueryEditorStoreProvider.js +5 -5
- package/lib/components/QueryEditorStoreProvider.js.map +1 -1
- package/lib/components/QuerySetup.js +17 -17
- package/lib/components/QuerySetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -4
- package/lib/index.js.map +1 -1
- package/lib/package.json +8 -14
- package/lib/stores/LegendQueryApplicationPlugin.d.ts +7 -0
- package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/stores/LegendQueryRouter.d.ts +8 -12
- package/lib/stores/LegendQueryRouter.d.ts.map +1 -1
- package/lib/stores/LegendQueryRouter.js +6 -7
- package/lib/stores/LegendQueryRouter.js.map +1 -1
- package/lib/stores/QueryEditorStore.d.ts +22 -11
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +102 -67
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/QuerySetupStore.d.ts +4 -4
- package/lib/stores/QuerySetupStore.d.ts.map +1 -1
- package/lib/stores/QuerySetupStore.js +4 -4
- package/lib/stores/QuerySetupStore.js.map +1 -1
- package/package.json +15 -21
- package/src/application/LegendQuery.tsx +7 -8
- package/src/components/LegendQueryApplication.tsx +7 -7
- package/src/components/QueryEditor.tsx +371 -134
- package/src/components/QueryEditorComponentTestUtils.tsx +40 -29
- package/src/components/QueryEditorStoreProvider.tsx +7 -9
- package/src/components/QuerySetup.tsx +25 -25
- package/src/index.ts +2 -10
- package/src/stores/LegendQueryApplicationPlugin.ts +12 -0
- package/src/stores/LegendQueryRouter.ts +11 -16
- package/src/stores/QueryEditorStore.ts +167 -113
- package/src/stores/QuerySetupStore.ts +8 -6
- package/tsconfig.json +2 -111
- package/tsconfig.package.json +1 -1
- package/lib/QueryBuilder_Const.d.ts +0 -77
- package/lib/QueryBuilder_Const.d.ts.map +0 -1
- package/lib/QueryBuilder_Const.js +0 -85
- package/lib/QueryBuilder_Const.js.map +0 -1
- package/lib/components/QueryBuilder.d.ts +0 -23
- package/lib/components/QueryBuilder.d.ts.map +0 -1
- package/lib/components/QueryBuilder.js +0 -111
- package/lib/components/QueryBuilder.js.map +0 -1
- package/lib/components/QueryBuilderParameterPanel.d.ts +0 -30
- package/lib/components/QueryBuilderParameterPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderParameterPanel.js +0 -128
- package/lib/components/QueryBuilderParameterPanel.js.map +0 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -30
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +0 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +0 -116
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +0 -1
- package/lib/components/QueryBuilderResultPanel.d.ts +0 -23
- package/lib/components/QueryBuilderResultPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderResultPanel.js +0 -242
- package/lib/components/QueryBuilderResultPanel.js.map +0 -1
- package/lib/components/QueryBuilderSetupPanel.d.ts +0 -23
- package/lib/components/QueryBuilderSetupPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderSetupPanel.js +0 -149
- package/lib/components/QueryBuilderSetupPanel.js.map +0 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +0 -23
- package/lib/components/QueryBuilderTextEditor.d.ts.map +0 -1
- package/lib/components/QueryBuilderTextEditor.js +0 -48
- package/lib/components/QueryBuilderTextEditor.js.map +0 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -23
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +0 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +0 -37
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +0 -1
- package/lib/components/QueryBuilder_TestID.d.ts +0 -26
- package/lib/components/QueryBuilder_TestID.d.ts.map +0 -1
- package/lib/components/QueryBuilder_TestID.js +0 -27
- package/lib/components/QueryBuilder_TestID.js.map +0 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +0 -36
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +0 -335
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +0 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -23
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +0 -147
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
- package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts +0 -24
- package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderMilestoneEditor.js +0 -120
- package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -24
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +0 -200
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -23
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +0 -52
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -32
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +0 -94
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -31
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +0 -378
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +0 -23
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +0 -216
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -23
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +0 -88
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +0 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -23
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +0 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +0 -316
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +0 -1
- package/lib/components/shared/ElementIconUtils.d.ts +0 -18
- package/lib/components/shared/ElementIconUtils.d.ts.map +0 -1
- package/lib/components/shared/ElementIconUtils.js +0 -37
- package/lib/components/shared/ElementIconUtils.js.map +0 -1
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +0 -43
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
- package/lib/components/shared/QueryBuilderLambdaEditor.js +0 -47
- package/lib/components/shared/QueryBuilderLambdaEditor.js.map +0 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts +0 -20
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +0 -28
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +0 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +0 -26
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +0 -32
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +0 -21
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +0 -27
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +0 -24
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +0 -32
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -21
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -20
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +0 -21
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +0 -20
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -25
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -21
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -18
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -20
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -22
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +0 -70
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +0 -22
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +0 -207
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +0 -18
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +0 -18
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -29
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +0 -182
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.d.ts +0 -22
- package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.js +0 -43
- package/lib/stores/QueryBuilderGroupOperationHelper.js.map +0 -1
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts +0 -26
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderPreviewDataHelper.js +0 -143
- package/lib/stores/QueryBuilderPreviewDataHelper.js.map +0 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts +0 -62
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +0 -395
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +0 -1
- package/lib/stores/QueryBuilderResultState.d.ts +0 -41
- package/lib/stores/QueryBuilderResultState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderResultState.js +0 -176
- package/lib/stores/QueryBuilderResultState.js.map +0 -1
- package/lib/stores/QueryBuilderSetupState.d.ts +0 -46
- package/lib/stores/QueryBuilderSetupState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderSetupState.js +0 -163
- package/lib/stores/QueryBuilderSetupState.js.map +0 -1
- package/lib/stores/QueryBuilderState.d.ts +0 -100
- package/lib/stores/QueryBuilderState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderState.js +0 -308
- package/lib/stores/QueryBuilderState.js.map +0 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts +0 -124
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +0 -1
- package/lib/stores/QueryBuilderStateBuilder.js +0 -310
- package/lib/stores/QueryBuilderStateBuilder.js.map +0 -1
- package/lib/stores/QueryBuilderStateTestUtils.d.ts +0 -24
- package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +0 -1
- package/lib/stores/QueryBuilderStateTestUtils.js +0 -50
- package/lib/stores/QueryBuilderStateTestUtils.js.map +0 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +0 -24
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.js +0 -86
- package/lib/stores/QueryBuilderTypeaheadHelper.js.map +0 -1
- package/lib/stores/QueryBuilderUnsupportedState.d.ts +0 -26
- package/lib/stores/QueryBuilderUnsupportedState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderUnsupportedState.js +0 -36
- package/lib/stores/QueryBuilderUnsupportedState.js.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +0 -20
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +0 -87
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +0 -27
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +0 -156
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +0 -61
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +0 -235
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +0 -1
- package/lib/stores/QueryParametersState.d.ts +0 -28
- package/lib/stores/QueryParametersState.d.ts.map +0 -1
- package/lib/stores/QueryParametersState.js +0 -39
- package/lib/stores/QueryParametersState.js.map +0 -1
- package/lib/stores/QueryTextEditorState.d.ts +0 -49
- package/lib/stores/QueryTextEditorState.d.ts.map +0 -1
- package/lib/stores/QueryTextEditorState.js +0 -145
- package/lib/stores/QueryTextEditorState.js.map +0 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +0 -99
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +0 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +0 -442
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +0 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts +0 -46
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts.map +0 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js +0 -242
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js.map +0 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +0 -59
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +0 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.js +0 -229
- package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +0 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +0 -40
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +0 -34
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +0 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +0 -27
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +0 -74
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +0 -49
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +0 -157
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +0 -20
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +0 -62
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +0 -42
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +0 -173
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +0 -26
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +0 -72
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +0 -73
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +0 -187
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +0 -68
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +0 -304
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +0 -25
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +0 -186
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +0 -189
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +0 -43
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +0 -77
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +0 -36
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -18
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -38
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +0 -42
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +0 -103
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +0 -20
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +0 -96
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +0 -22
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +0 -40
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +0 -50
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +0 -55
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +0 -50
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +0 -78
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +0 -67
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +0 -86
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +0 -86
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +0 -50
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +0 -50
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +0 -45
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -29
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +0 -30
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -18
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -44
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +0 -135
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +0 -586
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +0 -22
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +0 -122
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -19
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +0 -79
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +0 -23
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +0 -74
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +0 -75
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +0 -75
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +0 -118
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +0 -81
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -24
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -43
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +0 -104
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -33
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +0 -67
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +0 -81
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -24
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -43
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +0 -75
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +0 -27
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.js +0 -20
- package/lib/stores/filter/QueryBuilderFilterOperator.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts +0 -18
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js +0 -44
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +0 -123
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +0 -531
- package/lib/stores/filter/QueryBuilderFilterState.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +0 -19
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +0 -74
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +0 -19
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +0 -78
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +0 -21
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js +0 -257
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +0 -71
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +0 -71
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +0 -115
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +0 -27
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +0 -83
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +0 -27
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +0 -83
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +0 -103
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +0 -65
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +0 -27
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +0 -83
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +0 -27
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +0 -83
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +0 -71
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
- package/src/QueryBuilder_Const.ts +0 -88
- package/src/components/QueryBuilder.tsx +0 -412
- package/src/components/QueryBuilderParameterPanel.tsx +0 -403
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +0 -374
- package/src/components/QueryBuilderResultPanel.tsx +0 -640
- package/src/components/QueryBuilderSetupPanel.tsx +0 -342
- package/src/components/QueryBuilderTextEditor.tsx +0 -127
- package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +0 -112
- package/src/components/QueryBuilder_TestID.ts +0 -26
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +0 -927
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +0 -554
- package/src/components/explorer/QueryBuilderMilestoneEditor.tsx +0 -291
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +0 -617
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +0 -112
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +0 -276
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +0 -1103
- package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +0 -649
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +0 -254
- package/src/components/filter/QueryBuilderFilterPanel.tsx +0 -890
- package/src/components/shared/ElementIconUtils.tsx +0 -47
- package/src/components/shared/QueryBuilderLambdaEditor.tsx +0 -120
- package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +0 -40
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +0 -87
- package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +0 -32
- package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +0 -33
- package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -22
- package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +0 -22
- package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -47
- package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -27
- package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +0 -167
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +0 -573
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +0 -28
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +0 -296
- package/src/stores/QueryBuilderGroupOperationHelper.ts +0 -54
- package/src/stores/QueryBuilderPreviewDataHelper.ts +0 -210
- package/src/stores/QueryBuilderPropertyEditorState.ts +0 -668
- package/src/stores/QueryBuilderResultState.ts +0 -281
- package/src/stores/QueryBuilderSetupState.ts +0 -236
- package/src/stores/QueryBuilderState.ts +0 -465
- package/src/stores/QueryBuilderStateBuilder.ts +0 -584
- package/src/stores/QueryBuilderStateTestUtils.ts +0 -96
- package/src/stores/QueryBuilderTypeaheadHelper.ts +0 -155
- package/src/stores/QueryBuilderUnsupportedState.ts +0 -42
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +0 -179
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +0 -254
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +0 -359
- package/src/stores/QueryParametersState.ts +0 -52
- package/src/stores/QueryTextEditorState.ts +0 -203
- package/src/stores/explorer/QueryBuilderExplorerState.ts +0 -810
- package/src/stores/explorer/QueryBuilderPropertySearchPanelState.ts +0 -333
- package/src/stores/explorer/QueryFunctionsExplorerState.ts +0 -376
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +0 -65
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +0 -108
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +0 -240
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +0 -131
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +0 -282
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +0 -154
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +0 -329
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +0 -569
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +0 -426
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +0 -416
- package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +0 -95
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +0 -79
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -41
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +0 -145
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +0 -228
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +0 -109
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +0 -98
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +0 -106
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +0 -96
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +0 -173
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +0 -155
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +0 -174
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +0 -174
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +0 -98
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +0 -98
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +0 -88
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +0 -66
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -65
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +0 -808
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +0 -297
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -121
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +0 -129
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +0 -140
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +0 -135
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +0 -218
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +0 -143
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -70
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +0 -183
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +0 -113
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +0 -143
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -70
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +0 -135
- package/src/stores/filter/QueryBuilderFilterOperator.ts +0 -52
- package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +0 -65
- package/src/stores/filter/QueryBuilderFilterState.ts +0 -738
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +0 -155
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -120
- package/src/stores/filter/operators/QueryBuilderFilterOperatorHelper.ts +0 -524
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +0 -134
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +0 -134
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -211
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +0 -145
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +0 -145
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +0 -181
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +0 -125
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +0 -145
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +0 -145
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +0 -134
@@ -1,573 +0,0 @@
|
|
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
|
-
|
17
|
-
import {
|
18
|
-
assertNonNullable,
|
19
|
-
assertTrue,
|
20
|
-
assertType,
|
21
|
-
filterByType,
|
22
|
-
guaranteeType,
|
23
|
-
returnUndefOnError,
|
24
|
-
} from '@finos/legend-shared';
|
25
|
-
import {
|
26
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS,
|
27
|
-
TDS_ROW,
|
28
|
-
} from '../../../../QueryBuilder_Const.js';
|
29
|
-
import {
|
30
|
-
type V1_GraphBuilderContext,
|
31
|
-
type V1_ProcessingContext,
|
32
|
-
type V1_ValueSpecification,
|
33
|
-
type ValueSpecification,
|
34
|
-
type SimpleFunctionExpression,
|
35
|
-
V1_buildBaseSimpleFunctionExpression,
|
36
|
-
V1_buildGenericFunctionExpression,
|
37
|
-
extractElementNameFromPath,
|
38
|
-
V1_AppliedProperty,
|
39
|
-
CollectionInstanceValue,
|
40
|
-
Multiplicity,
|
41
|
-
INTERNAL__UnknownValueSpecification,
|
42
|
-
V1_Variable,
|
43
|
-
V1_serializeValueSpecification,
|
44
|
-
GenericType,
|
45
|
-
GenericTypeExplicitReference,
|
46
|
-
matchFunctionName,
|
47
|
-
InstanceValue,
|
48
|
-
V1_AppliedFunction,
|
49
|
-
V1_Collection,
|
50
|
-
V1_Lambda,
|
51
|
-
V1_ValueSpecificationBuilder,
|
52
|
-
AbstractPropertyExpression,
|
53
|
-
TYPICAL_MULTIPLICITY_TYPE,
|
54
|
-
VariableExpression,
|
55
|
-
} from '@finos/legend-graph';
|
56
|
-
|
57
|
-
const buildProjectionColumnLambda = (
|
58
|
-
valueSpecification: V1_ValueSpecification,
|
59
|
-
openVariables: string[],
|
60
|
-
compileContext: V1_GraphBuilderContext,
|
61
|
-
processingContext: V1_ProcessingContext,
|
62
|
-
): ValueSpecification => {
|
63
|
-
assertType(
|
64
|
-
valueSpecification,
|
65
|
-
V1_Lambda,
|
66
|
-
`Can't build projection column: only support lambda`,
|
67
|
-
);
|
68
|
-
|
69
|
-
// lambda parameter
|
70
|
-
assertTrue(
|
71
|
-
valueSpecification.parameters.length === 1,
|
72
|
-
`Can't build projection column: only support lambda with 1 parameter`,
|
73
|
-
);
|
74
|
-
const columnLambdaParameter = guaranteeType(
|
75
|
-
valueSpecification.parameters[0],
|
76
|
-
V1_Variable,
|
77
|
-
`Can't build projection column: only support lambda with 1 parameter`,
|
78
|
-
);
|
79
|
-
|
80
|
-
// lambda body
|
81
|
-
assertTrue(
|
82
|
-
valueSpecification.body.length === 1,
|
83
|
-
`Can't build projection column: only support lambda body with 1 expression`,
|
84
|
-
);
|
85
|
-
let currentPropertyExpression: V1_ValueSpecification = valueSpecification
|
86
|
-
.body[0] as V1_ValueSpecification;
|
87
|
-
assertType(
|
88
|
-
currentPropertyExpression,
|
89
|
-
V1_AppliedProperty,
|
90
|
-
`Can't build projection column: only support lambda body as property expression`,
|
91
|
-
);
|
92
|
-
while (currentPropertyExpression instanceof V1_AppliedProperty) {
|
93
|
-
assertTrue(
|
94
|
-
currentPropertyExpression.parameters.length >= 1,
|
95
|
-
`Can't build projection column: only support lambda body as property expression`,
|
96
|
-
);
|
97
|
-
currentPropertyExpression = currentPropertyExpression
|
98
|
-
.parameters[0] as V1_ValueSpecification;
|
99
|
-
// Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
|
100
|
-
// $x.employees->subType(@Person)->subType(@Staff)
|
101
|
-
while (
|
102
|
-
currentPropertyExpression instanceof V1_AppliedFunction &&
|
103
|
-
matchFunctionName(
|
104
|
-
currentPropertyExpression.function,
|
105
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE,
|
106
|
-
)
|
107
|
-
) {
|
108
|
-
currentPropertyExpression = currentPropertyExpression
|
109
|
-
.parameters[0] as V1_ValueSpecification;
|
110
|
-
}
|
111
|
-
}
|
112
|
-
// check lambda variable and parameter match
|
113
|
-
assertType(
|
114
|
-
currentPropertyExpression,
|
115
|
-
V1_Variable,
|
116
|
-
`Can't build projection column: only support lambda body as property expression`,
|
117
|
-
);
|
118
|
-
assertTrue(
|
119
|
-
columnLambdaParameter.name === currentPropertyExpression.name,
|
120
|
-
`Can't build column lambda: expects variable used in lambda body '${currentPropertyExpression.name}' to match lambda parameter '${columnLambdaParameter.name}'`,
|
121
|
-
);
|
122
|
-
return valueSpecification.accept_ValueSpecificationVisitor(
|
123
|
-
new V1_ValueSpecificationBuilder(
|
124
|
-
compileContext,
|
125
|
-
processingContext,
|
126
|
-
openVariables,
|
127
|
-
),
|
128
|
-
);
|
129
|
-
};
|
130
|
-
|
131
|
-
const buildAggregationExpression = (
|
132
|
-
valueSpecification: V1_ValueSpecification,
|
133
|
-
openVariables: string[],
|
134
|
-
compileContext: V1_GraphBuilderContext,
|
135
|
-
processingContext: V1_ProcessingContext,
|
136
|
-
): ValueSpecification => {
|
137
|
-
assertType(
|
138
|
-
valueSpecification,
|
139
|
-
V1_AppliedFunction,
|
140
|
-
`Can't build aggregation: only support function`,
|
141
|
-
);
|
142
|
-
assertTrue(
|
143
|
-
matchFunctionName(
|
144
|
-
valueSpecification.function,
|
145
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG,
|
146
|
-
),
|
147
|
-
`Can't build aggregation: only support agg()`,
|
148
|
-
);
|
149
|
-
|
150
|
-
assertTrue(
|
151
|
-
valueSpecification.parameters.length === 2,
|
152
|
-
`Can't build agg() expression: agg() expects 2 arguments`,
|
153
|
-
);
|
154
|
-
|
155
|
-
// column lambda
|
156
|
-
const columnLambda = guaranteeType(
|
157
|
-
valueSpecification.parameters[0],
|
158
|
-
V1_Lambda,
|
159
|
-
`Can't build agg() expression: agg() expects argument #1 as a lambda`,
|
160
|
-
);
|
161
|
-
const processedColumnLambda =
|
162
|
-
returnUndefOnError(() =>
|
163
|
-
buildProjectionColumnLambda(
|
164
|
-
columnLambda,
|
165
|
-
openVariables,
|
166
|
-
compileContext,
|
167
|
-
processingContext,
|
168
|
-
),
|
169
|
-
) ??
|
170
|
-
new INTERNAL__UnknownValueSpecification(
|
171
|
-
V1_serializeValueSpecification(columnLambda),
|
172
|
-
);
|
173
|
-
|
174
|
-
// aggregate lambda
|
175
|
-
const aggregateLambda = guaranteeType(
|
176
|
-
valueSpecification.parameters[1],
|
177
|
-
V1_Lambda,
|
178
|
-
);
|
179
|
-
const processedAggregateLambda =
|
180
|
-
aggregateLambda.accept_ValueSpecificationVisitor(
|
181
|
-
new V1_ValueSpecificationBuilder(
|
182
|
-
compileContext,
|
183
|
-
processingContext,
|
184
|
-
openVariables,
|
185
|
-
),
|
186
|
-
);
|
187
|
-
|
188
|
-
return V1_buildBaseSimpleFunctionExpression(
|
189
|
-
[processedColumnLambda, processedAggregateLambda],
|
190
|
-
extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG),
|
191
|
-
compileContext,
|
192
|
-
);
|
193
|
-
};
|
194
|
-
|
195
|
-
export const V1_buildGetAllFunctionExpression = (
|
196
|
-
functionName: string,
|
197
|
-
parameters: V1_ValueSpecification[],
|
198
|
-
openVariables: string[],
|
199
|
-
compileContext: V1_GraphBuilderContext,
|
200
|
-
processingContext: V1_ProcessingContext,
|
201
|
-
): [SimpleFunctionExpression, ValueSpecification[]] => {
|
202
|
-
const [expression, processedParams] = V1_buildGenericFunctionExpression(
|
203
|
-
functionName,
|
204
|
-
parameters,
|
205
|
-
openVariables,
|
206
|
-
compileContext,
|
207
|
-
processingContext,
|
208
|
-
);
|
209
|
-
const precedingExpression = expression.parametersValues[0];
|
210
|
-
|
211
|
-
assertType(
|
212
|
-
precedingExpression,
|
213
|
-
InstanceValue,
|
214
|
-
`Can't build getAll() expression: only support getAll() immediately following a class`,
|
215
|
-
);
|
216
|
-
expression.genericType = precedingExpression.genericType;
|
217
|
-
expression.multiplicity = precedingExpression.multiplicity;
|
218
|
-
return [expression, processedParams];
|
219
|
-
};
|
220
|
-
|
221
|
-
export const V1_buildExistsFunctionExpression = (
|
222
|
-
functionName: string,
|
223
|
-
parameters: V1_ValueSpecification[],
|
224
|
-
openVariables: string[],
|
225
|
-
compileContext: V1_GraphBuilderContext,
|
226
|
-
processingContext: V1_ProcessingContext,
|
227
|
-
): [SimpleFunctionExpression, ValueSpecification[]] => {
|
228
|
-
assertTrue(
|
229
|
-
parameters.length === 2,
|
230
|
-
`Can't build exists() expression: exists() expects 1 argument`,
|
231
|
-
);
|
232
|
-
|
233
|
-
const precedingExpression = (
|
234
|
-
parameters[0] as V1_ValueSpecification
|
235
|
-
).accept_ValueSpecificationVisitor(
|
236
|
-
new V1_ValueSpecificationBuilder(
|
237
|
-
compileContext,
|
238
|
-
processingContext,
|
239
|
-
openVariables,
|
240
|
-
),
|
241
|
-
);
|
242
|
-
precedingExpression.genericType = guaranteeType(
|
243
|
-
precedingExpression,
|
244
|
-
AbstractPropertyExpression,
|
245
|
-
).func.genericType;
|
246
|
-
const lambda = parameters[1];
|
247
|
-
if (lambda instanceof V1_Lambda) {
|
248
|
-
lambda.parameters.forEach((variable): void => {
|
249
|
-
if (variable.name && !variable.class) {
|
250
|
-
const variableExpression = new VariableExpression(
|
251
|
-
variable.name,
|
252
|
-
compileContext.graph.getTypicalMultiplicity(
|
253
|
-
TYPICAL_MULTIPLICITY_TYPE.ONE,
|
254
|
-
),
|
255
|
-
);
|
256
|
-
variableExpression.genericType = precedingExpression.genericType;
|
257
|
-
processingContext.addInferredVariables(
|
258
|
-
variable.name,
|
259
|
-
variableExpression,
|
260
|
-
);
|
261
|
-
}
|
262
|
-
});
|
263
|
-
}
|
264
|
-
const processedParameters = [
|
265
|
-
precedingExpression,
|
266
|
-
(parameters[1] as V1_ValueSpecification).accept_ValueSpecificationVisitor(
|
267
|
-
new V1_ValueSpecificationBuilder(
|
268
|
-
compileContext,
|
269
|
-
processingContext,
|
270
|
-
openVariables,
|
271
|
-
),
|
272
|
-
),
|
273
|
-
];
|
274
|
-
const expression = V1_buildBaseSimpleFunctionExpression(
|
275
|
-
processedParameters,
|
276
|
-
functionName,
|
277
|
-
compileContext,
|
278
|
-
);
|
279
|
-
return [expression, processedParameters];
|
280
|
-
};
|
281
|
-
|
282
|
-
export const V1_buildFilterFunctionExpression = (
|
283
|
-
functionName: string,
|
284
|
-
parameters: V1_ValueSpecification[],
|
285
|
-
openVariables: string[],
|
286
|
-
compileContext: V1_GraphBuilderContext,
|
287
|
-
processingContext: V1_ProcessingContext,
|
288
|
-
): [SimpleFunctionExpression, ValueSpecification[]] => {
|
289
|
-
assertTrue(
|
290
|
-
parameters.length === 2,
|
291
|
-
`Can't build filter() expression: filter() expects 1 argument`,
|
292
|
-
);
|
293
|
-
const precedingExpression = (
|
294
|
-
parameters[0] as V1_ValueSpecification
|
295
|
-
).accept_ValueSpecificationVisitor(
|
296
|
-
new V1_ValueSpecificationBuilder(
|
297
|
-
compileContext,
|
298
|
-
processingContext,
|
299
|
-
openVariables,
|
300
|
-
),
|
301
|
-
);
|
302
|
-
if (precedingExpression.genericType) {
|
303
|
-
const lambda = parameters[1];
|
304
|
-
if (lambda instanceof V1_Lambda) {
|
305
|
-
lambda.parameters.forEach((variable): void => {
|
306
|
-
if (variable.name && !variable.class) {
|
307
|
-
const variableExpression = new VariableExpression(
|
308
|
-
variable.name,
|
309
|
-
precedingExpression.multiplicity,
|
310
|
-
);
|
311
|
-
variableExpression.genericType = precedingExpression.genericType;
|
312
|
-
processingContext.addInferredVariables(
|
313
|
-
variable.name,
|
314
|
-
variableExpression,
|
315
|
-
);
|
316
|
-
}
|
317
|
-
});
|
318
|
-
}
|
319
|
-
}
|
320
|
-
const processedParams = [
|
321
|
-
precedingExpression,
|
322
|
-
(parameters[1] as V1_ValueSpecification).accept_ValueSpecificationVisitor(
|
323
|
-
new V1_ValueSpecificationBuilder(
|
324
|
-
compileContext,
|
325
|
-
processingContext,
|
326
|
-
openVariables,
|
327
|
-
),
|
328
|
-
),
|
329
|
-
];
|
330
|
-
const expression = V1_buildBaseSimpleFunctionExpression(
|
331
|
-
processedParams,
|
332
|
-
functionName,
|
333
|
-
compileContext,
|
334
|
-
);
|
335
|
-
|
336
|
-
// return type of filter() is the same as that of the function precedes it
|
337
|
-
expression.genericType = precedingExpression.genericType;
|
338
|
-
expression.multiplicity = precedingExpression.multiplicity;
|
339
|
-
return [expression, processedParams];
|
340
|
-
};
|
341
|
-
|
342
|
-
export const V1_buildProjectFunctionExpression = (
|
343
|
-
functionName: string,
|
344
|
-
parameters: V1_ValueSpecification[],
|
345
|
-
openVariables: string[],
|
346
|
-
compileContext: V1_GraphBuilderContext,
|
347
|
-
processingContext: V1_ProcessingContext,
|
348
|
-
): [SimpleFunctionExpression, ValueSpecification[]] => {
|
349
|
-
assertTrue(
|
350
|
-
parameters.length === 3,
|
351
|
-
`Can't build project() expression: project() expects 2 arguments`,
|
352
|
-
);
|
353
|
-
|
354
|
-
let topLevelLambdaParameters: V1_Variable[] = [];
|
355
|
-
const precedingExperession = (
|
356
|
-
parameters[0] as V1_ValueSpecification
|
357
|
-
).accept_ValueSpecificationVisitor(
|
358
|
-
new V1_ValueSpecificationBuilder(
|
359
|
-
compileContext,
|
360
|
-
processingContext,
|
361
|
-
openVariables,
|
362
|
-
),
|
363
|
-
);
|
364
|
-
assertNonNullable(
|
365
|
-
precedingExperession.genericType,
|
366
|
-
`Can't build project() expression: preceding expression return type is missing`,
|
367
|
-
);
|
368
|
-
|
369
|
-
const columnExpressions = parameters[1];
|
370
|
-
assertType(
|
371
|
-
columnExpressions,
|
372
|
-
V1_Collection,
|
373
|
-
`Can't build project() expression: project() expects argument #1 to be a collection`,
|
374
|
-
);
|
375
|
-
topLevelLambdaParameters = columnExpressions.values
|
376
|
-
.filter(filterByType(V1_Lambda))
|
377
|
-
.map((lambda) => lambda.parameters)
|
378
|
-
.flat();
|
379
|
-
|
380
|
-
const variables = new Set<string>();
|
381
|
-
// Make sure top-level lambdas have their lambda parameter types set properly
|
382
|
-
topLevelLambdaParameters.forEach((variable) => {
|
383
|
-
if (!variables.has(variable.name) && !variable.class) {
|
384
|
-
const variableExpression = new VariableExpression(
|
385
|
-
variable.name,
|
386
|
-
precedingExperession.multiplicity,
|
387
|
-
);
|
388
|
-
variableExpression.genericType = precedingExperession.genericType;
|
389
|
-
processingContext.addInferredVariables(variable.name, variableExpression);
|
390
|
-
}
|
391
|
-
});
|
392
|
-
|
393
|
-
// build column expressions taking into account of derivation
|
394
|
-
const processedColumnExpressions = new CollectionInstanceValue(
|
395
|
-
new Multiplicity(
|
396
|
-
columnExpressions.multiplicity.lowerBound,
|
397
|
-
columnExpressions.multiplicity.upperBound,
|
398
|
-
),
|
399
|
-
);
|
400
|
-
processedColumnExpressions.values = columnExpressions.values.map((value) => {
|
401
|
-
try {
|
402
|
-
return buildProjectionColumnLambda(
|
403
|
-
value,
|
404
|
-
openVariables,
|
405
|
-
compileContext,
|
406
|
-
processingContext,
|
407
|
-
);
|
408
|
-
} catch {
|
409
|
-
return new INTERNAL__UnknownValueSpecification(
|
410
|
-
V1_serializeValueSpecification(value),
|
411
|
-
);
|
412
|
-
}
|
413
|
-
});
|
414
|
-
|
415
|
-
const processedParams = [
|
416
|
-
precedingExperession,
|
417
|
-
processedColumnExpressions,
|
418
|
-
(parameters[2] as V1_ValueSpecification).accept_ValueSpecificationVisitor(
|
419
|
-
new V1_ValueSpecificationBuilder(
|
420
|
-
compileContext,
|
421
|
-
processingContext,
|
422
|
-
openVariables,
|
423
|
-
),
|
424
|
-
),
|
425
|
-
];
|
426
|
-
const expression = V1_buildBaseSimpleFunctionExpression(
|
427
|
-
processedParams,
|
428
|
-
functionName,
|
429
|
-
compileContext,
|
430
|
-
);
|
431
|
-
expression.genericType = GenericTypeExplicitReference.create(
|
432
|
-
new GenericType(compileContext.resolveType(TDS_ROW).value),
|
433
|
-
);
|
434
|
-
return [expression, processedParams];
|
435
|
-
};
|
436
|
-
|
437
|
-
export const V1_buildGroupByFunctionExpression = (
|
438
|
-
functionName: string,
|
439
|
-
parameters: V1_ValueSpecification[],
|
440
|
-
openVariables: string[],
|
441
|
-
compileContext: V1_GraphBuilderContext,
|
442
|
-
processingContext: V1_ProcessingContext,
|
443
|
-
): [SimpleFunctionExpression, ValueSpecification[]] => {
|
444
|
-
let topLevelLambdaParameters: V1_Variable[] = [];
|
445
|
-
assertTrue(
|
446
|
-
parameters.length === 4,
|
447
|
-
`Can't build groupBy() expression: groupBy() expects 3 arguments`,
|
448
|
-
);
|
449
|
-
|
450
|
-
const precedingExperession = (
|
451
|
-
parameters[0] as V1_ValueSpecification
|
452
|
-
).accept_ValueSpecificationVisitor(
|
453
|
-
new V1_ValueSpecificationBuilder(
|
454
|
-
compileContext,
|
455
|
-
processingContext,
|
456
|
-
openVariables,
|
457
|
-
),
|
458
|
-
);
|
459
|
-
assertNonNullable(
|
460
|
-
precedingExperession.genericType,
|
461
|
-
`Can't build groupBy() expression: preceding expression return type is missing`,
|
462
|
-
);
|
463
|
-
|
464
|
-
// normal columns
|
465
|
-
const columnExpressions = parameters[1];
|
466
|
-
assertType(
|
467
|
-
columnExpressions,
|
468
|
-
V1_Collection,
|
469
|
-
`Can't build groupBy() expression: groupBy() expects argument #1 to be a collection`,
|
470
|
-
);
|
471
|
-
topLevelLambdaParameters = columnExpressions.values
|
472
|
-
.filter(filterByType(V1_Lambda))
|
473
|
-
.map((lambda) => lambda.parameters)
|
474
|
-
.flat();
|
475
|
-
|
476
|
-
// aggregation columns
|
477
|
-
const aggregationExpressions = parameters[2];
|
478
|
-
assertType(
|
479
|
-
aggregationExpressions,
|
480
|
-
V1_Collection,
|
481
|
-
`Can't build groupBy() expression: groupBy() expects argument #2 to be a collection`,
|
482
|
-
);
|
483
|
-
topLevelLambdaParameters = topLevelLambdaParameters.concat(
|
484
|
-
aggregationExpressions.values
|
485
|
-
.filter(
|
486
|
-
(value: V1_ValueSpecification): value is V1_AppliedFunction =>
|
487
|
-
value instanceof V1_AppliedFunction &&
|
488
|
-
matchFunctionName(
|
489
|
-
value.function,
|
490
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG,
|
491
|
-
),
|
492
|
-
)
|
493
|
-
.map((value) => value.parameters)
|
494
|
-
.flat()
|
495
|
-
.filter(filterByType(V1_Lambda))
|
496
|
-
.map((lambda) => lambda.parameters)
|
497
|
-
.flat(),
|
498
|
-
);
|
499
|
-
|
500
|
-
// Make sure top-level lambdas have their lambda parameter types set properly
|
501
|
-
const variables = new Set<string>();
|
502
|
-
topLevelLambdaParameters.forEach((variable) => {
|
503
|
-
if (!variables.has(variable.name) && !variable.class) {
|
504
|
-
const variableExpression = new VariableExpression(
|
505
|
-
variable.name,
|
506
|
-
precedingExperession.multiplicity,
|
507
|
-
);
|
508
|
-
variableExpression.genericType = precedingExperession.genericType;
|
509
|
-
processingContext.addInferredVariables(variable.name, variableExpression);
|
510
|
-
}
|
511
|
-
});
|
512
|
-
|
513
|
-
// build column expressions taking into account of derivation
|
514
|
-
const processedColumnExpressions = new CollectionInstanceValue(
|
515
|
-
new Multiplicity(
|
516
|
-
columnExpressions.multiplicity.lowerBound,
|
517
|
-
columnExpressions.multiplicity.upperBound,
|
518
|
-
),
|
519
|
-
);
|
520
|
-
processedColumnExpressions.values = columnExpressions.values.map((value) => {
|
521
|
-
try {
|
522
|
-
return buildProjectionColumnLambda(
|
523
|
-
value,
|
524
|
-
openVariables,
|
525
|
-
compileContext,
|
526
|
-
processingContext,
|
527
|
-
);
|
528
|
-
} catch {
|
529
|
-
return new INTERNAL__UnknownValueSpecification(
|
530
|
-
V1_serializeValueSpecification(value),
|
531
|
-
);
|
532
|
-
}
|
533
|
-
});
|
534
|
-
|
535
|
-
// build aggregation expressions taking into account of derivation
|
536
|
-
const processedAggregationExpressions = new CollectionInstanceValue(
|
537
|
-
new Multiplicity(
|
538
|
-
aggregationExpressions.multiplicity.lowerBound,
|
539
|
-
aggregationExpressions.multiplicity.upperBound,
|
540
|
-
),
|
541
|
-
);
|
542
|
-
processedAggregationExpressions.values = aggregationExpressions.values.map(
|
543
|
-
(value) =>
|
544
|
-
buildAggregationExpression(
|
545
|
-
value,
|
546
|
-
openVariables,
|
547
|
-
compileContext,
|
548
|
-
processingContext,
|
549
|
-
),
|
550
|
-
);
|
551
|
-
|
552
|
-
const processedParams = [
|
553
|
-
precedingExperession,
|
554
|
-
processedColumnExpressions,
|
555
|
-
processedAggregationExpressions,
|
556
|
-
(parameters[3] as V1_ValueSpecification).accept_ValueSpecificationVisitor(
|
557
|
-
new V1_ValueSpecificationBuilder(
|
558
|
-
compileContext,
|
559
|
-
processingContext,
|
560
|
-
openVariables,
|
561
|
-
),
|
562
|
-
),
|
563
|
-
];
|
564
|
-
const expression = V1_buildBaseSimpleFunctionExpression(
|
565
|
-
processedParams,
|
566
|
-
functionName,
|
567
|
-
compileContext,
|
568
|
-
);
|
569
|
-
expression.genericType = GenericTypeExplicitReference.create(
|
570
|
-
new GenericType(compileContext.resolveType(TDS_ROW).value),
|
571
|
-
);
|
572
|
-
return [expression, processedParams];
|
573
|
-
};
|
package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts
DELETED
@@ -1,28 +0,0 @@
|
|
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
|
-
|
17
|
-
import {
|
18
|
-
type SimpleFunctionExpression,
|
19
|
-
type Type,
|
20
|
-
InstanceValue,
|
21
|
-
} from '@finos/legend-graph';
|
22
|
-
|
23
|
-
export const V1_buildSubTypePropertyExpressionTypeInference = (
|
24
|
-
inferredVariable: SimpleFunctionExpression,
|
25
|
-
): Type | undefined =>
|
26
|
-
inferredVariable.parametersValues.filter(
|
27
|
-
(param) => param instanceof InstanceValue,
|
28
|
-
)[0]?.genericType?.value.rawType;
|