@finos/legend-application-query 13.5.24 → 13.5.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,10 +16,10 @@
16
16
  export declare enum DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN {
17
17
  GAV = "gav",
18
18
  DATA_SPACE_PATH = "dataSpacePath",
19
- EXECUTION_CONTEXT = "executionContext",
20
- RUNTIME_PATH = "runtimePath"
19
+ EXECUTION_CONTEXT = "executionContext"
21
20
  }
22
21
  export declare enum DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN {
22
+ RUNTIME_PATH = "runtimePath",
23
23
  CLASS_PATH = "class"
24
24
  }
25
25
  export declare enum DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN {
@@ -32,7 +32,6 @@ export type DataSpaceQueryCreatorPathParams = {
32
32
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
33
33
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
34
34
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT]: string;
35
- [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH]?: string;
36
35
  };
37
36
  export type DataSpaceTemplateQueryCreatorPathParams = {
38
37
  [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
@@ -44,7 +43,7 @@ export type DataSpaceQueryEditorQueryParams = {
44
43
  };
45
44
  export declare const LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN: Readonly<{
46
45
  SETUP: "/dataspace";
47
- CREATE: "/dataspace/:gav/:dataSpacePath/:executionContext/:runtimePath?";
46
+ CREATE: "/dataspace/:gav/:dataSpacePath/:executionContext?";
48
47
  TEMPLATE_QUERY: "/dataspace/:gav/:dataSpacePath/:template/:templateQueryId";
49
48
  }>;
50
49
  export declare const generateDataSpaceQuerySetupRoute: () => string;
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,oBAAY,4CAA4C;IACtD,GAAG,QAAQ;IACX,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;IACtC,YAAY,gBAAgB;CAC7B;AAED,oBAAY,0CAA0C;IACpD,UAAU,UAAU;CACrB;AAED,oBAAY,qDAAqD;IAC/D,GAAG,QAAQ;IACX,eAAe,kBAAkB;IACjC,QAAQ,aAAa;IACrB,iBAAiB,oBAAoB;CACtC;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC5C,CAAC,4CAA4C,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC3D,CAAC,4CAA4C,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACvE,CAAC,4CAA4C,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACzE,CAAC,4CAA4C,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACtE,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG;IACpD,CAAC,qDAAqD,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACpE,CAAC,qDAAqD,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAChF,CAAC,qDAAqD,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CACnF,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;EAIhD,CAAC;AAEH,eAAO,MAAM,gCAAgC,QAAO,MAIjD,CAAC;AAEJ,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gB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EJ,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAqBA,CAAC;AAEJ,eAAO,MAAM,0CAA0C,YAC5C,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,mBACJ,MAAM,KACtB,MAeA,CAAC"}
@@ -21,10 +21,10 @@ export var DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN;
21
21
  DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["GAV"] = "gav";
22
22
  DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["DATA_SPACE_PATH"] = "dataSpacePath";
23
23
  DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["EXECUTION_CONTEXT"] = "executionContext";
24
- DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["RUNTIME_PATH"] = "runtimePath";
25
24
  })(DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN || (DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN = {}));
26
25
  export var DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN;
27
26
  (function (DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN) {
27
+ DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN["RUNTIME_PATH"] = "runtimePath";
28
28
  DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN["CLASS_PATH"] = "class";
29
29
  })(DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN || (DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN = {}));
30
30
  export var DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN;
@@ -36,7 +36,7 @@ export var DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN;
36
36
  })(DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN || (DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN = {}));
37
37
  export const LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN = Object.freeze({
38
38
  SETUP: `/dataspace`,
39
- CREATE: `/dataspace/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH}?`,
39
+ CREATE: `/dataspace/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT}?`,
40
40
  TEMPLATE_QUERY: `/dataspace/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID}`,
41
41
  });
42
42
  export const generateDataSpaceQuerySetupRoute = () => generatePath(generateExtensionUrlPattern(LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP), {});
