@finos/legend-graph 31.6.4 → 31.6.6

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 (91) hide show
  1. package/lib/graph/MetaModelConst.d.ts +1 -0
  2. package/lib/graph/MetaModelConst.d.ts.map +1 -1
  3. package/lib/graph/MetaModelConst.js +1 -0
  4. package/lib/graph/MetaModelConst.js.map +1 -1
  5. package/lib/graph/metamodel/pure/packageableElements/function/SnowflakeApp.d.ts +0 -2
  6. package/lib/graph/metamodel/pure/packageableElements/function/SnowflakeApp.d.ts.map +1 -1
  7. package/lib/graph/metamodel/pure/packageableElements/function/SnowflakeApp.js +0 -2
  8. package/lib/graph/metamodel/pure/packageableElements/function/SnowflakeApp.js.map +1 -1
  9. package/lib/graph-manager/AbstractPureGraphManager.d.ts +2 -0
  10. package/lib/graph-manager/AbstractPureGraphManager.d.ts.map +1 -1
  11. package/lib/graph-manager/AbstractPureGraphManager.js.map +1 -1
  12. package/lib/graph-manager/action/changeDetection/DomainObserverHelper.d.ts.map +1 -1
  13. package/lib/graph-manager/action/changeDetection/DomainObserverHelper.js +0 -1
  14. package/lib/graph-manager/action/changeDetection/DomainObserverHelper.js.map +1 -1
  15. package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.d.ts +2 -0
  16. package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.d.ts.map +1 -1
  17. package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.js +16 -10
  18. package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.js.map +1 -1
  19. package/lib/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.d.ts +1 -0
  20. package/lib/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.d.ts.map +1 -1
  21. package/lib/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.js +3 -0
  22. package/lib/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.js.map +1 -1
  23. package/lib/graph-manager/protocol/pure/v1/engine/functionActivator/V1_DeploymentResult.d.ts +1 -0
  24. package/lib/graph-manager/protocol/pure/v1/engine/functionActivator/V1_DeploymentResult.d.ts.map +1 -1
  25. package/lib/graph-manager/protocol/pure/v1/engine/functionActivator/V1_DeploymentResult.js +2 -0
  26. package/lib/graph-manager/protocol/pure/v1/engine/functionActivator/V1_DeploymentResult.js.map +1 -1
  27. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_FunctionActivator.d.ts +2 -2
  28. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_FunctionActivator.d.ts.map +1 -1
  29. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_FunctionActivator.js +1 -1
  30. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_FunctionActivator.js.map +1 -1
  31. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_SnowflakeApp.d.ts +0 -2
  32. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_SnowflakeApp.d.ts.map +1 -1
  33. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_SnowflakeApp.js +0 -2
  34. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_SnowflakeApp.js.map +1 -1
  35. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_FunctionActivatorTransformer.d.ts +0 -3
  36. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_FunctionActivatorTransformer.d.ts.map +1 -1
  37. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_FunctionActivatorTransformer.js +0 -13
  38. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_FunctionActivatorTransformer.js.map +1 -1
  39. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_PackageableElementTransformer.d.ts +1 -1
  40. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_PackageableElementTransformer.d.ts.map +1 -1
  41. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_PackageableElementTransformer.js +7 -8
  42. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_PackageableElementTransformer.js.map +1 -1
  43. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementFirstPassBuilder.d.ts.map +1 -1
  44. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementFirstPassBuilder.js +0 -4
  45. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementFirstPassBuilder.js.map +1 -1
  46. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementSecondPassBuilder.js +2 -2
  47. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementSecondPassBuilder.js.map +1 -1
  48. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DomainBuilderHelper.d.ts.map +1 -1
  49. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DomainBuilderHelper.js +2 -2
  50. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DomainBuilderHelper.js.map +1 -1
  51. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_FunctionActivatorBuilderHelper.d.ts +0 -3
  52. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_FunctionActivatorBuilderHelper.d.ts.map +1 -1
  53. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_FunctionActivatorBuilderHelper.js +1 -13
  54. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_FunctionActivatorBuilderHelper.js.map +1 -1
  55. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DomainSerializationHelper.d.ts.map +1 -1
  56. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DomainSerializationHelper.js +2 -3
  57. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DomainSerializationHelper.js.map +1 -1
  58. package/lib/index.d.ts +0 -1
  59. package/lib/index.d.ts.map +1 -1
  60. package/lib/index.js +0 -1
  61. package/lib/index.js.map +1 -1
  62. package/lib/package.json +1 -1
  63. package/package.json +3 -3
  64. package/src/graph/MetaModelConst.ts +1 -0
  65. package/src/graph/metamodel/pure/packageableElements/function/SnowflakeApp.ts +0 -3
  66. package/src/graph-manager/AbstractPureGraphManager.ts +3 -0
  67. package/src/graph-manager/action/changeDetection/DomainObserverHelper.ts +0 -1
  68. package/src/graph-manager/protocol/pure/v1/V1_PureGraphManager.ts +28 -21
  69. package/src/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.ts +5 -0
  70. package/src/graph-manager/protocol/pure/v1/engine/functionActivator/V1_DeploymentResult.ts +2 -0
  71. package/src/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_FunctionActivator.ts +5 -2
  72. package/src/graph-manager/protocol/pure/v1/model/packageableElements/function/V1_SnowflakeApp.ts +0 -3
  73. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_FunctionActivatorTransformer.ts +0 -19
  74. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/from/V1_PackageableElementTransformer.ts +22 -17
  75. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementFirstPassBuilder.ts +0 -4
  76. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementSecondPassBuilder.ts +2 -2
  77. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DomainBuilderHelper.ts +2 -1
  78. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_FunctionActivatorBuilderHelper.ts +1 -19
  79. package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DomainSerializationHelper.ts +5 -3
  80. package/src/index.ts +0 -1
  81. package/tsconfig.json +0 -2
  82. package/lib/graph/metamodel/pure/functionActivator/SnowflakeAppType.d.ts +0 -20
  83. package/lib/graph/metamodel/pure/functionActivator/SnowflakeAppType.d.ts.map +0 -1
  84. package/lib/graph/metamodel/pure/functionActivator/SnowflakeAppType.js +0 -21
  85. package/lib/graph/metamodel/pure/functionActivator/SnowflakeAppType.js.map +0 -1
  86. package/lib/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppType.d.ts +0 -20
  87. package/lib/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppType.d.ts.map +0 -1
  88. package/lib/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppType.js +0 -21
  89. package/lib/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppType.js.map +0 -1
  90. package/src/graph/metamodel/pure/functionActivator/SnowflakeAppType.ts +0 -20
  91. package/src/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppType.ts +0 -20
