@finos/legend-query-builder 4.10.0 → 4.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. package/lib/__lib__/QueryBuilderEvent.d.ts +2 -1
  2. package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderEvent.js +1 -0
  4. package/lib/__lib__/QueryBuilderEvent.js.map +1 -1
  5. package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
  6. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
  7. package/lib/__lib__/QueryBuilderTesting.js +1 -0
  8. package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
  9. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  10. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +2 -1
  11. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  12. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +1 -1
  13. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  14. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +3 -2
  15. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  16. package/lib/components/filter/QueryBuilderFilterPanel.js +145 -8
  17. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  18. package/lib/graph/QueryBuilderMetaModelConst.d.ts +22 -1
  19. package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
  20. package/lib/graph/QueryBuilderMetaModelConst.js +24 -0
  21. package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
  22. package/lib/index.css +0 -16
  23. package/lib/index.d.ts +2 -1
  24. package/lib/index.d.ts.map +1 -1
  25. package/lib/index.js +2 -1
  26. package/lib/index.js.map +1 -1
  27. package/lib/package.json +1 -1
  28. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -1
  29. package/lib/stores/QueryBuilderPreviewDataHelper.js +2 -1
  30. package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -1
  31. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  32. package/lib/stores/QueryBuilderState.js +2 -0
  33. package/lib/stores/QueryBuilderState.js.map +1 -1
  34. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  35. package/lib/stores/QueryBuilderTypeaheadHelper.js +1 -1
  36. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  37. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +4 -1
  38. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -1
  39. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js +37 -3
  40. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
  41. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts +1 -4
  42. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts.map +1 -1
  43. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +1 -5
  44. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
  45. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.d.ts +1 -1
  46. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -1
  47. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.js +2 -2
  48. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.js.map +1 -1
  49. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +3 -2
  50. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  51. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +9 -0
  52. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  53. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
  54. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +2 -4
  55. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  56. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.d.ts +2 -1
  57. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -1
  58. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +1 -15
  59. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  60. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +3 -44
  61. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  62. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -1
  63. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +13 -3
  64. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
  65. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  66. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +3 -2
  67. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  68. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +2 -1
  69. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
  70. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +2 -1
  71. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  72. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  73. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +2 -2
  74. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  75. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  76. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +3 -10
  77. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  78. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts +1 -1
  79. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -1
  80. package/lib/stores/filter/QueryBuilderFilterState.d.ts +7 -1
  81. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  82. package/lib/stores/filter/QueryBuilderFilterState.js +27 -0
  83. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  84. package/package.json +5 -5
  85. package/src/__lib__/QueryBuilderEvent.ts +1 -0
  86. package/src/__lib__/QueryBuilderTesting.ts +1 -0
  87. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +2 -4
  88. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +1 -1
  89. package/src/components/filter/QueryBuilderFilterPanel.tsx +239 -21
  90. package/src/graph/QueryBuilderMetaModelConst.ts +25 -0
  91. package/src/index.ts +9 -2
  92. package/src/stores/QueryBuilderPreviewDataHelper.ts +2 -4
  93. package/src/stores/QueryBuilderState.ts +5 -0
  94. package/src/stores/QueryBuilderTypeaheadHelper.ts +2 -4
  95. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +58 -2
  96. package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +1 -5
  97. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts +5 -9
  98. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +16 -2
  99. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +2 -4
  100. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts +1 -1
  101. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +1 -50
  102. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +22 -4
  103. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +4 -4
  104. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +1 -1
  105. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +5 -5
  106. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +5 -15
  107. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +1 -1
  108. package/src/stores/filter/QueryBuilderFilterState.ts +40 -1
package/lib/index.js CHANGED
@@ -24,13 +24,14 @@ export { QueryBuilderNavigationBlocker } from './components/QueryBuilderNavigati
24
24
  export { QueryBuilder } from './components/QueryBuilder.js';
