@finos/legend-query-builder 4.14.27 → 4.14.28

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.27
1
+ /** @license @finos/legend-query-builder v4.14.28
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.27",
3
+ "version": "4.14.28",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -21,7 +21,7 @@ import { QueryBuilderTextEditorState } from './QueryBuilderTextEditorState.js';
21
21
  import { QueryBuilderExplorerState } from './explorer/QueryBuilderExplorerState.js';
22
22
  import { QueryBuilderResultState } from './QueryBuilderResultState.js';
23
23
  import { QueryBuilderUnsupportedQueryState } from './QueryBuilderUnsupportedQueryState.js';
24
- import { type Class, type Mapping, type Runtime, type GraphManagerState, type ValueSpecification, type Type, type QueryGridConfig, RawLambda, VariableExpression, ObserverContext } from '@finos/legend-graph';
24
+ import { type Class, type Mapping, type Runtime, type GraphManagerState, type ValueSpecification, type Type, type QueryGridConfig, type QueryExecutionContext, RawLambda, VariableExpression, ObserverContext } from '@finos/legend-graph';
25
25
  import type { CommandRegistrar, GenericLegendApplicationStore } from '@finos/legend-application';
26
26
  import { QueryFunctionsExplorerState } from './explorer/QueryFunctionsExplorerState.js';
27
27
  import { QueryBuilderParametersState } from './QueryBuilderParametersState.js';
@@ -90,6 +90,7 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
90
90
  get TEMPORARY__isDnDFetchStructureToFilterSupported(): boolean;
91
91
  get allVariables(): VariableExpression[];
92
92
  get allVariableNames(): string[];
93
+ getQueryExecutionContext(): QueryExecutionContext;
93
94
  /**
94
95
  * Gets information about the current queryBuilderState.
95
96
  * This information can be used as a part of analytics
@@ -1 +1 @@
1
- {"version":3,"file":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IAAI,iBAAiB;IAevD,IAAI,QAAQ,IAAI,MAAM,CAWrB;CACF;AAED;;;;;;;;;GASG;AACH,qBAAa,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { action, flow, observable, makeObservable, computed, flowResult, } from 'mobx';
17
- import { LogEvent, assertErrorThrown, guaranteeNonNullable, guaranteeType, filterByType, ActionState, hashArray, assertTrue, } from '@finos/legend-shared';
17
+ import { LogEvent, assertErrorThrown, guaranteeNonNullable, guaranteeType, filterByType, ActionState, hashArray, assertTrue, assertNonNullable, } from '@finos/legend-shared';
18
18
  import { QueryBuilderFilterState } from './filter/QueryBuilderFilterState.js';
19
19
  import { QueryBuilderFetchStructureState } from './fetch-structure/QueryBuilderFetchStructureState.js';
20
20
  import { QueryBuilderTextEditorMode, QueryBuilderTextEditorState, } from './QueryBuilderTextEditorState.js';
@@ -22,7 +22,7 @@ import { QueryBuilderExplorerState } from './explorer/QueryBuilderExplorerState.
22
22
  import { QueryBuilderResultState } from './QueryBuilderResultState.js';
23
23
  import { processQueryLambdaFunction, processParameters, } from './QueryBuilderStateBuilder.js';
24
24
  import { QueryBuilderUnsupportedQueryState } from './QueryBuilderUnsupportedQueryState.js';
25
- import { GRAPH_MANAGER_EVENT, CompilationError, extractSourceInformationCoordinates, LambdaFunctionInstanceValue, RawLambda, VariableExpression, observe_ValueSpecification, ObserverContext, isStubbed_RawLambda, buildLambdaVariableExpressions, buildRawLambdaFromLambdaFunction, PrimitiveType, SimpleFunctionExpression, extractElementNameFromPath, SUPPORTED_FUNCTIONS, PackageableElementExplicitReference, InstanceValue, Multiplicity, RuntimePointer, } from '@finos/legend-graph';
25
+ import { GRAPH_MANAGER_EVENT, CompilationError, extractSourceInformationCoordinates, LambdaFunctionInstanceValue, RawLambda, VariableExpression, observe_ValueSpecification, ObserverContext, isStubbed_RawLambda, buildLambdaVariableExpressions, buildRawLambdaFromLambdaFunction, PrimitiveType, SimpleFunctionExpression, extractElementNameFromPath, SUPPORTED_FUNCTIONS, PackageableElementExplicitReference, InstanceValue, Multiplicity, RuntimePointer, QueryExplicitExecutionContext, } from '@finos/legend-graph';
26
26
  import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
27
27
  import { QueryFunctionsExplorerState } from './explorer/QueryFunctionsExplorerState.js';
28
28
  import { QueryBuilderParametersState, } from './QueryBuilderParametersState.js';
@@ -176,6 +176,14 @@ export class QueryBuilderState {
176
176
  get allVariableNames() {
177
177
  return this.allVariables.map((e) => e.name);
178
178
  }
179
+ getQueryExecutionContext() {
180
+ const queryExeContext = new QueryExplicitExecutionContext();
181
+ const runtimeValue = guaranteeType(this.executionContextState.runtimeValue, RuntimePointer, 'Query runtime must be of type runtime pointer');
182
+ assertNonNullable(this.executionContextState.mapping, 'Query required mapping to update');
183
+ queryExeContext.mapping = PackageableElementExplicitReference.create(this.executionContextState.mapping);
184
+ queryExeContext.runtime = runtimeValue.packageableRuntime;
185
+ return queryExeContext;
186
+ }
179
187
  /**
180
188
  * Gets information about the current queryBuilderState.
181
189
  * This information can be used as a part of analytics
@@ -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,CAA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AC,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,EACV,iBAAiB,GAClB,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,OAA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  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,8 +44,8 @@
44
44
  "dependencies": {
45
45
  "@finos/legend-application": "15.0.75",
46
46
  "@finos/legend-art": "7.1.27",
47
- "@finos/legend-graph": "31.9.12",
48
- "@finos/legend-lego": "1.2.26",
47
+ "@finos/legend-graph": "31.9.13",
48
+ "@finos/legend-lego": "1.2.27",
49
49
  "@finos/legend-server-depot": "6.0.39",
50
50
  "@finos/legend-shared": "10.0.34",
51
51
  "@finos/legend-storage": "3.0.84",
@@ -32,6 +32,7 @@ import {
32
32
  ActionState,
33
33
  hashArray,
34
34
  assertTrue,
35
+ assertNonNullable,
35
36
  } from '@finos/legend-shared';
36
37
  import { QueryBuilderFilterState } from './filter/QueryBuilderFilterState.js';
37
38
  import { QueryBuilderFetchStructureState } from './fetch-structure/QueryBuilderFetchStructureState.js';
@@ -54,6 +55,7 @@ import {
54
55
  type ValueSpecification,
55
56
  type Type,
56
57
  type QueryGridConfig,
58
+ type QueryExecutionContext,
57
59
  GRAPH_MANAGER_EVENT,
58
60
  CompilationError,
59
61
  extractSourceInformationCoordinates,
@@ -73,6 +75,7 @@ import {
73
75
  InstanceValue,
74
76
  Multiplicity,
75
77
  RuntimePointer,
78
+ QueryExplicitExecutionContext,
76
79
  } from '@finos/legend-graph';
77
80
  import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
78
81
  import type {
@@ -287,6 +290,24 @@ export abstract class QueryBuilderState implements CommandRegistrar {
287
290
  return this.allVariables.map((e) => e.name);
288
291
  }
289
292
 
293
+ getQueryExecutionContext(): QueryExecutionContext {
294
+ const queryExeContext = new QueryExplicitExecutionContext();
295
+ const runtimeValue = guaranteeType(
296
+ this.executionContextState.runtimeValue,
297
+ RuntimePointer,
298
+ 'Query runtime must be of type runtime pointer',
299
+ );
300
+ assertNonNullable(
301
+ this.executionContextState.mapping,
302
+ 'Query required mapping to update',
303
+ );
304
+ queryExeContext.mapping = PackageableElementExplicitReference.create(
305
+ this.executionContextState.mapping,
306
+ );
307
+ queryExeContext.runtime = runtimeValue.packageableRuntime;
308
+ return queryExeContext;
309
+ }
310
+
290
311
  /**
291
312
  * Gets information about the current queryBuilderState.
292
313
  * This information can be used as a part of analytics