@finos/legend-extension-dsl-data-space 4.0.1 → 4.0.2

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.
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v4.0.1
1
+ /** @license @finos/legend-extension-dsl-data-space v4.0.2
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": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -52,7 +52,7 @@
52
52
  "@finos/legend-server-depot": "workspace:*",
53
53
  "@finos/legend-shared": "workspace:*",
54
54
  "@finos/legend-studio": "workspace:*",
55
- "@types/react": "18.0.14",
55
+ "@types/react": "18.0.15",
56
56
  "mobx": "6.6.1",
57
57
  "mobx-react-lite": "3.4.0",
58
58
  "react": "18.2.0",
@@ -23,7 +23,7 @@ export interface DataSpaceContext {
23
23
  versionId: string;
24
24
  path: string;
25
25
  }
26
- export declare const createQueryDataSpaceTaggedValue: (dataSpacePath: string, groupId: string, artifactId: string, versionId: string) => QueryTaggedValue;
26
+ export declare const createQueryDataSpaceTaggedValue: (dataSpacePath: string) => QueryTaggedValue;
27
27
  export declare class DataSpaceQuerySetupState extends QuerySetupState {
28
28
  dataSpaces: DataSpaceContext[];
29
29
  loadDataSpacesState: ActionState;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,KAAK,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,KA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CreateQueryInfoState, QuerySetupState, generateCreateQueryRoute, } from '@finos/legend-query';
18
- import { generateGAVCoordinates, DepotScope, ProjectData, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
18
+ import { DepotScope, ProjectData, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
19
19
  import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
20
20
  import { action, flow, flowResult, makeObservable, observable } from 'mobx';
21
21
  import { getDataSpace } from '../../graphManager/DSLDataSpace_GraphManagerHelper.js';
@@ -23,12 +23,11 @@ import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../models/protocols/pure/
23
23
  import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
24
24
  const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
25
25
  const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
26
- const DATA_SPACE_ID_DELIMITER = '@';
27
- export const createQueryDataSpaceTaggedValue = (dataSpacePath, groupId, artifactId, versionId) => {
26
+ export const createQueryDataSpaceTaggedValue = (dataSpacePath) => {
28
27
  const taggedValue = new QueryTaggedValue();
29
28
  taggedValue.profile = QUERY_PROFILE_PATH;
30
29
  taggedValue.tag = QUERY_PROFILE_TAG_DATA_SPACE;
31
- taggedValue.value = `${generateGAVCoordinates(groupId, artifactId, versionId)}${DATA_SPACE_ID_DELIMITER}${dataSpacePath}`;
30
+ taggedValue.value = dataSpacePath;
32
31
  return taggedValue;
33
32
  };
34
33
  export class DataSpaceQuerySetupState extends QuerySetupState {
@@ -124,7 +123,7 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
124
123
  const projectData = ProjectData.serialization.fromJson((yield flowResult(this.queryStore.depotServerClient.getProject(this.dataSpaceViewerState.groupId, this.dataSpaceViewerState.artifactId))));
125
124
  const queryInfoState = new CreateQueryInfoState(this.queryStore, projectData, this.dataSpaceViewerState.versionId, this.dataSpaceViewerState.currentExecutionContext.mapping.value, this.dataSpaceViewerState.currentRuntime);
126
125
  queryInfoState.taggedValues = [
127
- createQueryDataSpaceTaggedValue(this.dataSpaceViewerState.dataSpace.path, this.dataSpaceViewerState.groupId, this.dataSpaceViewerState.artifactId, this.dataSpaceViewerState.versionId),
126
+ createQueryDataSpaceTaggedValue(this.dataSpaceViewerState.dataSpace.path),
128
127
  ];
129
128
  this.queryStore.setQueryInfoState(queryInfoState);
130
129
  this.queryStore.applicationStore.navigator.goTo(generateCreateQueryRoute(this.dataSpaceViewerState.groupId, this.dataSpaceViewerState.artifactId, this.dataSpaceViewerState.versionId, this.dataSpaceViewerState.currentExecutionContext.mapping.value.path, this.dataSpaceViewerState.currentRuntime.path, _class?.path));
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAc,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAEL,oBAAoB,EACpB,eAAe,EACf,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,sBAAsB,EACtB,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AACrF,OAAO,EAAE,kCAAkC,EAAE,MAAM,yEAAyE,CAAC;AAC7H,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AASlE,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AACzD,MAAM,4BAA4B,GAAG,WAAW,CAAC;AACjD,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAEpC,MAAM,CAAC,MAA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,CAAC,oBAAoB,CAAC,OAAO,EACjC,IAAI,CAAC,oBAAoB,CAAC,UAAU,EACpC,IAAI,CAAC,oBAAoB,CAAC,SAAS,EACnC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EACpE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EAC7C,MAAM,EAAE,IAAI,CACb,CACF,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAc,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAEL,oBAAoB,EACpB,eAAe,EACf,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AACrF,OAAO,EAAE,kCAAkC,EAAE,MAAM,yEAAyE,CAAC;AAC7H,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AASlE,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AACzD,MAAM,4BAA4B,GAAG,WAAW,CAAC;AAEjD,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC7C,aAAqB,EACH,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAC3C,WAAW,CAAC,OAAO,G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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,16 +43,16 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "5.1.0",
47
- "@finos/legend-art": "2.0.5",
48
- "@finos/legend-extension-dsl-diagram": "4.1.2",
49
- "@finos/legend-graph": "10.0.0",
50
- "@finos/legend-model-storage": "2.0.5",
51
- "@finos/legend-query": "3.1.0",
52
- "@finos/legend-server-depot": "2.0.5",
53
- "@finos/legend-shared": "4.0.2",
54
- "@finos/legend-studio": "10.3.0",
55
- "@types/react": "18.0.14",
46
+ "@finos/legend-application": "6.0.0",
47
+ "@finos/legend-art": "2.0.6",
48
+ "@finos/legend-extension-dsl-diagram": "4.1.3",
49
+ "@finos/legend-graph": "10.1.0",
50
+ "@finos/legend-model-storage": "2.0.6",
51
+ "@finos/legend-query": "3.2.0",
52
+ "@finos/legend-server-depot": "2.0.6",
53
+ "@finos/legend-shared": "4.0.3",
54
+ "@finos/legend-studio": "11.0.0",
55
+ "@types/react": "18.0.15",
56
56
  "mobx": "6.6.1",
57
57
  "mobx-react-lite": "3.4.0",
58
58
  "react": "18.2.0",
@@ -61,7 +61,7 @@
61
61
  "serializr": "2.0.5"
62
62
  },
63
63
  "devDependencies": {
64
- "@finos/legend-dev-utils": "2.0.4",
64
+ "@finos/legend-dev-utils": "2.0.5",
65
65
  "@jest/globals": "28.1.2",
66
66
  "cross-env": "7.0.3",
67
67
  "eslint": "8.19.0",
@@ -24,7 +24,6 @@ import {
24
24
  } from '@finos/legend-query';
25
25
  import {
26
26
  type StoredEntity,
27
- generateGAVCoordinates,
28
27
  DepotScope,
29
28
  ProjectData,
30
29
  SNAPSHOT_VERSION_ALIAS,
@@ -49,22 +48,14 @@ export interface DataSpaceContext {
49
48
 
50
49
  const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
51
50
  const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
52
- const DATA_SPACE_ID_DELIMITER = '@';
53
51
 
54
52
  export const createQueryDataSpaceTaggedValue = (
55
53
  dataSpacePath: string,
56
- groupId: string,
57
- artifactId: string,
58
- versionId: string,
59
54
  ): QueryTaggedValue => {
60
55
  const taggedValue = new QueryTaggedValue();
61
56
  taggedValue.profile = QUERY_PROFILE_PATH;
62
57
  taggedValue.tag = QUERY_PROFILE_TAG_DATA_SPACE;
63
- taggedValue.value = `${generateGAVCoordinates(
64
- groupId,
65
- artifactId,
66
- versionId,
67
- )}${DATA_SPACE_ID_DELIMITER}${dataSpacePath}`;
58
+ taggedValue.value = dataSpacePath;
68
59
  return taggedValue;
69
60
  };
70
61
 
@@ -214,9 +205,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
214
205
  queryInfoState.taggedValues = [
215
206
  createQueryDataSpaceTaggedValue(
216
207
  this.dataSpaceViewerState.dataSpace.path,
217
- this.dataSpaceViewerState.groupId,
218
- this.dataSpaceViewerState.artifactId,
219
- this.dataSpaceViewerState.versionId,
220
208
  ),
221
209
  ];
222
210
  this.queryStore.setQueryInfoState(queryInfoState);