@finos/legend-application-query 13.4.21 → 13.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.d.ts +1 -1
  2. package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -1
  3. package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.js +4 -4
  4. package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.js.map +1 -1
  5. package/lib/__lib__/LegendQueryNavigation.d.ts +1 -0
  6. package/lib/__lib__/LegendQueryNavigation.d.ts.map +1 -1
  7. package/lib/__lib__/LegendQueryNavigation.js +1 -0
  8. package/lib/__lib__/LegendQueryNavigation.js.map +1 -1
  9. package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
  10. package/lib/components/Core_LegendQueryApplicationPlugin.js +20 -11
  11. package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
  12. package/lib/components/LegendQueryWebApplication.d.ts.map +1 -1
  13. package/lib/components/LegendQueryWebApplication.js +15 -14
  14. package/lib/components/LegendQueryWebApplication.js.map +1 -1
  15. package/lib/components/QueryEditor.d.ts.map +1 -1
  16. package/lib/components/QueryEditor.js +2 -1
  17. package/lib/components/QueryEditor.js.map +1 -1
  18. package/lib/components/data-space/DataSpaceQueryCreator.d.ts.map +1 -1
  19. package/lib/components/data-space/DataSpaceQueryCreator.js +25 -8
  20. package/lib/components/data-space/DataSpaceQueryCreator.js.map +1 -1
  21. package/lib/components/data-space/DataSpaceQuerySetup.d.ts +0 -3
  22. package/lib/components/data-space/DataSpaceQuerySetup.d.ts.map +1 -1
  23. package/lib/components/data-space/DataSpaceQuerySetup.js +2 -12
  24. package/lib/components/data-space/DataSpaceQuerySetup.js.map +1 -1
  25. package/lib/index.css +1 -1
  26. package/lib/index.d.ts +2 -1
  27. package/lib/index.d.ts.map +1 -1
  28. package/lib/index.js +2 -1
  29. package/lib/index.js.map +1 -1
  30. package/lib/package.json +4 -3
  31. package/lib/stores/QueryEditorStore.d.ts +3 -4
  32. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  33. package/lib/stores/QueryEditorStore.js +54 -62
  34. package/lib/stores/QueryEditorStore.js.map +1 -1
  35. package/lib/stores/data-space/DataSpaceQueryBuilderHelper.d.ts +23 -0
  36. package/lib/stores/data-space/DataSpaceQueryBuilderHelper.d.ts.map +1 -0
  37. package/lib/stores/data-space/DataSpaceQueryBuilderHelper.js +39 -0
  38. package/lib/stores/data-space/DataSpaceQueryBuilderHelper.js.map +1 -0
  39. package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts +35 -12
  40. package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts.map +1 -1
  41. package/lib/stores/data-space/DataSpaceQueryCreatorStore.js +189 -86
  42. package/lib/stores/data-space/DataSpaceQueryCreatorStore.js.map +1 -1
  43. package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts +3 -20
  44. package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts.map +1 -1
  45. package/lib/stores/data-space/DataSpaceQuerySetupState.js +8 -81
  46. package/lib/stores/data-space/DataSpaceQuerySetupState.js.map +1 -1
  47. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.d.ts.map +1 -1
  48. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js +8 -8
  49. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js.map +1 -1
  50. package/package.json +14 -13
  51. package/src/__lib__/DSL_DataSpace_LegendQueryNavigation.ts +6 -4
  52. package/src/__lib__/LegendQueryNavigation.ts +1 -0
  53. package/src/components/Core_LegendQueryApplicationPlugin.tsx +25 -17
  54. package/src/components/LegendQueryWebApplication.tsx +30 -27
  55. package/src/components/QueryEditor.tsx +2 -1
  56. package/src/components/data-space/DataSpaceQueryCreator.tsx +36 -18
  57. package/src/components/data-space/DataSpaceQuerySetup.tsx +2 -36
  58. package/src/index.ts +4 -2
  59. package/src/stores/QueryEditorStore.ts +109 -157
  60. package/src/stores/data-space/DataSpaceQueryBuilderHelper.ts +107 -0
  61. package/src/stores/data-space/DataSpaceQueryCreatorStore.ts +302 -173
  62. package/src/stores/data-space/DataSpaceQuerySetupState.ts +8 -156
  63. package/src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts +11 -19
  64. package/tsconfig.json +1 -0
package/lib/index.d.ts CHANGED
@@ -23,7 +23,8 @@ export { useLegendQueryApplicationStore, useLegendQueryBaseStore, } from './comp
23
23
  export type { LegendQueryApplicationStore } from './stores/LegendQueryBaseStore.js';
24
24
  export * from './stores/LegendQueryApplicationPlugin.js';