@@ -44,8 +44,10 @@ export const generateDataSpaceQueryCreatorRoute = (groupId, artifactId, versionI
44
44
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: generateGAVCoordinates(groupId, artifactId, versionId),
45
45
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: dataSpacePath,
46
46
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT]: executionContextKey,
47
- [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH]: runtimePath,
48
47
  }), stringifyQueryParams({
48
+ [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.RUNTIME_PATH]: runtimePath
49
+ ? encodeURIComponent(runtimePath)
50
+ : undefined,
49
51
  [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]: classPath
50
52
  ? encodeURIComponent(classPath)
51
53
  : undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.js","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,4CAKX;AALD,WAAY,4CAA4C;IACtD,2DAAW,CAAA;IACX,iFAAiC,CAAA;IACjC,sFAAsC,CAAA;IACtC,4EAA4B,CAAA;AAC9B,CAAC,EALW,4CAA4C,KAA5C,4CAA4C,QAKvD;AAED,MAAM,CAAN,IAAY,0CAEX;AAFD,WAAY,0CAA0C;IACpD,kEAAoB,CAAA;AACtB,CAAC,EAFW,0CAA0C,KAA1C,0CAA0C,QAErD;AAED,MAAM,CAAN,IAAY,qDAKX;AALD,WAAY,qDAAqD;IAC/D,oEAAW,CAAA;IACX,0FAAiC,CAAA;IACjC,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AAEJ,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,eAAuB,EACf,EAAE,CACV,YAAY,CACV,2BAA2B,CACzB,qCAAqC,CAAC,cAAc,CACrD,EACD;IACE,CAAC,qDAAqD,CAAC,GAAG,CAAC,EACzD,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC;IACxD,CAAC,qDAAqD,CAAC,eAAe,CAAC,EACrE,aAAa;IACf,CAAC,qDAAqD,CAAC,QAAQ,CAAC,EAC9D,qDAAqD,CAAC,QAAQ;IAChE,CAAC,qDAAqD,CAAC,iBAAiB,CAAC,EACvE,eAAe;CAClB,CACF,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.js","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,4CAIX;AAJD,WAAY,4CAA4C;IACtD,2DAAW,CAAA;IACX,iFAAiC,CAAA;IACjC,sFAAsC,CAAA;AACxC,CAAC,EAJW,4CAA4C,KAA5C,4CAA4C,QAIvD;AAED,MAAM,CAAN,IAAY,0CAGX;AAHD,WAAY,0CAA0C;IACpD,0EAA4B,CAAA;IAC5B,kEAAoB,CAAA;AACtB,CAAC,EAHW,0CAA0C,KAA1C,0CAA0C,QAGrD;AAED,MAAM,CAAN,IAAY,qDAKX;AALD,WAAY,qDAAqD;IAC/D,oEAAW,CAAA;IACX,0FAAiC,CAAA;IACjC,8EAAqB,CAAA;IACrB,8FAAqC,CAAA;AACvC,CAAC,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,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,eAAuB,EACf,EAAE,CACV,YAAY,CACV,2BAA2B,CACzB,qCAAqC,CAAC,cAAc,CACrD,EACD;IACE,CAAC,qDAAqD,CAAC,GAAG,CAAC,EACzD,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC;IACxD,CAAC,qDAAqD,CAAC,eAAe,CAAC,EACrE,aAAa;IACf,CAAC,qDAAqD,CAAC,QAAQ,CAAC,EAC9D,qDAAqD,CAAC,QAAQ;IAChE,CAAC,qDAAqD,CAAC,iBAAiB,CAAC,EACvE,eAAe;CAClB,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/data-space/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0EH,eAAO,MAAM,qBAAqB;;CA4BhC,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/data-space/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0EH,eAAO,MAAM,qBAAqB;;CA8BhC,CAAC"}
@@ -53,7 +53,7 @@ export const DataSpaceQueryCreator = observer(() => {
53
53
  const gav = parameters?.[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV];
54
54
  const dataSpacePath = parameters?.[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH];
55
55
  const executionContext = parameters?.[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT];
56
- const runtimePath = parameters?.[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH];
56
+ const runtimePath = applicationStore.navigationService.navigator.getCurrentLocationParameterValue(DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.RUNTIME_PATH);
57
57
  const classPath = applicationStore.navigationService.navigator.getCurrentLocationParameterValue(DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH);
58
58
  return (_jsx(DataSpaceQueryCreatorStoreProvider, { gav: gav, dataSpacePath: dataSpacePath, executionContext: executionContext, runtimePath: runtimePath, classPath: classPath, children: _jsx(QueryEditor, {}) }));
59
59
  });
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreator.js","sourceRoot":"","sources":["../../../src/components/data-space/DataSpaceQueryCreator.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,0BAA0B,GAE3B,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,GAE7C,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,kCAAkC,GAOnC,CAAC,EACJ,QAAQ,EACR,GAAG,EACH,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,SAAS,GACV,EAAE,EAAE;IACH,IAAI,kBAAkB,GAAmC,SAAS,CAAC;IAC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ACpB,UAAU,EAAE,CACV,4CAA4C,CAAC,iBAAiB,CAC/D,CAAC;IACJ,MAAM,WAAW,GACf,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,gCAAgC,CAC3E,0CAA0C,CAAC,YAAY,CACxD,CAAC;IACJ,MAAM,SAAS,GACb,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,gCAAgC,CAC3E,0CAA0C,CAAC,UAAU,CACtD,CAAC;IAEJ,OAAO,CACL,KAAC,kCAAkC,IACjC,GAAG,EAAE,GAAG,EACR,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,YAEpB,KAAC,WAAW,KAAG,GACoB,CACtC,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-query v13.5.24
1
+ /** @license @finos/legend-application-query v13.5.26
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-application-query",
3
- "version": "13.5.24",
3
+ "version": "13.5.26",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.5.24",
3
+ "version": "13.5.26",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,15 +43,15 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "15.1.19",
47
- "@finos/legend-art": "7.1.47",
48
- "@finos/legend-extension-dsl-data-space": "10.3.45",
49
- "@finos/legend-graph": "31.10.17",
50
- "@finos/legend-lego": "1.2.53",
51
- "@finos/legend-query-builder": "4.14.67",
52
- "@finos/legend-server-depot": "6.0.54",
53
- "@finos/legend-shared": "10.0.49",
54
- "@finos/legend-storage": "3.0.99",
46
+ "@finos/legend-application": "15.1.21",
47
+ "@finos/legend-art": "7.1.49",
48
+ "@finos/legend-extension-dsl-data-space": "10.3.47",
49
+ "@finos/legend-graph": "31.10.19",
50
+ "@finos/legend-lego": "1.2.55",
51
+ "@finos/legend-query-builder": "4.14.69",
52
+ "@finos/legend-server-depot": "6.0.55",
53
+ "@finos/legend-shared": "10.0.50",
54
+ "@finos/legend-storage": "3.0.100",
55
55
  "@testing-library/dom": "10.4.0",
56
56
  "@testing-library/react": "16.0.0",
57
57
  "@types/react": "18.3.3",
@@ -63,7 +63,7 @@
63
63
  "serializr": "3.0.2"
64
64
  },
65
65
  "devDependencies": {
66
- "@finos/legend-dev-utils": "2.1.16",
66
+ "@finos/legend-dev-utils": "2.1.17",
67
67
  "@jest/globals": "29.7.0",
68
68
  "cross-env": "7.0.3",
69
69
  "eslint": "8.57.0",
@@ -28,10 +28,10 @@ export enum DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN {
28
28
  GAV = 'gav',
29
29
  DATA_SPACE_PATH = 'dataSpacePath',
30
30
  EXECUTION_CONTEXT = 'executionContext',
31
- RUNTIME_PATH = 'runtimePath',
32
31
  }
33
32
 
34
33
  export enum DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN {
34
+ RUNTIME_PATH = 'runtimePath',
35
35
  CLASS_PATH = 'class',
36
36
  }
37
37
 
@@ -46,7 +46,6 @@ export type DataSpaceQueryCreatorPathParams = {
46
46
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
47
47
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
48
48
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT]: string;
49
- [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH]?: string;
50
49
  };
51
50
 
52
51
  export type DataSpaceTemplateQueryCreatorPathParams = {
@@ -61,7 +60,7 @@ export type DataSpaceQueryEditorQueryParams = {
61
60
 
62
61
  export const LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN = Object.freeze({
63
62
  SETUP: `/dataspace`,
64
- CREATE: `/dataspace/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH}?`,
63
+ CREATE: `/dataspace/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT}?`,
65
64
  TEMPLATE_QUERY: `/dataspace/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID}`,
66
65
  });
67
66
 
@@ -90,11 +89,12 @@ export const generateDataSpaceQueryCreatorRoute = (
90
89
  dataSpacePath,
91
90
  [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT]:
92
91
  executionContextKey,
93
- [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH]:
94
- runtimePath,
95
92
  },
96
93
  ),
97
94
  stringifyQueryParams({
95
+ [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.RUNTIME_PATH]: runtimePath
96
+ ? encodeURIComponent(runtimePath)
97
+ : undefined,
98
98
  [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]: classPath
99
99
  ? encodeURIComponent(classPath)
100
100
  : undefined,
@@ -97,7 +97,9 @@ export const DataSpaceQueryCreator = observer(() => {
97
97
  DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT
98
98
  ];
99
99
  const runtimePath =
100
- parameters?.[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH];
100
+ applicationStore.navigationService.navigator.getCurrentLocationParameterValue(
101
+ DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.RUNTIME_PATH,
102
+ );
101
103
  const classPath =
102
104
  applicationStore.navigationService.navigator.getCurrentLocationParameterValue(
103
105
  DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH,