@finos/legend-extension-dsl-service 1.0.161 → 1.0.163

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ServiceQueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8dH,eAAO,MAAM,kBAAkB;;CAuC7B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;CAgBrC,CAAC"}
1
+ {"version":3,"file":"ServiceQueryEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ServiceQueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+dH,eAAO,MAAM,kBAAkB;;CAyC7B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;CAgBrC,CAAC"}
@@ -23,7 +23,7 @@ import { useParams } from '@finos/legend-application/browser';
23
23
  import { BlankPanelContent, CustomSelectorInput, Dialog, Panel, PanelLoadingIndicator, PlusIcon, RocketIcon, SaveIcon, clsx, CheckSquareIcon, SquareIcon, GitBranchIcon, ModalTitle, PanelForm, PanelFormTextField, PanelFormSection, } from '@finos/legend-art';
24
24
  import { DSL_SERVICE_ROUTE_PATTERN_TOKEN, generateServiceQueryUpdaterRoute, generateProjectServiceQueryUpdaterRoute, } from '../../__lib__/studio/DSL_Service_LegendStudioNavigation.js';
25
25
  import { ProjectServiceQueryUpdaterStoreProvider, ServiceQueryUpdaterStoreProvider, useServiceQueryEditorStore, } from './ServiceQueryEditorStoreProvider.js';
26
- import { QueryBuilder, QueryBuilderNavigationBlocker, } from '@finos/legend-query-builder';
26
+ import { QueryBuilder, QueryBuilderAdvancedWorkflowState, QueryBuilderNavigationBlocker, } from '@finos/legend-query-builder';
27
27
  import { ELEMENT_PATH_DELIMITER, resolvePackagePathAndElementName, validate_ServicePattern, } from '@finos/legend-graph';
28
28
  import { generateEditorRoute, useLegendStudioApplicationStore, } from '@finos/legend-application-studio';
29
29
  import { guaranteeNonEmptyString, uuid } from '@finos/legend-shared';
