@finos/legend-extension-dsl-data-space 9.0.7 → 9.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA4DH,eAAO,MAAM,qBAAqB;;CAyBhC,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAgEH,eAAO,MAAM,qBAAqB;;CA4BhC,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer, useLocalObservable } from 'mobx-react-lite';
18
- import { getQueryParameters, sanitizeURL } from '@finos/legend-shared';
18
+ import { getQueryParameters, getQueryParameterValue, sanitizeURL, } from '@finos/legend-shared';
19
19
  import { useApplicationStore, useParams } from '@finos/legend-application';
20
20
  import { useDepotServerClient } from '@finos/legend-server-depot';
21
21
  import { LEGEND_QUERY_PATH_PARAM_TOKEN, QueryEditor, QueryEditorStoreContext, useLegendQueryApplicationStore, } from '@finos/legend-application-query';
@@ -36,7 +36,7 @@ export const DataSpaceQueryCreator = observer(() => {
36
36
  const dataSpacePath = params[DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.DATA_SPACE_PATH];
37
37
  const executionContext = params[DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.EXECUTION_CONTEXT];
38
38
  const runtimePath = params[LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH];
39
- const classPath = getQueryParameters(sanitizeURL(applicationStore.navigator.getCurrentAddress()), true)[DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH];
39
+ const classPath = getQueryParameterValue(getQueryParameters(sanitizeURL(applicationStore.navigator.getCurrentAddress()), true), DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH);
40
40
  return (_jsx(DataSpaceQueryCreatorStoreProvider, { gav: gav, dataSpacePath: dataSpacePath, executionContext: executionContext, runtimePath: runtimePath, classPath: classPath, children: _jsx(QueryEditor, {}) }));
41
41
  });
42
42
  //# sourceMappingURL=DataSpaceQueryCreator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreator.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryCreator.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,6BAA6B,EAC7B,WAAW,EACX,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAGL,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,kCAAkC,GAOnC,CAAC,EACJ,QAAQ,EACR,GAAG,EACH,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,SAAS,GACV,EAAE,EAAE;IACH,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,mBAAmB,CAAC,GAAG,CAAC,CAAC;IACpE,MAAM,gBAAgB,GAAG,8BAA8B,EAAE,CAAC;IAC1D,M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,MAAM,CAAC,MAAM,qBAAqB,GAAG,QAAQ,CAAC,GAAG,EAAE;IACjD,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,MAAM,GAAG,SAAS,EAAmC,CAAC;IAC5D,MAAM,GAAG,GAAG,MAAM,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC;IACtD,MAAM,aAAa,GACjB,MAAM,CAAC,yCAAyC,CAAC,eAAe,CAAC,CAAC;IACpE,MAAM,gBAAgB,GACpB,MAAM,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,CAAC;IACtE,MAAM,WAAW,GAAG,MAAM,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC;IACvE,MAAM,SAAS,GAAG,sBAAsB,CACtC,kBAAkB,CAChB,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC,iBAAiB,EAAE,CAAC,EAC3D,IAAI,CACL,EACD,0CAA0C,CAAC,UAAU,CACtD,CAAC;IAEF,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-extension-dsl-data-space v9.0.7
1
+ /** @license @finos/legend-extension-dsl-data-space v9.0.9
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": "9.0.7",
3
+ "version": "9.0.9",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -53,8 +53,8 @@
53
53
  "@finos/legend-server-depot": "workspace:*",
54
54
  "@finos/legend-shared": "workspace:*",
55
55
  "@finos/legend-storage": "workspace:*",
56
- "@types/react": "18.0.24",
57
- "mobx": "6.6.2",
56
+ "@types/react": "18.0.25",
57
+ "mobx": "6.7.0",
58
58
  "mobx-react-lite": "3.4.0",
59
59
  "react": "18.2.0",
60
60
  "react-dom": "18.2.0",
@@ -62,13 +62,13 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@finos/legend-dev-utils": "workspace:*",
65
- "@jest/globals": "29.2.2",
65
+ "@jest/globals": "29.3.1",
66
66
  "cross-env": "7.0.3",
67
- "eslint": "8.26.0",
68
- "jest": "29.2.2",
67
+ "eslint": "8.27.0",
68
+ "jest": "29.3.1",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
- "sass": "1.55.0",
71
+ "sass": "1.56.1",
72
72
  "typescript": "4.8.4"
73
73
  },
74
74
  "peerDependencies": {
@@ -27,9 +27,9 @@ export interface DataSpaceQueryCreatorPathParams {
27
27
  [DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.EXECUTION_CONTEXT]: string;
28
28
  [LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH]?: string;
29
29
  }
30
- export interface DataSpaceQueryEditorQueryParams {
30
+ export declare type DataSpaceQueryEditorQueryParams = {
31
31
  [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]?: string;
32
- }
32
+ };
33
33
  export declare const DATA_SPACE_QUERY_ROUTE_PATTERN: Readonly<{
34
34
  SETUP: "/dataspace";
35
35
  CREATE: "/dataspace/:gav/:dataSpacePath/:executionContext/:runtimePath?";
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOhF,oBAAY,yCAAyC;IACnD,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;CACvC;AAED,oBAAY,0CAA0C;IACpD,UAAU,UAAU;CACrB;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,yCAAyC,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACpE,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACtE,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;CAClE;AAED,eAAO,MAAM,8BAA8B;;;EAGzC,CAAC;AAEH,eAAO,MAAM,gCAAgC,QAAO,MAIjD,CAAC;AAEJ,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAsBA,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOhF,oBAAY,yCAAyC;IACnD,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;CACvC;AAED,oBAAY,0CAA0C;IACpD,UAAU,UAAU;CACrB;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,yCAAyC,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACpE,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACtE,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,oBAAY,+BAA+B,GAAG;IAC5C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;EAGzC,CAAC;AAEH,eAAO,MAAM,gCAAgC,QAAO,MAIjD,CAAC;AAEJ,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAsBA,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "9.0.7",
3
+ "version": "9.0.9",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,32 +43,32 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "10.0.7",
47
- "@finos/legend-application-query": "9.0.7",
48
- "@finos/legend-application-studio": "20.0.5",
49
- "@finos/legend-art": "5.0.4",
50
- "@finos/legend-extension-dsl-diagram": "7.0.11",
51
- "@finos/legend-graph": "20.0.1",
52
- "@finos/legend-query-builder": "0.4.3",
53
- "@finos/legend-server-depot": "4.1.5",
54
- "@finos/legend-shared": "6.2.1",
55
- "@finos/legend-storage": "3.0.16",
56
- "@types/react": "18.0.24",
57
- "mobx": "6.6.2",
46
+ "@finos/legend-application": "10.0.9",
47
+ "@finos/legend-application-query": "9.0.9",
48
+ "@finos/legend-application-studio": "20.0.7",
49
+ "@finos/legend-art": "5.0.6",
50
+ "@finos/legend-extension-dsl-diagram": "7.1.0",
51
+ "@finos/legend-graph": "20.1.0",
52
+ "@finos/legend-query-builder": "0.5.0",
53
+ "@finos/legend-server-depot": "4.1.7",
54
+ "@finos/legend-shared": "6.2.3",
55
+ "@finos/legend-storage": "3.0.18",
56
+ "@types/react": "18.0.25",
57
+ "mobx": "6.7.0",
58
58
  "mobx-react-lite": "3.4.0",
59
59
  "react": "18.2.0",
60
60
  "react-dom": "18.2.0",
61
61
  "serializr": "3.0.1"
62
62
  },
63
63
  "devDependencies": {
64
- "@finos/legend-dev-utils": "2.0.24",
65
- "@jest/globals": "29.2.2",
64
+ "@finos/legend-dev-utils": "2.0.26",
65
+ "@jest/globals": "29.3.1",
66
66
  "cross-env": "7.0.3",
67
- "eslint": "8.26.0",
68
- "jest": "29.2.2",
67
+ "eslint": "8.27.0",
68
+ "jest": "29.3.1",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
- "sass": "1.55.0",
71
+ "sass": "1.56.1",
72
72
  "typescript": "4.8.4"
73
73
  },
74
74
  "peerDependencies": {
@@ -15,7 +15,11 @@
15
15
  */
16
16
 
17
17
  import { observer, useLocalObservable } from 'mobx-react-lite';
18
- import { getQueryParameters, sanitizeURL } from '@finos/legend-shared';
18
+ import {
19
+ getQueryParameters,
20
+ getQueryParameterValue,
21
+ sanitizeURL,
22
+ } from '@finos/legend-shared';
19
23
  import { useApplicationStore, useParams } from '@finos/legend-application';
20
24
  import { useDepotServerClient } from '@finos/legend-server-depot';
21
25
  import {
@@ -81,10 +85,13 @@ export const DataSpaceQueryCreator = observer(() => {
81
85
  const executionContext =
82
86
  params[DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.EXECUTION_CONTEXT];
83
87
  const runtimePath = params[LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH];
84
- const classPath = getQueryParameters<DataSpaceQueryEditorQueryParams>(
85
- sanitizeURL(applicationStore.navigator.getCurrentAddress()),
86
- true,
87
- )[DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH];
88
+ const classPath = getQueryParameterValue(
89
+ getQueryParameters<DataSpaceQueryEditorQueryParams>(
90
+ sanitizeURL(applicationStore.navigator.getCurrentAddress()),
91
+ true,
92
+ ),
93
+ DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH,
94
+ );
88
95
 
89
96
  return (
90
97
  <DataSpaceQueryCreatorStoreProvider
@@ -41,9 +41,9 @@ export interface DataSpaceQueryCreatorPathParams {
41
41
  [LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH]?: string;
42
42
  }
43
43
 
44
- export interface DataSpaceQueryEditorQueryParams {
44
+ export type DataSpaceQueryEditorQueryParams = {
45
45
  [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]?: string;
46
- }
46
+ };
47
47
 
48
48
  export const DATA_SPACE_QUERY_ROUTE_PATTERN = Object.freeze({
49
49
  SETUP: `/dataspace`,