@finos/legend-extension-dsl-persistence 2.0.9 → 2.0.10

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 (131) hide show
  1. package/lib/components/studio/DSLPersistence_CodeSnippets.d.ts +1 -0
  2. package/lib/components/studio/DSLPersistence_CodeSnippets.d.ts.map +1 -1
  3. package/lib/components/studio/DSLPersistence_CodeSnippets.js +5 -1
  4. package/lib/components/studio/DSLPersistence_CodeSnippets.js.map +1 -1
  5. package/lib/components/studio/DSLPersistence_LegendStudioDocumentation.d.ts +2 -1
  6. package/lib/components/studio/DSLPersistence_LegendStudioDocumentation.d.ts.map +1 -1
  7. package/lib/components/studio/DSLPersistence_LegendStudioDocumentation.js +1 -0
  8. package/lib/components/studio/DSLPersistence_LegendStudioDocumentation.js.map +1 -1
  9. package/lib/components/studio/DSLPersistence_LegendStudioPlugin.d.ts.map +1 -1
  10. package/lib/components/studio/DSLPersistence_LegendStudioPlugin.js +36 -5
  11. package/lib/components/studio/DSLPersistence_LegendStudioPlugin.js.map +1 -1
  12. package/lib/graph/DSLPersistence_PureGraphPlugin.d.ts.map +1 -1
  13. package/lib/graph/DSLPersistence_PureGraphPlugin.js +2 -1
  14. package/lib/graph/DSLPersistence_PureGraphPlugin.js.map +1 -1
  15. package/lib/graphManager/DSLPersistence_GraphManagerHelper.d.ts +3 -0
  16. package/lib/graphManager/DSLPersistence_GraphManagerHelper.d.ts.map +1 -1
  17. package/lib/graphManager/DSLPersistence_GraphManagerHelper.js +3 -0
  18. package/lib/graphManager/DSLPersistence_GraphManagerHelper.js.map +1 -1
  19. package/lib/graphManager/DSLPersistence_PureGraphManagerPlugin.d.ts +1 -0
  20. package/lib/graphManager/DSLPersistence_PureGraphManagerPlugin.d.ts.map +1 -1
  21. package/lib/graphManager/DSLPersistence_PureGraphManagerPlugin.js +13 -1
  22. package/lib/graphManager/DSLPersistence_PureGraphManagerPlugin.js.map +1 -1
  23. package/lib/graphManager/action/changeDetection/DSLPersistenceContext_ObserverHelper.d.ts +18 -0
  24. package/lib/graphManager/action/changeDetection/DSLPersistenceContext_ObserverHelper.d.ts.map +1 -0
  25. package/lib/graphManager/action/changeDetection/DSLPersistenceContext_ObserverHelper.js +29 -0
  26. package/lib/graphManager/action/changeDetection/DSLPersistenceContext_ObserverHelper.js.map +1 -0
  27. package/lib/index.css +2 -2
  28. package/lib/index.css.map +1 -1
  29. package/lib/index.d.ts +8 -1
  30. package/lib/index.d.ts.map +1 -1
  31. package/lib/index.js +11 -1
  32. package/lib/index.js.map +1 -1
  33. package/lib/models/DSLPersistence_ModelUtils.d.ts +5 -0
  34. package/lib/models/DSLPersistence_ModelUtils.d.ts.map +1 -1
  35. package/lib/models/DSLPersistence_ModelUtils.js +9 -0
  36. package/lib/models/DSLPersistence_ModelUtils.js.map +1 -1
  37. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistenceContext.d.ts +29 -0
  38. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistenceContext.d.ts.map +1 -0
  39. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistenceContext.js +37 -0
  40. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistenceContext.js.map +1 -0
  41. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistencePlatform.d.ts +23 -0
  42. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistencePlatform.d.ts.map +1 -0
  43. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistencePlatform.js +25 -0
  44. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistencePlatform.js.map +1 -0
  45. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_ServiceParameter.d.ts +34 -0
  46. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_ServiceParameter.d.ts.map +1 -0
  47. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_ServiceParameter.js +49 -0
  48. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_ServiceParameter.js.map +1 -0
  49. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.d.ts +3 -2
  50. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.d.ts.map +1 -1
  51. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.js +6 -1
  52. package/lib/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.js.map +1 -1
  53. package/lib/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.d.ts +1 -0
  54. package/lib/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.d.ts.map +1 -1
  55. package/lib/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.js +33 -0
  56. package/lib/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.js.map +1 -1
  57. package/lib/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin_Extension.d.ts +30 -0
  58. package/lib/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin_Extension.d.ts.map +1 -0
  59. package/lib/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin_Extension.js +17 -0
  60. package/lib/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin_Extension.js.map +1 -0
  61. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistenceContext.d.ts +28 -0
  62. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistenceContext.d.ts.map +1 -0
  63. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistenceContext.js +37 -0
  64. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistenceContext.js.map +1 -0
  65. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistencePlatform.d.ts +23 -0
  66. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistencePlatform.d.ts.map +1 -0
  67. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistencePlatform.js +25 -0
  68. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistencePlatform.js.map +1 -0
  69. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_ServiceParameter.d.ts +34 -0
  70. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_ServiceParameter.d.ts.map +1 -0
  71. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_ServiceParameter.js +49 -0
  72. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_ServiceParameter.js.map +1 -0
  73. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_Sink.d.ts +2 -1
  74. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_Sink.d.ts.map +1 -1
  75. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_Sink.js +6 -1
  76. package/lib/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_Sink.js.map +1 -1
  77. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLPersistence_GraphBuilderHelper.d.ts +2 -0
  78. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLPersistence_GraphBuilderHelper.d.ts.map +1 -1
  79. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLPersistence_GraphBuilderHelper.js +2 -1
  80. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLPersistence_GraphBuilderHelper.js.map +1 -1
  81. package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceContextTransformer.d.ts +36 -0
  82. package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceContextTransformer.d.ts.map +1 -0
  83. package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceContextTransformer.js +75 -0
  84. package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceContextTransformer.js.map +1 -0
  85. package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceTransformer.d.ts.map +1 -1
  86. package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceTransformer.js +6 -1
  87. package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceTransformer.js.map +1 -1
  88. package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceBuilder.d.ts.map +1 -1
  89. package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceBuilder.js +6 -1
  90. package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceBuilder.js.map +1 -1
  91. package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceContextBuilder.d.ts +35 -0
  92. package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceContextBuilder.d.ts.map +1 -0
  93. package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceContextBuilder.js +76 -0
  94. package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceContextBuilder.js.map +1 -0
  95. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistenceContext_ProtocolHelper.d.ts +31 -0
  96. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistenceContext_ProtocolHelper.d.ts.map +1 -0
  97. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistenceContext_ProtocolHelper.js +118 -0
  98. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistenceContext_ProtocolHelper.js.map +1 -0
  99. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistence_ProtocolHelper.d.ts +3 -3
  100. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistence_ProtocolHelper.d.ts.map +1 -1
  101. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistence_ProtocolHelper.js +3 -5
  102. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistence_ProtocolHelper.js.map +1 -1
  103. package/lib/package.json +1 -1
  104. package/package.json +5 -5
  105. package/src/components/studio/DSLPersistence_CodeSnippets.ts +6 -1
  106. package/src/components/studio/DSLPersistence_LegendStudioDocumentation.ts +1 -0
  107. package/src/components/studio/DSLPersistence_LegendStudioPlugin.tsx +44 -5
  108. package/src/graph/DSLPersistence_PureGraphPlugin.ts +2 -1
  109. package/src/graphManager/DSLPersistence_GraphManagerHelper.ts +20 -0
  110. package/src/graphManager/DSLPersistence_PureGraphManagerPlugin.ts +12 -1
  111. package/src/graphManager/action/changeDetection/DSLPersistenceContext_ObserverHelper.ts +38 -0
  112. package/src/index.ts +13 -1
  113. package/src/models/DSLPersistence_ModelUtils.ts +14 -0
  114. package/src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistenceContext.ts +50 -0
  115. package/src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistencePlatform.ts +30 -0
  116. package/src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_ServiceParameter.ts +61 -0
  117. package/src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.ts +8 -2
  118. package/src/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.ts +52 -0
  119. package/src/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin_Extension.ts +57 -0
  120. package/src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistenceContext.ts +51 -0
  121. package/src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistencePlatform.ts +31 -0
  122. package/src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_ServiceParameter.ts +64 -0
  123. package/src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_Sink.ts +7 -2
  124. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLPersistence_GraphBuilderHelper.ts +13 -1
  125. package/src/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceContextTransformer.ts +141 -0
  126. package/src/models/protocols/pure/v1/transformation/pureGraph/from/V1_PersistenceTransformer.ts +10 -5
  127. package/src/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceBuilder.ts +12 -3
  128. package/src/models/protocols/pure/v1/transformation/pureGraph/to/V1_PersistenceContextBuilder.ts +151 -0
  129. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistenceContext_ProtocolHelper.ts +242 -0
  130. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLPersistence_ProtocolHelper.ts +20 -31
  131. package/tsconfig.json +11 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLPersistence_PersistenceContext.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistenceContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAEL,kBAAkB,GAGnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,OAAO,kBAAmB,SAAQ,kBAAkB;IACxD,WAAW,CAA4C;IACvD,QAAQ,CAAuB;IAC/B,iBAAiB,GAAuB,EAAE,CAAC;IAC3C,cAAc,CAAc;IAE5B,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,mBAAmB;YAC9C,IAAI,CAAC,WAAW,CAAC,qBAAqB,IAAI,EAAE;YAC5C,IAAI,CAAC,QAAQ;YACb,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,cAAc,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
@@ -0,0 +1,23 @@
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 Hashable } from '@finos/legend-shared';
17
+ export declare abstract class PersistencePlatform implements Hashable {
18
+ abstract get hashCode(): string;
19
+ }
20
+ export declare class DefaultPersistencePlatform extends PersistencePlatform implements Hashable {
21
+ get hashCode(): string;
22
+ }
23
+ //# sourceMappingURL=DSLPersistence_PersistencePlatform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLPersistence_PersistencePlatform.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistencePlatform.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAEhE,8BAAsB,mBAAoB,YAAW,QAAQ;IAC3D,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AACD,qBAAa,0BACX,SAAQ,mBACR,YAAW,QAAQ;IAEnB,IAAa,QAAQ,IAAI,MAAM,CAE9B;CACF"}
@@ -0,0 +1,25 @@
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 { PERSISTENCE_HASH_STRUCTURE } from '../../../../../DSLPersistence_ModelUtils.js';
17
+ import { hashArray } from '@finos/legend-shared';
18
+ export class PersistencePlatform {
19
+ }
20
+ export class DefaultPersistencePlatform extends PersistencePlatform {
21
+ get hashCode() {
22
+ return hashArray([PERSISTENCE_HASH_STRUCTURE.DEFAULT_PERSISTENCE_PLATFORM]);
23
+ }
24
+ }
25
+ //# sourceMappingURL=DSLPersistence_PersistencePlatform.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLPersistence_PersistencePlatform.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistencePlatform.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,OAAgB,mBAAmB;CAExC;AACD,MAAM,OAAO,0BACX,SAAQ,mBAAmB;IAG3B,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC,CAAC,0BAA0B,CAAC,4BAA4B,CAAC,CAAC,CAAC;IAC9E,CAAC;CACF"}
@@ -0,0 +1,34 @@
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 { Connection, ValueSpecification } from '@finos/legend-graph';
17
+ import { type Hashable } from '@finos/legend-shared';
18
+ export declare class ServiceParameter implements Hashable {
19
+ name: string;
20
+ value: ServiceParameterValue;
21
+ get hashCode(): string;
22
+ }
23
+ export declare abstract class ServiceParameterValue implements Hashable {
24
+ abstract get hashCode(): string;
25
+ }
26
+ export declare class PrimitiveTypeValue extends ServiceParameterValue implements Hashable {
27
+ primitiveType: ValueSpecification;
28
+ get hashCode(): string;
29
+ }
30
+ export declare class ConnectionValue extends ServiceParameterValue implements Hashable {
31
+ connection: Connection;
32
+ get hashCode(): string;
33
+ }
34
+ //# sourceMappingURL=DSLPersistence_ServiceParameter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLPersistence_ServiceParameter.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_ServiceParameter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAEhE,qBAAa,gBAAiB,YAAW,QAAQ;IAC/C,IAAI,EAAG,MAAM,CAAC;IACd,KAAK,EAAG,qBAAqB,CAAC;IAE9B,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF;AAED,8BAAsB,qBAAsB,YAAW,QAAQ;IAC7D,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,kBACX,SAAQ,qBACR,YAAW,QAAQ;IAEnB,aAAa,EAAG,kBAAkB,CAAC;IAEnC,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF;AAED,qBAAa,eAAgB,SAAQ,qBAAsB,YAAW,QAAQ;IAC5E,UAAU,EAAG,UAAU,CAAC;IAExB,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF"}
@@ -0,0 +1,49 @@
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 { PERSISTENCE_HASH_STRUCTURE } from '../../../../../DSLPersistence_ModelUtils.js';
17
+ import { hashArray } from '@finos/legend-shared';
18
+ export class ServiceParameter {
19
+ name;
20
+ value;
21
+ get hashCode() {
22
+ return hashArray([
23
+ PERSISTENCE_HASH_STRUCTURE.SERVICE_PARAMETER,
24
+ this.name,
25
+ this.value,
26
+ ]);
27
+ }
28
+ }
29
+ export class ServiceParameterValue {
30
+ }
31
+ export class PrimitiveTypeValue extends ServiceParameterValue {
32
+ primitiveType;
33
+ get hashCode() {
34
+ return hashArray([
35
+ PERSISTENCE_HASH_STRUCTURE.PRIMITIVE_TYPE_VALUE_SERVICE_PARAMETER,
36
+ //TODO: ledav -- hash value specification
37
+ ]);
38
+ }
39
+ }
40
+ export class ConnectionValue extends ServiceParameterValue {
41
+ connection;
42
+ get hashCode() {
43
+ return hashArray([
44
+ PERSISTENCE_HASH_STRUCTURE.CONNECTION_VALUE_SERVICE_PARAMETER,
45
+ this.connection,
46
+ ]);
47
+ }
48
+ }
49
+ //# sourceMappingURL=DSLPersistence_ServiceParameter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLPersistence_ServiceParameter.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_ServiceParameter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,OAAO,gBAAgB;IAC3B,IAAI,CAAU;IACd,KAAK,CAAyB;IAE9B,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,iBAAiB;YAC5C,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,KAAK;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAgB,qBAAqB;CAE1C;AAED,MAAM,OAAO,kBACX,SAAQ,qBAAqB;IAG7B,aAAa,CAAsB;IAEnC,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,sCAAsC;YACjE,yCAAyC;SAC1C,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,eAAgB,SAAQ,qBAAqB;IACxD,UAAU,CAAc;IAExB,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,kCAAkC;YAC7D,IAAI,CAAC,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -13,18 +13,19 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { Binding, Connection, PackageableElementReference } from '@finos/legend-graph';
16
+ import type { Binding, Connection, Database, PackageableElementReference } from '@finos/legend-graph';
17
17
  import { type Hashable } from '@finos/legend-shared';
18
18
  export declare abstract class Sink implements Hashable {
19
19
  abstract get hashCode(): string;
20
20
  }
21
21
  export declare class RelationalSink extends Sink implements Hashable {
22
+ database?: PackageableElementReference<Database>;
22
23
  connection?: Connection;
23
24
  get hashCode(): string;
24
25
  }
25
26
  export declare class ObjectStorageSink extends Sink implements Hashable {
26
27
  binding: PackageableElementReference<Binding>;
27
- connection: Connection;
28
+ connection?: Connection;
28
29
  get hashCode(): string;
29
30
  }
30
31
  //# sourceMappingURL=DSLPersistence_Sink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLPersistence_Sink.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,OAAO,EACP,UAAU,EACV,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAEhE,8BAAsB,IAAK,YAAW,QAAQ;IAC5C,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,cAAe,SAAQ,IAAK,YAAW,QAAQ;IAC1D,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF;AAED,qBAAa,iBAAkB,SAAQ,IAAK,YAAW,QAAQ;IAC7D,OAAO,EAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAC/C,UAAU,EAAG,UAAU,CAAC;IAExB,IAAa,QAAQ,IAAI,MAAM,CAM9B;CACF"}
1
+ {"version":3,"file":"DSLPersistence_Sink.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,OAAO,EACP,UAAU,EACV,QAAQ,EACR,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAEhE,8BAAsB,IAAK,YAAW,QAAQ;IAC5C,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,cAAe,SAAQ,IAAK,YAAW,QAAQ;IAE1D,QAAQ,CAAC,EAAE,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IAEjD,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB,IAAa,QAAQ,IAAI,MAAM,CAM9B;CACF;AAED,qBAAa,iBAAkB,SAAQ,IAAK,YAAW,QAAQ;IAC7D,OAAO,EAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAE/C,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB,IAAa,QAAQ,IAAI,MAAM,CAM9B;CACF"}
@@ -18,22 +18,27 @@ import { hashArray } from '@finos/legend-shared';
18
18
  export class Sink {
19
19
  }
20
20
  export class RelationalSink extends Sink {
21
+ //TODO: ledav -- make required once persistence changes are rolled out in engine
22
+ database;
23
+ //TODO: ledav -- remove once persistence changes are rolled out in engine
21
24
  connection;
22
25
  get hashCode() {
23
26
  return hashArray([
24
27
  PERSISTENCE_HASH_STRUCTURE.RELATIONAL_SINK,
28
+ this.database?.valueForSerialization ?? '',
25
29
  this.connection ?? '',
26
30
  ]);
27
31
  }
28
32
  }
29
33
  export class ObjectStorageSink extends Sink {
30
34
  binding;
35
+ //TODO: ledav -- remove once persistence changes are rolled out in engine
31
36
  connection;
32
37
  get hashCode() {
33
38
  return hashArray([
34
39
  PERSISTENCE_HASH_STRUCTURE.OBJECT_STORAGE_SINK,
35
40
  this.binding.valueForSerialization ?? '',
36
- this.connection,
41
+ this.connection ?? '',
37
42
  ]);
38
43
  }
39
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSLPersistence_Sink.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAMzF,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,OAAgB,IAAI;CAEzB;AAED,MAAM,OAAO,cAAe,SAAQ,IAAI;IACtC,UAAU,CAAc;IAExB,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,eAAe;YAC1C,IAAI,CAAC,UAAU,IAAI,EAAE;SACtB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,iBAAkB,SAAQ,IAAI;IACzC,OAAO,CAAwC;IAC/C,UAAU,CAAc;IAExB,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,mBAAmB;YAC9C,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE;YACxC,IAAI,CAAC,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"DSLPersistence_Sink.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/persistence/DSLPersistence_Sink.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAOzF,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,OAAgB,IAAI;CAEzB;AAED,MAAM,OAAO,cAAe,SAAQ,IAAI;IACtC,gFAAgF;IAChF,QAAQ,CAAyC;IACjD,yEAAyE;IACzE,UAAU,CAAc;IAExB,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,eAAe;YAC1C,IAAI,CAAC,QAAQ,EAAE,qBAAqB,IAAI,EAAE;YAC1C,IAAI,CAAC,UAAU,IAAI,EAAE;SACtB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,iBAAkB,SAAQ,IAAI;IACzC,OAAO,CAAwC;IAC/C,yEAAyE;IACzE,UAAU,CAAc;IAExB,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,mBAAmB;YAC9C,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE;YACxC,IAAI,CAAC,UAAU,IAAI,EAAE;SACtB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
  import { PureProtocolProcessorPlugin, V1_ElementBuilder, type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement } from '@finos/legend-graph';
17
17
  export declare const PERSISTENCE_ELEMENT_CLASSIFIER_PATH = "meta::pure::persistence::metamodel::Persistence";
18
+ export declare const PERSISTENCE_CONTEXT_ELEMENT_CLASSIFIER_PATH = "meta::pure::persistence::metamodel::PersistenceContext";
18
19
  export declare class DSLPersistence_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
19
20
  constructor();
20
21
  V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSLPersistence_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EAEL,2BAA2B,EAC3B,iBAAiB,EACjB,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAE3B,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,mCAAmC,oDACG,CAAC;AAEpD,qBAAa,0CAA2C,SAAQ,2BAA2B;;IAQhF,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAiCxE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;CAanE"}
1
+ {"version":3,"file":"DSLPersistence_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,OAAO,EAEL,2BAA2B,EAC3B,iBAAiB,EACjB,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAE3B,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,mCAAmC,oDACG,CAAC;AAEpD,eAAO,MAAM,2CAA2C,2DACE,CAAC;AAE3D,qBAAa,0CAA2C,SAAQ,2BAA2B;;IAQhF,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA6DxE,uCAAuC,IAAI,sCAAsC,EAAE;IAanF,qCAAqC,IAAI,4BAA4B,EAAE;IAmBvE,uCAAuC,IAAI,8BAA8B,EAAE;IAkB3E,8BAA8B,IAAI,qBAAqB,EAAE;CAenE"}
@@ -15,14 +15,20 @@
15
15
  */
16
16
  import packageJson from '../../../../package.json';
17
17
  import { Persistence } from '../../metamodels/pure/model/packageableElements/persistence/DSLPersistence_Persistence.js';
18
+ import { PersistenceContext } from '../../metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistenceContext.js';
18
19
  import { V1_Persistence } from './v1/model/packageableElements/persistence/V1_DSLPersistence_Persistence.js';
20
+ import { V1_PersistenceContext } from './v1/model/packageableElements/persistence/V1_DSLPersistence_PersistenceContext.js';
19
21
  import { V1_PERSISTENCE_ELEMENT_PROTOCOL_TYPE, V1_persistenceModelSchema, } from './v1/transformation/pureProtocol/V1_DSLPersistence_ProtocolHelper.js';
22
+ import { V1_PERSISTENCE_CONTEXT_ELEMENT_PROTOCOL_TYPE, V1_persistenceContextModelSchema, } from './v1/transformation/pureProtocol/V1_DSLPersistenceContext_ProtocolHelper.js';
20
23
  import { V1_buildPersistence } from './v1/transformation/pureGraph/to/V1_PersistenceBuilder.js';
24
+ import { V1_buildPersistenceContext } from './v1/transformation/pureGraph/to/V1_PersistenceContextBuilder.js';
21
25
  import { V1_transformPersistence } from './v1/transformation/pureGraph/from/V1_PersistenceTransformer.js';
26
+ import { V1_transformPersistenceContext } from './v1/transformation/pureGraph/from/V1_PersistenceContextTransformer.js';
22
27
  import { PureProtocolProcessorPlugin, V1_ElementBuilder, V1_buildFullPath, } from '@finos/legend-graph';
23
28
  import { assertType } from '@finos/legend-shared';
24
29
  import { deserialize, serialize } from 'serializr';
25
30
  export const PERSISTENCE_ELEMENT_CLASSIFIER_PATH = 'meta::pure::persistence::metamodel::Persistence';
31
+ export const PERSISTENCE_CONTEXT_ELEMENT_CLASSIFIER_PATH = 'meta::pure::persistence::metamodel::PersistenceContext';
26
32
  export class DSLPersistence_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
27
33
  constructor() {
28
34
  super(packageJson.extensions.pureProtocolProcessorPlugin, packageJson.version);
@@ -44,6 +50,21 @@ export class DSLPersistence_PureProtocolProcessorPlugin extends PureProtocolProc
44
50
  V1_buildPersistence(elementProtocol, context);
45
51
  },
46
52
  }),