25
25
  export { BaseQuerySetupStore } from './stores/QuerySetupStore.js';
26
- export { type QueryPersistConfiguration, createViewProjectHandler, createViewSDLCProjectHandler, QueryEditorStore, ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication, } from './stores/QueryEditorStore.js';
26
+ export { type QueryPersistConfiguration, QueryEditorStore, ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication, } from './stores/QueryEditorStore.js';
27
+ export { createViewProjectHandler, createViewSDLCProjectHandler, } from './stores/data-space/DataSpaceQueryBuilderHelper.js';
27
28
  export { QueryEditorStoreContext, useQueryEditorStore, } from './components/QueryEditorStoreProvider.js';
28
29
  export { QueryEditor } from './components/QueryEditor.js';
29
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AACtD,YAAY,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAGpF,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EACL,KAAK,yBAAyB,EAC9B,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,wBAAwB,EACxB,yCAAyC,GAC1C,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AACtD,YAAY,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAGpF,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EACL,KAAK,yBAAyB,EAC9B,gBAAgB,EAChB,wBAAwB,EACxB,yCAAyC,GAC1C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EACL,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC"}
package/lib/index.js CHANGED
@@ -24,7 +24,8 @@ export { useLegendQueryApplicationStore, useLegendQueryBaseStore, } from './comp
24
24
  // stores
25
25
  export * from './stores/LegendQueryApplicationPlugin.js';
26
26
  export { BaseQuerySetupStore } from './stores/QuerySetupStore.js';
27
- export { createViewProjectHandler, createViewSDLCProjectHandler, QueryEditorStore, ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication, } from './stores/QueryEditorStore.js';
27
+ export { QueryEditorStore, ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication, } from './stores/QueryEditorStore.js';
28
+ export { createViewProjectHandler, createViewSDLCProjectHandler, } from './stores/data-space/DataSpaceQueryBuilderHelper.js';
28
29
  // components
29
30
  export { QueryEditorStoreContext, useQueryEditorStore, } from './components/QueryEditorStoreProvider.js';
30
31
  export { QueryEditor } from './components/QueryEditor.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,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AAGtD,SAAS;AACT,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAEL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,wBAAwB,EACxB,yCAAyC,GAC1C,MAAM,8BAA8B,CAAC;AACtC,aAAa;AACb,OAAO,EACL,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc;AACd,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AAGtD,SAAS;AACT,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAEL,gBAAgB,EAChB,wBAAwB,EACxB,yCAAyC,GAC1C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,oDAAoD,CAAC;AAC5D,aAAa;AACb,OAAO,EACL,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.4.21",
3
+ "version": "13.5.1",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -52,7 +52,8 @@
52
52
  "@finos/legend-server-depot": "workspace:*",
53
53
  "@finos/legend-shared": "workspace:*",
54
54
  "@finos/legend-storage": "workspace:*",
55
- "@testing-library/react": "15.0.7",
55
+ "@testing-library/dom": "10.1.0",
56
+ "@testing-library/react": "16.0.0",
56
57
  "@types/react": "18.3.3",
57
58
  "@types/react-dom": "18.3.0",
58
59
  "mobx": "6.12.3",
@@ -69,7 +70,7 @@
69
70
  "jest": "29.7.0",
70
71
  "npm-run-all": "4.1.5",
71
72
  "rimraf": "5.0.7",
72
- "sass": "1.77.3",
73
+ "sass": "1.77.4",
73
74
  "typescript": "5.4.5"
74
75
  },
