@finos/legend-application 16.0.42 → 16.0.44

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.
@@ -16,4 +16,8 @@
16
16
  export declare enum LEGEND_APPLICATION_PARAM_TOKEN {
17
17
  INITIAL_COLOR_THEME = "initialColorTheme"
18
18
  }
19
+ /**
20
+ * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle
21
+ */
22
+ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl: (studioApplicationUrl: string, groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => string;
19
23
  //# sourceMappingURL=LegendApplicationNavigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegendApplicationNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendApplicationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,8BAA8B;IACxC,mBAAmB,sBAAsB;CAC1C"}
1
+ {"version":3,"file":"LegendApplicationNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendApplicationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,oBAAY,8BAA8B;IACxC,mBAAmB,sBAAsB;CAC1C;AAED;;GAEG;AACH,eAAO,MAAM,6DAA6D,GACxE,sBAAsB,MAAM,EAC5B,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,WAAW,MAAM,EACjB,YAAY,MAAM,GAAG,SAAS,KAC7B,MAK8C,CAAC"}
@@ -13,8 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import { generateGAVCoordinates } from '@finos/legend-storage';
16
17
  export var LEGEND_APPLICATION_PARAM_TOKEN;
17
18
  (function (LEGEND_APPLICATION_PARAM_TOKEN) {
18
19
  LEGEND_APPLICATION_PARAM_TOKEN["INITIAL_COLOR_THEME"] = "initialColorTheme";
19
20
  })(LEGEND_APPLICATION_PARAM_TOKEN || (LEGEND_APPLICATION_PARAM_TOKEN = {}));
21
+ /**
22
+ * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle
23
+ */
24
+ export const EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl = (studioApplicationUrl, groupId, artifactId, versionId, entityPath) => `${studioApplicationUrl}/view/archive/${generateGAVCoordinates(groupId, artifactId, versionId)}${entityPath ? `/entity/${entityPath}` : ''}`;
20
25
  //# sourceMappingURL=LegendApplicationNavigation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegendApplicationNavigation.js","sourceRoot":"","sources":["../../src/__lib__/LegendApplicationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,8BAEX;AAFD,WAAY,8BAA8B;IACxC,2EAAyC,CAAA;AAC3C,CAAC,EAFW,8BAA8B,KAA9B,8BAA8B,QAEzC"}
1
+ {"version":3,"file":"LegendApplicationNavigation.js","sourceRoot":"","sources":["../../src/__lib__/LegendApplicationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,8BAEX;AAFD,WAAY,8BAA8B;IACxC,2EAAyC,CAAA;AAC3C,CAAC,EAFW,8BAA8B,KAA9B,8BAA8B,QAEzC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,6DAA6D,GAAG,CAC3E,oBAA4B,EAC5B,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,UAA8B,EACtB,EAAE,CACV,GAAG,oBAAoB,iBAAiB,sBAAsB,CAC5D,OAAO,EACP,UAAU,EACV,SAAS,CACV,GAAG,UAAU,CAAC,CAAC,CAAC,WAAW,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application v16.0.42
1
+ /** @license @finos/legend-application v16.0.44
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export * from './__lib__/LegendApplicationEvent.js';
22
22
  export * from './__lib__/LegendApplicationTelemetry.js';
23
23
  export * from './__lib__/LegendApplicationSetting.js';
24
24
  export * from './__lib__/LegendApplicationDocumentation.js';
25
+ export * from './__lib__/LegendApplicationNavigation.js';
25
26
  export { LEGEND_APPLICATION_COLOR_THEME } from './__lib__/LegendApplicationColorTheme.js';
26
27
  export * from './components/ApplicationStoreProvider.js';
27
28
  export * from './components/ApplicationFrameworkProvider.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAEhE,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAE1F,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iDAAiD,CAAC;AAChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,uDAAuD,CAAC;AAE/D,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KA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uDAAuD,CAAC;AAE/D,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iDAAiD,CAAC;AAChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC"}
package/lib/index.js CHANGED
@@ -22,6 +22,7 @@ export * from './__lib__/LegendApplicationEvent.js';
22
22
  export * from './__lib__/LegendApplicationTelemetry.js';
23
23
  export * from './__lib__/LegendApplicationSetting.js';
24
24
  export * from './__lib__/LegendApplicationDocumentation.js';
25
+ export * from './__lib__/LegendApplicationNavigation.js';
25
26
  export { LEGEND_APPLICATION_COLOR_THEME } from './__lib__/LegendApplicationColorTheme.js';
26
27
  export * from './components/ApplicationStoreProvider.js';
27
28
  export * from './components/ApplicationFrameworkProvider.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,+BAA+B,CAAC;AAC9C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oCAAo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2
  "name": "@finos/legend-application",
3
- "version": "16.0.42",
3
+ "version": "16.0.44",
4
4
  "description": "Legend application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -47,6 +47,7 @@
47
47
  "dependencies": {
48
48
  "@finos/legend-art": "workspace:*",
49
49
  "@finos/legend-shared": "workspace:*",
50
+ "@finos/legend-storage": "workspace:*",
50
51
  "@types/react": "19.0.10",
51
52
  "@types/react-dom": "19.0.4",
52
53
  "@types/react-router-dom": "5.3.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application",
3
- "version": "16.0.42",
3
+ "version": "16.0.44",
4
4
  "description": "Legend application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -45,8 +45,9 @@
45
45
  "test:watch": "jest --watch"
46
46
  },
47
47
  "dependencies": {
48
- "@finos/legend-art": "7.1.96",
48
+ "@finos/legend-art": "7.1.98",
49
49
  "@finos/legend-shared": "11.0.11",
50
+ "@finos/legend-storage": "3.0.130",
50
51
  "@types/react": "19.0.10",
51
52
  "@types/react-dom": "19.0.4",
52
53
  "@types/react-router-dom": "5.3.3",
@@ -14,6 +14,24 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
+ import { generateGAVCoordinates } from '@finos/legend-storage';
18
+
17
19
  export enum LEGEND_APPLICATION_PARAM_TOKEN {
18
20
  INITIAL_COLOR_THEME = 'initialColorTheme',
19
21
  }
22
+
23
+ /**
24
+ * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle
25
+ */
26
+ export const EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl = (
27
+ studioApplicationUrl: string,
28
+ groupId: string,
29
+ artifactId: string,
30
+ versionId: string,
31
+ entityPath: string | undefined,
32
+ ): string =>
33
+ `${studioApplicationUrl}/view/archive/${generateGAVCoordinates(
34
+ groupId,
35
+ artifactId,
36
+ versionId,
37
+ )}${entityPath ? `/entity/${entityPath}` : ''}`;
package/src/index.ts CHANGED
@@ -24,6 +24,7 @@ export * from './__lib__/LegendApplicationEvent.js';
24
24
  export * from './__lib__/LegendApplicationTelemetry.js';
25
25
  export * from './__lib__/LegendApplicationSetting.js';
26
26
  export * from './__lib__/LegendApplicationDocumentation.js';
27
+ export * from './__lib__/LegendApplicationNavigation.js';
27
28
  export { LEGEND_APPLICATION_COLOR_THEME } from './__lib__/LegendApplicationColorTheme.js';
28
29
 
29
30
  export * from './components/ApplicationStoreProvider.js';