53
+ new V1_ElementBuilder({
54
+ elementClassName: 'PersistenceContext',
55
+ _class: V1_PersistenceContext,
56
+ firstPass: (elementProtocol, context) => {
57
+ assertType(elementProtocol, V1_PersistenceContext);
58
+ const element = new PersistenceContext(elementProtocol.name);
59
+ const path = V1_buildFullPath(elementProtocol.package, elementProtocol.name);
60
+ context.currentSubGraph.setOwnElementInExtension(path, element, PersistenceContext);
61
+ return element;
62
+ },
63
+ secondPass: (elementProtocol, context) => {
64
+ assertType(elementProtocol, V1_PersistenceContext);
65
+ V1_buildPersistenceContext(elementProtocol, context);
66
+ },
67
+ }),
47
68
  ];
48
69
  }
49
70
  V1_getExtraElementClassifierPathGetters() {
@@ -52,6 +73,9 @@ export class DSLPersistence_PureProtocolProcessorPlugin extends PureProtocolProc
52
73
  if (elementProtocol instanceof V1_Persistence) {
53
74
  return PERSISTENCE_ELEMENT_CLASSIFIER_PATH;
54
75
  }
76
+ else if (elementProtocol instanceof V1_PersistenceContext) {
77
+ return PERSISTENCE_CONTEXT_ELEMENT_CLASSIFIER_PATH;
78
+ }
55
79
  return undefined;
56
80
  },