@@ -180,7 +180,7 @@ export const ServiceQueryEditor = observer(() => {
180
180
  const applicationStore = useApplicationStore();
181
181
  const editorStore = useServiceQueryEditorStore();
182
182
  useEffect(() => {
183
- flowResult(editorStore.initializeWithServiceQuery()).catch(applicationStore.alertUnhandledError);
183
+ flowResult(editorStore.initializeWithServiceQuery(QueryBuilderAdvancedWorkflowState.INSTANCE)).catch(applicationStore.alertUnhandledError);
184
184
  }, [editorStore, applicationStore]);
185
185
  return (_jsxs("div", { className: "service-query-editor", children: [_jsx("div", { className: "service-query-editor__header", children: editorStore.queryBuilderState && editorStore._service && (_jsx(ServiceQueryEditorHeaderContent, {})) }), _jsxs("div", { className: "service-query-editor__content", children: [_jsx(PanelLoadingIndicator, { isLoading: editorStore.initState.isInProgress }), editorStore.queryBuilderState && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderNavigationBlocker, { queryBuilderState: editorStore.queryBuilderState }), _jsx(QueryBuilder, { queryBuilderState: editorStore.queryBuilderState })] })), !editorStore.queryBuilderState && (_jsx(BlankPanelContent, { children: editorStore.initState.message ??
186
186
  editorStore.graphManagerState.systemBuildState.message ??
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryEditor.js","sourceRoot":"","sources":["../../../src/components/studio/ServiceQueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;A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C,OAAO,GACrC,CACrB,IACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,GAAG,EAAE;IAC/C,MAAM,MAAM,GAAG,SAAS,EAAiC,CAAC;IAC1D,MAAM,kBAAkB,GACtB,MAAM,CAAC,+BAA+B,CAAC,mBAAmB,CAAC,CAAC;IAC9D,MAAM,gBAAgB,GACpB,MAAM,CAAC,+BAA+B,CAAC,kBAAkB,CAAC,CAAC;IAE7D,OAAO,CACL,KAAC,gCAAgC,IAC/B,kBAAkB,EAAE,kBAAkB,EACtC,gBAAgB,EAAE,gBAAgB,YAElC,KAAC,kBAAkB,KAAG,GACW,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC,GAAG,EAAE;IACtD,MAAM,MAAM,GAAG,SAAS,EAAwC,CAAC;IACjE,MAAM,SAAS,GAAG,MAAM,CAAC,+BAA+B,CAAC,UAAU,CAAC,CAAC;IACrE,MAAM,gBAAgB,GACpB,MAAM,CAAC,+BAA+B,CAAC,kBAAkB,CAAC,CAAC;IAC7D,MAAM,WAAW,GAAG,MAAM,CAAC,+BAA+B,CAAC,YAAY,CAAC,CAAC;IAEzE,OAAO,CACL,KAAC,uCAAuC,IACtC,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,YAExB,KAAC,kBAAkB,KAAG,GACkB,CAC3C,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-service v1.0.161
1
+ /** @license @finos/legend-extension-dsl-service v1.0.163
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-extension-dsl-service",
3
- "version": "1.0.161",
3
+ "version": "1.0.163",
4
4
  "description": "Legend extension for Service DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { type LegendStudioApplicationStore, type ServiceRegistrationEnvironmentConfig, EditorStore } from '@finos/legend-application-studio';
17
17
  import { type Service } from '@finos/legend-graph';
18
- import { type QueryBuilderState } from '@finos/legend-query-builder';
18
+ import { type QueryBuilderState, type QueryBuilderWorkflowState } from '@finos/legend-query-builder';
19
19
  import { type DepotServerClient } from '@finos/legend-server-depot';
20
20
  import { type SDLCServerClient } from '@finos/legend-server-sdlc';
21
21
  import { type GeneratorFn, ActionState } from '@finos/legend-shared';
@@ -41,7 +41,7 @@ export declare abstract class ServiceQueryEditorStore extends EditorStore {
41
41
  setCurrentServiceRegistrationEnvConfig(val: ServiceRegistrationEnvironmentConfig | undefined): void;
42
42
  setShowSubmitReviewModal(val: boolean): void;
43
43
  abstract fetchServiceInformation(): Promise<ProjectServiceCoordinates>;
44
- initializeWithServiceQuery(): GeneratorFn<void>;
44
+ initializeWithServiceQuery(workflow: QueryBuilderWorkflowState): GeneratorFn<void>;
45
45
  saveWorkspace(serviceEntity: Entity, createNew: boolean, onSuccess?: () => void): GeneratorFn<void>;
46
46
  recreateWorkspace(): GeneratorFn<void>;
47
47
  updateServiceQuery(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryEditorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/ServiceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,WAAW,EAKZ,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,OAAO,EAIb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,iBAAiB,EAEvB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B,aAAa,CACZ,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,MAAM,IAAI,GACrB,WAAW,CAAC,IAAI,CAAC;IAiFnB,iBAAiB,IAAI,WAAW,CAAC,IAAI,CAAC;IA8BvC,kBAAkB,IAAI,IAAI;IAWzB,eAAe,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC;CAqF1E;AAED,qBAAa,wBAAyB,SAAQ,uBAAuB;IACnE,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;gBAGhC,gBAAgB,EAAE,4BAA4B,EAC9C,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,kBAAkB,EAAE,MAAM,EAC1B,gBAAgB,EAAE,MAAM;IAQpB,uBAAuB,IAAI,OAAO,CAAC,yBAAyB,CAAC;CAcpE;AAED,qBAAa,+BAAgC,SAAQ,uBAAuB;IAC1E,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;gBAG3B,gBAAgB,EAAE,4BAA4B,EAC9C,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM;IASf,uBAAuB,IAAI,OAAO,CAAC,yBAAyB,CAAC;CAOpE"}
@@ -72,14 +72,14 @@ export class ServiceQueryEditorStore extends EditorStore {
72
72
  setShowSubmitReviewModal(val) {
73
73
  this.showSubmitReviewModal = val;
74
74
  }
75
- *initializeWithServiceQuery() {
75
+ *initializeWithServiceQuery(workflow) {
76
76
  try {
77
77
  const serviceInfo = (yield this.fetchServiceInformation());
78
78
  yield flowResult(this.initialize(serviceInfo.projectId, undefined, serviceInfo.groupWorkspaceId, WorkspaceType.GROUP));
79
79
  // initialize the query builder state
80
80
  this._service = this.graphManagerState.graph.getService(serviceInfo.servicePath);
81
81
  assertType(this.service.execution, PureExecution, `Can't process service execution: only Pure execution is supported`);
82
- const queryBuilderState = new ServiceQueryBuilderState(this.applicationStore, this.graphManagerState, this.service, undefined, undefined, undefined, undefined, this.applicationStore.config.options.queryBuilderConfig);
82
+ const queryBuilderState = new ServiceQueryBuilderState(this.applicationStore, this.graphManagerState, workflow, this.service, undefined, undefined, undefined, undefined, this.applicationStore.config.options.queryBuilderConfig);
83
83
  // leverage initialization of query builder state to ensure we handle unsupported queries
84
84
  queryBuilderState.initializeWithQuery(this.service.execution.func);
85
85
  this.queryBuilderState = queryBuilderState;
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryEditorStore.js","sourceRoot":"","sources":["../../../src/stores/studio/ServiceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,WAAW,EACX,uBAAuB,EACvB,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,aAAa,EACb,oBAAoB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,wBAAwB,GACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,aAAa,EACb,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,M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W,CAAC;IACjC,CAAC;IAED,KAAK,CAAC,uBAAuB;QAC3B,OAAO;YACL,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"ServiceQueryEditorStore.js","sourceRoot":"","sources":["../../../src/stores/studio/ServiceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,WAAW,EACX,uBAAuB,EACvB,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,aAAa,EACb,oBAAoB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,wBAAwB,GAEzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,aAAa,EACb,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,uBAAuB,EAAE,MAAM,4DAA4D,CAAC;AAQrG,MAAM,OAAgB,uBAAwB,SAAQ,WAAW;IAC/D,iBAAiB,CAAiC;IAClD,QAAQ,CAAuB;IAC/B,mBAAmB,GAAG,KAAK,CAAC;IAE5B,4BAA4B,GAAG,KAAK,CAAC;IACrC,oB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-service",
3
- "version": "1.0.161",
3
+ "version": "1.0.163",
4
4
  "description": "Legend extension for Service DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,12 +43,12 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@finos/legend-application": "15.0.75",
46
- "@finos/legend-application-query": "13.4.5",
47
- "@finos/legend-application-studio": "28.16.16",
46
+ "@finos/legend-application-query": "13.4.7",
47
+ "@finos/legend-application-studio": "28.16.18",
48
48
  "@finos/legend-art": "7.1.27",
49
49
  "@finos/legend-graph": "31.9.13",
50
50
  "@finos/legend-lego": "1.2.27",
51
- "@finos/legend-query-builder": "4.14.28",
51
+ "@finos/legend-query-builder": "4.14.30",
52
52
  "@finos/legend-server-depot": "6.0.39",
53
53
  "@finos/legend-server-sdlc": "5.3.10",
54
54
  "@finos/legend-shared": "10.0.34",
@@ -57,6 +57,7 @@ import {
57
57
  } from './ServiceQueryEditorStoreProvider.js';
58
58
  import {
59
59
  QueryBuilder,
60
+ QueryBuilderAdvancedWorkflowState,
60
61
  QueryBuilderNavigationBlocker,
61
62
  } from '@finos/legend-query-builder';
62
63
  import {
@@ -495,9 +496,11 @@ export const ServiceQueryEditor = observer(() => {
495
496
  const editorStore = useServiceQueryEditorStore();
496
497
 
497
498
  useEffect(() => {
498
- flowResult(editorStore.initializeWithServiceQuery()).catch(
499
- applicationStore.alertUnhandledError,
500
- );
499
+ flowResult(
500
+ editorStore.initializeWithServiceQuery(
501
+ QueryBuilderAdvancedWorkflowState.INSTANCE,
502
+ ),
503
+ ).catch(applicationStore.alertUnhandledError);
501
504
  }, [editorStore, applicationStore]);
502
505
 
503
506
  return (
@@ -36,6 +36,7 @@ import {
36
36
  import {
37
37
  type QueryBuilderState,
38
38
  ServiceQueryBuilderState,
39
+ type QueryBuilderWorkflowState,
39
40
  } from '@finos/legend-query-builder';
40
41
  import {
41
42
  type DepotServerClient,
@@ -157,7 +158,9 @@ export abstract class ServiceQueryEditorStore extends EditorStore {
157
158
 
158
159
  abstract fetchServiceInformation(): Promise<ProjectServiceCoordinates>;
159
160
 
160
- *initializeWithServiceQuery(): GeneratorFn<void> {
161
+ *initializeWithServiceQuery(
162
+ workflow: QueryBuilderWorkflowState,
163
+ ): GeneratorFn<void> {
161
164
  try {
162
165
  const serviceInfo =
163
166
  (yield this.fetchServiceInformation()) as ProjectServiceCoordinates;
@@ -185,6 +188,7 @@ export abstract class ServiceQueryEditorStore extends EditorStore {
185
188
  const queryBuilderState = new ServiceQueryBuilderState(
186
189
  this.applicationStore,
187
190
  this.graphManagerState,
191
+ workflow,
188
192
  this.service,
189
193
  undefined,
190
194
  undefined,