75
76
  "peerDependencies": {
@@ -20,8 +20,6 @@ import { type DepotServerClient } from '@finos/legend-server-depot';
20
20
  import type { LegendQueryPluginManager } from '../application/LegendQueryPluginManager.js';
21
21
  import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
22
22
  import { type QueryBuilderState, type QueryBuilderDiffViewState, QueryLoaderState, QueryBuilderActionConfig } from '@finos/legend-query-builder';
23
- export declare const createViewProjectHandler: (applicationStore: LegendQueryApplicationStore) => (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
24
- export declare const createViewSDLCProjectHandler: (applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient) => (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>;
25
23
  export interface QueryPersistConfiguration {
26
24
  defaultName?: string | undefined;
27
25
  allowUpdate?: boolean | undefined;
@@ -54,11 +52,12 @@ export declare abstract class QueryEditorStore {
54
52
  showAppInfo: boolean;
55
53
  constructor(applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient);
56
54
  get isViewProjectActionDisabled(): boolean;
55
+ get canPersistToSavedQuery(): boolean;
57
56
  setExistingQueryName(val: string | undefined): void;
58
57
  setShowAppInfo(val: boolean): void;
59
58
  setShowRegisterServiceModal(val: boolean): void;
60
59
  get isPerformingBlockingAction(): boolean;
61
- abstract getProjectInfo(): ProjectGAVCoordinates;
60
+ abstract getProjectInfo(): ProjectGAVCoordinates | undefined;
62
61
  /**
63
62
  * Set up the editor state before building the graph
64
63
  */
@@ -70,7 +69,7 @@ export declare abstract class QueryEditorStore {
70
69
  protected abstract initializeQueryBuilderState(stopWatch?: StopWatch | undefined): Promise<QueryBuilderState>;
71
70
  abstract getPersistConfiguration(lambda: RawLambda, options?: {
72
71
  update?: boolean | undefined;
73
- }): QueryPersistConfiguration;
72
+ }): QueryPersistConfiguration | undefined;
74
73
  initialize(): GeneratorFn<void>;
75
74
  onInitializeFailure(): void;
76
75
  searchExistingQueryName(searchText: string): GeneratorFn<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorStore.d.ts","sourceRoot":"","sources":["../../src/stores/QueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,WAAW,EAOhB,WAAW,EACX,SAAS,EAMV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAGd,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAE9B,iBAAiB,EACjB,KAAK,EAiBN,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAEL,KAAK,qBAAqB,EAG3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAE3F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,yBAAyB,EAI9B,gBAAgB,EAEhB,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AAkBrC,eAAO,MAAM,wBAAwB,+DAGxB,MAAM,cACH,MAAM,aACP,MAAM,cACL,MAAM,GAAG,SAAS,KAC7B,IASA,CAAC;AAEN,eAAO,MAAM,4BAA4B,qEAGlB,iBAAiB,eAG3B,MAAM,cACH,MAAM,cACN,MAAM,GAAG,SAAS,KAC7B,QAAQ,IAAI,CAuBd,CAAC;AAEJ,MAAM,WAAW,yBAAyB;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,aAAa,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,KAAK,EAAE,K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QAAQ,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAI1B,cAAc,IAAI,qBAAqB;IAQxB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAM1C,4BAA4B,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAyLtE,2BAA2B,CAC/B,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC,iBAAiB,CAAC;IA+E7B,uBAAuB,CACrB,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE,GACzC,yBAAyB;CAkB7B"}
@@ -16,33 +16,20 @@
16
16
  import { action, computed, flow, flowResult, makeObservable, observable, override, } from 'mobx';
17
17
  import { LogEvent, assertErrorThrown, uuid, assertType, guaranteeNonNullable, ActionState, StopWatch, guaranteeType, quantifyList, assertNonNullable, returnUndefOnError, UnsupportedOperationError, } from '@finos/legend-shared';
18
18
  import { GraphManagerState, Query, PureExecution, PackageableElementExplicitReference, RuntimePointer, GRAPH_MANAGER_EVENT, extractElementNameFromPath, Mapping, createGraphBuilderReport, LegendSDLC, QuerySearchSpecification, toLightQuery, QueryParameterValue, reportGraphAnalytics, cloneQueryStereotype, cloneQueryTaggedValue, QueryDataSpaceExecutionContext, QueryExplicitExecutionContext, } from '@finos/legend-graph';
19
- import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl, EXTERNAL_APPLICATION_NAVIGATION__generateStudioSDLCProjectViewUrl, generateExistingQueryEditorRoute, generateMappingQueryCreatorRoute, generateServiceQueryCreatorRoute, } from '../__lib__/LegendQueryNavigation.js';
19
+ import { generateExistingQueryEditorRoute, generateMappingQueryCreatorRoute, generateServiceQueryCreatorRoute, } from '../__lib__/LegendQueryNavigation.js';
20
20
  import { LEGEND_QUERY_APP_EVENT } from '../__lib__/LegendQueryEvent.js';
21
- import { parseProjectIdentifier, } from '@finos/legend-storage';
21
+ import {} from '@finos/legend-storage';
22
22
  import { resolveVersion, StoreProjectData, LATEST_VERSION_ALIAS, VersionedProjectData, } from '@finos/legend-server-depot';
23
23
  import { ActionAlertActionType, ActionAlertType, DEFAULT_TAB_SIZE, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
24
24
  import { LegendQueryEventHelper } from '../__lib__/LegendQueryEventHelper.js';
25
25
  import { ClassQueryBuilderState, MappingQueryBuilderState, ServiceQueryBuilderState, QueryLoaderState, QueryBuilderDataBrowserWorkflow, QueryBuilderActionConfig, } from '@finos/legend-query-builder';
26
26
  import { LegendQueryUserDataHelper } from '../__lib__/LegendQueryUserDataHelper.js';
27
27
  import { LegendQueryTelemetryHelper } from '../__lib__/LegendQueryTelemetryHelper.js';
28
- import { DataSpaceProjectInfo, DataSpaceQueryBuilderState, } from '@finos/legend-extension-dsl-data-space/application';
28
+ import { DataSpaceQueryBuilderState, } from '@finos/legend-extension-dsl-data-space/application';
29
29
  import { DSL_DataSpace_getGraphManagerExtension, getOwnDataSpace, retrieveAnalyticsResultCache, } from '@finos/legend-extension-dsl-data-space/graph';
30
30
  import { generateDataSpaceQueryCreatorRoute } from '../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
31
31
  import { hasDataSpaceInfoBeenVisited } from '../__lib__/LegendQueryUserDataSpaceHelper.js';
32
- export const createViewProjectHandler = (applicationStore) => (groupId, artifactId, versionId, entityPath) => applicationStore.navigationService.navigator.visitAddress(EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl(applicationStore.config.studioApplicationUrl, groupId, artifactId, versionId, entityPath));
33
- export const createViewSDLCProjectHandler = (applicationStore, depotServerClient) => async (groupId, artifactId, entityPath) => {
34
- // fetch project data
35
- const project = StoreProjectData.serialization.fromJson(await depotServerClient.getProject(groupId, artifactId));
36
- // find the matching SDLC instance
37
- const projectIDPrefix = parseProjectIdentifier(project.projectId).prefix;
38
- const matchingSDLCEntry = applicationStore.config.studioInstances.find((entry) => entry.sdlcProjectIDPrefix === projectIDPrefix);
39
- if (matchingSDLCEntry) {
40
- applicationStore.navigationService.navigator.visitAddress(EXTERNAL_APPLICATION_NAVIGATION__generateStudioSDLCProjectViewUrl(matchingSDLCEntry.url, project.projectId, entityPath));
41
- }
42
- else {
43
- applicationStore.notificationService.notifyWarning(`Can't find the corresponding SDLC instance to view the SDLC project`);
44
- }
45
- };
32
+ import { createDataSpaceDepoRepo } from './data-space/DataSpaceQueryBuilderHelper.js';
46
33
  export class QueryCreatorState {
47
34
  editorStore;
48
35
  createQueryState = ActionState.create();
@@ -185,6 +172,9 @@ export class QueryEditorStore {
185
172
  get isViewProjectActionDisabled() {
186
173
  return false;
187
174
  }
175
+ get canPersistToSavedQuery() {
176
+ return true;
177
+ }
188
178
  setExistingQueryName(val) {
189
179
  this.existingQueryName = val;
190
180
  }
@@ -301,45 +291,48 @@ export class QueryEditorStore {
301
291
  }
302
292
  *buildGraph() {
303
293
  const stopWatch = new StopWatch();
304
- const { groupId, artifactId, versionId } = this.getProjectInfo();
305
- // fetch project data
306
- const project = StoreProjectData.serialization.fromJson((yield this.depotServerClient.getProject(groupId, artifactId)));
307
- // initialize system
308
- stopWatch.record();
309
- yield this.graphManagerState.initializeSystem();
310
- stopWatch.record(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH_SYSTEM__SUCCESS);
311
- // fetch entities
312
- stopWatch.record();
313
- this.initState.setMessage(`Fetching entities...`);
314
- const entities = (yield this.depotServerClient.getEntities(project, versionId));
315
- this.initState.setMessage(undefined);
316
- stopWatch.record(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS);
317
- // fetch and build dependencies
318
- stopWatch.record();
319
- const dependencyManager = this.graphManagerState.graphManager.createDependencyManager();
320
- this.graphManagerState.graph.dependencyManager = dependencyManager;
321
- this.graphManagerState.dependenciesBuildState.setMessage(`Fetching dependencies...`);
322
- const dependencyEntitiesIndex = (yield flowResult(this.depotServerClient.getIndexedDependencyEntities(project, versionId)));
323
- stopWatch.record(GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS);
324
- const dependency_buildReport = createGraphBuilderReport();
325
- yield this.graphManagerState.graphManager.buildDependencies(this.graphManagerState.coreModel, this.graphManagerState.systemModel, dependencyManager, dependencyEntitiesIndex, this.graphManagerState.dependenciesBuildState, {}, dependency_buildReport);
326
- dependency_buildReport.timings[GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS] = stopWatch.getRecord(GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS);
327
- // build graph
328
- const graph_buildReport = createGraphBuilderReport();
329
- yield this.graphManagerState.graphManager.buildGraph(this.graphManagerState.graph, entities, this.graphManagerState.graphBuildState, {
330
- origin: new LegendSDLC(groupId, artifactId, resolveVersion(versionId)),
331
- }, graph_buildReport);
332
- graph_buildReport.timings[GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS] = stopWatch.getRecord(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS);
333
- // report
334
- stopWatch.record(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS);
335
- const graphBuilderReportData = {
336
- timings: this.applicationStore.timeService.finalizeTimingsRecord(stopWatch),
337
- dependencies: dependency_buildReport,
338
- dependenciesCount: this.graphManagerState.graph.dependencyManager.numberOfDependencies,
339
- graph: graph_buildReport,
340
- };
341
- this.logBuildGraphMetrics(graphBuilderReportData);
342
- this.applicationStore.logService.info(LogEvent.create(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS), graphBuilderReportData);
294
+ const projectInfo = this.getProjectInfo();
295
+ if (projectInfo) {
296
+ const { groupId, artifactId, versionId } = projectInfo;
297
+ // fetch project data
298
+ const project = StoreProjectData.serialization.fromJson((yield this.depotServerClient.getProject(groupId, artifactId)));
299
+ // initialize system
300
+ stopWatch.record();
301
+ yield this.graphManagerState.initializeSystem();
302
+ stopWatch.record(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH_SYSTEM__SUCCESS);
303
+ // fetch entities
304
+ stopWatch.record();
305
+ this.initState.setMessage(`Fetching entities...`);
306
+ const entities = (yield this.depotServerClient.getEntities(project, versionId));
307
+ this.initState.setMessage(undefined);
308
+ stopWatch.record(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS);
309
+ // fetch and build dependencies
310
+ stopWatch.record();
311
+ const dependencyManager = this.graphManagerState.graphManager.createDependencyManager();
312
+ this.graphManagerState.graph.dependencyManager = dependencyManager;
313
+ this.graphManagerState.dependenciesBuildState.setMessage(`Fetching dependencies...`);
314
+ const dependencyEntitiesIndex = (yield flowResult(this.depotServerClient.getIndexedDependencyEntities(project, versionId)));
315
+ stopWatch.record(GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS);
316
+ const dependency_buildReport = createGraphBuilderReport();
317
+ yield this.graphManagerState.graphManager.buildDependencies(this.graphManagerState.coreModel, this.graphManagerState.systemModel, dependencyManager, dependencyEntitiesIndex, this.graphManagerState.dependenciesBuildState, {}, dependency_buildReport);
318
+ dependency_buildReport.timings[GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS] = stopWatch.getRecord(GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS);
319
+ // build graph
320
+ const graph_buildReport = createGraphBuilderReport();
321
+ yield this.graphManagerState.graphManager.buildGraph(this.graphManagerState.graph, entities, this.graphManagerState.graphBuildState, {
322
+ origin: new LegendSDLC(groupId, artifactId, resolveVersion(versionId)),
323
+ }, graph_buildReport);
324
+ graph_buildReport.timings[GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS] = stopWatch.getRecord(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS);
325
+ // report
326
+ stopWatch.record(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS);
327
+ const graphBuilderReportData = {
328
+ timings: this.applicationStore.timeService.finalizeTimingsRecord(stopWatch),
329
+ dependencies: dependency_buildReport,
330
+ dependenciesCount: this.graphManagerState.graph.dependencyManager.numberOfDependencies,
331
+ graph: graph_buildReport,
332
+ };
333
+ this.logBuildGraphMetrics(graphBuilderReportData);
334
+ this.applicationStore.logService.info(LogEvent.create(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS), graphBuilderReportData);
335
+ }
343
336
  }
344
337
  }
345
338
  export class QueryBuilderActionConfig_QueryApplication extends QueryBuilderActionConfig {
@@ -678,15 +671,14 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
678
671
  catch {
679
672
  // do nothing
680
673
  }
681
- const projectInfo = new DataSpaceProjectInfo(query.groupId, query.artifactId, query.versionId, createViewProjectHandler(this.applicationStore), createViewSDLCProjectHandler(this.applicationStore, this.depotServerClient));
682
674
  const sourceInfo = {
683
- groupId: projectInfo.groupId,
684
- artifactId: projectInfo.artifactId,
685
- versionId: projectInfo.versionId,
675
+ groupId: query.groupId,
676
+ artifactId: query.artifactId,
677
+ versionId: query.versionId,
686
678
  dataSpace: dataSpace.path,
687
679
  };
688
680
  const visitedDataSpaces = LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(this.applicationStore.userDataService);
689
- const dataSpaceQueryBuilderState = new DataSpaceQueryBuilderState(this.applicationStore, this.graphManagerState, this.depotServerClient, QueryBuilderDataBrowserWorkflow.INSTANCE, new QueryBuilderActionConfig_QueryApplication(this), dataSpace, matchingExecutionContext, (dataSpaceInfo) => {
681
+ const dataSpaceQueryBuilderState = new DataSpaceQueryBuilderState(this.applicationStore, this.graphManagerState, QueryBuilderDataBrowserWorkflow.INSTANCE, new QueryBuilderActionConfig_QueryApplication(this), dataSpace, matchingExecutionContext, createDataSpaceDepoRepo(this, query.groupId, query.artifactId, query.versionId, (dataSpaceInfo) => hasDataSpaceInfoBeenVisited(dataSpaceInfo, visitedDataSpaces)), (dataSpaceInfo) => {
690
682
  if (dataSpaceInfo.defaultExecutionContext) {
691
683
  const proceed = () => this.applicationStore.navigationService.navigator.goToLocation(generateDataSpaceQueryCreatorRoute(guaranteeNonNullable(dataSpaceInfo.groupId), guaranteeNonNullable(dataSpaceInfo.artifactId), LATEST_VERSION_ALIAS, //always default to latest
692
684
  dataSpaceInfo.path, guaranteeNonNullable(dataSpaceInfo.defaultExecutionContext), undefined, undefined));
@@ -730,7 +722,7 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
730
722
  else {
731
723
  this.applicationStore.notificationService.notifyWarning(`Can't switch data space: default execution context not specified`);
732
724
  }
733
- }, true, dataSpaceAnalysisResult, undefined, undefined, undefined, projectInfo, this.applicationStore.config.options.queryBuilderConfig, sourceInfo, (dataSpaceInfo) => hasDataSpaceInfoBeenVisited(dataSpaceInfo, visitedDataSpaces));
725
+ }, dataSpaceAnalysisResult, undefined, undefined, undefined, this.applicationStore.config.options.queryBuilderConfig, sourceInfo);
734
726
  const mappingModelCoverageAnalysisResult = dataSpaceAnalysisResult?.executionContextsIndex.get(matchingExecutionContext.name)?.mappingModelCoverageAnalysisResult;
735
727
  if (mappingModelCoverageAnalysisResult) {
736
728
  dataSpaceQueryBuilderState.explorerState.mappingModelCoverageAnalysisResult =
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorStore.js","sourceRoot":"","sources":["../../src/stores/QueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,EACV,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAGL,QAAQ,EACR,iBAAiB,EACjB,IAAI,EACJ,UAAU,EACV,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAS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BAAuB,CACrB,MAAiB,EACjB,OAA0C;QAE1C,OAAO;YACL,WAAW,EAAE,OAAO,EAAE,MAAM;gBAC1B,CAAC,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;gBAC3B,CAAC,CAAC,WAAW,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrC,WAAW,EAAE,IAAI,CAAC,UAAU,CAAC,kBAAkB;YAC/C,SAAS,EAAE,CAAC,KAAY,EAAQ,EAAE;gBAChC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;gBAC9B,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;gBACxC,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;gBAC9C,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;YAC9C,CAAC;YACD,aAAa,EAAE,CAAC,KAAY,EAAQ,EAAE;gBACpC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;gBACxC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,23 @@
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
+ import { type DepotServerClient } from '@finos/legend-server-depot';
17
+ import type { LegendQueryApplicationStore } from '../LegendQueryBaseStore.js';
18
+ import type { QueryEditorStore } from '../QueryEditorStore.js';
19
+ import { DataSpacesDepotRepository, type DataSpaceInfo } from '@finos/legend-extension-dsl-data-space/application';
20
+ export declare const createViewProjectHandler: (applicationStore: LegendQueryApplicationStore) => (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
21
+ export declare const createViewSDLCProjectHandler: (applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient) => (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>;
22
+ export declare const createDataSpaceDepoRepo: (editorStore: QueryEditorStore, groupId: string, artifactId: string, versionId: string, prioritizeDataSpaceFunc: ((val: DataSpaceInfo) => boolean) | undefined) => DataSpacesDepotRepository;
23
+ //# sourceMappingURL=DataSpaceQueryBuilderHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceQueryBuilderHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQueryBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,4BAA4B,CAAC;AAKpC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAE9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,KAAK,aAAa,EACnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,wBAAwB,+DAGxB,MAAM,cACH,MAAM,aACP,MAAM,cACL,MAAM,GAAG,SAAS,KAC7B,IASA,CAAC;AAEN,eAAO,MAAM,4BAA4B,qEAGlB,iBAAiB,eAG3B,MAAM,cACH,MAAM,cACN,MAAM,GAAG,SAAS,KAC7B,QAAQ,IAAI,CAuBd,CAAC;AAEJ,eAAO,MAAM,uBAAuB,gBACrB,gBAAgB,WACpB,MAAM,cACH,MAAM,aACP,MAAM,2BACQ,CAAC,CAAC,GAAG,EAAE,aAAa,KAAK,OAAO,CAAC,GAAG,SAAS,KACrE,yBAgBA,CAAC"}
@@ -0,0 +1,39 @@
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
+ import { StoreProjectData, } from '@finos/legend-server-depot';
17
+ import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl, EXTERNAL_APPLICATION_NAVIGATION__generateStudioSDLCProjectViewUrl, } from '../../__lib__/LegendQueryNavigation.js';
18
+ import { parseProjectIdentifier } from '@finos/legend-storage';
19
+ import { DataSpacesDepotRepository, } from '@finos/legend-extension-dsl-data-space/application';
20
+ export const createViewProjectHandler = (applicationStore) => (groupId, artifactId, versionId, entityPath) => applicationStore.navigationService.navigator.visitAddress(EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl(applicationStore.config.studioApplicationUrl, groupId, artifactId, versionId, entityPath));
21
+ export const createViewSDLCProjectHandler = (applicationStore, depotServerClient) => async (groupId, artifactId, entityPath) => {
22
+ // fetch project data
23
+ const project = StoreProjectData.serialization.fromJson(await depotServerClient.getProject(groupId, artifactId));
24
+ // find the matching SDLC instance
25
+ const projectIDPrefix = parseProjectIdentifier(project.projectId).prefix;
26
+ const matchingSDLCEntry = applicationStore.config.studioInstances.find((entry) => entry.sdlcProjectIDPrefix === projectIDPrefix);
27
+ if (matchingSDLCEntry) {
28
+ applicationStore.navigationService.navigator.visitAddress(EXTERNAL_APPLICATION_NAVIGATION__generateStudioSDLCProjectViewUrl(matchingSDLCEntry.url, project.projectId, entityPath));
29
+ }
30
+ else {
31
+ applicationStore.notificationService.notifyWarning(`Can't find the corresponding SDLC instance to view the SDLC project`);
32
+ }
33
+ };
34
+ export const createDataSpaceDepoRepo = (editorStore, groupId, artifactId, versionId, prioritizeDataSpaceFunc) => new DataSpacesDepotRepository(editorStore.depotServerClient, editorStore.applicationStore, editorStore.graphManagerState, {
35
+ groupId,
36
+ artifactId,
37
+ versionId,
38
+ }, createViewProjectHandler(editorStore.applicationStore), createViewSDLCProjectHandler(editorStore.applicationStore, editorStore.depotServerClient), prioritizeDataSpaceFunc);
39
+ //# sourceMappingURL=DataSpaceQueryBuilderHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceQueryBuilderHelper.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQueryBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,GAEjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,6DAA6D,EAC7D,iEAAiE,GAClE,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EACL,yBAAyB,GAE1B,MAAM,oDAAoD,CAAC;AAE5D,MAAM,CAAC,MAAM,wBAAwB,GACnC,CAAC,gBAA6C,EAAE,EAAE,CAClD,CACE,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,UAA8B,EACxB,EAAE,CACR,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,YAAY,CACvD,6DAA6D,CAC3D,gBAAgB,CAAC,MAAM,CAAC,oBAAoB,EAC5C,OAAO,EACP,UAAU,EACV,SAAS,EACT,UAAU,CACX,CACF,CAAC;AAEN,MAAM,CAAC,MAAM,4BAA4B,GACvC,CACE,gBAA6C,EAC7C,iBAAoC,EACpC,EAAE,CACJ,KAAK,EACH,OAAe,EACf,UAAkB,EAClB,UAA8B,EACf,EAAE;IACjB,qBAAqB;IACrB,MAAM,OAAO,GAAG,gBAAgB,CAAC,aAAa,CAAC,QAAQ,CACrD,MAAM,iBAAiB,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,CACxD,CAAC;IACF,kCAAkC;IAClC,MAAM,eAAe,GAAG,sBAAsB,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC;IACzE,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CACpE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,mBAAmB,KAAK,eAAe,CACzD,CAAC;IACF,IAAI,iBAAiB,EAAE,CAAC;QACtB,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,YAAY,CACvD,iEAAiE,CAC/D,iBAAiB,CAAC,GAAG,EACrB,OAAO,CAAC,SAAS,EACjB,UAAU,CACX,CACF,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CAChD,qEAAqE,CACtE,CAAC;IACJ,CAAC;AACH,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,WAA6B,EAC7B,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,uBAAsE,EAC3C,EAAE,CAC7B,IAAI,yBAAyB,CAC3B,WAAW,CAAC,iBAAiB,EAC7B,WAAW,CAAC,gBAAgB,EAC5B,WAAW,CAAC,iBAAiB,EAC7B;IACE,OAAO;IACP,UAAU;IACV,SAAS;CACV,EACD,wBAAwB,CAAC,WAAW,CAAC,gBAAgB,CAAC,EACtD,4BAA4B,CAC1B,WAAW,CAAC,gBAAgB,EAC5B,WAAW,CAAC,iBAAiB,CAC9B,EACD,uBAAuB,CACxB,CAAC"}
@@ -15,25 +15,48 @@
15
15
  */
16
16
  import { type RawLambda } from '@finos/legend-graph';
17
17
  import { type DepotServerClient } from '@finos/legend-server-depot';
18
+ import { type GeneratorFn } from '@finos/legend-shared';
18
19
  import { type QueryBuilderState } from '@finos/legend-query-builder';
19
- import type { ProjectGAVCoordinates } from '@finos/legend-storage';
20
+ import type { Entity, ProjectGAVCoordinates } from '@finos/legend-storage';
20
21
  import { QueryEditorStore, type QueryPersistConfiguration } from '../QueryEditorStore.js';
21
22
  import type { LegendQueryApplicationStore } from '../LegendQueryBaseStore.js';
23
+ import { DataSpaceQueryBuilderState, type DataSpaceInfo } from '@finos/legend-extension-dsl-data-space/application';
24
+ import { type VisitedDataspace } from '../../__lib__/LegendQueryUserDataSpaceHelper.js';
25
+ export type QueryableDataSpace = {
26
+ groupId: string;
27
+ artifactId: string;
28
+ versionId: string;
29
+ dataSpacePath: string;
30
+ executionContext: string;
31
+ runtimePath?: string | undefined;
32
+ classPath?: string | undefined;
33
+ };
34
+ type DataSpaceVisitedEntity = {
35
+ visited: VisitedDataspace;
36
+ entity: Entity;
37
+ };
22
38
  export declare class DataSpaceQueryCreatorStore extends QueryEditorStore {
23
- readonly groupId: string;
24
- readonly artifactId: string;
25
- readonly versionId: string;
26
- readonly dataSpacePath: string;
27
- readonly executionContext: string;
28
- readonly runtimePath: string | undefined;
29
- readonly classPath: string | undefined;
30
- constructor(applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient, groupId: string, artifactId: string, versionId: string, dataSpacePath: string, executionContext: string, runtimePath: string | undefined, executionKey: string | undefined);
31
- getProjectInfo(): ProjectGAVCoordinates;
39
+ queryableDataSpace: QueryableDataSpace | undefined;
40
+ dataSpaceCache: DataSpaceInfo[] | undefined;
41
+ queryBuilderState?: DataSpaceQueryBuilderState | undefined;
42
+ constructor(applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient, queryableDataSpace: QueryableDataSpace | undefined);
43
+ get canPersistToSavedQuery(): boolean;
44
+ get isViewProjectActionDisabled(): boolean;
45
+ getProjectInfo(): ProjectGAVCoordinates | undefined;
46
+ setDataSpaceCache(val: DataSpaceInfo[]): void;
47
+ setQueryableDataSpace(val: QueryableDataSpace | undefined): void;
48
+ reConfigureWithDataSpaceInfo(info: DataSpaceInfo): boolean;
49
+ initialize(): GeneratorFn<void>;
32
50
  initializeQueryBuilderState(): Promise<QueryBuilderState>;
33
- addVisitedDataSpace(execName: string | undefined): void;
51
+ redirectIfPossible(): Promise<DataSpaceVisitedEntity | undefined>;
52
+ hyrdateVisitedDataSpace(visited: VisitedDataspace): Promise<DataSpaceVisitedEntity | undefined>;
53
+ initializeQueryBuilderStateWithQueryableDataSpace(queryableDataSpace: QueryableDataSpace): Promise<QueryBuilderState>;
54
+ changeDataSpace(val: DataSpaceInfo): GeneratorFn<void>;
55
+ addVisitedDataSpace(queryableDataSpace: QueryableDataSpace): void;
34
56
  getPersistConfiguration(lambda: RawLambda, options?: {
35
57
  update?: boolean | undefined;
36
- }): QueryPersistConfiguration;
58
+ }): QueryPersistConfiguration | undefined;
37
59
  onInitializeFailure(): void;
38
60
  }
61
+ export {};
39
62
  //# sourceMappingURL=DataSpaceQueryCreatorStore.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,4BAA4B,CAAC;AASpC,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAOnE,OAAO,EAEL,gBAAgB,EAGhB,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAgB9E,qBAAa,0BAA2B,SAAQ,gBAAgB;IAC9D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,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