57
81
  ];
@@ -62,6 +86,9 @@ export class DSLPersistence_PureProtocolProcessorPlugin extends PureProtocolProc
62
86
  if (elementProtocol instanceof V1_Persistence) {
63
87
  return serialize(V1_persistenceModelSchema(plugins), elementProtocol);
64
88
  }
89
+ else if (elementProtocol instanceof V1_PersistenceContext) {
90
+ return serialize(V1_persistenceContextModelSchema(plugins), elementProtocol);
91
+ }
65
92
  return undefined;
66
93
  },
67
94
  ];
@@ -72,6 +99,9 @@ export class DSLPersistence_PureProtocolProcessorPlugin extends PureProtocolProc
72
99
  if (json._type === V1_PERSISTENCE_ELEMENT_PROTOCOL_TYPE) {
73
100
  return deserialize(V1_persistenceModelSchema(plugins), json);
74
101
  }
102
+ else if (json._type === V1_PERSISTENCE_CONTEXT_ELEMENT_PROTOCOL_TYPE) {
103
+ return deserialize(V1_persistenceContextModelSchema(plugins), json);
104
+ }
75
105
  return undefined;
76
106
  },
77
107
  ];
@@ -82,6 +112,9 @@ export class DSLPersistence_PureProtocolProcessorPlugin extends PureProtocolProc
82
112
  if (metamodel instanceof Persistence) {
83
113
  return V1_transformPersistence(metamodel, context);
84
114
  }
115
+ else if (metamodel instanceof PersistenceContext) {
116
+ return V1_transformPersistenceContext(metamodel, context);
117
+ }
85
118
  return undefined;
86
119
  },
