@finos/legend-query-builder 4.14.2 → 4.14.4

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v4.14.2
1
+ /** @license @finos/legend-query-builder v4.14.4
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.14.2",
3
+ "version": "4.14.4",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAIhB,KAAK,WAAW,EAChB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,8BAA8B,EAIpC,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAGpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE,eAAO,MAAM,aAAa,OAAO,CAAC;AAElC,MAAM,MAAM,iCAAiC,GACzC,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,WAAW,0BAA0B;IACzC,CAAC,GAAG,EAAE,MAAM,GAAG,iCAAiC,CAAC;CAClD;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,mBAAmB,CAAC,EAAE,8BA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AC;IAE1B,UAAU,EAAG,0BAA0B,CAAC;gBAE5B,iBAAiB,EAAE,iBAAiB;IA4ChD,aAAa,CAAC,GAAG,EAAE,0BAA0B,GAAG,IAAI;IAIpD,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIvC,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIrC,kBAAkB,CAAC,GAAG,EAAE,eAAe,GAAG,SAAS,GAAG,IAAI;IAI1D,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAInD,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIlC,eAAe,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI;IAIzD,gBAAgB,CAAC,GAAG,EAAE,6BAA6B,EAAE,GAAG,IAAI;IAI5D,gBAAgB,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI,GAAG,IAAI;IAIjE,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI;IAIvE,2BAA2B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI/C,IAAI,oBAAoB,IAAI,OAAO,CAKlC;IAED,uBAAuB,CACrB,gBAAgB,CAAC,EAAE,2BAA2B,GAC7C,SAAS;IA2BX,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAqE7C,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAiF7B,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IAiBhC,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;CAgGjD"}
@@ -16,12 +16,12 @@
16
16
  import { action, flow, makeObservable, observable } from 'mobx';
17
17
  import { assertErrorThrown, LogEvent, guaranteeNonNullable, ActionState, StopWatch, getContentTypeFileExtension, } from '@finos/legend-shared';
18
18
  import { GRAPH_MANAGER_EVENT, buildRawLambdaFromLambdaFunction, reportGraphAnalytics, } from '@finos/legend-graph';
19
- import { downloadStream } from '@finos/legend-lego/download-helper';
20
19
  import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
21
20
  import { buildExecutionParameterValues, getExecutionQueryFromRawLambda, } from './shared/LambdaParameterState.js';
22
21
  import { QueryBuilderTelemetryHelper } from '../__lib__/QueryBuilderTelemetryHelper.js';
23
22
  import { QUERY_BUILDER_EVENT } from '../__lib__/QueryBuilderEvent.js';
24
23
  import { ExecutionPlanState } from './execution-plan/ExecutionPlanState.js';
24
+ import { downloadStream } from '@finos/legend-application';
25
25
  export const DEFAULT_LIMIT = 1000;
26
26
  export class QueryBuilderResultState {
27
27
  queryBuilderState;
@@ -149,7 +149,7 @@ export class QueryBuilderResultState {
149
149
  parameterValues: buildExecutionParameterValues(this.queryBuilderState.parametersState.parameterStates, this.queryBuilderState.graphManagerState),
150
150
  }));
151
151
  const report = reportGraphAnalytics(this.queryBuilderState.graphManagerState.graph);
152
- downloadStream(result, `result.${getContentTypeFileExtension(contentType)}`)
152
+ downloadStream(result, `result.${getContentTypeFileExtension(contentType)}`, exportData.contentType)
153
153
  .then(() => {
154
154
  const reportWithState = Object.assign({}, report, this.queryBuilderState.getStateInfo());
155
155
  QueryBuilderTelemetryHelper.logEvent_ExportQueryDatSucceeded(this.queryBuilderState.applicationStore.telemetryService, reportWithState);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,EAEpB,WAAW,EACX,SAAS,EACT,2BAA2B,GAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,gCAAgC,EAChC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,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CACtC,CAAC;YACF,IAAI,KAAK,EAAE;gBACT,2BAA2B,CAAC,oCAAoC,CAC9D,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,eAAe,CAChB,CAAC;aACH;iBAAM;gBACL,2BAA2B,CAAC,yCAAyC,CACnE,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,eAAe,CAChB,CAAC;aACH;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACtD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;YACF,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;SACH;gBAAS;YACR,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;SAC/B;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.14.2",
3
+ "version": "4.14.4",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,10 +42,10 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.66",
45
+ "@finos/legend-application": "15.0.67",
46
46
  "@finos/legend-art": "7.1.19",
47
- "@finos/legend-graph": "31.7.2",
48
- "@finos/legend-lego": "1.2.2",
47
+ "@finos/legend-graph": "31.8.0",
48
+ "@finos/legend-lego": "1.2.4",
49
49
  "@finos/legend-server-depot": "6.0.36",
50
50
  "@finos/legend-shared": "10.0.32",
51
51
  "@finos/legend-storage": "3.0.82",
@@ -65,7 +65,7 @@
65
65
  "sql-formatter": "13.0.1"
66
66
  },
67
67
  "devDependencies": {
68
- "@finos/legend-dev-utils": "2.1.2",
68
+ "@finos/legend-dev-utils": "2.1.3",
69
69
  "@jest/globals": "29.7.0",
70
70
  "cross-env": "7.0.3",
71
71
  "eslint": "8.52.0",
@@ -35,7 +35,6 @@ import {
35
35
  buildRawLambdaFromLambdaFunction,
36
36
  reportGraphAnalytics,
37
37
  } from '@finos/legend-graph';
38
- import { downloadStream } from '@finos/legend-lego/download-helper';
39
38
 
40
39
  import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
41
40
  import {
@@ -47,6 +46,7 @@ import { QueryBuilderTelemetryHelper } from '../__lib__/QueryBuilderTelemetryHel
47
46
  import { QUERY_BUILDER_EVENT } from '../__lib__/QueryBuilderEvent.js';
48
47
  import { ExecutionPlanState } from './execution-plan/ExecutionPlanState.js';
49
48
  import type { DataGridColumnState } from '@finos/legend-lego/data-grid';
49
+ import { downloadStream } from '@finos/legend-application';
50
50
 
51
51
  export const DEFAULT_LIMIT = 1000;
52
52
 
@@ -256,13 +256,14 @@ export class QueryBuilderResultState {
256
256
  this.queryBuilderState.graphManagerState,
257
257
  ),
258
258
  },
259
- )) as ReadableStream;
259
+ )) as Response;
260
260
  const report = reportGraphAnalytics(
261
261
  this.queryBuilderState.graphManagerState.graph,
262
262
  );
263
263
  downloadStream(
264
264
  result,
265
265
  `result.${getContentTypeFileExtension(contentType)}`,
266
+ exportData.contentType,
266
267
  )
267
268
  .then(() => {
268
269
  const reportWithState = Object.assign(