@@ -32,7 +32,10 @@ import {
32
32
  usingConstantValueSchema,
33
33
  usingModelSchema,
34
34
  } from '@finos/legend-shared';
35
- import { V1_multiplicityModelSchema } from '../../../transformation/pureProtocol/serializationHelpers/V1_CoreSerializationHelper.js';
35
+ import {
36
+ V1_multiplicityModelSchema,
37
+ V1_packageableElementPointerModelSchema,
38
+ } from '../../../transformation/pureProtocol/serializationHelpers/V1_CoreSerializationHelper.js';
36
39
  import { V1_Enumeration } from '../../../model/packageableElements/domain/V1_Enumeration.js';
37
40
  import { V1_Profile } from '../../../model/packageableElements/domain/V1_Profile.js';
38
41
  import {
@@ -154,7 +157,7 @@ export const V1_snowflakeAppModelSchema = createModelSchema(V1_SnowflakeApp, {
154
157
  description: optional(primitive()),
155
158
  owner: optional(primitive()),
156
159
  applicationName: primitive(),
157
- function: primitive(),
160
+ function: usingModelSchema(V1_packageableElementPointerModelSchema),
158
161
  name: primitive(),
159
162
  package: primitive(),
160
163
  stereotypes: customListWithSchema(V1_stereotypePtrModelSchema, {
@@ -166,7 +169,6 @@ export const V1_snowflakeAppModelSchema = createModelSchema(V1_SnowflakeApp, {
166
169
  activationConfiguration: usingModelSchema(
167
170
  V1_SnowflakeAppDeploymentConfigurationAppModelSchema,
168
171
  ),
169
- type: optional(primitive()),
170
172
  });
171
173
 
172
174
  // ------------------------------------- Class -------------------------------------
package/src/index.ts CHANGED
@@ -77,7 +77,6 @@ export { FunctionActivator } from './graph/metamodel/pure/packageableElements/fu
77
77
  export { INTERNAL__UnknownFunctionActivator } from './graph/metamodel/pure/packageableElements/function/INTERNAL__UnknownFunctionActivator.js';
78
78
  export { SnowflakeApp } from './graph/metamodel/pure/packageableElements/function/SnowflakeApp.js';
79
79
  export { SnowflakeAppDeploymentConfiguration } from './graph/metamodel/pure/functionActivator/SnowflakeAppDeploymentConfiguration.js';
80
- export { SnowflakeAppType } from './graph/metamodel/pure/functionActivator/SnowflakeAppType.js';
81
80
 
82
81
  // --------------------------------------------- VALUE SPECIFICATION --------------------------------------------------
83
82
 
package/tsconfig.json CHANGED
@@ -114,7 +114,6 @@
114
114
  "./src/graph/metamodel/pure/executionPlan/result/VoidResultType.ts",
115
115
  "./src/graph/metamodel/pure/functionActivator/DeploymentConfiguration.ts",
116
116
  "./src/graph/metamodel/pure/functionActivator/SnowflakeAppDeploymentConfiguration.ts",
117
- "./src/graph/metamodel/pure/functionActivator/SnowflakeAppType.ts",
118
117
  "./src/graph/metamodel/pure/packageableElements/INTERNAL__UnknownPackageableElement.ts",
119
118
  "./src/graph/metamodel/pure/packageableElements/PackageableElement.ts",
120
119
  "./src/graph/metamodel/pure/packageableElements/PackageableElementReference.ts",
@@ -416,7 +415,6 @@
416
415
  "./src/graph-manager/protocol/pure/v1/engine/functionActivator/V1_FunctionActivatorInfo.ts",
417
416
  "./src/graph-manager/protocol/pure/v1/engine/functionActivator/V1_FunctionActivatorInput.ts",
418
417
  "./src/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppDeploymentConfiguration.ts",
419
- "./src/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppType.ts",
420
418
  "./src/graph-manager/protocol/pure/v1/engine/generation/V1_ArtifactGenerationExtensionApi.ts",
421
419
  "./src/graph-manager/protocol/pure/v1/engine/generation/V1_DatabaseBuilderInput.ts",
422
420
  "./src/graph-manager/protocol/pure/v1/engine/generation/V1_FileGenerationInput.ts",
@@ -1,20 +0,0 @@
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
- export declare enum SnowflakeAppType {
17
- FULL = "FULL",
18
- STAGE = "STAGE"
19
- }
20
- //# sourceMappingURL=SnowflakeAppType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SnowflakeAppType.d.ts","sourceRoot":"","sources":["../../../../../src/graph/metamodel/pure/functionActivator/SnowflakeAppType.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,KAAK,UAAU;CAChB"}
@@ -1,21 +0,0 @@
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
- export var SnowflakeAppType;
17
- (function (SnowflakeAppType) {
18
- SnowflakeAppType["FULL"] = "FULL";
19
- SnowflakeAppType["STAGE"] = "STAGE";
20
- })(SnowflakeAppType || (SnowflakeAppType = {}));
21
- //# sourceMappingURL=SnowflakeAppType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SnowflakeAppType.js","sourceRoot":"","sources":["../../../../../src/graph/metamodel/pure/functionActivator/SnowflakeAppType.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,mCAAe,CAAA;AACjB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B"}
@@ -1,20 +0,0 @@
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
- export declare enum V1_SnowflakeAppType {
17
- FULL = "FULL",
18
- STAGE = "STAGE"
19
- }
20
- //# sourceMappingURL=V1_SnowflakeAppType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V1_SnowflakeAppType.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppType.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,mBAAmB;IAC7B,IAAI,SAAS;IACb,KAAK,UAAU;CAChB"}
@@ -1,21 +0,0 @@
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
- export var V1_SnowflakeAppType;
17
- (function (V1_SnowflakeAppType) {
18
- V1_SnowflakeAppType["FULL"] = "FULL";
19
- V1_SnowflakeAppType["STAGE"] = "STAGE";
20
- })(V1_SnowflakeAppType || (V1_SnowflakeAppType = {}));
21
- //# sourceMappingURL=V1_SnowflakeAppType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V1_SnowflakeAppType.js","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/engine/functionActivator/V1_SnowflakeAppType.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,sCAAe,CAAA;AACjB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B"}
@@ -1,20 +0,0 @@
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
-
17
- export enum SnowflakeAppType {
18
- FULL = 'FULL',
19
- STAGE = 'STAGE',
20
- }
@@ -1,20 +0,0 @@
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
-
17
- export enum V1_SnowflakeAppType {
18
- FULL = 'FULL',
19
- STAGE = 'STAGE',
20
- }