@finos/legend-extension-dsl-data-space 10.3.15 → 10.3.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,0DAA0D,CAAC;AAYlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAQ1E,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,oBAAoB,UACxB,aAAa,KACnB,eAGD,CAAC;AACH,eAAO,MAAM,0BAA0B,WAC7B,eAAe,KACtB,MAAM,SAiCR,CAAC;AA+QF,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,MAAM,SAIR,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,0DAA0D,CAAC;AAYlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAQ1E,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,oBAAoB,UACxB,aAAa,KACnB,eAGD,CAAC;AACH,eAAO,MAAM,0BAA0B,WAC7B,eAAe,KACtB,MAAM,SAiCR,CAAC;AA4RF,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,MAAM,SAIR,CAAC"}
@@ -53,9 +53,16 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
53
53
  const { queryBuilderState } = props;
54
54
  const applicationStore = useApplicationStore();
55
55
  // data space
56
- const dataSpaceOptions = queryBuilderState.dataSpaces
56
+ const prioritizeDataSpaceFunc = queryBuilderState.prioritizeDataSpaceFunc;
57
+ const sortedAllOptions = queryBuilderState.dataSpaces
57
58
  .map(buildDataSpaceOption)
58
59
  .sort(compareLabelFn);
60
+ const dataSpaceOptions = prioritizeDataSpaceFunc
61
+ ? [
62
+ ...sortedAllOptions.filter((val) => prioritizeDataSpaceFunc(val.value)),
63
+ ...sortedAllOptions.filter((val) => !prioritizeDataSpaceFunc(val.value)),
64
+ ]
65
+ : sortedAllOptions;
59
66
  const selectedDataSpaceOption = {
60
67
  label: queryBuilderState.dataSpace.title ?? queryBuilderState.dataSpace.name,
61
68
  value: {
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,4BAA4B,EAC5B,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE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C,aAAa,EAC9C,cAAc,EAAC,4DAA4D,GAC3E,GACE,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAC1D,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,sCAAsC,IACrC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,4BAA4B,EAC5B,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAkC,MAAM,2FAA2F,CAAC;AAC3I,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAMjF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,KAAoB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C,0CAA0C,YACvD,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,iBAAiB,CAAC,aAAa,EAC9C,cAAc,EAAC,4DAA4D,GAC3E,GACE,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAC1D,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,sCAAsC,IACrC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v10.3.15
1
+ /** @license @finos/legend-extension-dsl-data-space v10.3.16
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-data-space",
3
- "version": "10.3.15",
3
+ "version": "10.3.16",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -53,7 +53,7 @@
53
53
  "@finos/legend-server-sdlc": "workspace:*",
54
54
  "@finos/legend-shared": "workspace:*",
55
55
  "@finos/legend-storage": "workspace:*",
56
- "@types/react": "18.3.2",
56
+ "@types/react": "18.3.3",
57
57
  "mobx": "6.12.3",
58
58
  "mobx-react-lite": "4.0.7",
59
59
  "react": "18.3.1",
@@ -68,7 +68,7 @@
68
68
  "jest": "29.7.0",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "5.0.7",
71
- "sass": "1.77.1",
71
+ "sass": "1.77.3",
72
72
  "typescript": "5.4.5"
73
73
  },
74
74
  "peerDependencies": {
@@ -51,10 +51,11 @@ export declare class DataSpaceQueryBuilderState extends QueryBuilderState {
51
51
  dataSpace: DataSpace;
52
52
  executionContext: DataSpaceExecutionContext;
53
53
  dataSpaces: DataSpaceInfo[];
54
+ readonly prioritizeDataSpaceFunc?: ((val: DataSpaceInfo) => boolean) | undefined;
54
55
  showRuntimeSelector: boolean;
55
56
  advancedSearchState?: DataSpaceAdvancedSearchState | undefined;
56
57
  isTemplateQueryDialogOpen: boolean;
57
- constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, depotServerClient: DepotServerClient, workflow: QueryBuilderWorkflowState, actionConfig: QueryBuilderActionConfig, dataSpace: DataSpace, executionContext: DataSpaceExecutionContext, onDataSpaceChange: (val: DataSpaceInfo) => void, isAdvancedDataSpaceSearchEnabled: boolean, dataSpaceAnalysisResult?: DataSpaceAnalysisResult | undefined, onExecutionContextChange?: ((val: DataSpaceExecutionContext) => void) | undefined, onRuntimeChange?: ((val: Runtime) => void) | undefined, onClassChange?: ((val: Class) => void) | undefined, projectInfo?: DataSpaceProjectInfo | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: QuerySDLC | undefined);
58
+ constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, depotServerClient: DepotServerClient, workflow: QueryBuilderWorkflowState, actionConfig: QueryBuilderActionConfig, dataSpace: DataSpace, executionContext: DataSpaceExecutionContext, onDataSpaceChange: (val: DataSpaceInfo) => void, isAdvancedDataSpaceSearchEnabled: boolean, dataSpaceAnalysisResult?: DataSpaceAnalysisResult | undefined, onExecutionContextChange?: ((val: DataSpaceExecutionContext) => void) | undefined, onRuntimeChange?: ((val: Runtime) => void) | undefined, onClassChange?: ((val: Class) => void) | undefined, projectInfo?: DataSpaceProjectInfo | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: QuerySDLC | undefined, prioritizeDataSpaceFunc?: ((val: DataSpaceInfo) => boolean) | undefined);
58
59
  get sideBarClassName(): string | undefined;
59
60
  getQueryExecutionContext(): QueryExecutionContext;
60
61
  setTemplateQueryDialogOpen(val: boolean): void;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores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K,IAAI,CAAC,GAAG,SAAS,EAClD,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,EAC9C,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,EACvC,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,EAClC,uBAAuB,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,aAAa,KAAK,OAAO,CAAC,GAAG,SAAS;IAgCzE,IAAa,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAIlD;IAEQ,wBAAwB,IAAI,qBAAqB;IAO1D,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9C,uBAAuB,IAAI,IAAI;IAwB/B,uBAAuB,IAAI,IAAI;IAI/B,mBAAmB,CAAC,GAAG,EAAE,yBAAyB,GAAG,IAAI;IAIzD,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIzC,cAAc,IAAI,WAAW,CAAC,IAAI,CAAC;IAwCpC;;;;;;OAMG;IACH,+BAA+B,CAC7B,gBAAgB,EAAE,yBAAyB,GAC1C,IAAI;CA2BR"}
@@ -66,10 +66,11 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
66
66
  dataSpace;
67
67
  executionContext;
68
68
  dataSpaces = [];
69
+ prioritizeDataSpaceFunc;
69
70
  showRuntimeSelector = false;
70
71
  advancedSearchState;
71
72
  isTemplateQueryDialogOpen = false;
72
- constructor(applicationStore, graphManagerState, depotServerClient, workflow, actionConfig, dataSpace, executionContext, onDataSpaceChange, isAdvancedDataSpaceSearchEnabled, dataSpaceAnalysisResult, onExecutionContextChange, onRuntimeChange, onClassChange, projectInfo, config, sourceInfo) {
73
+ constructor(applicationStore, graphManagerState, depotServerClient, workflow, actionConfig, dataSpace, executionContext, onDataSpaceChange, isAdvancedDataSpaceSearchEnabled, dataSpaceAnalysisResult, onExecutionContextChange, onRuntimeChange, onClassChange, projectInfo, config, sourceInfo, prioritizeDataSpaceFunc) {
73
74
  super(applicationStore, graphManagerState, workflow, config, sourceInfo);
74
75
  makeObservable(this, {
75
76
  dataSpaces: observable,
@@ -92,6 +93,7 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
92
93
  this.onExecutionContextChange = onExecutionContextChange;
93
94
  this.onRuntimeChange = onRuntimeChange;
94
95
  this.onClassChange = onClassChange;
96
+ this.prioritizeDataSpaceFunc = prioritizeDataSpaceFunc;
95
97
  this.isAdvancedDataSpaceSearchEnabled = isAdvancedDataSpaceSearchEnabled;
96
98
  this.dataSpaceAnalysisResult = dataSpaceAnalysisResult;
97
99
  this.workflowState.updateActionConfig(actionConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/query-builder/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAsC,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAKL,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,2BAA2B,EAC3B,cAAc,EAGd,KAAK,EAEL,uBAAuB,EACvB,OAAO,EACP,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,sBAAsB,GAGvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAAE,4CAA4C,EAAE,MAAM,yDAAyD,CAAC;AACvH,OAAO,EACL,SAAS,GAEV,MAAM,2FAA2F,CAAC;AACnG,OAAO,EAAE,kCAAkC,EAAE,MAAM,gFAAgF,CAAC;AACpI,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAExF,OAAO,EACL,oBAAoB,GAErB,MAAM,4BAA4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AiB,CACvB,CAAC;QACF,kEAAkE;QAClE,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3D,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;YAClE,IAAI,gBAAgB,EAAE,CAAC;gBACrB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;YACrC,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/query-builder/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAsC,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAKL,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,2BAA2B,EAC3B,cAAc,EAGd,KAAK,EAEL,uBAAuB,EACvB,OAAO,EACP,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,sBAAsB,GAGvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAAE,4CAA4C,EAAE,MAAM,yDAAyD,CAAC;AACvH,OAAO,EACL,SAAS,GAEV,MAAM,2FAA2F,CAAC;AACnG,OAAO,EAAE,kCAAkC,EAAE,MAAM,gFAAgF,CAAC;AACpI,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAExF,OAAO,EACL,oBAAoB,GAErB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,CAAC,MAAM,6BAA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CAAC,SAAS,EACd,OAAO,EACP,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,kEAAkE;QAClE,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3D,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;YAClE,IAAI,gBAAgB,EAAE,CAAC;gBACrB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;YACrC,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "10.3.15",
3
+ "version": "10.3.16",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,17 +43,17 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "15.1.3",
47
- "@finos/legend-art": "7.1.32",
48
- "@finos/legend-extension-dsl-diagram": "8.0.171",
49
- "@finos/legend-graph": "31.10.0",
50
- "@finos/legend-lego": "1.2.33",
51
- "@finos/legend-query-builder": "4.14.39",
52
- "@finos/legend-server-depot": "6.0.41",
53
- "@finos/legend-server-sdlc": "5.3.12",
54
- "@finos/legend-shared": "10.0.36",
55
- "@finos/legend-storage": "3.0.86",
56
- "@types/react": "18.3.2",
46
+ "@finos/legend-application": "15.1.4",
47
+ "@finos/legend-art": "7.1.33",
48
+ "@finos/legend-extension-dsl-diagram": "8.0.172",
49
+ "@finos/legend-graph": "31.10.1",
50
+ "@finos/legend-lego": "1.2.34",
51
+ "@finos/legend-query-builder": "4.14.40",
52
+ "@finos/legend-server-depot": "6.0.42",
53
+ "@finos/legend-server-sdlc": "5.3.13",
54
+ "@finos/legend-shared": "10.0.37",
55
+ "@finos/legend-storage": "3.0.87",
56
+ "@types/react": "18.3.3",
57
57
  "mobx": "6.12.3",
58
58
  "mobx-react-lite": "4.0.7",
59
59
  "react": "18.3.1",
@@ -61,14 +61,14 @@
61
61
  "serializr": "3.0.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@finos/legend-dev-utils": "2.1.5",
64
+ "@finos/legend-dev-utils": "2.1.6",
65
65
  "@jest/globals": "29.7.0",
66
66
  "cross-env": "7.0.3",
67
67
  "eslint": "8.57.0",
68
68
  "jest": "29.7.0",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "5.0.7",
71
- "sass": "1.77.1",
71
+ "sass": "1.77.3",
72
72
  "typescript": "5.4.5"
73
73
  },
74
74
  "peerDependencies": {
@@ -128,9 +128,22 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
128
128
  const applicationStore = useApplicationStore();
129
129
 
130
130
  // data space
131
- const dataSpaceOptions = queryBuilderState.dataSpaces
131
+ const prioritizeDataSpaceFunc = queryBuilderState.prioritizeDataSpaceFunc;
132
+ const sortedAllOptions = queryBuilderState.dataSpaces
132
133
  .map(buildDataSpaceOption)
133
134
  .sort(compareLabelFn);
135
+
136
+ const dataSpaceOptions = prioritizeDataSpaceFunc
137
+ ? [
138
+ ...sortedAllOptions.filter((val) =>
139
+ prioritizeDataSpaceFunc(val.value),
140
+ ),
141
+ ...sortedAllOptions.filter(
142
+ (val) => !prioritizeDataSpaceFunc(val.value),
143
+ ),
144
+ ]
145
+ : sortedAllOptions;
146
+
134
147
  const selectedDataSpaceOption: DataSpaceOption = {
135
148
  label:
136
149
  queryBuilderState.dataSpace.title ?? queryBuilderState.dataSpace.name,
@@ -147,6 +147,9 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
147
147
  dataSpace: DataSpace;
148
148
  executionContext!: DataSpaceExecutionContext;
149
149
  dataSpaces: DataSpaceInfo[] = [];
150
+ readonly prioritizeDataSpaceFunc?:
151
+ | ((val: DataSpaceInfo) => boolean)
152
+ | undefined;
150
153
  showRuntimeSelector = false;
151
154
  advancedSearchState?: DataSpaceAdvancedSearchState | undefined;
152
155
  isTemplateQueryDialogOpen = false;
@@ -170,6 +173,7 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
170
173
  projectInfo?: DataSpaceProjectInfo | undefined,
171
174
  config?: QueryBuilderConfig | undefined,
172
175
  sourceInfo?: QuerySDLC | undefined,
176
+ prioritizeDataSpaceFunc?: ((val: DataSpaceInfo) => boolean) | undefined,
173
177
  ) {
174
178
  super(applicationStore, graphManagerState, workflow, config, sourceInfo);
175
179
 
@@ -195,6 +199,7 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
195
199
  this.onExecutionContextChange = onExecutionContextChange;
196
200
  this.onRuntimeChange = onRuntimeChange;
197
201
  this.onClassChange = onClassChange;
202
+ this.prioritizeDataSpaceFunc = prioritizeDataSpaceFunc;
198
203
  this.isAdvancedDataSpaceSearchEnabled = isAdvancedDataSpaceSearchEnabled;
199
204
  this.dataSpaceAnalysisResult = dataSpaceAnalysisResult;
200
205
  this.workflowState.updateActionConfig(actionConfig);