25
25
  export { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './components/QueryBuilderComponentElement.js';
26
26
  export { QueryBuilderState } from './stores/QueryBuilderState.js';
27
+ export { getTDSColumnDerivedProperyFromType, buildTDSSortTypeExpression, } from './stores/fetch-structure/tds/QueryBuilderTDSHelper.js';
27
28
  export { QueryBuilderPropertySearchState } from './stores/explorer/QueryBuilderPropertySearchState.js';
28
29
  export { QueryBuilderClassSelector, buildRuntimeValueOption, getRuntimeOptionFormatter, } from './components/QueryBuilderSideBar.js';
29
30
  export { ClassQueryBuilderState } from './stores/workflows/ClassQueryBuilderState.js';
30
31
  export { FunctionQueryBuilderState } from './stores/workflows/FunctionQueryBuilderState.js';
31
32
  export { MappingQueryBuilderState } from './stores/workflows/MappingQueryBuilderState.js';
32
33
  export { ServiceQueryBuilderState, } from './stores/workflows/ServiceQueryBuilderState.js';
33
- export { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from './graph/QueryBuilderMetaModelConst.js';
34
+ export { TDS_COLUMN_GETTER, COLUMN_SORT_TYPE, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from './graph/QueryBuilderMetaModelConst.js';
34
35
  export { getQueryBuilderGraphManagerExtension } from './graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js';
35
36
  export * from './stores/ServiceInfo.js';
36
37
  export * from './components/ServiceQuerySetupUtils.js';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc;AACd,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAE/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AACrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAEL,oCAAoC,GACrC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,O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yBAAyB,EACzB,gCAAgC,GACjC,MAAM,8CAA8C,CAAC;AAEtD,4GAA4G;AAE5G,cAAc,qCAAqC,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,cAAc,yCAAyC,CAAC;AAExD,cAAc,sDAAsD,CAAC;AACrE,cAAc,oDAAoD,CAAC;AAEnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,mDAAmD,CAAC;AAElE,cAAc,oDAAoD,CAAC;AACnE,cAAc,+CAA+C,CAAC;AAE9D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4DAA4D,CAAC;AAE3E,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.10.0",
3
+ "version": "4.10.2",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPreviewDataHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderPreviewDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,SAAS,EACT,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAW7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AA4DhE,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,EAAE;QAAE,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;KAAE,EAAE,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,sBACpB,iBAAiB,sBAChB,0BAA0B,KAC7C,SAgDF,CAAC;AAEF,eAAO,MAAM,+BAA+B,sBACvB,iBAAiB,sBAChB,0BAA0B,KAC7C,SAsDF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPreviewDataHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderPreviewDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,SAAS,EACT,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAW7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AA0DhE,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,EAAE;QAAE,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;KAAE,EAAE,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,sBACpB,iBAAiB,sBAChB,0BAA0B,KAC7C,SAgDF,CAAC;AAEF,eAAO,MAAM,+BAA+B,sBACvB,iBAAiB,sBAChB,0BAA0B,KAC7C,SAsDF,CAAC"}
@@ -23,8 +23,9 @@ import { QueryBuilderAggregateOperator_StdDev_Population } from './fetch-structu
23
23
  import { QueryBuilderAggregateOperator_StdDev_Sample } from './fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js';
24
24
  import { QueryBuilderAggregateOperator_Sum } from './fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js';
25
25
  import { QueryBuilderSimpleProjectionColumnState } from './fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
26
- import { COLUMN_SORT_TYPE, SortColumnState, } from './fetch-structure/tds/QueryResultSetModifierState.js';
26
+ import { SortColumnState } from './fetch-structure/tds/QueryResultSetModifierState.js';
27
27
  import { QueryBuilderTDSState } from './fetch-structure/tds/QueryBuilderTDSState.js';
28
+ import { COLUMN_SORT_TYPE } from '../graph/QueryBuilderMetaModelConst.js';
28
29
  const PREVIEW_DATA_TAKE_LIMIT = 10;
29
30
  const PREVIEW_DATA_NON_NUMERIC_VALUE_COLUMN_NAME = 'Value';
30
31
  const PREVIEW_DATA_NON_NUMERIC_COUNT_COLUMN_NAME = 'Count';
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPreviewDataHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderPreviewDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,qCAAqC,EAAE,MAAM,sFAAsF,CAAC;AAC7I,OAAO,EAAE,mCAAmC,EAAE,MAAM,oFAAoF,CAAC;AACzI,OAAO,EAAE,2CAA2C,EAAE,MAAM,4FAA4F,CAAC;AACzJ,OAAO,EAAE,iCAAiC,EAAE,MAAM,kFAAkF,CAAC;AACrI,OAAO,EAAE,iCAAiC,EAAE,MAAM,kFAAkF,CAAC;AACrI,OAAO,EAAE,+CAA+C,EAAE,MAAM,gGAAgG,CAAC;AACjK,OAAO,EAAE,2CAA2C,EAAE,MAAM,4FAA4F,CAAC;AACzJ,OAAO,EAAE,iCAAiC,EAAE,MAAM,kFAAkF,CAAC;AACrI,OAAO,EAAE,uCAAuC,EAAE,MAAM,uEAAuE,CAAC;AAEhI,OAAO,EACL,gBAAgB,EAChB,eAAe,GAChB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAErF,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,0CAA0C,GAAG,OAAO,CAAC;AAC3D,MAAM,0CAA0C,GAAG,OAAO,CAAC;AAE3D,IAAK,gBASJ;AATD,WAAK,gBAAgB;IACnB,mCAAe,CAAA;IACf,qDAAiC,CAAA;IACjC,+BAAW,CAAA;IACX,+BAAW,CAAA;IACX,+BAAW,CAAA;IACX,uCAAmB,CAAA;IACnB,+DAA2C,CAAA;IAC3C,uDAAmC,CAAA;AACrC,CAAC,EATI,gB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Q,iBAAiB;CAAG"}
@@ -37,6 +37,7 @@ import { QueryBuilderCheckEntitlementsState } from './entitlements/QueryBuilderC
37
37
  import { QueryBuilderTDSState } from './fetch-structure/tds/QueryBuilderTDSState.js';
38
38
  import { QUERY_BUILDER_PURE_PATH } from '../graph/QueryBuilderMetaModelConst.js';
39
39
  import { QueryBuilderExternalExecutionContextState, } from './QueryBuilderExecutionContextState.js';
40
+ import { QUERY_BUILDER_EVENT } from '../__lib__/QueryBuilderEvent.js';
40
41
  export class QueryBuilderState {
41
42
  applicationStore;
42
43
  graphManagerState;
@@ -364,6 +365,7 @@ export class QueryBuilderState {
364
365
  }
365
366
  catch (error) {
366
367
  assertErrorThrown(error);
368
+ this.applicationStore.logService.error(LogEvent.create(QUERY_BUILDER_EVENT.UNSUPPORTED_QUERY_LAUNCH), error);
367
369
  this.resetQueryResult({ preserveResult: options?.preserveResult });
368
370
  this.resetQueryContent();
369
371
  this.unsupportedQueryState.setLambdaError(error);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM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,CAAC;IAED;;;;OAIG;IACH,kCAAkC;QAChC,mEAAmE;QACnE,MAAM,UAAU,GAAG,IAAI,gCAAgC,CACrD,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,EACtB,SAAS,CACV,CAAC;QACF,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B,UAAU,CAAC,qBAAqB,CAAC,OAAO;YACtC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC;QACrC,UAAU,CAAC,qBAAqB,CAAC,YAAY;YAC3C,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC;QAC1C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,mBAAmB;YACtD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,sBAAsB;YAC3B,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
1
+ {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAs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ypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAIvB,KAAK,SAAS,EA0Bf,MAAM,qBAAqB,CAAC;AAU7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mEAAmE,CAAC;AAK1H,OAAO,EAEL,iCAAiC,EAElC,MAAM,uEAAuE,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AA4ShE,eAAO,MAAM,2BAA2B,sBACnB,iBAAiB,sBAChB,0BAA0B,SACvC,kBAAkB,GAAG,SAAS,KACpC,SAiBF,CAAC;AAEF,eAAO,MAAM,mCAAmC,sBAC3B,iBAAiB,eAEhC,iCAAiC,GACjC,gCAAgC,SAC7B,kBAAkB,GAAG,SAAS,KACpC,SA+CF,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,eAAe,KAAG,MAAM,EAgBrE,CAAC;AAEF,eAAO,MAAM,gBAAgB,QACtB,kBAAkB,GAAG,SAAS,KAClC,OAaF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTypeaheadHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAIvB,KAAK,SAAS,EA0Bf,MAAM,qBAAqB,CAAC;AAU7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mEAAmE,CAAC;AAC1H,OAAO,EAEL,iCAAiC,EAElC,MAAM,uEAAuE,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AA8ShE,eAAO,MAAM,2BAA2B,sBACnB,iBAAiB,sBAChB,0BAA0B,SACvC,kBAAkB,GAAG,SAAS,KACpC,SAiBF,CAAC;AAEF,eAAO,MAAM,mCAAmC,sBAC3B,iBAAiB,eAEhC,iCAAiC,GACjC,gCAAgC,SAC7B,kBAAkB,GAAG,SAAS,KACpC,SA+CF,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,eAAe,KAAG,MAAM,EAgBrE,CAAC;AAEF,eAAO,MAAM,gBAAgB,QACtB,kBAAkB,GAAG,SAAS,KAClC,OAaF,CAAC"}
@@ -16,7 +16,6 @@
16
16
  import { AbstractPropertyExpression, PrimitiveInstanceValue, PRIMITIVE_TYPE, TDSExecutionResult, DerivedProperty, Class, SimpleFunctionExpression, matchFunctionName, PrimitiveType, Multiplicity, getMilestoneTemporalStereotype, extractElementNameFromPath, CollectionInstanceValue, GenericTypeExplicitReference, GenericType, CORE_PURE_PATH, FunctionType, LambdaFunction, PackageableElementExplicitReference, PropertyExplicitReference, getAllClassDerivedProperties, VariableExpression, buildRawLambdaFromLambdaFunction, INTERNAL__UnknownValueSpecification, V1_transformRawLambda, V1_GraphTransformerContextBuilder, V1_serializeRawValueSpecification, } from '@finos/legend-graph';
17
17
  import { getNullableFirstEntry, guaranteeNonNullable, guaranteeType, isNonNullable, isString, UnsupportedOperationError, } from '@finos/legend-shared';
18
18
  import { QueryBuilderPostFilterOperator_StartWith } from './fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js';
19
- import { getTDSColumnDerivedProperyFromType, } from './fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
20
19
  import { QueryBuilderDerivationProjectionColumnState, QueryBuilderProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
21
20
  import { DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
22
21
  import { QUERY_BUILDER_PURE_PATH, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from '../graph/QueryBuilderMetaModelConst.js';
@@ -26,6 +25,7 @@ import { buildGetAllFunction } from './QueryBuilderValueSpecificationBuilder.js'
26
25
  import { getPropertyChainName } from './QueryBuilderPropertyEditorState.js';
27
26
  import { buildGenericLambdaFunctionInstanceValue } from './QueryBuilderValueSpecificationHelper.js';
28
27
  import { DEFAULT_LAMBDA_VARIABLE_NAME, DEFAULT_POST_FILTER_LAMBDA_VARIABLE_NAME, } from './QueryBuilderConfig.js';
28
+ import { getTDSColumnDerivedProperyFromType } from './fetch-structure/tds/QueryBuilderTDSHelper.js';
29
29
  const buildPropertyExpressionChainWithDefaultMilestoningDates = (propertyExpression, lambdaParameterName, observerContext) => {
30
30
  const newPropertyExpression = new AbstractPropertyExpression('');
31
31
  newPropertyExpression.func = propertyExpression.func;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTypeaheadHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAG1B,sBAAsB,EACtB,cAAc,EACd,kBAAkB,EAElB,eAAe,EACf,KAAK,EACL,wBAAwB,EACxB,iBAAiB,EACjB,aAAa,EAEb,YAAY,EACZ,8BAA8B,EAC9B,0BAA0B,EAC1B,uBAAuB,EACvB,4BAA4B,EAC5B,WAAW,EACX,cAAc,EACd,YAAY,EACZ,cAAc,EACd,mCAAmC,EACnC,yBAAyB,EACzB,4BAA4B,EAC5B,kBAAkB,EAClB,gCAAgC,EAEhC,mCAAmC,EACnC,qBAAqB,EACrB,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,wCAAwC,EAAE,MAAM,yFAAyF,CAAC;AAEnJ,OAAO,EACL,kCAAkC,GAEnC,MAAM,kEAAkE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AAC,IAAI,EAAE;YAClB,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC;gBAC1B,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAW,CAAC;gBACtC,OAAO,KAAK,CAAC,MAAM,IAAI,8CAA8C,CAAC;aACvE;YACD;gBACE,OAAO,KAAK,CAAC;SAChB;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTypeaheadHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAG1B,sBAAsB,EACtB,cAAc,EACd,kBAAkB,EAElB,eAAe,EACf,KAAK,EACL,wBAAwB,EACxB,iBAAiB,EACjB,aAAa,EAEb,YAAY,EACZ,8BAA8B,EAC9B,0BAA0B,EAC1B,uBAAuB,EACvB,4BAA4B,EAC5B,WAAW,EACX,cAAc,EACd,YAAY,EACZ,cAAc,EACd,mCAAmC,EACnC,yBAAyB,EACzB,4BAA4B,EAC5B,kBAAkB,EAClB,gCAAgC,EAEhC,mCAAmC,EACnC,qBAAqB,EACrB,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,wCAAwC,EAAE,MAAM,yFAAyF,CAAC;AAEnJ,OAAO,EACL,2CAA2C,EAC3C,iCAAiC,EACjC,uCAAuC,GACxC,MAAM,uEAAuE,CAAC;AAE/E,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAC/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAElC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,sCAAsC,EACtC,0BAA0B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AC;SAChB;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
@@ -13,11 +13,14 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import { type Type, SimpleFunctionExpression } from '@finos/legend-graph';
17
+ import { COLUMN_SORT_TYPE, TDS_COLUMN_GETTER } from '../../../graph/QueryBuilderMetaModelConst.js';
16
18
  import type { QueryBuilderTDSState } from './QueryBuilderTDSState.js';
17
19
  import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState.js';
18
- import { COLUMN_SORT_TYPE } from './QueryResultSetModifierState.js';
19
20
  export declare const findTDSColumnState: (projectionState: QueryBuilderTDSState, columnName: string) => QueryBuilderTDSColumnState | undefined;
20
21
  export declare const getTDSColumnState: (projectionState: QueryBuilderTDSState, columnName: string) => QueryBuilderTDSColumnState;
21
22
  export declare const getTDSColSortTypeFromFunctionName: (functionName: string) => COLUMN_SORT_TYPE;
22
23
  export declare const getFunctionNameFromTDSSortColumn: (columnSortType: COLUMN_SORT_TYPE) => string;
24
+ export declare const buildTDSSortTypeExpression: (sortType: COLUMN_SORT_TYPE, column: string) => SimpleFunctionExpression;
25
+ export declare const getTDSColumnDerivedProperyFromType: (type: Type) => TDS_COLUMN_GETTER;
23
26
  //# sourceMappingURL=QueryBuilderTDSHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSHelper.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,eAAO,MAAM,kBAAkB,oBACZ,oBAAoB,cACzB,MAAM,KACjB,0BAA0B,GAAG,SACqC,CAAC;AAEtE,eAAO,MAAM,iBAAiB,oBACX,oBAAoB,cACzB,MAAM,KACjB,0BAIA,CAAC;AAEJ,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,KACnB,gBAaF,CAAC;AAEF,eAAO,MAAM,gCAAgC,mBAC3B,gBAAgB,KAC/B,MAeF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSHelper.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EAGT,wBAAwB,EAIzB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EACL,gBAAgB,EAEhB,iBAAiB,EAClB,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF,eAAO,MAAM,kBAAkB,oBACZ,oBAAoB,cACzB,MAAM,KACjB,0BAA0B,GAAG,SACqC,CAAC;AAEtE,eAAO,MAAM,iBAAiB,oBACX,oBAAoB,cACzB,MAAM,KACjB,0BAIA,CAAC;AAEJ,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,KACnB,gBAaF,CAAC;AAEF,eAAO,MAAM,gCAAgC,mBAC3B,gBAAgB,KAC/B,MAeF,CAAC;AAEF,eAAO,MAAM,0BAA0B,aAC3B,gBAAgB,UAClB,MAAM,KACb,wBAWF,CAAC;AAEF,eAAO,MAAM,kCAAkC,SACvC,IAAI,KACT,iBA4BF,CAAC"}
@@ -13,10 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { extractElementNameFromPath, matchFunctionName, } from '@finos/legend-graph';
16
+ import { Enumeration, PRIMITIVE_TYPE, SimpleFunctionExpression, createPrimitiveInstance_String, extractElementNameFromPath, matchFunctionName, } from '@finos/legend-graph';
17
17
  import { guaranteeNonNullable, UnsupportedOperationError, } from '@finos/legend-shared';
18
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
19
- import { COLUMN_SORT_TYPE } from './QueryResultSetModifierState.js';
18
+ import { COLUMN_SORT_TYPE, QUERY_BUILDER_SUPPORTED_FUNCTIONS, TDS_COLUMN_GETTER, } from '../../../graph/QueryBuilderMetaModelConst.js';
20
19
  export const findTDSColumnState = (projectionState, columnName) => projectionState.tdsColumns.find((c) => c.columnName === columnName);
21
20
  export const getTDSColumnState = (projectionState, columnName) => guaranteeNonNullable(findTDSColumnState(projectionState, columnName), `Column ${columnName} not found in TDS`);
22
21
  export const getTDSColSortTypeFromFunctionName = (functionName) => {
@@ -38,4 +37,39 @@ export const getFunctionNameFromTDSSortColumn = (columnSortType) => {
38
37
  throw new UnsupportedOperationError(`Unsupported column sort type ${columnSortType}`);
39
38
  }
40
39
  };
40
+ export const buildTDSSortTypeExpression = (sortType, column) => {
41
+ const sortColumnFunction = new SimpleFunctionExpression(extractElementNameFromPath(sortType === COLUMN_SORT_TYPE.ASC
42
+ ? QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_ASC
43
+ : QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DESC));
44
+ const sortColumnName = createPrimitiveInstance_String(column);
45
+ sortColumnFunction.parametersValues[0] = sortColumnName;
46
+ return sortColumnFunction;
47
+ };
48
+ export const getTDSColumnDerivedProperyFromType = (type) => {
49
+ if (type instanceof Enumeration) {
50
+ return TDS_COLUMN_GETTER.GET_ENUM;
51
+ }
52
+ switch (type.path) {
53
+ case PRIMITIVE_TYPE.STRING:
54
+ return TDS_COLUMN_GETTER.GET_STRING;
55
+ case PRIMITIVE_TYPE.NUMBER:
56
+ return TDS_COLUMN_GETTER.GET_NUMBER;
57
+ case PRIMITIVE_TYPE.INTEGER:
58
+ return TDS_COLUMN_GETTER.GET_INTEGER;
59
+ case PRIMITIVE_TYPE.FLOAT:
60
+ return TDS_COLUMN_GETTER.GET_FLOAT;
61
+ case PRIMITIVE_TYPE.DECIMAL:
62
+ return TDS_COLUMN_GETTER.GET_DECIMAL;
63
+ case PRIMITIVE_TYPE.DATE:
64
+ return TDS_COLUMN_GETTER.GET_DATE;
65
+ case PRIMITIVE_TYPE.DATETIME:
66
+ return TDS_COLUMN_GETTER.GET_DATETIME;
67
+ case PRIMITIVE_TYPE.STRICTDATE:
68
+ return TDS_COLUMN_GETTER.GET_STRICTDATE;
69
+ case PRIMITIVE_TYPE.BOOLEAN:
70
+ return TDS_COLUMN_GETTER.GET_BOOLEAN;
71
+ default:
72
+ throw new UnsupportedOperationError(`Can't find TDS column derived property name for type: '${type.path}'`);
73
+ }
74
+ };
41
75
  //# sourceMappingURL=QueryBuilderTDSHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSHelper.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AAGjG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,eAAqC,EACrC,UAAkB,EACsB,EAAE,CAC1C,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC;AAEtE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,eAAqC,EACrC,UAAkB,EACU,EAAE,CAC9B,oBAAoB,CAClB,kBAAkB,CAAC,eAAe,EAAE,UAAU,CAAC,EAC/C,UAAU,UAAU,mBAAmB,CACxC,CAAC;AAEJ,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAC/C,YAAoB,EACF,EAAE;IACpB,IACE,iBAAiB,CAAC,YAAY,EAAE,iCAAiC,CAAC,OAAO,CAAC,EAC1E;QACA,OAAO,gBAAgB,CAAC,GAAG,CAAC;KAC7B;SAAM,IACL,iBAAiB,CAAC,YAAY,EAAE,iCAAiC,CAAC,QAAQ,CAAC,EAC3E;QACA,OAAO,gBAAgB,CAAC,IAAI,CAAC;KAC9B;IACD,MAAM,IAAI,yBAAyB,CACjC,kCAAkC,YAAY,EAAE,CACjD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAC9C,cAAgC,EACxB,EAAE;IACV,QAAQ,cAAc,EAAE;QACtB,KAAK,gBAAgB,CAAC,GAAG;YACvB,OAAO,0BAA0B,CAC/B,iCAAiC,CAAC,OAAO,CAC1C,CAAC;QACJ,KAAK,gBAAgB,CAAC,IAAI;YACxB,OAAO,0BAA0B,CAC/B,iCAAiC,CAAC,QAAQ,CAC3C,CAAC;QACJ;YACE,MAAM,IAAI,yBAAyB,CACjC,gCAAgC,cAAc,EAAE,CACjD,CAAC;KACL;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSHelper.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,WAAW,EACX,cAAc,EACd,wBAAwB,EACxB,8BAA8B,EAC9B,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAChB,iCAAiC,EACjC,iBAAiB,GAClB,MAAM,8CAA8C,CAAC;AAItD,MAAM,CAAC,MA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
16
16
  import type { QueryBuilderTDSState } from './QueryBuilderTDSState.js';
17
17
  import { type Hashable } from '@finos/legend-shared';
18
18
  import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState.js';
19
- export declare enum COLUMN_SORT_TYPE {
20
- ASC = "ASC",
21
- DESC = "DESC"
22
- }
19
+ import { COLUMN_SORT_TYPE } from '../../../graph/QueryBuilderMetaModelConst.js';
23
20
  export declare class SortColumnState implements Hashable {
24
21
  columnState: QueryBuilderTDSColumnState;
25
22
  sortType: COLUMN_SORT_TYPE;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryResultSetModifierState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryResultSetModifierState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAGL,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF,oBAAY,gBAAgB;IAC1B,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,qBAAa,eAAgB,YAAW,QAAQ;IAC9C,WAAW,EAAE,0BAA0B,CAAC;IACxC,QAAQ,mBAAwB;gBAEpB,WAAW,EAAE,0BAA0B;IAYnD,cAAc,CAAC,GAAG,EAAE,0BAA0B,GAAG,IAAI;IAIrD,WAAW,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI;IAIxC,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF;AAED,qBAAa,2BAA4B,YAAW,QAAQ;IAC1D,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,SAAS,UAAS;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,QAAQ,UAAS;IACjB,WAAW,EAAE,eAAe,EAAE,CAAM;gBAExB,QAAQ,EAAE,oBAAoB;IAmB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AAO,GAAG,IAAI;IAIhC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAIvC,cAAc,IAAI,IAAI;IAItB,gBAAgB,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAI5C,aAAa,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAIzC,iBAAiB,IAAI,IAAI;IAMzB,KAAK,IAAI,IAAI;IAMb,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
@@ -16,11 +16,7 @@
16
16
  import { action, computed, makeObservable, observable } from 'mobx';
17
17
  import { addUniqueEntry, deleteEntry, hashArray, } from '@finos/legend-shared';
18
18
  import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
19
- export var COLUMN_SORT_TYPE;
20
- (function (COLUMN_SORT_TYPE) {
21
- COLUMN_SORT_TYPE["ASC"] = "ASC";
22
- COLUMN_SORT_TYPE["DESC"] = "DESC";
23
- })(COLUMN_SORT_TYPE || (COLUMN_SORT_TYPE = {}));
19
+ import { COLUMN_SORT_TYPE } from '../../../graph/QueryBuilderMetaModelConst.js';
24
20
  export class SortColumnState {
25
21
  columnState;
26
22
  sortType = COLUMN_SORT_TYPE.ASC;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryResultSetModifierState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryResultSetModifierState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEpE,OAAO,EACL,cAAc,EACd,WAAW,EAEX,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AAGzF,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,iCAAa,CAAA;AACf,CAAC,EA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AS,CAAC;IACzB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,yBAAyB;YAC5D,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3B,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC5B,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE;SACzB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -29,7 +29,7 @@ export declare abstract class QueryBuilderAggregateOperator implements Hashable
29
29
  * Returns the expected return type of the operator.
30
30
  * defaults to using the return type of the projection column state which is being aggregated.
31
31
  */
32
- getReturnType(aggregateColumnState: QueryBuilderAggregateColumnState): Type;
32
+ getReturnType(aggregateColumnState: QueryBuilderAggregateColumnState): Type | undefined;
33
33
  abstract get hashCode(): string;
34
34
  }
35
35
  //# sourceMappingURL=QueryBuilderAggregateOperator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperator.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,0BAA0B,EAC1B,SAAS,EACT,wBAAwB,EACxB,IAAI,EACJ,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AAG1F,8BAAsB,6BAA8B,YAAW,QAAQ;IACrE,QAAQ,CAAC,IAAI,SAAU;;IAQvB,QAAQ,CAAC,QAAQ,CACf,qBAAqB,EAAE,iCAAiC,GACvD,MAAM;IAET,QAAQ,CAAC,sBAAsB,CAC7B,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAEV,QAAQ,CAAC,wBAAwB,CAC/B,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAErB,iCAAiC,CAC/B,oBAAoB,EAAE,gCAAgC,GACrD,kBAAkB;IAarB,QAAQ,CAAC,yBAAyB,CAChC,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAE/C;;;OAGG;IACH,aAAa,CAAC,oBAAoB,EAAE,gCAAgC,GAAG,IAAI;IAM3E,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC"}
1
+ {"version":3,"file":"QueryBuilderAggregateOperator.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EACV,0BAA0B,EAC1B,SAAS,EACT,wBAAwB,EACxB,IAAI,EACJ,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AAG1F,8BAAsB,6BAA8B,YAAW,QAAQ;IACrE,QAAQ,CAAC,IAAI,SAAU;;IAQvB,QAAQ,CAAC,QAAQ,CACf,qBAAqB,EAAE,iCAAiC,GACvD,MAAM;IAET,QAAQ,CAAC,sBAAsB,CAC7B,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAEV,QAAQ,CAAC,wBAAwB,CAC/B,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAErB,iCAAiC,CAC/B,oBAAoB,EAAE,gCAAgC,GACrD,kBAAkB;IAarB,QAAQ,CAAC,yBAAyB,CAChC,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAE/C;;;OAGG;IACH,aAAa,CACX,oBAAoB,EAAE,gCAAgC,GACrD,IAAI,GAAG,SAAS;IAInB,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { uuid, guaranteeNonNullable, } from '@finos/legend-shared';
16
+ import { uuid } from '@finos/legend-shared';
17
17
  import { QueryBuilderSimpleProjectionColumnState, } from '../projection/QueryBuilderProjectionColumnState.js';
18
18
  import { computed, makeObservable } from 'mobx';
19
19
  export class QueryBuilderAggregateOperator {
@@ -36,7 +36,7 @@ export class QueryBuilderAggregateOperator {
36
36
  * defaults to using the return type of the projection column state which is being aggregated.
37
37
  */
38
38
  getReturnType(aggregateColumnState) {
39
- return guaranteeNonNullable(aggregateColumnState.projectionColumnState.getColumnType());
39
+ return aggregateColumnState.projectionColumnState.getColumnType();
40
40
  }
41
41
  }
42
42
  //# sourceMappingURL=QueryBuilderAggregateOperator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperator.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,IAAI,EACJ,oBAAoB,GAErB,MAAM,sBAAsB,CAAC;AAS9B,OAAO,EAEL,uCAAuC,GACxC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAEhD,MAAM,OAAgB,6BAA6B;IACxC,IAAI,GAAG,IAAI,EAAE,CAAC;IAEvB;QACE,cAAc,CAAC,IAAI,EAAE;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAgBD,iCAAiC,CAC/B,oBAAsD;QAEtD,OAAO,IAAI,CAAC,wBAAwB,CAClC,oBAAoB,CAAC,qBAAqB;YACxC,uCAAuC;YACvC,CAAC,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,uBAAuB;iBAC/D,kBAAkB;YACvB,CAAC,CAAC,SAAS,EACb,oBAAoB,CAAC,mBAAmB,EACxC,oBAAoB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB;aAC7D,iBAAiB,CAAC,KAAK,CAC3B,CAAC;IACJ,CAAC;IAQD;;;OAGG;IACH,aAAa,CAAC,oBAAsD;QAClE,OAAO,oBAAoB,CACzB,oBAAoB,CAAC,qBAAqB,CAAC,aAAa,EAAE,CAC3D,CAAC;IACJ,CAAC;CAGF"}
1
+ {"version":3,"file":"QueryBuilderAggregateOperator.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAiB,MAAM,sBAAsB,CAAC;AAS3D,OAAO,EAEL,uCAAuC,GACxC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAEhD,MAAM,OAAgB,6BAA6B;IACxC,IAAI,GAAG,IAAI,EAAE,CAAC;IAEvB;QACE,cAAc,CAAC,IAAI,EAAE;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAgBD,iCAAiC,CAC/B,oBAAsD;QAEtD,OAAO,IAAI,CAAC,wBAAwB,CAClC,oBAAoB,CAAC,qBAAqB;YACxC,uCAAuC;YACvC,CAAC,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,uBAAuB;iBAC/D,kBAAkB;YACvB,CAAC,CAAC,SAAS,EACb,oBAAoB,CAAC,mBAAmB,EACxC,oBAAoB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB;aAC7D,iBAAiB,CAAC,KAAK,CAC3B,CAAC;IACJ,CAAC;IAQD;;;OAGG;IACH,aAAa,CACX,oBAAsD;QAEtD,OAAO,oBAAoB,CAAC,qBAAqB,CAAC,aAAa,EAAE,CAAC;IACpE,CAAC;CAGF"}
@@ -17,7 +17,7 @@ import { type Hashable } from '@finos/legend-shared';
17
17
  import type { Type } from '@finos/legend-graph';
18
18
  import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
19
19
  import type { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
20
- import type { QueryBuilderProjectionColumnState } from '../projection/QueryBuilderProjectionColumnState.js';
20
+ import { type QueryBuilderProjectionColumnState } from '../projection/QueryBuilderProjectionColumnState.js';
21
21
  import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
22
22
  import type { QueryBuilderAggregateCalendarFunction } from './QueryBuilderAggregateCalendarFunction.js';
23
23
  export declare class QueryBuilderAggregateColumnState extends QueryBuilderTDSColumnState implements Hashable {
@@ -33,7 +33,8 @@ export declare class QueryBuilderAggregateColumnState extends QueryBuilderTDSCol
33
33
  setHideCalendarColumnState(val: boolean): void;
34
34
  setCalendarFunction(val: QueryBuilderAggregateCalendarFunction | undefined): void;
35
35
  setOperator(val: QueryBuilderAggregateOperator): void;
36
- getColumnType(): Type;
36
+ getColumnType(): Type | undefined;
37
+ handleUsedPostFilterType(type: Type): void;
37
38
  get hashCode(): string;
38
39
  get columnName(): string;
39
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderAggregationState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAGL,KAAK,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EAAE,6BAA6B,EAAE,CAAM;IACzD,QAAQ,CAAC,iBAAiB,EAAE,qCAAqC,EAAE,CAAC;IACpE,OAAO,EAAE,gCAAgC,EAAE,CAAM;gBAG/C,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,6BAA6B,EAAE,EAC1C,iBAAiB,EAAE,qCAAqC,EAAE;IAgB5D,YAAY,CAAC,GAAG,EAAE,gCAAgC,GAAG,IAAI;IAIzD,SAAS,CAAC,GAAG,EAAE,gCAAgC,GAAG,IAAI;IAItD,6BAA6B,CAC3B,GAAG,EAAE,6BAA6B,GAAG,SAAS,EAC9C,qBAAqB,EAAE,iCAAiC,GACvD,IAAI;IA6CP,eAAe,IAAI,IAAI;IAQvB,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderAggregationState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAGL,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAExG,qBAAa,gCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,gBAAgB,EAAE,4BAA4B,CAAC;IACxD,qBAAqB,EAAE,iCAAiC,CAAC;IACzD,mBAAmB,EAAE,MAAM,CAAgC;IAC3D,QAAQ,EAAE,6B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 @@
16
16
  import { action, computed, makeObservable, observable } from 'mobx';
17
17
  import { deleteEntry, addUniqueEntry, hashArray, } from '@finos/legend-shared';
18
18
  import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
19
+ import { QueryBuilderDerivationProjectionColumnState, } from '../projection/QueryBuilderProjectionColumnState.js';
19
20
  import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../QueryBuilderStateHashUtils.js';
20
21
  import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
21
22
  export class QueryBuilderAggregateColumnState extends QueryBuilderTDSColumnState {
@@ -38,6 +39,7 @@ export class QueryBuilderAggregateColumnState extends QueryBuilderTDSColumnState
38
39
  setLambdaParameterName: action,
39
40
  setOperator: action,
40
41
  setCalendarFunction: action,
42
+ handleUsedPostFilterType: action,
41
43
  hashCode: computed,
42
44
  });
43
45
  this.aggregationState = aggregationState;
@@ -62,6 +64,13 @@ export class QueryBuilderAggregateColumnState extends QueryBuilderTDSColumnState
62
64
  getColumnType() {
63
65
  return this.operator.getReturnType(this);
64
66
  }
67
+ handleUsedPostFilterType(type) {
68
+ if (this.getColumnType() === undefined &&
69
+ this.projectionColumnState instanceof
70
+ QueryBuilderDerivationProjectionColumnState) {
71
+ this.projectionColumnState.setReturnType(type);
72
+ }
73
+ }
65
74
  get hashCode() {
66
75
  return hashArray([
67
76
  QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_COLUMN_STATE,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,WAAW,EACX,cAAc,EAEd,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE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oB,CAAC,KAAK,CAAC,CAAC;QAC5D,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;YAC9B,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;YACtC,MAAM,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;IACL,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;SACxB,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,WAAW,EACX,cAAc,EAEd,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAG9E,OAAO,EACL,2CAA2C,GAE5C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAG9E,MAAM,OAAO,gCACX,SAAQ,0BAA0B;IAGzB,gBAAgB,CAA+B;IACxD,qBAAqB,CAAoC;IACzD,mBAAmB,GAAW,4BAA4B,CAAC;IAC3D,QAAQ,CAAgC;IACxC,gBAAgB,CAAqD;IACrE,uBAAuB,GAAG,IAAI,CAAC;IAE/B,YACE,gBAA8C,EAC9C,qBAAwD,EACxD,QAAuC;QAEvC,KAAK,EAAE,CAAC;QACR,cAAc,CAAC,IAAI,EAAE;YACnB,qBAAqB,EAAE,UAAU;YACjC,mBAA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AAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;SACxB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperator_DistinctCount.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,kBAAkB,EAIlB,KAAK,IAAI,EAGV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAI/D,qBAAa,2CACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IA0BV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAcrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAkEtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;IAOP,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_DistinctCount.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,kBAAkB,EAIlB,KAAK,IAAI,EAIV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAI/D,qBAAa,2CACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IA0BV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAcrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAkEtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;IAIP,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { SimpleFunctionExpression, VariableExpression, extractElementNameFromPath, matchFunctionName, PRIMITIVE_TYPE, Enumeration, Multiplicity, } from '@finos/legend-graph';
16
+ import { SimpleFunctionExpression, VariableExpression, extractElementNameFromPath, matchFunctionName, PRIMITIVE_TYPE, Enumeration, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
17
17
  import { assertTrue, guaranteeType, hashArray, } from '@finos/legend-shared';
18
18
  import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
19
19
  import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
@@ -70,9 +70,7 @@ export class QueryBuilderAggregateOperator_DistinctCount extends QueryBuilderAgg
70
70
  return undefined;
71
71
  }
72
72
  getReturnType(aggregateColumnState) {
73
- const graph = aggregateColumnState.aggregationState.tdsState.queryBuilderState
74
- .graphManagerState.graph;
75
- return graph.getType(PRIMITIVE_TYPE.INTEGER);
73
+ return PrimitiveType.INTEGER;
76
74
  }
77
75
  get hashCode() {
78
76
  return hashArray([