@finos/legend-application-studio 28.18.147 → 28.19.0

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.
Files changed (160) hide show
  1. package/lib/application/LegendIngestionConfiguration.d.ts +1 -5
  2. package/lib/application/LegendIngestionConfiguration.d.ts.map +1 -1
  3. package/lib/application/LegendIngestionConfiguration.js +1 -8
  4. package/lib/application/LegendIngestionConfiguration.js.map +1 -1
  5. package/lib/components/ElementIconUtils.d.ts.map +1 -1
  6. package/lib/components/ElementIconUtils.js +3 -1
  7. package/lib/components/ElementIconUtils.js.map +1 -1
  8. package/lib/components/editor/editor-group/EditorGroup.d.ts +2 -0
  9. package/lib/components/editor/editor-group/EditorGroup.d.ts.map +1 -1
  10. package/lib/components/editor/editor-group/EditorGroup.js +16 -2
  11. package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
  12. package/lib/components/editor/editor-group/RuntimeEditor.d.ts.map +1 -1
  13. package/lib/components/editor/editor-group/RuntimeEditor.js +3 -1
  14. package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
  15. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
  16. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +3 -3
  17. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  18. package/lib/components/editor/editor-group/dataProduct/DataPoductEditor.d.ts.map +1 -1
  19. package/lib/components/editor/editor-group/dataProduct/DataPoductEditor.js +140 -26
  20. package/lib/components/editor/editor-group/dataProduct/DataPoductEditor.js.map +1 -1
  21. package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -0
  22. package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts.map +1 -1
  23. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +21 -3
  24. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
  25. package/lib/{stores/ingestion/AdhocDataProductDeployResponse.js → components/editor/editor-group/function-activator/MemSQLFunctionActivatorEditor.d.ts} +3 -8
  26. package/lib/components/editor/editor-group/function-activator/MemSQLFunctionActivatorEditor.d.ts.map +1 -0
  27. package/lib/components/editor/editor-group/function-activator/MemSQLFunctionActivatorEditor.js +89 -0
  28. package/lib/components/editor/editor-group/function-activator/MemSQLFunctionActivatorEditor.js.map +1 -0
  29. package/lib/components/editor/editor-group/ingest-editor/IngestDefinitionEditor.js +1 -1
  30. package/lib/components/editor/editor-group/ingest-editor/IngestDefinitionEditor.js.map +1 -1
  31. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  32. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +1 -2
  33. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  34. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
  35. package/lib/components/editor/side-bar/CreateNewElementModal.js +7 -7
  36. package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
  37. package/lib/index.css +2 -2
  38. package/lib/index.css.map +1 -1
  39. package/lib/index.d.ts +2 -0
  40. package/lib/index.d.ts.map +1 -1
  41. package/lib/index.js +2 -0
  42. package/lib/index.js.map +1 -1
  43. package/lib/package.json +2 -1
  44. package/lib/stores/editor/EditorGraphState.d.ts.map +1 -1
  45. package/lib/stores/editor/EditorGraphState.js +4 -1
  46. package/lib/stores/editor/EditorGraphState.js.map +1 -1
  47. package/lib/stores/editor/EditorStore.d.ts +2 -2
  48. package/lib/stores/editor/EditorStore.d.ts.map +1 -1
  49. package/lib/stores/editor/EditorStore.js +2 -2
  50. package/lib/stores/editor/EditorStore.js.map +1 -1
  51. package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -1
  52. package/lib/stores/editor/EditorTabManagerState.js +5 -1
  53. package/lib/stores/editor/EditorTabManagerState.js.map +1 -1
  54. package/lib/stores/editor/NewElementState.d.ts +2 -0
  55. package/lib/stores/editor/NewElementState.d.ts.map +1 -1
  56. package/lib/stores/editor/NewElementState.js +10 -2
  57. package/lib/stores/editor/NewElementState.js.map +1 -1
  58. package/lib/stores/editor/data-cube/LegendStudioDataCubeHelper.d.ts +2 -2
  59. package/lib/stores/editor/data-cube/LegendStudioDataCubeHelper.d.ts.map +1 -1
  60. package/lib/stores/editor/data-cube/LegendStudioDataCubeHelper.js +4 -3
  61. package/lib/stores/editor/data-cube/LegendStudioDataCubeHelper.js.map +1 -1
  62. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.d.ts.map +1 -1
  63. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js +14 -1
  64. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js.map +1 -1
  65. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts +3 -0
  66. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -1
  67. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js +24 -1
  68. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  69. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -1
  70. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js +3 -2
  71. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
  72. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -1
  73. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +4 -1
  74. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
  75. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.d.ts +9 -4
  76. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.d.ts.map +1 -1
  77. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.js +23 -4
  78. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.js.map +1 -1
  79. package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js +3 -3
  80. package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js.map +1 -1
  81. package/lib/stores/editor/editor-state/element-editor-state/function-activator/MemSQLFunctionActivatorEditorState.d.ts +33 -0
  82. package/lib/stores/editor/editor-state/element-editor-state/function-activator/MemSQLFunctionActivatorEditorState.d.ts.map +1 -0
  83. package/lib/stores/editor/editor-state/element-editor-state/function-activator/MemSQLFunctionActivatorEditorState.js +86 -0
  84. package/lib/stores/editor/editor-state/element-editor-state/function-activator/MemSQLFunctionActivatorEditorState.js.map +1 -0
  85. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.d.ts.map +1 -1
  86. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js +28 -2
  87. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js.map +1 -1
  88. package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestDefinitionEditorState.d.ts +2 -3
  89. package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestDefinitionEditorState.d.ts.map +1 -1
  90. package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestDefinitionEditorState.js.map +1 -1
  91. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.d.ts +4 -1
  92. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
  93. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js +24 -1
  94. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
  95. package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js +1 -1
  96. package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js.map +1 -1
  97. package/lib/stores/editor/utils/ModelClassifierUtils.d.ts +1 -0
  98. package/lib/stores/editor/utils/ModelClassifierUtils.d.ts.map +1 -1
  99. package/lib/stores/editor/utils/ModelClassifierUtils.js +1 -0
  100. package/lib/stores/editor/utils/ModelClassifierUtils.js.map +1 -1
  101. package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.d.ts +3 -2
  102. package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.d.ts.map +1 -1
  103. package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.js +7 -4
  104. package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.js.map +1 -1
  105. package/package.json +9 -8
  106. package/src/application/LegendIngestionConfiguration.ts +1 -12
  107. package/src/components/ElementIconUtils.tsx +3 -0
  108. package/src/components/editor/editor-group/EditorGroup.tsx +29 -8
  109. package/src/components/editor/editor-group/RuntimeEditor.tsx +3 -1
  110. package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +3 -2
  111. package/src/components/editor/editor-group/dataProduct/DataPoductEditor.tsx +375 -65
  112. package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +40 -2
  113. package/src/components/editor/editor-group/function-activator/MemSQLFunctionActivatorEditor.tsx +269 -0
  114. package/src/components/editor/editor-group/ingest-editor/IngestDefinitionEditor.tsx +1 -1
  115. package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +1 -2
  116. package/src/components/editor/side-bar/CreateNewElementModal.tsx +38 -6
  117. package/src/index.ts +2 -0
  118. package/src/stores/editor/EditorGraphState.ts +3 -0
  119. package/src/stores/editor/EditorStore.ts +7 -5
  120. package/src/stores/editor/EditorTabManagerState.ts +4 -0
  121. package/src/stores/editor/NewElementState.ts +13 -2
  122. package/src/stores/editor/data-cube/LegendStudioDataCubeHelper.ts +14 -2
  123. package/src/stores/editor/editor-state/element-editor-state/FunctionActivatorState.ts +15 -0
  124. package/src/stores/editor/editor-state/element-editor-state/FunctionEditorState.ts +50 -0
  125. package/src/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.ts +3 -2
  126. package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +4 -1
  127. package/src/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.ts +31 -5
  128. package/src/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.ts +3 -3
  129. package/src/stores/editor/editor-state/element-editor-state/function-activator/MemSQLFunctionActivatorEditorState.ts +130 -0
  130. package/src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts +38 -7
  131. package/src/stores/editor/editor-state/element-editor-state/ingest/IngestDefinitionEditorState.ts +3 -3
  132. package/src/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.ts +51 -0
  133. package/src/stores/editor/panel-group/SQLPlaygroundPanelState.ts +1 -1
  134. package/src/stores/editor/utils/ModelClassifierUtils.ts +1 -0
  135. package/src/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.ts +10 -4
  136. package/tsconfig.json +2 -5
  137. package/lib/stores/ingestion/AdhocDataProductDeployResponse.d.ts +0 -21
  138. package/lib/stores/ingestion/AdhocDataProductDeployResponse.d.ts.map +0 -1
  139. package/lib/stores/ingestion/AdhocDataProductDeployResponse.js.map +0 -1
  140. package/lib/stores/ingestion/IngestDeploymentServerClient.d.ts +0 -35
  141. package/lib/stores/ingestion/IngestDeploymentServerClient.d.ts.map +0 -1
  142. package/lib/stores/ingestion/IngestDeploymentServerClient.js +0 -58
  143. package/lib/stores/ingestion/IngestDeploymentServerClient.js.map +0 -1
  144. package/lib/stores/ingestion/IngestDiscoveryServerClient.d.ts +0 -26
  145. package/lib/stores/ingestion/IngestDiscoveryServerClient.d.ts.map +0 -1
  146. package/lib/stores/ingestion/IngestDiscoveryServerClient.js +0 -35
  147. package/lib/stores/ingestion/IngestDiscoveryServerClient.js.map +0 -1
  148. package/lib/stores/ingestion/IngestionDeploymentResponse.d.ts +0 -41
  149. package/lib/stores/ingestion/IngestionDeploymentResponse.d.ts.map +0 -1
  150. package/lib/stores/ingestion/IngestionDeploymentResponse.js +0 -56
  151. package/lib/stores/ingestion/IngestionDeploymentResponse.js.map +0 -1
  152. package/lib/stores/ingestion/IngestionManager.d.ts +0 -38
  153. package/lib/stores/ingestion/IngestionManager.d.ts.map +0 -1
  154. package/lib/stores/ingestion/IngestionManager.js +0 -111
  155. package/lib/stores/ingestion/IngestionManager.js.map +0 -1
  156. package/src/stores/ingestion/AdhocDataProductDeployResponse.ts +0 -29
  157. package/src/stores/ingestion/IngestDeploymentServerClient.ts +0 -112
  158. package/src/stores/ingestion/IngestDiscoveryServerClient.ts +0 -52
  159. package/src/stores/ingestion/IngestionDeploymentResponse.ts +0 -74
  160. package/src/stores/ingestion/IngestionManager.ts +0 -219
