@finos/legend-query-builder 0.6.27 → 0.6.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +4 -3
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderResultPanel.js +17 -1
  6. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  7. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +3 -3
  8. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
  9. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +4 -4
  10. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
  11. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +6 -6
  12. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  13. package/lib/index.css +1 -1
  14. package/lib/index.d.ts +2 -0
  15. package/lib/index.d.ts.map +1 -1
  16. package/lib/index.js +2 -0
  17. package/lib/index.js.map +1 -1
  18. package/lib/package.json +3 -3
  19. package/lib/stores/QueryBuilderEvent.d.ts +25 -0
  20. package/lib/stores/QueryBuilderEvent.d.ts.map +1 -0
  21. package/lib/stores/QueryBuilderEvent.js +26 -0
  22. package/lib/stores/QueryBuilderEvent.js.map +1 -0
  23. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  24. package/lib/stores/QueryBuilderResultState.js +44 -6
  25. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  26. package/lib/stores/QueryBuilderState.d.ts +1 -0
  27. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  28. package/lib/stores/QueryBuilderState.js +1 -0
  29. package/lib/stores/QueryBuilderState.js.map +1 -1
  30. package/lib/stores/QueryBuilderTelemetry.d.ts +33 -0
  31. package/lib/stores/QueryBuilderTelemetry.d.ts.map +1 -0
  32. package/lib/stores/QueryBuilderTelemetry.js +37 -0
  33. package/lib/stores/QueryBuilderTelemetry.js.map +1 -0
  34. package/package.json +10 -10
  35. package/src/components/QueryBuilder.tsx +4 -5
  36. package/src/components/QueryBuilderResultPanel.tsx +17 -1
  37. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +3 -3
  38. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +7 -7
  39. package/src/index.ts +2 -0
  40. package/src/stores/QueryBuilderEvent.ts +26 -0
  41. package/src/stores/QueryBuilderResultState.ts +74 -2
  42. package/src/stores/QueryBuilderState.ts +2 -0
  43. package/src/stores/QueryBuilderTelemetry.ts +83 -0
  44. package/tsconfig.json +2 -0
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAuBxE,eAAO,MAAM,mCAAmC,qCACZ,CAAC;AA2KrC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsbjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAuBxE,eAAO,MAAM,mCAAmC,qCACZ,CAAC;AA2KrC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAqbjD,CAAC"}
@@ -165,10 +165,11 @@ export const QueryBuilder = observer((props) => {
165
165
  Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.fetchStructureState
166
166
  .implementation instanceof QueryBuilderTDSState &&
167
167
  queryBuilderState.fetchStructureState.implementation
168
- .showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Watermark" })] }), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: !(queryBuilderState.fetchStructureState
169
- .implementation instanceof QueryBuilderTDSState) ||
168
+ .showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Watermark" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: queryBuilderState.isQuerySupported &&
169
+ queryBuilderState.fetchStructureState
170
+ .implementation instanceof QueryBuilderTDSState &&
170
171
  queryBuilderState.fetchStructureState.implementation
171
- .projectionColumns.length === 0, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Check Entitlements" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: editQueryInPure, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Edit Query in Pure" })] }), _jsxs(MenuContentItem, { onClick: showQueryProtocol, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Query Protocol" })] }), _jsx(MenuContentDivider, {}), queryDocEntry && (_jsxs(MenuContentItem, { onClick: openQueryTutorial, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Open Documentation" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: !applicationStore.assistantService.isHidden ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Virtual Assistant" })] })] }), menuProps: {
172
+ .projectionColumns.length === 0, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick: editQueryInPure, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Edit Query in Pure" })] }), _jsxs(MenuContentItem, { onClick: showQueryProtocol, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Query Protocol" })] }), _jsx(MenuContentDivider, {}), queryDocEntry && (_jsxs(MenuContentItem, { onClick: openQueryTutorial, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Open Documentation" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: !applicationStore.assistantService.isHidden ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Virtual Assistant" })] })] }), menuProps: {
172
173
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
173
174
  transformOrigin: { vertical: 'top', horizontal: 'right' },
174
175
  elevation: 7,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;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AC9C,KAAC,sBAAsB,KAAG,CAC3B,EACA,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,YACpC,KAAC,uBAAuB,IACtB,iBAAiB,EAAE,iBAAiB,GACpC,GACa,CAClB,IACmB,GAClB,IACF,EACL,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,CACzC,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,EACA,iBAAiB,CAAC,sBAAsB,CAAC,sBAAsB;wBAC9D,6BAA6B,CAC3B,iBAAiB,EACjB,gBAAgB,CAAC,aAAa;6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB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6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA2XxE,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAyRjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA2YxE,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAyRjD,CAAC"}
@@ -142,6 +142,7 @@ const QueryBuilderGridResult = observer((props) => {
142
142
  const fetchStructureImplementation = queryBuilderState.fetchStructureState.implementation;
143
143
  const [cellDoubleClickedEvent, setCellDoubleClickedEvent] = useState(null);
144
144
  const columns = executionResult.result.columns;
145
+ let rowNumber = 1;
145
146
  const rowData = executionResult.result.rows.map((_row) => {
146
147
  const row = {};
147
148
  const cols = executionResult.result.columns;
@@ -150,13 +151,28 @@ const QueryBuilderGridResult = observer((props) => {
150
151
  // call `.toString()` to avoid this behavior.
151
152
  // See https://github.com/finos/legend-studio/issues/1008
152
153
  row[cols[idx]] = isBoolean(value) ? String(value) : value;
154
+ row.rowNumber = rowNumber;
153
155
  });
156
+ rowNumber += 1;
154
157
  return row;
155
158
  });
156
159
  return (_jsx(ContextMenu, { content:
157
160
  // NOTE: we only support this functionality for grid result with a projection fetch-structure
158
161
  fetchStructureImplementation instanceof QueryBuilderTDSState ? (_jsx(QueryBuilderGridResultContextMenu, { event: cellDoubleClickedEvent, tdsState: fetchStructureImplementation })) : null, disabled: !(fetchStructureImplementation instanceof QueryBuilderTDSState) ||
159
- !queryBuilderState.isQuerySupported, menuProps: { elevation: 7 }, className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: _jsx(AgGridReact, { rowData: rowData, modules: [ClientSideRowModelModule], onCellMouseOver: (event) => {
162
+ !queryBuilderState.isQuerySupported ||
163
+ !cellDoubleClickedEvent, menuProps: { elevation: 7 }, className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: _jsx(AgGridReact, { rowData: rowData, gridOptions: {
164
+ suppressScrollOnNewData: true,
165
+ getRowId: function (data) {
166
+ return data.data.rowNumber;
167
+ },
168
+ }, modules: [ClientSideRowModelModule],
169
+ // Note: we use onCellMouseOver as a bit of a workaround
170
+ // since we use the context menu so we want the user to be
171
+ // able to right click any cell and have the context menu
172
+ // options use the data belonging to the row that they are
173
+ // in. hence why we set the cell every time we mouse over
174
+ // rather than making user click multiple times.
175
+ onCellMouseOver: (event) => {
160
176
  setCellDoubleClickedEvent(event);
161
177
  }, columnDefs: columns.map((colName) => ({
162
178
  minWidth: 50,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,IAAI,EACJ,eAAe,EACf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,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAGL,aAAa,EACb,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,EAClB,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,QAAQ,EACR,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EAET,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EACL,2CAA2C,EAC3C,iCAAiC,GAClC,MAAM,+EAA+E,CAAC;AACvF,OAAO,EAEL,wB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AC,YAAY,IACX,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,QAAQ,EACd,QAAQ,EAAE,CAAC,YAAY,EACvB,OAAO,EACL,KAAC,WAAW,cACT,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAAC,GAAG,CAChD,CAAC,MAAM,EAAE,EAAE,CAAC,CACV,KAAC,eAAe,IAEd,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,GAAS,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,YAEzC,MAAM,IAJF,MAAM,CAKK,CACnB,CACF,GACW,EAEhB,SAAS,EAAE;oCACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,SAAS,EAAE,CAAC;iCACb,aAED,cAAK,SAAS,EAAC,gDAAgD,uBAEzD,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,aAAa,KAAG,GACb,IACO,IACX,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc;4BAC1B,WAAW,CAAC,gBAAgB;4BAC5B,WAAW,CAAC,eAAe,CAAC,YAAY,GAE1C,EACD,CAAC,eAAe,IAAI,CACnB,KAAC,iBAAiB,oDAEE,CACrB,EACA,eAAe,IAAI,CAClB,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,13 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { Entity } from '@finos/legend-storage';
16
+ import type { EntitiesWithOrigin, Entity } from '@finos/legend-storage';
17
17
  import { type AbstractPureGraphManager, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
18
18
  import type { MappingRuntimeCompatibilityAnalysisResult } from '../../action/analytics/MappingRuntimeCompatibilityAnalysis.js';
19
19
  import type { ServiceExecutionAnalysisResult } from '../../action/analytics/ServiceExecutionAnalysis.js';
20
20
  export declare abstract class QueryBuilder_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
21
- abstract surveyMappingRuntimeCompatibility(entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>): Promise<MappingRuntimeCompatibilityAnalysisResult[]>;
22
- abstract surveyServiceExecution(entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>): Promise<ServiceExecutionAnalysisResult[]>;
21
+ abstract surveyMappingRuntimeCompatibility(entities: Entity[], dependencyEntitiesIndex: Map<string, EntitiesWithOrigin>): Promise<MappingRuntimeCompatibilityAnalysisResult[]>;
22
+ abstract surveyServiceExecution(entities: Entity[], dependencyEntitiesIndex: Map<string, EntitiesWithOrigin>): Promise<ServiceExecutionAnalysisResult[]>;
23
23
  }
24
24
  export declare const getQueryBuilderGraphManagerExtension: (graphManager: AbstractPureGraphManager) => QueryBuilder_PureGraphManagerExtension;
25
25
  //# sourceMappingURL=QueryBuilder_PureGraphManagerExtension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,KAAK,wBAAwB,EAC7B,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,+DAA+D,CAAC;AAC/H,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AAEzG,8BAAsB,sCAAuC,SAAQ,iCAAiC;IACpG,QAAQ,CAAC,iCAAiC,CACxC,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAC7C,OAAO,CAAC,yCAAyC,EAAE,CAAC;IAEvD,QAAQ,CAAC,sBAAsB,CAC7B,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAC7C,OAAO,CAAC,8BAA8B,EAAE,CAAC;CAC7C;AAED,eAAO,MAAM,oCAAoC,iBACjC,wBAAwB,KACrC,sCAO0C,CAAC"}
1
+ {"version":3,"file":"QueryBuilder_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EACL,KAAK,wBAAwB,EAC7B,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,+DAA+D,CAAC;AAC/H,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AAEzG,8BAAsB,sCAAuC,SAAQ,iCAAiC;IACpG,QAAQ,CAAC,iCAAiC,CACxC,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,yCAAyC,EAAE,CAAC;IAEvD,QAAQ,CAAC,sBAAsB,CAC7B,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,8BAA8B,EAAE,CAAC;CAC7C;AAED,eAAO,MAAM,oCAAoC,iBACjC,wBAAwB,KACrC,sCAO0C,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type PureModel, V1_PureGraphManager, type AbstractPureGraphManager } from '@finos/legend-graph';
17
- import type { Entity } from '@finos/legend-storage';
17
+ import type { EntitiesWithOrigin, Entity } from '@finos/legend-storage';
18
18
  import { MappingRuntimeCompatibilityAnalysisResult } from '../../../action/analytics/MappingRuntimeCompatibilityAnalysis.js';
19
19
  import { ServiceExecutionAnalysisResult } from '../../../action/analytics/ServiceExecutionAnalysis.js';
20
20
  import { QueryBuilder_PureGraphManagerExtension } from '../QueryBuilder_PureGraphManagerExtension.js';
@@ -22,8 +22,8 @@ export declare class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuil
22
22
  graphManager: V1_PureGraphManager;
23
23
  constructor(graphManager: AbstractPureGraphManager);
24
24
  getSupportedProtocolVersion(): string;
25
- buildGraphForCreateQuerySetup(graph: PureModel, entities: Entity[], dependencyEntities: Map<string, Entity[]>): Promise<void>;
26
- surveyMappingRuntimeCompatibility(entities: Entity[], dependencyEntities: Map<string, Entity[]>): Promise<MappingRuntimeCompatibilityAnalysisResult[]>;
27
- surveyServiceExecution(entities: Entity[], dependencyEntities: Map<string, Entity[]>): Promise<ServiceExecutionAnalysisResult[]>;
25
+ buildGraphForCreateQuerySetup(graph: PureModel, entities: Entity[], dependencyEntitiesIndex: Map<string, EntitiesWithOrigin>): Promise<void>;
26
+ surveyMappingRuntimeCompatibility(entities: Entity[], dependencyEntitiesIndex: Map<string, EntitiesWithOrigin>): Promise<MappingRuntimeCompatibilityAnalysisResult[]>;
27
+ surveyServiceExecution(entities: Entity[], dependencyEntitiesIndex: Map<string, EntitiesWithOrigin>): Promise<ServiceExecutionAnalysisResult[]>;
28
28
  }
29
29
  //# sourceMappingURL=V1_QueryBuilder_PureGraphManagerExtension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAYL,KAAK,SAAS,EACd,mBAAmB,EAEnB,KAAK,wBAAwB,EAI9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAQpD,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAEtG,qBAAa,yCAA0C,SAAQ,sCAAsC;IAC3F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAK/B,6BAA6B,CACjC,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,MAAM,EAAE,EAClB,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GACxC,OAAO,CAAC,IAAI,CAAC;IA0EV,iCAAiC,CACrC,QAAQ,EAAE,MAAM,EAAE,EAClB,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GACxC,OAAO,CAAC,yCAAyC,EAAE,CAAC;IA2GjD,sBAAsB,CAC1B,QAAQ,EAAE,MAAM,EAAE,EAClB,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GACxC,OAAO,CAAC,8BAA8B,EAAE,CAAC;CA0C7C"}
1
+ {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAYL,KAAK,SAAS,EACd,mBAAmB,EAEnB,KAAK,wBAAwB,EAI9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAQxE,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAEtG,qBAAa,yCAA0C,SAAQ,sCAAsC;IAC3F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAK/B,6BAA6B,CACjC,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,IAAI,CAAC;IA0EV,iCAAiC,CACrC,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,yCAAyC,EAAE,CAAC;IA2GjD,sBAAsB,CAC1B,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,8BAA8B,EAAE,CAAC;CA0C7C"}
@@ -27,9 +27,9 @@ export class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuilder_Pure
27
27
  return PureClientVersion.V1_0_0;
28
28
  }
29
29
  // We could optimize this further by omitting parts of the entities we don't need
30
- async buildGraphForCreateQuerySetup(graph, entities, dependencyEntities) {
30
+ async buildGraphForCreateQuerySetup(graph, entities, dependencyEntitiesIndex) {
31
31
  try {
32
- const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntities, (entity) => entity.content
32
+ const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntitiesIndex, (entity) => entity.content
33
33
  ._type === V1_MAPPING_ELEMENT_PROTOCOL_TYPE ||
34
34
  entity.content
35
35
  ._type === V1_PACKAGEABLE_RUNTIME_ELEMENT_PROTOCOL_TYPE);
@@ -77,12 +77,12 @@ export class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuilder_Pure
77
77
  : new GraphBuilderError(error);
78
78
  }
79
79
  }
80
- async surveyMappingRuntimeCompatibility(entities, dependencyEntities) {
80
+ async surveyMappingRuntimeCompatibility(entities, dependencyEntitiesIndex) {
81
81
  const result = [];
82
82
  const graph = await this.graphManager.createEmptyGraph({
83
83
  initializeSystem: false,
84
84
  });
85
- const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntities, (entity) => [CORE_PURE_PATH.MAPPING, CORE_PURE_PATH.RUNTIME].includes(entity.classifierPath),
85
+ const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntitiesIndex, (entity) => [CORE_PURE_PATH.MAPPING, CORE_PURE_PATH.RUNTIME].includes(entity.classifierPath),
86
86
  // NOTE: small optimization since we only need to survey runtimes and mappings
87
87
  (entity) => {
88
88
  if (entity.classifierPath === CORE_PURE_PATH.MAPPING) {
@@ -143,12 +143,12 @@ export class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuilder_Pure
143
143
  });
144
144
  return result;
145
145
  }
146
- async surveyServiceExecution(entities, dependencyEntities) {
146
+ async surveyServiceExecution(entities, dependencyEntitiesIndex) {
147
147
  const result = [];
148
148
  const graph = await this.graphManager.createEmptyGraph({
149
149
  initializeSystem: false,
150
150
  });
151
- const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntities, (entity) => entity.classifierPath === CORE_PURE_PATH.SERVICE,
151
+ const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntitiesIndex, (entity) => entity.classifierPath === CORE_PURE_PATH.SERVICE,
152
152
  // NOTE: small optimization since we only need to inspect services' execution context
153
153
  (entity) => {
154
154
  if (entity.classifierPath === CORE_PURE_PATH.SERVICE) {
@@ -1 +1 @@
1
- {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,6BAA6B,EAC7B,UAAU,EACV,gCAAgC,EAChC,4CAA4C,EAC5C,qBAAqB,EACrB,UAAU,EACV,qBAAqB,EAGrB,mBAAmB,EACnB,iBAAiB,EAGjB,cAAc,EACd,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,aAAa,GAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAEtG,MAAM,OAAO,yCAA0C,SAAQ,sCAAsC;IAGnG,YAAY,YAAsC;QAChD,KAAK,CAAC,YAAY,CAAC,CAAC;QACpB,IAAI,CAAC,YAAY,GAAG,aAAa,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC;IACvE,CAAC;IAED,2BAA2B;QACzB,OAAO,iBAAiB,CAAC,MAAM,CAAC;IAClC,CAAC;IAED,iFAAiF;IACjF,KAAK,CAAC,6BAA6B,CACjC,KAAgB,EAChB,QAAkB,EAClB,kBAAyC;QAEzC,IAAI;YACF,MAAM,iBAAiB,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAC/D,KAAK,EACL,QAAQ,EACR,kBAAkB,EAClB,CAAC,MAAc,EAAW,EAAE,CACxB,MAAM,CAAC,OAA8C;iBACpD,KAAgB,KA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,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC;aACxE,IAAI,EAAE;aACN,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,OAAO,GAAG,KAAK,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,OAAO,EAAE;gBACX,MAAM,qBAAqB,GAAG,IAAI,8BAA8B,EAAE,CAAC;gBACnE,qBAAqB,CAAC,OAAO,GAAG,OAAO,CAAC;gBACxC,IAAI,QAAQ,CAAC,SAAS,YAAY,qBAAqB,EAAE;oBACvD,qBAAqB,CAAC,aAAa;wBACjC,QAAQ,CAAC,SAAS,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;iBACpE;gBACD,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;aACpC;QACH,CAAC,CAAC,CAAC;QACL,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
1
+ {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,6BAA6B,EAC7B,UAAU,EACV,gCAAgC,EAChC,4CAA4C,EAC5C,qBAAqB,EACrB,UAAU,EACV,qBAAqB,EAGrB,mBAAmB,EACnB,iBAAiB,EAGjB,cAAc,EACd,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,aAAa,GAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,O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
- /** @license @finos/legend-query-builder v0.6.27
1
+ /** @license @finos/legend-query-builder v0.6.29
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/index.d.ts CHANGED
@@ -32,6 +32,8 @@ export * from './stores/ServiceInfo.js';
32
32
  export * from './components/ServiceQuerySetupUtils.js';
33
33
  export * from './components/QuerySetupUtils.js';
34
34
  export * from './components/QueryBuilderTextEditor.js';
35
+ export * from './stores/QueryBuilderTelemetry.js';
36
+ export * from './stores/QueryBuilderEvent.js';
35
37
  export { TEST__setUpQueryBuilder } from './components/QueryBuilderComponentTestUtils.js';
36
38
  export * from './components/shared/LambdaEditor.js';
37
39
  export * from './components/shared/BasicValueSpecificationEditor.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,qCAAqC,CAAC;AACpD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AAEpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EACL,KAAK,4BAA4B,EACjC,oCAAoC,GACrC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EACL,YAAY,EACZ,mCAAmC,GACpC,MAAM,8BAA8B,CAAC;AACtC,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,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EACL,KAAK,uB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AAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EACL,KAAK,uBAAuB,EAC5B,wBAAwB,GACzB,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAAE,oCAAoC,EAAE,MAAM,wEAAwE,CAAC;AAC9H,YAAY,EAAE,8BAA8B,EAAE,MAAM,6DAA6D,CAAC;AAClH,YAAY,EAAE,yCAAyC,EAAE,MAAM,wEAAwE,CAAC;AACxI,cAAc,yBAAyB,CAAC;AACxC,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAE9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAIzF,cAAc,qCAAqC,CAAC;AACpD,cAAc,sDAAsD,CAAC;AACrE,cAAc,oDAAoD,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,mDAAmD,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC"}
package/lib/index.js CHANGED
@@ -30,6 +30,8 @@ export * from './stores/ServiceInfo.js';
30
30
  export * from './components/ServiceQuerySetupUtils.js';
31
31
  export * from './components/QuerySetupUtils.js';
32
32
  export * from './components/QueryBuilderTextEditor.js';
33
+ export * from './stores/QueryBuilderTelemetry.js';
34
+ export * from './stores/QueryBuilderEvent.js';
33
35
  export { TEST__setUpQueryBuilder } from './components/QueryBuilderComponentTestUtils.js';
34
36
  // ------------------------------------------- Shared components -------------------------------------------
35
37
  export * from './components/shared/LambdaEditor.js';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":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AO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "0.6.27",
3
+ "version": "0.6.29",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -57,7 +57,7 @@
57
57
  "@types/react-dom": "18.0.11",
58
58
  "mobx": "6.8.0",
59
59
  "mobx-react-lite": "3.4.0",
60
- "monaco-editor": "0.35.0",
60
+ "monaco-editor": "0.36.0",
61
61
  "papaparse": "5.3.2",
62
62
  "react": "18.2.0",
63
63
  "react-dnd": "16.0.1",
@@ -68,7 +68,7 @@
68
68
  "@finos/legend-dev-utils": "workspace:*",
69
69
  "@jest/globals": "29.4.3",
70
70
  "cross-env": "7.0.3",
71
- "eslint": "8.34.0",
71
+ "eslint": "8.35.0",
72
72
  "jest": "29.4.3",
73
73
  "npm-run-all": "4.1.5",
74
74
  "rimraf": "4.1.2",
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare enum QUERY_BUILDER_EVENT {
17
+ RUN_QUERY__LAUNCH = "editor.execution.run-query.launch",
18
+ GENERATE_EXECUTION_PLAN__LAUNCH = "editor.execution.generate-plan.launch",
19
+ DEBUG_EXECUTION_PLAN__LAUNCH = "editor.execution.debug-plan.launch",
20
+ RUN_QUERY__SUCCESS = "editor.execution.run-query.success",
21
+ GENERATE_EXECUTION_PLAN__SUCCESS = "editor.execution.generate-plan.success",
22
+ DEBUG_EXECUTION_PLAN__SUCCESS = "editor.execution.debug-plan.success",
23
+ BUILD_EXECUTION_PLAN__SUCCESS = "graph-manager.execution.build-plan.success"
24
+ }
25
+ //# sourceMappingURL=QueryBuilderEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderEvent.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,mBAAmB;IAC7B,iBAAiB,sCAAsC;IACvD,+BAA+B,0CAA0C;IACzE,4BAA4B,uCAAuC;IAEnE,kBAAkB,uCAAuC;IACzD,gCAAgC,2CAA2C;IAC3E,6BAA6B,wCAAwC;IACrE,6BAA6B,+CAA+C;CAC7E"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export var QUERY_BUILDER_EVENT;
17
+ (function (QUERY_BUILDER_EVENT) {
18
+ QUERY_BUILDER_EVENT["RUN_QUERY__LAUNCH"] = "editor.execution.run-query.launch";
19
+ QUERY_BUILDER_EVENT["GENERATE_EXECUTION_PLAN__LAUNCH"] = "editor.execution.generate-plan.launch";
20
+ QUERY_BUILDER_EVENT["DEBUG_EXECUTION_PLAN__LAUNCH"] = "editor.execution.debug-plan.launch";
21
+ QUERY_BUILDER_EVENT["RUN_QUERY__SUCCESS"] = "editor.execution.run-query.success";
22
+ QUERY_BUILDER_EVENT["GENERATE_EXECUTION_PLAN__SUCCESS"] = "editor.execution.generate-plan.success";
23
+ QUERY_BUILDER_EVENT["DEBUG_EXECUTION_PLAN__SUCCESS"] = "editor.execution.debug-plan.success";
24
+ QUERY_BUILDER_EVENT["BUILD_EXECUTION_PLAN__SUCCESS"] = "graph-manager.execution.build-plan.success";
25
+ })(QUERY_BUILDER_EVENT = QUERY_BUILDER_EVENT || (QUERY_BUILDER_EVENT = {}));
26
+ //# sourceMappingURL=QueryBuilderEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderEvent.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,8EAAuD,CAAA;IACvD,gGAAyE,CAAA;IACzE,0FAAmE,CAAA;IAEnE,gFAAyD,CAAA;IACzD,kGAA2E,CAAA;IAC3E,4FAAqE,CAAA;IACrE,mGAA4E,CAAA;AAC9E,CAAC,EATW,mBAAmB,GAAnB,mBAAmB,KAAnB,mBAAmB,QAS9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAQhB,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EAEd,8BAA8B,EAG/B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAK/D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAIpG,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,iBAAiB,EAAE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,CAAC,IAAI,CAAC;CAkGjD"}
@@ -14,11 +14,13 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { action, flow, makeObservable, observable } from 'mobx';
17
- import { assertErrorThrown, LogEvent, guaranteeNonNullable, ContentType, guaranteeType, downloadFileUsingDataURI, UnsupportedOperationError, ActionState, } from '@finos/legend-shared';
18
- import { GRAPH_MANAGER_EVENT, EXECUTION_SERIALIZATION_FORMAT, RawExecutionResult, buildRawLambdaFromLambdaFunction, } from '@finos/legend-graph';
17
+ import { assertErrorThrown, LogEvent, guaranteeNonNullable, ContentType, guaranteeType, downloadFileUsingDataURI, UnsupportedOperationError, ActionState, StopWatch, } from '@finos/legend-shared';
18
+ import { GRAPH_MANAGER_EVENT, EXECUTION_SERIALIZATION_FORMAT, RawExecutionResult, buildRawLambdaFromLambdaFunction, reportGraphAnalytics, } from '@finos/legend-graph';
19
19
  import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
20
20
  import { ExecutionPlanState } from '@finos/legend-application';
21
21
  import { buildExecutionParameterValues, getExecutionQueryFromRawLambda, } from './shared/LambdaParameterState.js';
22
+ import { QueryBuilderTelemetry } from './QueryBuilderTelemetry.js';
23
+ import { QUERY_BUILDER_EVENT } from './QueryBuilderEvent.js';
22
24
  const DEFAULT_LIMIT = 1000;
23
25
  export class QueryBuilderResultState {
24
26
  queryBuilderState;
@@ -134,7 +136,13 @@ export class QueryBuilderResultState {
134
136
  const runtime = guaranteeNonNullable(this.queryBuilderState.runtimeValue, `Runtime is required to execute query`);
135
137
  const query = this.buildExecutionRawLambda();
136
138
  const parameterValues = buildExecutionParameterValues(this.queryBuilderState.parametersState.parameterStates, this.queryBuilderState.graphManagerState);
137
- const startTime = Date.now();
139
+ QueryBuilderTelemetry.logEvent_QueryRunLaunched(this.queryBuilderState.applicationStore.telemetryService, this.queryBuilderState.applicationContext
140
+ ? {
141
+ applicationContext: this.queryBuilderState.applicationContext,
142
+ }
143
+ : {});
144
+ const stopWatch = new StopWatch();
145
+ const report = reportGraphAnalytics(this.queryBuilderState.graphManagerState.graph);
138
146
  const promise = this.queryBuilderState.graphManagerState.graphManager.runQuery(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph, {
139
147
  parameterValues,
140
148
  });
@@ -143,7 +151,12 @@ export class QueryBuilderResultState {
143
151
  if (this.queryRunPromise === promise) {
144
152
  this.setExecutionResult(result);
145
153
  this.latestRunHashCode = currentHashCode;
146
- this.setExecutionDuration(Date.now() - startTime);
154
+ this.setExecutionDuration(stopWatch.elapsed);
155
+ report.timings = {
156
+ ...report.timings,
157
+ total: stopWatch.elapsed,
158
+ };
159
+ QueryBuilderTelemetry.logEvent_QueryRunSucceeded(this.queryBuilderState.applicationStore.telemetryService, report);
147
160
  }
148
161
  }
149
162
  catch (error) {
@@ -163,15 +176,28 @@ export class QueryBuilderResultState {
163
176
  const runtime = guaranteeNonNullable(this.queryBuilderState.runtimeValue, `Runtime is required to execute query`);
164
177
  const query = this.queryBuilderState.buildQuery();
165
178
  let rawPlan;
179
+ const stopWatch = new StopWatch();
180
+ const report = reportGraphAnalytics(this.queryBuilderState.graphManagerState.graph);
166
181
  if (debug) {
167
- const debugResult = (yield this.queryBuilderState.graphManagerState.graphManager.debugExecutionPlanGeneration(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph));
182
+ QueryBuilderTelemetry.logEvent_ExecutionPlanDebugLaunched(this.queryBuilderState.applicationStore.telemetryService, this.queryBuilderState.applicationContext
183
+ ? {
184
+ applicationContext: this.queryBuilderState.applicationContext,
185
+ }
186
+ : {});
187
+ const debugResult = (yield this.queryBuilderState.graphManagerState.graphManager.debugExecutionPlanGeneration(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph, report));
168
188
  rawPlan = debugResult.plan;
169
189
  this.executionPlanState.setDebugText(debugResult.debug);
170
190
  }
171
191
  else {
192
+ QueryBuilderTelemetry.logEvent_ExecutionPlanGenerationLaunched(this.queryBuilderState.applicationStore.telemetryService, this.queryBuilderState.applicationContext
193
+ ? {
194
+ applicationContext: this.queryBuilderState.applicationContext,
195
+ }
196
+ : {});
172
197
  rawPlan =
173
- (yield this.queryBuilderState.graphManagerState.graphManager.generateExecutionPlan(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph));
198
+ (yield this.queryBuilderState.graphManagerState.graphManager.generateExecutionPlan(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph, report));
174
199
  }
200
+ stopWatch.record();
175
201
  try {
176
202
  this.executionPlanState.setRawPlan(rawPlan);
177
203
  const plan = this.queryBuilderState.graphManagerState.graphManager.buildExecutionPlan(rawPlan, this.queryBuilderState.graphManagerState.graph);
@@ -180,6 +206,18 @@ export class QueryBuilderResultState {
180
206
  catch {
181
207
  // do nothing
182
208
  }
209
+ stopWatch.record(QUERY_BUILDER_EVENT.BUILD_EXECUTION_PLAN__SUCCESS);
210
+ report.timings = {
211
+ ...report.timings,
212
+ ...Object.fromEntries(stopWatch.records),
213
+ total: stopWatch.elapsed,
214
+ };
215
+ if (debug) {
216
+ QueryBuilderTelemetry.logEvent_ExecutionPlanDebugSucceeded(this.queryBuilderState.applicationStore.telemetryService, report);
217
+ }
218
+ else {
219
+ QueryBuilderTelemetry.logEvent_ExecutionPlanGenerationSucceeded(this.queryBuilderState.applicationStore.telemetryService, report);
220
+ }
183
221
  }
184
222
  catch (error) {
185
223
  assertErrorThrown(error);