@finos/legend-application-studio 28.15.3 → 28.15.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. package/lib/__lib__/LegendStudioNavigation.d.ts +1 -1
  2. package/lib/components/LegendStudioWebApplication.js +2 -2
  3. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +22 -0
  4. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts.map +1 -0
  5. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +26 -0
  6. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -0
  7. package/lib/components/{workspace-review/WorkspaceReviewSideBar.d.ts → project-reviewer/ProjectReviewSideBar.d.ts} +2 -2
  8. package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts.map +1 -0
  9. package/lib/components/{workspace-review/WorkspaceReviewSideBar.js → project-reviewer/ProjectReviewSideBar.js} +34 -18
  10. package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -0
  11. package/lib/components/{workspace-review/WorkspaceReviewStoreProvider.d.ts → project-reviewer/ProjectReviewStoreProvider.d.ts} +5 -5
  12. package/lib/components/project-reviewer/ProjectReviewStoreProvider.d.ts.map +1 -0
  13. package/lib/components/{workspace-review/WorkspaceReviewStoreProvider.js → project-reviewer/ProjectReviewStoreProvider.js} +9 -9
  14. package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -0
  15. package/lib/components/{workspace-review/WorkspaceReview.d.ts → project-reviewer/ProjectReviewer.d.ts} +2 -2
  16. package/lib/components/project-reviewer/ProjectReviewer.d.ts.map +1 -0
  17. package/lib/components/{workspace-review/WorkspaceReview.js → project-reviewer/ProjectReviewer.js} +19 -28
  18. package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -0
  19. package/lib/components/{workspace-review/WorkspaceReviewPanel.d.ts → project-reviewer/ProjectReviewerPanel.d.ts} +2 -2
  20. package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts.map +1 -0
  21. package/lib/components/{workspace-review/WorkspaceReviewPanel.js → project-reviewer/ProjectReviewerPanel.js} +26 -10
  22. package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -0
  23. package/lib/index.css +1 -1
  24. package/lib/package.json +1 -1
  25. package/lib/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.d.ts +24 -0
  26. package/lib/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.d.ts.map +1 -0
  27. package/lib/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.js +26 -0
  28. package/lib/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.js.map +1 -0
  29. package/lib/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.d.ts +31 -0
  30. package/lib/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.d.ts.map +1 -0
  31. package/lib/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.js +39 -0
  32. package/lib/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.js.map +1 -0
  33. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.d.ts.map +1 -1
  34. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js +2 -2
  35. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js.map +1 -1
  36. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.d.ts +1 -1
  37. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.d.ts.map +1 -1
  38. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js +5 -4
  39. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js.map +1 -1
  40. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +1 -1
  41. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
  42. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts +2 -2
  43. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +1 -1
  44. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js +2 -2
  45. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -1
  46. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts +0 -2
  47. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -1
  48. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +1 -3
  49. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
  50. package/lib/stores/project-reviewer/ProjectReviewerStore.d.ts +73 -0
  51. package/lib/stores/project-reviewer/ProjectReviewerStore.d.ts.map +1 -0
  52. package/lib/stores/project-reviewer/ProjectReviewerStore.js +303 -0
  53. package/lib/stores/project-reviewer/ProjectReviewerStore.js.map +1 -0
  54. package/package.json +5 -5
  55. package/src/__lib__/LegendStudioNavigation.ts +1 -1
  56. package/src/components/LegendStudioWebApplication.tsx +2 -2
  57. package/src/components/editor/editor-group/diff-editor/ProjectConfigDiffView.tsx +60 -0
  58. package/src/components/{workspace-review/WorkspaceReviewSideBar.tsx → project-reviewer/ProjectReviewSideBar.tsx} +91 -11
  59. package/src/components/{workspace-review/WorkspaceReviewStoreProvider.tsx → project-reviewer/ProjectReviewStoreProvider.tsx} +13 -13
  60. package/src/components/{workspace-review/WorkspaceReview.tsx → project-reviewer/ProjectReviewer.tsx} +25 -55
  61. package/src/components/{workspace-review/WorkspaceReviewPanel.tsx → project-reviewer/ProjectReviewerPanel.tsx} +54 -36
  62. package/src/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.ts +34 -0
  63. package/src/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.ts +56 -0
  64. package/src/stores/editor/editor-state/element-editor-state/FunctionActivatorState.ts +2 -1
  65. package/src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts +6 -3
  66. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +1 -1
  67. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts +2 -2
  68. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +1 -3
  69. package/src/stores/{workspace-review/WorkspaceReviewStore.ts → project-reviewer/ProjectReviewerStore.ts} +235 -57
  70. package/tsconfig.json +8 -5
  71. package/lib/components/workspace-review/WorkspaceReview.d.ts.map +0 -1
  72. package/lib/components/workspace-review/WorkspaceReview.js.map +0 -1
  73. package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +0 -1
  74. package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +0 -1
  75. package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts.map +0 -1
  76. package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +0 -1
  77. package/lib/components/workspace-review/WorkspaceReviewStoreProvider.d.ts.map +0 -1
  78. package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js.map +0 -1
  79. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +0 -47
  80. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +0 -1
  81. package/lib/stores/workspace-review/WorkspaceReviewStore.js +0 -207
  82. package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +0 -1
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type PlainObject } from '@finos/legend-shared';
17
+ import type { ProjectConfiguration } from '@finos/legend-server-sdlc';
18
+ import type { EditorStore } from '../../EditorStore.js';
19
+ import { EditorDiffViewerState } from './EditorDiffViewerState.js';
20
+ import type { SPECIAL_REVISION_ALIAS } from '../entity-diff-editor-state/EntityDiffEditorState.js';
21
+ import type { EditorState } from '../EditorState.js';
22
+ export declare const PROJECT_CONFIGURATION = "PROJECT_CONFIGURATION";
23
+ export declare class ProjectConfigurationDiffEditorState extends EditorDiffViewerState {
24
+ fromConfig: PlainObject<ProjectConfiguration>;
25
+ toConfig: PlainObject<ProjectConfiguration>;
26
+ constructor(fromConfig: PlainObject<ProjectConfiguration>, toConfig: PlainObject<ProjectConfiguration>, editorStore: EditorStore, fromRevision: SPECIAL_REVISION_ALIAS | string, toRevision: SPECIAL_REVISION_ALIAS | string);
27
+ get label(): string;
28
+ match(tab: EditorState): boolean;
29
+ get description(): string;
30
+ }
31
+ //# sourceMappingURL=ProjectConfigurationDiffEditorState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectConfigurationDiffEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAmB,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,qBAAa,mCAAoC,SAAQ,qBAAqB;IAC5E,UAAU,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC9C,QAAQ,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;gBAE1C,UAAU,EAAE,WAAW,CAAC,oBAAoB,CAAC,EAC7C,QAAQ,EAAE,WAAW,CAAC,oBAAoB,CAAC,EAC3C,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,sBAAsB,GAAG,MAAM,EAC7C,UAAU,EAAE,sBAAsB,GAAG,MAAM;IAO7C,IAAa,KAAK,IAAI,MAAM,CAE3B;IAEQ,KAAK,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO;IAQzC,IAAa,WAAW,IAAI,MAAM,CAEjC;CACF"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { prettyCONSTName } from '@finos/legend-shared';
17
+ import { EditorDiffViewerState } from './EditorDiffViewerState.js';
18
+ export const PROJECT_CONFIGURATION = 'PROJECT_CONFIGURATION';
19
+ export class ProjectConfigurationDiffEditorState extends EditorDiffViewerState {
20
+ fromConfig;
21
+ toConfig;
22
+ constructor(fromConfig, toConfig, editorStore, fromRevision, toRevision) {
23
+ super(fromRevision, toRevision, editorStore);
24
+ this.fromConfig = fromConfig;
25
+ this.toConfig = toConfig;
26
+ }
27
+ get label() {
28
+ return prettyCONSTName(PROJECT_CONFIGURATION);
29
+ }
30
+ match(tab) {
31
+ return (tab instanceof ProjectConfigurationDiffEditorState &&
32
+ tab.fromRevision === this.fromRevision &&
33
+ tab.toRevision === this.toRevision);
34
+ }
35
+ get description() {
36
+ return prettyCONSTName(PROJECT_CONFIGURATION);
37
+ }
38
+ }
39
+ //# sourceMappingURL=ProjectConfigurationDiffEditorState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectConfigurationDiffEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAoB,MAAM,sBAAsB,CAAC;AAGzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAInE,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAE7D,MAAM,OAAO,mCAAoC,SAAQ,qBAAqB;IAC5E,UAAU,CAAoC;IAC9C,QAAQ,CAAoC;IAC5C,YACE,UAA6C,EAC7C,QAA2C,EAC3C,WAAwB,EACxB,YAA6C,EAC7C,UAA2C;QAE3C,KAAK,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC;QAC7C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED,IAAa,KAAK;QAChB,OAAO,eAAe,CAAC,qBAAqB,CAAC,CAAC;IAChD,CAAC;IAEQ,KAAK,CAAC,GAAgB;QAC7B,OAAO,CACL,GAAG,YAAY,mCAAmC;YAClD,GAAG,CAAC,YAAY,KAAK,IAAI,CAAC,YAAY;YACtC,GAAG,CAAC,UAAU,KAAK,IAAI,CAAC,UAAU,CACnC,CAAC;IACJ,CAAC;IAED,IAAa,WAAW;QACtB,OAAO,eAAe,CAAC,qBAAqB,CAAC,CAAC;IAChD,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionActivatorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/FunctionActivatorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EAMvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAKxD,qBAAa,sBAAsB;IACjC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAElD,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,UAAS;IAC7B,6BAA6B,UAAS;IACtC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;gBAErB,mBAAmB,EAAE,mBAAmB;IAkBpD,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI3C,gCAAgC,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIpD,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAI9C,yBAAyB,IAAI,IAAI;IAIjC,0BAA0B,IAAI,IAAI;IAIlC,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAItC,uBAAuB,CACrB,eAAe,EAAE,0BAA0B,GAC1C,iBAAiB,GAAG,SAAS;IAsB/B,QAAQ,CAAC,eAAe,EAAE,0BAA0B,GAAG,WAAW,CAAC,IAAI,CAAC;CAqB1E"}
1
+ {"version":3,"file":"FunctionActivatorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/FunctionActivatorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EAOvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAKxD,qBAAa,sBAAsB;IACjC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAElD,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,UAAS;IAC7B,6BAA6B,UAAS;IACtC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;gBAErB,mBAAmB,EAAE,mBAAmB;IAkBpD,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI3C,gCAAgC,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIpD,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAI9C,yBAAyB,IAAI,IAAI;IAIjC,0BAA0B,IAAI,IAAI;IAIlC,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAItC,uBAAuB,CACrB,eAAe,EAAE,0BAA0B,GAC1C,iBAAiB,GAAG,SAAS;IAsB/B,QAAQ,CAAC,eAAe,EAAE,0BAA0B,GAAG,WAAW,CAAC,IAAI,CAAC;CAqB1E"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { action, flow, flowResult, makeObservable, observable } from 'mobx';
17
- import { PackageableElementExplicitReference, SnowflakeApp, extractElementNameFromPath, extractPackagePathFromPath, SnowflakeAppDeploymentConfiguration, } from '@finos/legend-graph';
17
+ import { PackageableElementExplicitReference, SnowflakeApp, extractElementNameFromPath, extractPackagePathFromPath, SnowflakeAppDeploymentConfiguration, DeploymentOwner, } from '@finos/legend-graph';
18
18
  import {} from '@finos/legend-shared';
19
19
  import { FUNCTION_ACTIVATE_TYPE } from '../../../../components/editor/editor-group/function-activator/FunctionEditor.js';
20
20
  const BASE_ACTIVATOR_NAME = 'NewActivator';
@@ -68,7 +68,7 @@ export class FunctionActivatorState {
68
68
  const snowflakeApp = new SnowflakeApp(activatorName);
69
69
  snowflakeApp.applicationName = '';
70
70
  snowflakeApp.description = '';
71
- snowflakeApp.owner = undefined;
71
+ snowflakeApp.ownership = new DeploymentOwner('', snowflakeApp);
72
72
  snowflakeApp.function =
73
73
  PackageableElementExplicitReference.create(functionElement);
74
74
  snowflakeApp.activationConfiguration =
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionActivatorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/FunctionActivatorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE5E,OAAO,EAGL,mCAAmC,EACnC,YAAY,EACZ,0BAA0B,EAC1B,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAoB,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iFAAiF,CAAC;AAEzH,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAE3C,MAAM,OAAO,sBAAsB;IACxB,mBAAmB,CAAsB;IAElD,aAAa,CAAS;IACtB,oBAAoB,GAAG,KAAK,CAAC;IAC7B,6BAA6B,GAAG,KAAK,CAAC;IACtC,YAAY,CAAqB;IAEjC,YAAY,mBAAwC;QAClD,cAAc,CAAC,IAAI,EAAE;YACnB,aAAa,EAAE,UAAU;YACzB,oBAAoB,EAAE,UAAU;YAChC,6BAA6B,EAAE,UAAU;YACzC,YAAY,EAAE,UAAU;YACxB,eAAe,EAAE,MAAM;YACvB,mBAAmB,EAAE,MAAM;YAC3B,uBAAuB,EAAE,MAAM;YAC/B,gCAAgC,EAAE,MAAM;YACxC,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC;QAEH,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,YAAY,GAAG,sBAAsB,CAAC,oBAAoB,CAAC;QAChE,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BAClC,IAAI,mCAAmC,EAAE,CAAC;gBAC5C,OAAO,YAAY,CAAC;aACrB;YACD;gBACE,OAAO,SAAS,CAAC;SACpB;IACH,CAAC;IAED,CAAC,QAAQ,CAAC,eAA2C;QACnD,MAAM,iBAAiB,GAAG,IAAI,CAAC,uBAAuB,CAAC,eAAe,CAAC,CAAC;QACxE,IAAI,CAAC,iBAAiB,EAAE;YACtB,OAAO;SACR;QACD,IAAI;YACF,MAAM,UAAU,CACd,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,eAAe,CAAC,UAAU,CAC7D,iBAAiB,EACjB,0BAA0B,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,aAAa,EACpE,IAAI,CACL,CACF,CAAC;SACH;QAAC,MAAM;YACN,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACnF,yBAAyB,CAC1B,CAAC;SACH;gBAAS;YACR,IAAI,CAAC,eAAe,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,CAAC;SACnE;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"FunctionActivatorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/FunctionActivatorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE5E,OAAO,EAGL,mCAAmC,EACnC,YAAY,EACZ,0BAA0B,EAC1B,0BAA0B,EAC1B,mCAAmC,EACnC,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAoB,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iFAAiF,CAAC;AAEzH,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAE3C,MAAM,OAAO,sBAAsB;IACxB,mBAAmB,CAAsB;IAElD,aA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@ -23,7 +23,7 @@ export declare class SnowflakeAppFunctionActivatorEdtiorState extends ElementEdi
23
23
  constructor(editorStore: EditorStore, element: SnowflakeApp);
24
24
  get activator(): SnowflakeApp;
25
25
  updateConnection(val: PackageableConnection): void;
26
- updateOwner(val: string): void;
26
+ updateOwnership(val: string): void;
27
27
  updateApplicationName(val: string): void;
28
28
  updateAppDescription(val: string): void;
29
29
  validate(): GeneratorFn<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"SnowflakeAppFunctionActivatorEditorState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,qBAAqB,EAC1B,YAAY,EAMb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,qBAAa,wCAAyC,SAAQ,kBAAkB;IAC9E,QAAQ,CAAC,aAAa,cAAwB;IAC9C,QAAQ,CAAC,WAAW,cAAwB;gBAEhC,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,YAAY;IAe3D,IAAI,SAAS,IAAI,YAAY,CAQ5B;IAED,gBAAgB,CAAC,GAAG,EAAE,qBAAqB,GAAG,IAAI;IAQlD,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI9B,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIxC,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAItC,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAkB7B,eAAe,IAAI,WAAW,CAAC,IAAI,CAAC;IAkBrC,SAAS,CACP,UAAU,EAAE,YAAY,EACxB,WAAW,EAAE,WAAW,GACvB,wCAAwC;CAM5C"}
1
+ {"version":3,"file":"SnowflakeAppFunctionActivatorEditorState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,qBAAqB,EAC1B,YAAY,EAQb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,qBAAa,wCAAyC,SAAQ,kBAAkB;IAC9E,QAAQ,CAAC,aAAa,cAAwB;IAC9C,QAAQ,CAAC,WAAW,cAAwB;gBAEhC,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,YAAY;IAe3D,IAAI,SAAS,IAAI,YAAY,CAQ5B;IAED,gBAAgB,CAAC,GAAG,EAAE,qBAAqB,GAAG,IAAI;IAQlD,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAKlC,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIxC,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAItC,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAkB7B,eAAe,IAAI,WAAW,CAAC,IAAI,CAAC;IAkBrC,SAAS,CACP,UAAU,EAAE,YAAY,EACxB,WAAW,EAAE,WAAW,GACvB,wCAAwC;CAM5C"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { SnowflakeApp, ConnectionPointer, InMemoryGraphData, PackageableElementExplicitReference, observe_SnowflakeAppDeploymentConfiguration, observe_SnowflakeApp, } from '@finos/legend-graph';
16
+ import { SnowflakeApp, ConnectionPointer, InMemoryGraphData, PackageableElementExplicitReference, observe_SnowflakeAppDeploymentConfiguration, observe_SnowflakeApp, DeploymentOwner, observe_DeploymentOwnership, } from '@finos/legend-graph';
17
17
  import { ActionState, assertErrorThrown, guaranteeType, } from '@finos/legend-shared';
18
18
  import { makeObservable, action, flow, computed } from 'mobx';
19
19
  import { ElementEditorState } from '../ElementEditorState.js';
@@ -25,7 +25,7 @@ export class SnowflakeAppFunctionActivatorEdtiorState extends ElementEditorState
25
25
  makeObservable(this, {
26
26
  activator: computed,
27
27
  reprocess: action,
28
- updateOwner: action,
28
+ updateOwnership: action,
29
29
  updateAppDescription: action,
30
30
  updateApplicationName: action,
31
31
  updateConnection: action,
@@ -41,8 +41,9 @@ export class SnowflakeAppFunctionActivatorEdtiorState extends ElementEditorState
41
41
  new ConnectionPointer(PackageableElementExplicitReference.create(val));
42
42
  observe_SnowflakeAppDeploymentConfiguration(this.activator.activationConfiguration);
43
43
  }
44
- updateOwner(val) {
45
- this.activator.owner = val;
44
+ updateOwnership(val) {
45
+ this.activator.ownership = new DeploymentOwner(val, this.activator);
46
+ observe_DeploymentOwnership(this.activator.ownership);
46
47
  }
47
48
  updateApplicationName(val) {
48
49
  this.activator.applicationName = val;
@@ -1 +1 @@
1
- {"version":3,"file":"SnowflakeAppFunctionActivatorEditorState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,mCAAmC,EACnC,2CAA2C,EAC3C,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MA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,CAAC;CACF"}
1
+ {"version":3,"file":"SnowflakeAppFunctionActivatorEditorState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,mCAAmC,EACnC,2CAA2C,EAC3C,oBAAoB,EACpB,eAAe,EACf,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,MAAM,OAAO,wCAAyC,SAAQ,kBAAkB;IACrE,aAAa,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IACrC,WAAW,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAE5C,YAAY,WAAwB,EAAE,OAAqB;QACzD,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAE5B,cAAc,CAAC,IAAI,EAAE;YACnB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,MAAM;YACjB,eAAe,EAAE,MAAM;YACvB,oBAAoB,EAAE,MAAM;YAC5B,qBAAqB,EAAE,MAAM;YAC7B,gBAAgB,EAAE,MAAM;YACxB,QAAQ,EAAE,IAAI;YACd,eAAe,EAAE,IAAI;SACtB,CAAC,CAAC;IACL,CAAC;IAED,IAAI,SAAS;QACX,OAAO,oBAAoB,CACzB,aAAa,CACX,IAAI,CAAC,OAAO,EACZ,YAAY,EACZ,2EAA2E,CAC5E,CACF,CAAC;IACJ,CAAC;IAED,gBAAgB,CAAC,GAA0B;QACzC,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC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AC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,iCAAiC,CACrF,IAAI,CAAC,SAAS,EACd,IAAI,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAChE,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACjE,gEAAgE,CACjE,CAAC;SACH;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC1E;gBAAS;YACR,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IAED,SAAS,CACP,UAAwB,EACxB,WAAwB;QAExB,OAAO,IAAI,wCAAwC,CACjD,WAAW,EACX,UAAU,CACX,CAAC;IACJ,CAAC;CACF"}
@@ -106,7 +106,7 @@ export class EntityChangeConflictEditorState extends EntityDiffViewerState {
106
106
  currentMode = ENTITY_CHANGE_CONFLICT_EDITOR_VIEW_MODE.MERGE_VIEW;
107
107
  conflictResolutionState;
108
108
  constructor(editorStore, conflictResolutionState, entityPath, baseRevision, currentChangeRevision, incomingChangeRevision, baseEntity, currentChangeEntity, incomingChangeEntity, baseEntityGetter, currentChangeEntityGetter, incomingChangeEntityGetter) {
109
- super(editorStore);
109
+ super(baseRevision, currentChangeRevision, editorStore);
110
110
  makeObservable(this, {
111
111
  entityPath: observable,
112
112
  baseRevision: observable,
@@ -1 +1 @@
1
- {"version":3,"file":"EntityChangeConflictEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,UAAU,GACX,MAAM,M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Q,CAAC,QAAQ,GAAG,CAAC,CAAC;YACzD,CAAC,CAAC,EAAE,CACP,CAAC,OAAO;aACR,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;aACrD,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;QACF,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;CACF"}
1
+ {"version":3,"file":"EntityChangeConflictEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AAEd,OAAO,EAEL,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAe,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAIlD,MAAM,mBAAmB,GAAG,SAAS,CAAC;AACtC,MAAM,kBAAkB,GAAG,SAAS,CAAC;AACrC,MAAM,eAAe,GAAG,SAAS,CAAC;AAClC,MAAM,iBAAiB,GAAG,SAAS,CAAC;AAgBpC,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAmB,EAAE;IAC1D,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,SAAS,GAAoB,EAAE,CAAC;IACtC,IAAI,eAAe,GAAkC,IAAI,CAAC;IAE1D,KAAK,IAAI,CAAC,GAAG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AAK,CAAC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;aACrD,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;QACF,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;IAED,iBAAiB,CAAC,QAAuB;QACvC,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,EAAE;YACjC,OAAO;SACR;QACD,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,aAAa,CAChB,KAAK;aACF,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,WAAW,GAAG,CAAC,CAAC;aAClC,MAAM,CACL,QAAQ,CAAC,UAAU;YACjB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,QAAQ,GAAG,CAAC,CAAC;YACzD,CAAC,CAAC,EAAE,CACP,CAAC,OAAO;aACR,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;aACrD,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;QACF,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;CACF"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { EditorState } from '../../editor-state/EditorState.js';
16
+ import { EditorDiffViewerState } from '../diff-viewer-state/EditorDiffViewerState.js';
17
17
  export declare enum SPECIAL_REVISION_ALIAS {
18
18
  LOCAL = "LOCAL_REVISION",
19
19
  WORKSPACE_BASE = "WORKSPACE_BASE",
@@ -22,7 +22,7 @@ export declare enum SPECIAL_REVISION_ALIAS {
22
22
  PROJECT_HEAD = "PROJECT_HEAD"
23
23
  }
24
24
  export declare const getPrettyLabelForRevision: (revision: SPECIAL_REVISION_ALIAS | string) => string;
25
- export declare abstract class EntityDiffViewerState extends EditorState {
25
+ export declare abstract class EntityDiffViewerState extends EditorDiffViewerState {
26
26
  abstract refresh(): void;
27
27
  }
28
28
  //# sourceMappingURL=EntityDiffEditorState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityDiffEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE,oBAAY,sBAAsB;IAChC,KAAK,mBAAmB;IACxB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;CAC9B;AAED,eAAO,MAAM,yBAAyB,aAC1B,sBAAsB,GAAG,MAAM,KACxC,MAeF,CAAC;AAEF,8BAAsB,qBAAsB,SAAQ,WAAW;IAC7D,QAAQ,CAAC,OAAO,IAAI,IAAI;CACzB"}
1
+ {"version":3,"file":"EntityDiffEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,oBAAY,sBAAsB;IAChC,KAAK,mBAAmB;IACxB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;CAC9B;AAED,eAAO,MAAM,yBAAyB,aAC1B,sBAAsB,GAAG,MAAM,KACxC,MAeF,CAAC;AAEF,8BAAsB,qBAAsB,SAAQ,qBAAqB;IACvE,QAAQ,CAAC,OAAO,IAAI,IAAI;CACzB"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { EditorState } from '../../editor-state/EditorState.js';
16
+ import { EditorDiffViewerState } from '../diff-viewer-state/EditorDiffViewerState.js';
17
17
  export var SPECIAL_REVISION_ALIAS;
18
18
  (function (SPECIAL_REVISION_ALIAS) {
19
19
  SPECIAL_REVISION_ALIAS["LOCAL"] = "LOCAL_REVISION";
@@ -38,6 +38,6 @@ export const getPrettyLabelForRevision = (revision) => {
38
38
  return revision;
39
39
  }
40
40
  };
41
- export class EntityDiffViewerState extends EditorState {
41
+ export class EntityDiffViewerState extends EditorDiffViewerState {
42
42
  }
43
43
  //# sourceMappingURL=EntityDiffEditorState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityDiffEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,kDAAwB,CAAA;IACxB,2DAAiC,CAAA;IACjC,2DAAiC,CAAA;IACjC,+DAAqC,CAAA;IACrC,uDAA6B,CAAA;AAC/B,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,QAAyC,EACjC,EAAE;IACV,QAAQ,QAAQ,EAAE;QAChB,KAAK,sBAAsB,CAAC,KAAK;YAC/B,OAAO,OAAO,CAAC;QACjB,KAAK,sBAAsB,CAAC,cAAc;YACxC,OAAO,gBAAgB,CAAC;QAC1B,KAAK,sBAAsB,CAAC,cAAc;YACxC,OAAO,gBAAgB,CAAC;QAC1B,KAAK,sBAAsB,CAAC,gBAAgB;YAC1C,OAAO,kBAAkB,CAAC;QAC5B,KAAK,sBAAsB,CAAC,YAAY;YACtC,OAAO,cAAc,CAAC;QACxB;YACE,OAAO,QAAQ,CAAC;KACnB;AACH,CAAC,CAAC;AAEF,MAAM,OAAgB,qBAAsB,SAAQ,WAAW;CAE9D"}
1
+ {"version":3,"file":"EntityDiffEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,kDAAwB,CAAA;IACxB,2DAAiC,CAAA;IACjC,2DAAiC,CAAA;IACjC,+DAAqC,CAAA;IACrC,uDAA6B,CAAA;AAC/B,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,QAAyC,EACjC,EAAE;IACV,QAAQ,QAAQ,EAAE;QAChB,KAAK,sBAAsB,CAAC,KAAK;YAC/B,OAAO,OAAO,CAAC;QACjB,KAAK,sBAAsB,CAAC,cAAc;YACxC,OAAO,gBAAgB,CAAC;QAC1B,KAAK,sBAAsB,CAAC,cAAc;YACxC,OAAO,gBAAgB,CAAC;QAC1B,KAAK,sBAAsB,CAAC,gBAAgB;YAC1C,OAAO,kBAAkB,CAAC;QAC5B,KAAK,sBAAsB,CAAC,YAAY;YACtC,OAAO,cAAc,CAAC;QACxB;YACE,OAAO,QAAQ,CAAC;KACnB;AACH,CAAC,CAAC;AAEF,MAAM,OAAgB,qBAAsB,SAAQ,qBAAqB;CAExE"}
@@ -33,8 +33,6 @@ export declare class EntityDiffViewState extends EntityDiffViewerState {
33
33
  diffMode: DIFF_VIEW_MODE;
34
34
  fromEntityPath?: string | undefined;
35
35
  toEntityPath?: string | undefined;
36
- fromRevision: SPECIAL_REVISION_ALIAS | string;
37
- toRevision: SPECIAL_REVISION_ALIAS | string;
38
36
  fromEntity?: Entity | undefined;
39
37
  toEntity?: Entity | undefined;
40
38
  fromGrammarText?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"EntityDiffViewState.d.ts","sourceRoot":"","sources":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ACxB,YAAY,EAAE,sBAAsB,GAAG,MAAM,EAC7C,UAAU,EAAE,sBAAsB,GAAG,MAAM,EAC3C,cAAc,EAAE,MAAM,GAAG,SAAS,EAClC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,EACzE,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS;IA2CzE;;;;;;;;;;;OAWG;IACH,IAAI,mBAAmB,IAAI,MAAM,CAKhC;IAED,IAAI,OAAO,IAAI,kBAAkB,GAAG,SAAS,CAI5C;IAED,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,IAAa,WAAW,IAAI,MAAM,CAEjC;IAED,IAAI,WAAW,IAAI,MAAM,CAcxB;IAED,WAAW,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAI3C,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,kBAAkB;IAIjB,KAAK,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO;IAUzC,OAAO,IAAI,IAAI;IASd,cAAc,IAAI,WAAW,CAAC,IAAI,CAAC;IAwBnC,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;CAuBnC"}
1
+ {"version":3,"file":"EntityDiffViewState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,sBAAsB,EAC3B,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AACpC,O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AAM,GAAG,SAAS;IA2CzE;;;;;;;;;;;OAWG;IACH,IAAI,mBAAmB,IAAI,MAAM,CAKhC;IAED,IAAI,OAAO,IAAI,kBAAkB,GAAG,SAAS,CAI5C;IAED,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,IAAa,WAAW,IAAI,MAAM,CAEjC;IAED,IAAI,WAAW,IAAI,MAAM,CAcxB;IAED,WAAW,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAI3C,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,kBAAkB;IAIjB,KAAK,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO;IAUzC,OAAO,IAAI,IAAI;IASd,cAAc,IAAI,WAAW,CAAC,IAAI,CAAC;IAwBnC,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;CAuBnC"}
@@ -33,8 +33,6 @@ export class EntityDiffViewState extends EntityDiffViewerState {
33
33
  diffMode = DIFF_VIEW_MODE.GRAMMAR;
34
34
  fromEntityPath;
35
35
  toEntityPath;
36
- fromRevision;
37
- toRevision;
38
36
  // to and from entities
39
37
  fromEntity;
40
38
  toEntity;
@@ -44,7 +42,7 @@ export class EntityDiffViewState extends EntityDiffViewerState {
44
42
  fromEntityGetter;
45
43
  toEntityGetter;
46
44
  constructor(editorStore, fromRevision, toRevision, fromEntityPath, toEntityPath, fromEntity, toEntity, fromEntityGetter, toEntityGetter) {
47
- super(editorStore);
45
+ super(fromRevision, toRevision, editorStore);
48
46
  makeObservable(this, {
49
47
  diffMode: observable,
50
48
  fromEntityPath: observable,
@@ -1 +1 @@
1
- {"version":3,"file":"EntityDiffViewState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAE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AC,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,EAC7D,KAAK,CACN,CAAC;aACH;SACF;aAAM;YACL,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;SAC3B;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"EntityDiffViewState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAe,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAInF;;;;;GAKG;AAEH,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,qCAAmB,CAAA;AACrB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAED,MAAM,OAAO,mBAAoB,SAAQ,qBAAqB;IAC5D,QAAQ,GAAG,cAAc,CAAC,OAAO,CAAC;IAClC,cAAc,CAAsB;IACpC,YAAY,CAAsB;IAClC,uBAAuB;IACvB,UAAU,CAAsB;IAChC,QAAQ,CAAsB;IAC9B,eAAe,CAAsB;IACrC,aAAa,CAAsB;IACnC,wCAAwC;IACxC,gBAAgB,CAEF;IACd,cAAc,CAEA;IAEd,YACE,WAAwB,EACxB,YAA6C,EAC7C,UAA2C,EAC3C,cAAkC,EAClC,YAAgC,EAChC,UAA8B,EAC9B,QAA4B,EAC5B,gBAAyE,EACzE,cAAuE;QAEvE,KAAK,CAAC,YAA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,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,kBAAkB,CACvE,CAAC,IAAI,CAAC,QAAQ,CAAC,EACf,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAW,CAAC;gBACf,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;aACvC;YAAC,OAAO,KAAK,EAAE;gBACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;gBACzB,IAAI,CAAC,kBAAkB,CACrB,+DAA+D,CAChE,CAAC;gBACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,EAC7D,KAAK,CACN,CAAC;aACH;SACF;aAAM;YACL,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;SAC3B;IACH,CAAC;CACF"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type GeneratorFn, type PlainObject, ActionState } from '@finos/legend-shared';
17
+ import type { EditorStore } from '../editor/EditorStore.js';
18
+ import { EntityDiff, type ProjectConfiguration, Comparison, Project, Review, type Patch, ReviewApproval } from '@finos/legend-server-sdlc';
19
+ import type { Entity } from '@finos/legend-storage';
20
+ export declare class ProjectReviewReport {
21
+ diffs: EntityDiff[];
22
+ fromEntities: Entity[];
23
+ toEntities: Entity[];
24
+ fromToProjectConfig: [PlainObject<ProjectConfiguration>, PlainObject<ProjectConfiguration>] | undefined;
25
+ constructor(diffs: EntityDiff[]);
26
+ findFromEntity(entityPath: string): Entity | undefined;
27
+ findToEntity(entityPath: string): Entity | undefined;
28
+ withFromEntities(val: Entity[]): ProjectReviewReport;
29
+ withToEntities(val: Entity[]): ProjectReviewReport;
30
+ withProjectConfigChange(val: [PlainObject<ProjectConfiguration>, PlainObject<ProjectConfiguration>]): ProjectReviewReport;
31
+ }
32
+ export declare class ProjectReviewerStore {
33
+ readonly editorStore: EditorStore;
34
+ currentProjectId?: string | undefined;
35
+ currentProject?: Project | undefined;
36
+ currentPatch?: Patch | undefined;
37
+ currentReviewId?: string | undefined;
38
+ currentReview?: Review | undefined;
39
+ fetchComparisonState: ActionState;
40
+ reviewComparison?: Comparison | undefined;
41
+ reviewReport?: ProjectReviewReport | undefined;
42
+ fetchCurrentReviewState: ActionState;
43
+ approveState: ActionState;
44
+ reviewApproval: ReviewApproval | undefined;
45
+ closeState: ActionState;
46
+ commitState: ActionState;
47
+ reOpenState: ActionState;
48
+ constructor(editorStore: EditorStore);
49
+ get projectId(): string;
50
+ get patchReleaseVersionId(): string | undefined;
51
+ get reviewId(): string;
52
+ get review(): Review;
53
+ get comparison(): Comparison;
54
+ get approvalString(): string | undefined;
55
+ setProjectIdAndReviewId(projectId: string, reviewId: string): void;
56
+ initialize(): void;
57
+ initializeEngine(): GeneratorFn<void>;
58
+ openReviewChange(diff: EntityDiff): void;
59
+ refresh(): void;
60
+ /**
61
+ * To save load time, this function will levergae the reviewId coming from the URl and doesn't
62
+ * assume the review has completed been fetched
63
+ */
64
+ fetchReviewComparison(): GeneratorFn<void>;
65
+ fetchProject(): GeneratorFn<void>;
66
+ fetchReviewApprovals(): GeneratorFn<void>;
67
+ fetchReview(): GeneratorFn<void>;
68
+ approveReview(): GeneratorFn<void>;
69
+ commitReview(): GeneratorFn<void>;
70
+ reOpenReview(): GeneratorFn<void>;
71
+ closeReview(): GeneratorFn<void>;
72
+ }
73
+ //# sourceMappingURL=ProjectReviewerStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectReviewerStore.d.ts","sourceRoot":"","sources":["../../../src/stores/project-reviewer/ProjectReviewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,WAAW,EAIhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAS9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,UAAU,EAEV,OAAO,EACP,MAAM,EACN,KAAK,KAAK,EACV,cAAc,EACf,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAIpD,qBAAa,mBAAmB;IAC9B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,YAAY,EAAE,MAAM,EAAE,CAAM;IAC5B,UAAU,EAAE,MAAM,EAAE,CAAM;IAC1B,mBAAmB,EACf,CAAC,WAAW,CAAC,oBAAoB,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC,GACtE,SAAS,CAAC;gBAEF,KAAK,EAAE,UAAU,EAAE;IAI/B,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAItD,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAIpD,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,mBAAmB;IAKpD,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,mBAAmB;IAKlD,uBAAuB,CACrB,GAAG,EAAE,CAAC,WAAW,CAAC,oBAAoB,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC,GAC1E,mBAAmB;CAIvB;AAED,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC,gBAAgB,CAAC,EAAE,MA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