@@ -15,8 +15,9 @@
15
15
  */
16
16
  import { type AccessPoint, type AccessPointGroup, type DataProduct } from '@finos/legend-graph';
17
17
  export declare const dataProduct_deleteAccessPoint: (group: AccessPointGroup, accessPoint: AccessPoint) => void;
18
- export declare const dataProduct_addAccessPoint: (product: AccessPointGroup, accessPoint: AccessPoint) => void;
19
- export declare const accessPointGroup_setDescription: (product: AccessPointGroup, description: string) => void;
18
+ export declare const dataProduct_addAccessPoint: (group: AccessPointGroup, accessPoint: AccessPoint) => void;
19
+ export declare const accessPointGroup_setDescription: (group: AccessPointGroup, description: string) => void;
20
+ export declare const accessPointGroup_setName: (group: AccessPointGroup, name: string) => void;
20
21
  export declare const dataProduct_addAccessPointGroup: (product: DataProduct, accessPointGroup: AccessPointGroup) => void;
21
22
  export declare const dataProduct_deleteAccessPointGroup: (product: DataProduct, accessPointGroup: AccessPointGroup) => void;
22
23
  export declare const dataProduct_setTitle: (product: DataProduct, title: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataProduct_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAGjB,MAAM,qBAAqB,CAAC;AAK7B,eAAO,MAAM,6BAA6B,UAChC,gBAAgB,eAAe,WAAW,SAGnD,CAAC;AAEF,eAAO,MAAM,0BAA0B,YAC3B,gBAAgB,eAAe,WAAW,SAGrD,CAAC;AAEF,eAAO,MAAM,+BAA+B,YAChC,gBAAgB,eAAe,MAAM,SAGhD,CAAC;AAEF,eAAO,MAAM,+BAA+B,YAChC,WAAW,oBAAoB,gBAAgB,SAM1D,CAAC;AAEF,eAAO,MAAM,kCAAkC,YACnC,WAAW,oBAAoB,gBAAgB,SAG1D,CAAC;AAEF,eAAO,MAAM,oBAAoB,YACrB,WAAW,SAAS,MAAM,SAGrC,CAAC;AAEF,eAAO,MAAM,0BAA0B,YAC3B,WAAW,eAAe,MAAM,SAG3C,CAAC"}
1
+ {"version":3,"file":"DSL_DataProduct_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAGjB,MAAM,qBAAqB,CAAC;AAK7B,eAAO,MAAM,6BAA6B,UAChC,gBAAgB,eAAe,WAAW,SAGnD,CAAC;AAEF,eAAO,MAAM,0BAA0B,UAC7B,gBAAgB,eAAe,WAAW,SAGnD,CAAC;AAEF,eAAO,MAAM,+BAA+B,UAClC,gBAAgB,eAAe,MAAM,SAG9C,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAC3B,gBAAgB,QAAQ,MAAM,SAGvC,CAAC;AAEF,eAAO,MAAM,+BAA+B,YAChC,WAAW,oBAAoB,gBAAgB,SAM1D,CAAC;AAEF,eAAO,MAAM,kCAAkC,YACnC,WAAW,oBAAoB,gBAAgB,SAG1D,CAAC;AAEF,eAAO,MAAM,oBAAoB,YACrB,WAAW,SAAS,MAAM,SAGrC,CAAC;AAEF,eAAO,MAAM,0BAA0B,YAC3B,WAAW,eAAe,MAAM,SAG3C,CAAC"}
@@ -19,11 +19,14 @@ import { action } from 'mobx';
19
19
  export const dataProduct_deleteAccessPoint = action((group, accessPoint) => {
20
20
  deleteEntry(group.accessPoints, accessPoint);
21
21
  });
22
- export const dataProduct_addAccessPoint = action((product, accessPoint) => {
23
- addUniqueEntry(product.accessPoints, observe_AccessPoint(accessPoint));
22
+ export const dataProduct_addAccessPoint = action((group, accessPoint) => {
23
+ addUniqueEntry(group.accessPoints, observe_AccessPoint(accessPoint));
24
24
  });
25
- export const accessPointGroup_setDescription = action((product, description) => {
26
- product.description = description;
25
+ export const accessPointGroup_setDescription = action((group, description) => {
26
+ group.description = description;
27
+ });
28
+ export const accessPointGroup_setName = action((group, name) => {
29
+ group.id = name;
27
30
  });
28
31
  export const dataProduct_addAccessPointGroup = action((product, accessPointGroup) => {
29
32
  addUniqueEntry(product.accessPointGroups, observe_AccessPointGroup(accessPointGroup));
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataProduct_GraphModifierHelper.js","sourceRoot":"","sources":["../../../src/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CACjD,CAAC,KAAuB,EAAE,WAAwB,EAAE,EAAE;IACpD,WAAW,CAAC,KAAK,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;AAC/C,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAC9C,CAAC,OAAyB,EAAE,WAAwB,EAAE,EAAE;IACtD,cAAc,CAAC,OAAO,CAAC,YAAY,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC,CAAC;AACzE,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CACnD,CAAC,OAAyB,EAAE,WAAmB,EAAE,EAAE;IACjD,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;AACpC,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CACnD,CAAC,OAAoB,EAAE,gBAAkC,EAAE,EAAE;IAC3D,cAAc,CACZ,OAAO,CAAC,iBAAiB,EACzB,wBAAwB,CAAC,gBAAgB,CAAC,CAC3C,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CACtD,CAAC,OAAoB,EAAE,gBAAkC,EAAE,EAAE;IAC3D,WAAW,CAAC,OAAO,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;AAC3D,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CACxC,CAAC,OAAoB,EAAE,KAAa,EAAE,EAAE;IACtC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;AACxB,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAC9C,CAAC,OAAoB,EAAE,WAAmB,EAAE,EAAE;IAC5C,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;AACpC,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DSL_DataProduct_GraphModifierHelper.js","sourceRoot":"","sources":["../../../src/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CACjD,CAAC,KAAuB,EAAE,WAAwB,EAAE,EAAE;IACpD,WAAW,CAAC,KAAK,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;AAC/C,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAC9C,CAAC,KAAuB,EAAE,WAAwB,EAAE,EAAE;IACpD,cAAc,CAAC,KAAK,CAAC,YAAY,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CACnD,CAAC,KAAuB,EAAE,WAAmB,EAAE,EAAE;IAC/C,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;AAClC,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAC5C,CAAC,KAAuB,EAAE,IAAY,EAAE,EAAE;IACxC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC;AAClB,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CACnD,CAAC,OAAoB,EAAE,gBAAkC,EAAE,EAAE;IAC3D,cAAc,CACZ,OAAO,CAAC,iBAAiB,EACzB,wBAAwB,CAAC,gBAAgB,CAAC,CAC3C,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CACtD,CAAC,OAAoB,EAAE,gBAAkC,EAAE,EAAE;IAC3D,WAAW,CAAC,OAAO,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;AAC3D,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CACxC,CAAC,OAAoB,EAAE,KAAa,EAAE,EAAE;IACtC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;AACxB,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAC9C,CAAC,OAAoB,EAAE,WAAmB,EAAE,EAAE;IAC5C,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;AACpC,CAAC,CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.18.147",
3
+ "version": "28.19.0",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -45,14 +45,15 @@
45
45
  "test:watch": "jest --watch"
46
46
  },
47
47
  "dependencies": {
48
- "@finos/legend-application": "16.0.49",
49
- "@finos/legend-art": "7.1.103",
50
- "@finos/legend-code-editor": "2.0.83",
51
- "@finos/legend-data-cube": "0.2.17",
52
- "@finos/legend-graph": "32.1.41",
53
- "@finos/legend-lego": "2.0.89",
54
- "@finos/legend-query-builder": "4.16.53",
48
+ "@finos/legend-application": "16.0.50",
49
+ "@finos/legend-art": "7.1.104",
50
+ "@finos/legend-code-editor": "2.0.85",
51
+ "@finos/legend-data-cube": "0.2.19",
52
+ "@finos/legend-graph": "32.1.43",
53
+ "@finos/legend-lego": "2.0.91",
54
+ "@finos/legend-query-builder": "4.17.0",
55
55
  "@finos/legend-server-depot": "6.0.92",
56
+ "@finos/legend-server-lakehouse": "0.0.2",
56
57
  "@finos/legend-server-sdlc": "5.3.58",
57
58
  "@finos/legend-server-showcase": "0.2.54",
58
59
  "@finos/legend-shared": "11.0.13",
@@ -14,6 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
+ import { IngestDeploymentServerConfig } from '@finos/legend-server-lakehouse';
17
18
  import {
18
19
  assertNonEmptyString,
19
20
  SerializationFactory,
@@ -36,18 +37,6 @@ export class IngestDeploymentOIDC {
36
37
  );
37
38
  }
38
39
 
39
- export class IngestDeploymentServerConfig {
40
- environmentClassification!: string;
41
- ingestServerUrl!: string;
42
-
43
- static readonly serialization = new SerializationFactory(
44
- createModelSchema(IngestDeploymentServerConfig, {
45
- environmentClassification: primitive(),
46
- ingestServerUrl: primitive(),
47
- }),
48
- );
49
- }
50
-
51
40
  export class IngestionDeploymentConfiguration {
52
41
  oidcConfig!: IngestDeploymentOIDC;
53
42
  defaultServer!: IngestDeploymentServerConfig;
@@ -42,6 +42,7 @@ import {
42
42
  PURE_PackageIcon,
43
43
  PURE_DataIcon,
44
44
  PURE_SnowflakeAppIcon,
45
+ PURE_MemSQLFunctionIcon,
45
46
  LaunchIcon,
46
47
  LinkIcon,
47
48
  PURE_DataProductIcon,
@@ -108,6 +109,8 @@ export const getElementTypeIcon = (
108
109
  return <PURE_SnowflakeAppIcon />;
109
110
  case PACKAGEABLE_ELEMENT_TYPE.INGEST_DEFINITION:
110
111
  return <PURE_IngestIcon />;
112
+ case PACKAGEABLE_ELEMENT_TYPE.MEM_SQL_FUNCTION:
113
+ return <PURE_MemSQLFunctionIcon />;
111
114
  default: {
112
115
  if (type) {
113
116
  const extraElementIconGetters = editorStore.pluginManager
@@ -92,7 +92,13 @@ import { DataProductEditorState } from '../../../stores/editor/editor-state/elem
92
92
  import { DataProductEditor } from './dataProduct/DataPoductEditor.js';
93
93
  import { IngestDefinitionEditorState } from '../../../stores/editor/editor-state/element-editor-state/ingest/IngestDefinitionEditorState.js';
94
94
  import { IngestDefinitionEditor } from './ingest-editor/IngestDefinitionEditor.js';
95
+ import {
96
+ MemSQLFunctionActivatorEditor,
97
+ MemSQLFunctionActivatorEdtiorState,
98
+ } from './EditorGroup.js';
95
99
 
100
+ export { MemSQLFunctionActivatorEditorState as MemSQLFunctionActivatorEdtiorState } from '../../../stores/editor/editor-state/element-editor-state/function-activator/MemSQLFunctionActivatorEditorState.js';
101
+ export { MemSQLFunctionActivatorEditor } from './function-activator/MemSQLFunctionActivatorEditor.js';
96
102
  export const ViewerEditorGroupSplashScreen: React.FC = () => {
97
103
  const commandListWidth = 300;
98
104
  const commandListHeight = 50;
@@ -309,6 +315,10 @@ export const EditorGroup = observer(() => {
309
315
  key={currentTabState.uuid}
310
316
  />
311
317
  );
318
+ } else if (
319
+ currentTabState instanceof MemSQLFunctionActivatorEdtiorState
320
+ ) {
321
+ return <MemSQLFunctionActivatorEditor key={currentTabState.uuid} />;
312
322
  } else if (currentTabState instanceof UnsupportedElementEditorState) {
313
323
  return <UnsupportedElementEditor key={currentTabState.uuid} />;
314
324
  } else if (
@@ -371,14 +381,25 @@ export const EditorGroup = observer(() => {
371
381
  } else if (
372
382
  currentTabState instanceof QueryConnectionEndToEndWorkflowEditorState
373
383
  ) {
374
- return (
375
- <QueryConnectionWorflowEditor
376
- connectionToQueryWorkflowState={
377
- editorStore.globalEndToEndWorkflowState
378
- .queryToConnectionWorkflowEditorState
379
- }
380
- />
381
- );
384
+ if (
385
+ editorStore.globalEndToEndWorkflowState
386
+ .queryToConnectionWorkflowEditorState.packageableConnection
387
+ ?.connectionValue.store
388
+ ) {
389
+ return (
390
+ <QueryConnectionWorflowEditor
391
+ connectionToQueryWorkflowState={
392
+ editorStore.globalEndToEndWorkflowState
393
+ .queryToConnectionWorkflowEditorState
394
+ }
395
+ />
396
+ );
397
+ } else {
398
+ editorStore.applicationStore.notificationService.notifyError(
399
+ `Cannot open query to connection workflow editor because the connection does not have a store`,
400
+ );
401
+ return null;
402
+ }
382
403
  }
383
404
  // TODO: create an editor for unsupported tab
384
405
  return null;
@@ -128,7 +128,9 @@ const getConnectionTooltipText = (
128
128
  } else if (connectionValue instanceof FlatDataConnection) {
129
129
  return `Flat-data connection \u2022 Flat-data store ${connectionValue.store.value.path}`;
130
130
  } else if (connectionValue instanceof RelationalDatabaseConnection) {
131
- return `Relational database connection \u2020 database store ${connectionValue.store.value.path}`;
131
+ return connectionValue.store
132
+ ? `Relational database connection \u2020 database store ${connectionValue.store.value.path}`
133
+ : `Relational database connection`;
132
134
  } else if (connectionValue instanceof ModelChainConnection) {
133
135
  return `Model chain connection \u2022`;
134
136
  }
@@ -1158,11 +1158,11 @@ const RelationalConnectionStoreEditor = observer(
1158
1158
  const stores =
1159
1159
  connectionValueState.editorStore.graphManagerState.graph.ownStores;
1160
1160
  const options = stores.map(buildElementOption);
1161
- const store = connection.store.value;
1161
+ const store = connection.store?.value;
1162
1162
 
1163
1163
  const selectedStore = {
1164
1164
  value: store,
1165
- label: isStoreEmpty ? noStoreLabel : store.path,
1165
+ label: isStoreEmpty ? noStoreLabel : store?.path,
1166
1166
  } as PackageableElementOption<Store>;
1167
1167
  const onStoreChange = (
1168
1168
  val: PackageableElementOption<Store> | null,
@@ -1202,6 +1202,7 @@ const RelationalConnectionStoreEditor = observer(
1202
1202
  <button
1203
1203
  className="relational-connection-editor-btn btn--dark"
1204
1204
  onClick={openDatabaseBuilder}
1205
+ disabled={Boolean(isStoreEmpty)}
1205
1206
  >
1206
1207
  Build Database
1207
1208
  </button>