87
120
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"DSLPersistence_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,2FAA2F,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,6EAA6E,CAAC;AAC7G,OAAO,EACL,oCAAoC,EACpC,yBAAyB,GAC1B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,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AAC,eAAsC,EAAsB,EAAE;gBAC7D,IAAI,eAAe,YAAY,cAAc,EAAE;oBAC7C,OAAO,mCAAmC,CAAC;iBAC5C;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,qCAAqC;QAC5C,OAAO;YACL,CACE,eAAsC,EACtC,OAAsC,EACU,EAAE;gBAClD,IAAI,eAAe,YAAY,cAAc,EAAE;oBAC7C,OAAO,SAAS,CAAC,yBAAyB,CAAC,OAAO,CAAC,EAAE,eAAe,CAAC,CAAC;iBACvE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,uCAAuC;QAC9C,OAAO;YACL,CACE,IAAwC,EACxC,OAAsC,EACH,EAAE;gBACrC,IAAI,IAAI,CAAC,KAAK,KAAK,oCAAoC,EAAE;oBACvD,OAAO,WAAW,CAAC,yBAAyB,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC;iBAC9D;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,8BAA8B;QACrC,OAAO;YACL,CACE,SAA6B,EAC7B,OAAmC,EACA,EAAE;gBACrC,IAAI,SAAS,YAAY,WAAW,EAAE;oBACpC,OAAO,uBAAuB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;iBACpD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSLPersistence_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,2FAA2F,CAAC;AACxH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kGAAkG,CAAC;AACtI,OAAO,EAAE,cAAc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 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 { V1_PersistencePlatform } from './v1/model/packageableElements/persistence/V1_DSLPersistence_PersistencePlatform.js';
17
+ import type { PersistencePlatform } from '../../metamodels/pure/model/packageableElements/persistence/DSLPersistence_PersistencePlatform.js';
18
+ import type { PureProtocolProcessorPlugin, V1_GraphBuilderContext, V1_GraphTransformerContext } from '@finos/legend-graph';
19
+ import type { PlainObject } from '@finos/legend-shared';
20
+ export declare type V1_PersistencePlatformBuilder = (protocol: V1_PersistencePlatform, context: V1_GraphBuilderContext) => PersistencePlatform | undefined;
21
+ export declare type V1_PersistencePlatformTransformer = (metamodel: PersistencePlatform, context: V1_GraphTransformerContext) => V1_PersistencePlatform | undefined;
22
+ export declare type V1_PersistencePlatformProtocolSerializer = (protocol: V1_PersistencePlatform) => PlainObject<V1_PersistencePlatform> | undefined;
23
+ export declare type V1_PersistencePlatformProtocolDeserializer = (json: PlainObject<V1_PersistencePlatform>) => V1_PersistencePlatform | undefined;
24
+ export interface DSLPersistence_PureProtocolProcessorPlugin_Extension extends PureProtocolProcessorPlugin {
25
+ V1_getExtraPersistencePlatformBuilders?(): V1_PersistencePlatformBuilder[];
26
+ V1_getExtraPersistencePlatformTransformers?(): V1_PersistencePlatformTransformer[];
27
+ V1_getExtraPersistencePlatformProtocolSerializers?(): V1_PersistencePlatformProtocolSerializer[];
28
+ V1_getExtraPersistencePlatformProtocolDeserializers?(): V1_PersistencePlatformProtocolDeserializer[];
29
+ }
30
+ //# sourceMappingURL=DSLPersistence_PureProtocolProcessorPlugin_Extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLPersistence_PureProtocolProcessorPlugin_Extension.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qFAAqF,CAAC;AAClI,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mGAAmG,CAAC;AAC7I,OAAO,KAAK,EACV,2BAA2B,EAC3B,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,oBAAY,6BAA6B,GAAG,CAC1C,QAAQ,EAAE,sBAAsB,EAChC,OAAO,EAAE,sBAAsB,KAC5B,mBAAmB,GAAG,SAAS,CAAC;AAErC,oBAAY,iCAAiC,GAAG,CAC9C,SAAS,EAAE,mBAAmB,EAC9B,OAAO,EAAE,0BAA0B,KAChC,sBAAsB,GAAG,SAAS,CAAC;AAExC,oBAAY,wCAAwC,GAAG,CACrD,QAAQ,EAAE,sBAAsB,KAC7B,WAAW,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;AAErD,oBAAY,0CAA0C,GAAG,CACvD,IAAI,EAAE,WAAW,CAAC,sBAAsB,CAAC,KACtC,sBAAsB,GAAG,SAAS,CAAC;AAExC,MAAM,WAAW,oDACf,SAAQ,2BAA2B;IAGnC,sCAAsC,CAAC,IAAI,6BAA6B,EAAE,CAAC;IAE3E,0CAA0C,CAAC,IAAI,iCAAiC,EAAE,CAAC;IAEnF,iDAAiD,CAAC,IAAI,wCAAwC,EAAE,CAAC;IAEjG,mDAAmD,CAAC,IAAI,0CAA0C,EAAE,CAAC;CACtG"}
@@ -0,0 +1,17 @@
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 {};
17
+ //# sourceMappingURL=DSLPersistence_PureProtocolProcessorPlugin_Extension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLPersistence_PureProtocolProcessorPlugin_Extension.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLPersistence_PureProtocolProcessorPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,28 @@
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 { V1_PersistencePlatform } from './V1_DSLPersistence_PersistencePlatform.js';
17
+ import type { V1_ServiceParameter } from './V1_DSLPersistence_ServiceParameter.js';
18
+ import { type V1_Connection, V1_PackageableElement, type V1_PackageableElementVisitor } from '@finos/legend-graph';
19
+ import { type Hashable } from '@finos/legend-shared';
20
+ export declare class V1_PersistenceContext extends V1_PackageableElement implements Hashable {
21
+ persistence: string;
22
+ platform: V1_PersistencePlatform;
23
+ serviceParameters: V1_ServiceParameter[];
24
+ sinkConnection?: V1_Connection;
25
+ get hashCode(): string;
26
+ accept_PackageableElementVisitor<T>(visitor: V1_PackageableElementVisitor<T>): T;
27
+ }
28
+ //# sourceMappingURL=V1_DSLPersistence_PersistenceContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLPersistence_PersistenceContext.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistenceContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EACL,KAAK,aAAa,EAClB,qBAAqB,EACrB,KAAK,4BAA4B,EAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAEhE,qBAAa,qBACX,SAAQ,qBACR,YAAW,QAAQ;IAEnB,WAAW,EAAG,MAAM,CAAC;IACrB,QAAQ,EAAG,sBAAsB,CAAC;IAClC,iBAAiB,EAAE,mBAAmB,EAAE,CAAM;IAC9C,cAAc,CAAC,EAAE,aAAa,CAAC;IAE/B,IAAa,QAAQ,IAAI,MAAM,CAQ9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
@@ -0,0 +1,37 @@
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 { PERSISTENCE_HASH_STRUCTURE } from '../../../../../../DSLPersistence_ModelUtils.js';
17
+ import { V1_PackageableElement, } from '@finos/legend-graph';
18
+ import { hashArray } from '@finos/legend-shared';
19
+ export class V1_PersistenceContext extends V1_PackageableElement {
20
+ persistence;
21
+ platform;
22
+ serviceParameters = [];
23
+ sinkConnection;
24
+ get hashCode() {
25
+ return hashArray([
26
+ PERSISTENCE_HASH_STRUCTURE.PERSISTENCE_CONTEXT,
27
+ this.persistence,
28
+ this.platform,
29
+ hashArray(this.serviceParameters),
30
+ this.sinkConnection ?? '',
31
+ ]);
32
+ }
33
+ accept_PackageableElementVisitor(visitor) {
34
+ return visitor.visit_PackageableElement(this);
35
+ }
36
+ }
37
+ //# sourceMappingURL=V1_DSLPersistence_PersistenceContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLPersistence_PersistenceContext.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistenceContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAG5F,OAAO,EAEL,qBAAqB,GAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,OAAO,qBACX,SAAQ,qBAAqB;IAG7B,WAAW,CAAU;IACrB,QAAQ,CAA0B;IAClC,iBAAiB,GAA0B,EAAE,CAAC;IAC9C,cAAc,CAAiB;IAE/B,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,0BAA0B,CAAC,mBAAmB;YAC9C,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,QAAQ;YACb,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,cAAc,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
@@ -0,0 +1,23 @@
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 Hashable } from '@finos/legend-shared';
17
+ export declare abstract class V1_PersistencePlatform implements Hashable {
18
+ abstract get hashCode(): string;
19
+ }
20
+ export declare class V1_DefaultPersistencePlatform extends V1_PersistencePlatform implements Hashable {
21
+ get hashCode(): string;
22
+ }
23
+ //# sourceMappingURL=V1_DSLPersistence_PersistencePlatform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLPersistence_PersistencePlatform.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistencePlatform.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAEhE,8BAAsB,sBAAuB,YAAW,QAAQ;IAC9D,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,6BACX,SAAQ,sBACR,YAAW,QAAQ;IAEnB,IAAa,QAAQ,IAAI,MAAM,CAE9B;CACF"}
@@ -0,0 +1,25 @@
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 { PERSISTENCE_HASH_STRUCTURE } from '../../../../../../DSLPersistence_ModelUtils.js';
17
+ import { hashArray } from '@finos/legend-shared';
18
+ export class V1_PersistencePlatform {
19
+ }
20
+ export class V1_DefaultPersistencePlatform extends V1_PersistencePlatform {
21
+ get hashCode() {
22
+ return hashArray([PERSISTENCE_HASH_STRUCTURE.DEFAULT_PERSISTENCE_PLATFORM]);
23
+ }
24
+ }
25
+ //# sourceMappingURL=V1_DSLPersistence_PersistencePlatform.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLPersistence_PersistencePlatform.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_PersistencePlatform.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,OAAgB,sBAAsB;CAE3C;AAED,MAAM,OAAO,6BACX,SAAQ,sBAAsB;IAG9B,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC,CAAC,0BAA0B,CAAC,4BAA4B,CAAC,CAAC,CAAC;IAC9E,CAAC;CACF"}
@@ -0,0 +1,34 @@
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 { V1_Connection, V1_ValueSpecification } from '@finos/legend-graph';
17
+ import { type Hashable } from '@finos/legend-shared';
18
+ export declare class V1_ServiceParameter implements Hashable {
19
+ name: string;
20
+ value: V1_ServiceParameterValue;
21
+ get hashCode(): string;
22
+ }
23
+ export declare abstract class V1_ServiceParameterValue implements Hashable {
24
+ abstract get hashCode(): string;
25
+ }
26
+ export declare class V1_PrimitiveTypeValue extends V1_ServiceParameterValue implements Hashable {
27
+ primitiveType: V1_ValueSpecification;
28
+ get hashCode(): string;
29
+ }
30
+ export declare class V1_ConnectionValue extends V1_ServiceParameterValue implements Hashable {
31
+ connection: V1_Connection;
32
+ get hashCode(): string;
33
+ }
34
+ //# sourceMappingURL=V1_DSLPersistence_ServiceParameter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLPersistence_ServiceParameter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/persistence/V1_DSLPersistence_ServiceParameter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAEhE,qBAAa,mBAAoB,YAAW,QAAQ;IAClD,IAAI,EAAG,MAAM,CAAC;IACd,KAAK,EAAG,wBAAwB,CAAC;IAEjC,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF;AAED,8BAAsB,wBAAyB,YAAW,QAAQ;IAChE,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,qBACX,SAAQ,wBACR,YAAW,QAAQ;IAEnB,aAAa,EAAG,qBAAqB,CAAC;IAEtC,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF;AAED,qBAAa,kBACX,SAAQ,wBACR,YAAW,QAAQ;IAEnB,UAAU,EAAG,aAAa,CAAC;IAE3B,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF"}
@@ -0,0 +1,49 @@
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 { PERSISTENCE_HASH_STRUCTURE } from '../../../../../../DSLPersistence_ModelUtils.js';
17
+ import { hashArray } from '@finos/legend-shared';
18
+ export class V1_ServiceParameter {
19
+ name;
20
+ value;
21
+ get hashCode() {
22
+ return hashArray([
23
+ PERSISTENCE_HASH_STRUCTURE.SERVICE_PARAMETER,
24
+ this.name,
25
+ this.value,
26
+ ]);
27
+ }
28
+ }
29
+ export class V1_ServiceParameterValue {
30
+ }
31
+ export class V1_PrimitiveTypeValue extends V1_ServiceParameterValue {
32
+ primitiveType;
33
+ get hashCode() {
34
+ return hashArray([
35
+ PERSISTENCE_HASH_STRUCTURE.PRIMITIVE_TYPE_VALUE_SERVICE_PARAMETER,
36
+ //TODO: ledav -- hash value specification
37
+ ]);
38
+ }
39
+ }
40
+ export class V1_ConnectionValue extends V1_ServiceParameterValue {
41
+ connection;
42
+ get hashCode() {
43
+ return hashArray([
44
+ PERSISTENCE_HASH_STRUCTURE.CONNECTION_VALUE_SERVICE_PARAMETER,
45
+ this.connection,
46
+ ]);
47
+ }
48
+ }
49
+ //# sourceMappingURL=V1_DSLPersistence_ServiceParameter.js.map