@finos/legend-graph 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/GraphManagerState.d.ts +2 -2
- package/lib/GraphManagerState.d.ts.map +1 -1
- package/lib/GraphManagerState.js +2 -2
- package/lib/GraphManagerState.js.map +1 -1
- package/lib/GraphManagerTestUtils.d.ts +5 -2
- package/lib/GraphManagerTestUtils.d.ts.map +1 -1
- package/lib/GraphManagerTestUtils.js +10 -3
- package/lib/GraphManagerTestUtils.js.map +1 -1
- package/lib/MetaModelConst.d.ts +3 -1
- package/lib/MetaModelConst.d.ts.map +1 -1
- package/lib/MetaModelConst.js +2 -0
- package/lib/MetaModelConst.js.map +1 -1
- package/lib/graph/DSLExternalFormat_Extension.d.ts +22 -0
- package/lib/graph/DSLExternalFormat_Extension.d.ts.map +1 -0
- package/lib/graph/DSLExternalFormat_Extension.js +31 -0
- package/lib/graph/DSLExternalFormat_Extension.js.map +1 -0
- package/lib/graph/DSLExternalFormat_PureGraphPlugin.d.ts +23 -0
- package/lib/graph/DSLExternalFormat_PureGraphPlugin.d.ts.map +1 -0
- package/lib/graph/DSLExternalFormat_PureGraphPlugin.js +28 -0
- package/lib/graph/DSLExternalFormat_PureGraphPlugin.js.map +1 -0
- package/lib/graph/PureModel.d.ts.map +1 -1
- package/lib/graph/PureModel.js +6 -3
- package/lib/graph/PureModel.js.map +1 -1
- package/lib/graphManager/AbstractPureGraphManager.d.ts +4 -0
- package/lib/graphManager/AbstractPureGraphManager.d.ts.map +1 -1
- package/lib/graphManager/AbstractPureGraphManager.js.map +1 -1
- package/lib/graphManager/DSLExternalFormat_GraphManagerHelper.d.ts +21 -0
- package/lib/graphManager/DSLExternalFormat_GraphManagerHelper.d.ts.map +1 -0
- package/lib/graphManager/DSLExternalFormat_GraphManagerHelper.js +21 -0
- package/lib/graphManager/DSLExternalFormat_GraphManagerHelper.js.map +1 -0
- package/lib/graphManager/DSLExternalFormat_PureGraphManagerPlugin.d.ts +25 -0
- package/lib/graphManager/DSLExternalFormat_PureGraphManagerPlugin.d.ts.map +1 -0
- package/lib/graphManager/DSLExternalFormat_PureGraphManagerPlugin.js +67 -0
- package/lib/graphManager/DSLExternalFormat_PureGraphManagerPlugin.js.map +1 -0
- package/lib/graphManager/GraphBuilderReport.d.ts +18 -0
- package/lib/graphManager/GraphBuilderReport.d.ts.map +1 -0
- package/lib/graphManager/GraphBuilderReport.js +18 -0
- package/lib/graphManager/GraphBuilderReport.js.map +1 -0
- package/lib/graphManager/GraphManagerLogEvent.d.ts +1 -0
- package/lib/graphManager/GraphManagerLogEvent.d.ts.map +1 -1
- package/lib/graphManager/GraphManagerLogEvent.js +1 -0
- package/lib/graphManager/GraphManagerLogEvent.js.map +1 -1
- package/lib/graphManager/action/EngineError.d.ts +3 -0
- package/lib/graphManager/action/EngineError.d.ts.map +1 -1
- package/lib/graphManager/action/EngineError.js +3 -0
- package/lib/graphManager/action/EngineError.js.map +1 -1
- package/lib/graphManager/action/externalFormat/ExternalFormatDescription.d.ts +26 -0
- package/lib/graphManager/action/externalFormat/ExternalFormatDescription.d.ts.map +1 -0
- package/lib/graphManager/action/externalFormat/ExternalFormatDescription.js +27 -0
- package/lib/graphManager/action/externalFormat/ExternalFormatDescription.js.map +1 -0
- package/lib/index.d.ts +12 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +13 -1
- package/lib/index.js.map +1 -1
- package/lib/models/DSLExternalFormat_ModelUtils.d.ts +24 -0
- package/lib/models/DSLExternalFormat_ModelUtils.d.ts.map +1 -0
- package/lib/models/DSLExternalFormat_ModelUtils.js +25 -0
- package/lib/models/DSLExternalFormat_ModelUtils.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/PackageableElement.js +1 -1
- package/lib/models/metamodels/pure/packageableElements/PackageableElement.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/domain/Package.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/domain/Package.js +4 -2
- package/lib/models/metamodels/pure/packageableElements/domain/Package.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_ExternalFormatConnection.d.ts +29 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_ExternalFormatConnection.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_ExternalFormatConnection.js +45 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_ExternalFormatConnection.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_UrlStream.d.ts +23 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_UrlStream.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_UrlStream.js +35 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_UrlStream.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_Schema.d.ts +28 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_Schema.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_Schema.js +53 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_Schema.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_SchemaSet.d.ts +29 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_SchemaSet.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_SchemaSet.js +55 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_SchemaSet.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.d.ts +25 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.js +38 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_Binding.d.ts +35 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_Binding.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_Binding.js +65 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_Binding.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_ModelUnit.d.ts +31 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_ModelUnit.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_ModelUnit.js +61 -0
- package/lib/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_ModelUnit.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/mapping/MergeOperationSetImplementation.d.ts +33 -0
- package/lib/models/metamodels/pure/packageableElements/mapping/MergeOperationSetImplementation.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/mapping/MergeOperationSetImplementation.js +46 -0
- package/lib/models/metamodels/pure/packageableElements/mapping/MergeOperationSetImplementation.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/mapping/OperationSetImplementation.d.ts +2 -1
- package/lib/models/metamodels/pure/packageableElements/mapping/OperationSetImplementation.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/mapping/OperationSetImplementation.js +1 -1
- package/lib/models/metamodels/pure/packageableElements/mapping/OperationSetImplementation.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/mapping/SetImplementation.d.ts +3 -0
- package/lib/models/metamodels/pure/packageableElements/mapping/SetImplementation.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/mapping/SetImplementation.js +1 -0
- package/lib/models/metamodels/pure/packageableElements/mapping/SetImplementation.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/store/relational/connection/DatasourceSpecification.d.ts +9 -3
- package/lib/models/metamodels/pure/packageableElements/store/relational/connection/DatasourceSpecification.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/store/relational/connection/DatasourceSpecification.js +32 -8
- package/lib/models/metamodels/pure/packageableElements/store/relational/connection/DatasourceSpecification.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/store/relational/mapping/RelationalPropertyMapping.d.ts +3 -0
- package/lib/models/metamodels/pure/packageableElements/store/relational/mapping/RelationalPropertyMapping.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/store/relational/mapping/RelationalPropertyMapping.js +7 -0
- package/lib/models/metamodels/pure/packageableElements/store/relational/mapping/RelationalPropertyMapping.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/store/relational/model/RelationalDataType.d.ts +4 -0
- package/lib/models/metamodels/pure/packageableElements/store/relational/model/RelationalDataType.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/store/relational/model/RelationalDataType.js +11 -0
- package/lib/models/metamodels/pure/packageableElements/store/relational/model/RelationalDataType.js.map +1 -1
- package/lib/models/protocols/pure/DSLExternalFormat_PureProtocolProcessorPlugin.d.ts +34 -0
- package/lib/models/protocols/pure/DSLExternalFormat_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/models/protocols/pure/DSLExternalFormat_PureProtocolProcessorPlugin.js +253 -0
- package/lib/models/protocols/pure/DSLExternalFormat_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.d.ts +4 -0
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.js +23 -4
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.js.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_Engine.d.ts +4 -0
- package/lib/models/protocols/pure/v1/engine/V1_Engine.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_Engine.js +15 -1
- package/lib/models/protocols/pure/v1/engine/V1_Engine.js.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_EngineHelper.d.ts +6 -2
- package/lib/models/protocols/pure/v1/engine/V1_EngineHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_EngineHelper.js +31 -16
- package/lib/models/protocols/pure/v1/engine/V1_EngineHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.d.ts +10 -0
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.js +10 -0
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.js.map +1 -1
- package/lib/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatDescription.d.ts +28 -0
- package/lib/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatDescription.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatDescription.js +38 -0
- package/lib/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatDescription.js.map +1 -0
- package/lib/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatModelGeneration.d.ts +25 -0
- package/lib/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatModelGeneration.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatModelGeneration.js +35 -0
- package/lib/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatModelGeneration.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/context/V1_PureModelContextData.d.ts +0 -2
- package/lib/models/protocols/pure/v1/model/context/V1_PureModelContextData.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/context/V1_PureModelContextData.js +0 -3
- package/lib/models/protocols/pure/v1/model/context/V1_PureModelContextData.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_ExternalFormatConnection.d.ts +24 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_ExternalFormatConnection.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_ExternalFormatConnection.js +32 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_ExternalFormatConnection.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_UrlStream.d.ts +21 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_UrlStream.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_UrlStream.js +24 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_UrlStream.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_Schema.d.ts +23 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_Schema.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_Schema.js +31 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_Schema.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_SchemaSet.d.ts +25 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_SchemaSet.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_SchemaSet.js +34 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_SchemaSet.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_BindingTransformer.d.ts +21 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_BindingTransformer.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_BindingTransformer.js +24 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_BindingTransformer.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_Binding.d.ts +28 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_Binding.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_Binding.js +38 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_Binding.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_ModelUnit.d.ts +22 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_ModelUnit.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_ModelUnit.js +29 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_ModelUnit.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_ClassMapping.d.ts +2 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_ClassMapping.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_ClassMapping.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_MergeOperationClassMapping.d.ts +25 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_MergeOperationClassMapping.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_MergeOperationClassMapping.js +34 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_MergeOperationClassMapping.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_OperationClassMapping.d.ts +2 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_OperationClassMapping.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_OperationClassMapping.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/mapping/V1_OperationClassMapping.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/connection/V1_DatasourceSpecification.d.ts +4 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/connection/V1_DatasourceSpecification.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/connection/V1_DatasourceSpecification.js +8 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/connection/V1_DatasourceSpecification.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/mapping/V1_RelationalPropertyMapping.d.ts +2 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/mapping/V1_RelationalPropertyMapping.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/mapping/V1_RelationalPropertyMapping.js +2 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/mapping/V1_RelationalPropertyMapping.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/model/V1_RelationalDataType.d.ts +3 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/model/V1_RelationalDataType.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/model/V1_RelationalDataType.js +5 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/store/relational/model/V1_RelationalDataType.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_ConnectionTransformer.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_ConnectionTransformer.js +4 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_ConnectionTransformer.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_DatabaseTransformer.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_DatabaseTransformer.js +5 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_DatabaseTransformer.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_MappingTransformer.d.ts +2 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_MappingTransformer.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_MappingTransformer.js +34 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/from/V1_MappingTransformer.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_DSLExternalFormat_GraphBuilderHelper.d.ts +22 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_DSLExternalFormat_GraphBuilderHelper.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_DSLExternalFormat_GraphBuilderHelper.js +19 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_DSLExternalFormat_GraphBuilderHelper.js.map +1 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingFirstPassBuilder.d.ts +2 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingFirstPassBuilder.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingFirstPassBuilder.js +8 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingFirstPassBuilder.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingSecondPassBuilder.d.ts +2 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingSecondPassBuilder.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingSecondPassBuilder.js +3 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingSecondPassBuilder.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelPropertyMappingBuilder.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelPropertyMappingBuilder.js +8 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelPropertyMappingBuilder.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.js +5 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_RelationalConnectionBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_RelationalConnectionBuilderHelper.js +5 -3
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_RelationalConnectionBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ConnectionSerializationHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ConnectionSerializationHelper.js +4 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ConnectionSerializationHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DSLExternalFormat_ProtocolHelper.d.ts +25 -0
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DSLExternalFormat_ProtocolHelper.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DSLExternalFormat_ProtocolHelper.js +62 -0
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DSLExternalFormat_ProtocolHelper.js.map +1 -0
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DatabaseSerializationHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DatabaseSerializationHelper.js +10 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DatabaseSerializationHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_MappingSerializationHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_MappingSerializationHelper.js +23 -2
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_MappingSerializationHelper.js.map +1 -1
- package/lib/package.json +12 -8
- package/package.json +15 -11
- package/src/GraphManagerState.ts +10 -3
- package/src/GraphManagerTestUtils.tsx +17 -3
- package/src/MetaModelConst.ts +2 -0
- package/src/graph/DSLExternalFormat_Extension.ts +37 -0
- package/src/graph/DSLExternalFormat_PureGraphPlugin.ts +35 -0
- package/src/graph/PureModel.ts +8 -2
- package/src/graphManager/AbstractPureGraphManager.ts +13 -0
- package/src/graphManager/DSLExternalFormat_GraphManagerHelper.ts +30 -0
- package/src/graphManager/DSLExternalFormat_PureGraphManagerPlugin.ts +86 -0
- package/src/graphManager/GraphBuilderReport.ts +17 -0
- package/src/graphManager/GraphManagerLogEvent.ts +1 -1
- package/src/graphManager/action/EngineError.ts +3 -0
- package/src/graphManager/action/externalFormat/ExternalFormatDescription.ts +30 -0
- package/src/index.ts +16 -2
- package/src/models/DSLExternalFormat_ModelUtils.ts +24 -0
- package/src/models/metamodels/pure/packageableElements/PackageableElement.ts +1 -1
- package/src/models/metamodels/pure/packageableElements/domain/Package.ts +3 -2
- package/src/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_ExternalFormatConnection.ts +57 -0
- package/src/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_UrlStream.ts +39 -0
- package/src/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_Schema.ts +59 -0
- package/src/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_SchemaSet.ts +74 -0
- package/src/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.ts +44 -0
- package/src/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_Binding.ts +80 -0
- package/src/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_ModelUnit.ts +98 -0
- package/src/models/metamodels/pure/packageableElements/mapping/MergeOperationSetImplementation.ts +81 -0
- package/src/models/metamodels/pure/packageableElements/mapping/OperationSetImplementation.ts +1 -1
- package/src/models/metamodels/pure/packageableElements/mapping/SetImplementation.ts +5 -0
- package/src/models/metamodels/pure/packageableElements/store/relational/connection/DatasourceSpecification.ts +40 -9
- package/src/models/metamodels/pure/packageableElements/store/relational/mapping/RelationalPropertyMapping.ts +9 -0
- package/src/models/metamodels/pure/packageableElements/store/relational/model/RelationalDataType.ts +14 -0
- package/src/models/protocols/pure/DSLExternalFormat_PureProtocolProcessorPlugin.ts +417 -0
- package/src/models/protocols/pure/v1/V1_PureGraphManager.ts +46 -3
- package/src/models/protocols/pure/v1/engine/V1_Engine.ts +32 -0
- package/src/models/protocols/pure/v1/engine/V1_EngineHelper.ts +59 -29
- package/src/models/protocols/pure/v1/engine/V1_EngineServerClient.ts +28 -0
- package/src/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatDescription.ts +46 -0
- package/src/models/protocols/pure/v1/engine/externalFormat/V1_ExternalFormatModelGeneration.ts +44 -0
- package/src/models/protocols/pure/v1/model/context/V1_PureModelContextData.ts +0 -9
- package/src/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_ExternalFormatConnection.ts +42 -0
- package/src/models/protocols/pure/v1/model/packageableElements/externalFormat/connection/V1_DSLExternalFormat_UrlStream.ts +26 -0
- package/src/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_Schema.ts +33 -0
- package/src/models/protocols/pure/v1/model/packageableElements/externalFormat/schemaSet/V1_DSLExternalFormat_SchemaSet.ts +43 -0
- package/src/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_BindingTransformer.ts +26 -0
- package/src/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_Binding.ts +45 -0
- package/src/models/protocols/pure/v1/model/packageableElements/externalFormat/store/V1_DSLExternalFormat_ModelUnit.ts +31 -0
- package/src/models/protocols/pure/v1/model/packageableElements/mapping/V1_ClassMapping.ts +4 -0
- package/src/models/protocols/pure/v1/model/packageableElements/mapping/V1_MergeOperationClassMapping.ts +46 -0
- package/src/models/protocols/pure/v1/model/packageableElements/mapping/V1_OperationClassMapping.ts +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/store/relational/connection/V1_DatasourceSpecification.ts +8 -2
- package/src/models/protocols/pure/v1/model/packageableElements/store/relational/mapping/V1_RelationalPropertyMapping.ts +3 -0
- package/src/models/protocols/pure/v1/model/packageableElements/store/relational/model/V1_RelationalDataType.ts +9 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/from/V1_ConnectionTransformer.ts +4 -1
- package/src/models/protocols/pure/v1/transformation/pureGraph/from/V1_DatabaseTransformer.ts +4 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/from/V1_MappingTransformer.ts +53 -1
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/V1_DSLExternalFormat_GraphBuilderHelper.ts +40 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingFirstPassBuilder.ts +32 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingSecondPassBuilder.ts +7 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelPropertyMappingBuilder.ts +11 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.ts +4 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_RelationalConnectionBuilderHelper.ts +18 -5
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.ts +1 -2
- package/src/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ConnectionSerializationHelper.ts +4 -1
- package/src/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DSLExternalFormat_ProtocolHelper.ts +90 -0
- package/src/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_DatabaseSerializationHelper.ts +13 -0
- package/src/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_MappingSerializationHelper.ts +30 -1
- package/tsconfig.json +28 -0
- package/CHANGELOG.md +0 -229
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Package.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/domain/Package.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,SAAS,EACT,UAAU,EACV,cAAc,
|
|
1
|
+
{"version":3,"file":"Package.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/domain/Package.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,SAAS,EACT,UAAU,EACV,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,WAAW,CAAC,CAAC;AAErD,MAAM,OAAO,OAAQ,SAAQ,kBAAkB;IAC7C,QAAQ,GAAyB,EAAE,CAAC;IAEpC,YAAY,IAAY;QACtB,KAAK,CAAC,IAAI,CAAC,CAAC;QAEZ,cAAc,CAAC,IAAI,EAAE;YACnB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,MAAM;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,uBAAuB,CAAC,IAAY,EAAE,MAAe;QAC1D,UAAU,CACR,CAAC,uBAAuB,CAAC,QAAQ,CAAC,IAAI,CAAC,EACvC,4CAA4C,IAAI,GAAG,CACpD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;QACrC,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAC9B,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,QAAQ,CAAC,KAAyB;QAChC,4IAA4I;QAC5I,kDAAkD;QAClD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,UAAU,CAAC,OAA2B;QACpC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACvB,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAED,IAAI,QAAQ;QACV,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAO,EAAE,CAAC;SACX;QACD,MAAM,iBAAiB,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QAChD,OAAO,CAAC,iBAAiB;YACvB,CAAC,CAAC,IAAI,CAAC,IAAI;YACX,CAAC,CAAC,GAAG,iBAAiB,GAAG,sBAAsB,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAClE,CAAC;IAED,aAAa,CAAC,kBAAsC;QAClD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAClC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,kBAAkB,CACxC,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,kBAAkB,CACvB,MAAe,EACf,WAAmB,EACnB,MAAe;QAEf,MAAM,KAAK,GAAG,WAAW,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;QAC1D,MAAM,GAAG,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;QACzE,IAAI,IAAyB,CAAC;QAC9B,IAAI,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CACzB,CAAC,KAAyB,EAAoB,EAAE,CAC9C,KAAK,YAAY,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,GAAG,CACjD,CAAC;QACF,IAAI,CAAC,IAAI,EAAE;YACT,IAAI,CAAC,MAAM,EAAE;gBACX,MAAM,IAAI,cAAc,CACtB,mCAAmC,GAAG,iBAAiB,WAAW,GAAG,CACtE,CAAC;aACH;YACD,iDAAiD;YACjD,IAAI,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YACpD,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;SACvB;QACD,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;YAChB,OAAO,OAAO,CAAC,kBAAkB,CAC/B,IAAI,EACJ,WAAW,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,EAChC,MAAM,CACP,CAAC;SACH;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,OAAO;YAC3B,IAAI,CAAC,IAAI;YACT,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SACpD,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, ContentType } from '@finos/legend-shared';
|
|
17
|
+
import type { Binding } from '../store/DSLExternalFormat_Binding';
|
|
18
|
+
import type { UrlStream } from './DSLExternalFormat_UrlStream';
|
|
19
|
+
import { Connection, type ConnectionVisitor } from '../../connection/Connection';
|
|
20
|
+
import type { PackageableElementReference } from '../../PackageableElementReference';
|
|
21
|
+
export declare class ExternalFormatConnection extends Connection implements Hashable {
|
|
22
|
+
static readonly CONTENT_TYPE = ContentType.TEXT_PLAIN;
|
|
23
|
+
externalSource: UrlStream;
|
|
24
|
+
constructor(store: PackageableElementReference<Binding>);
|
|
25
|
+
setSource(value: UrlStream): void;
|
|
26
|
+
get hashCode(): string;
|
|
27
|
+
accept_ConnectionVisitor<T>(visitor: ConnectionVisitor<T>): T;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=DSLExternalFormat_ExternalFormatConnection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_ExternalFormatConnection.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_ExternalFormatConnection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAE,WAAW,EAAa,MAAM,sBAAsB,CAAC;AAE7E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EACL,UAAU,EACV,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAGrF,qBAAa,wBAAyB,SAAQ,UAAW,YAAW,QAAQ;IAC1E,MAAM,CAAC,QAAQ,CAAC,YAAY,0BAA0B;IACtD,cAAc,EAAG,SAAS,CAAC;gBAEf,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC;IAUvD,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAIjC,IAAI,QAAQ,IAAI,MAAM,CAMrB;IAED,wBAAwB,CAAC,CAAC,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,CAAC;CAG9D"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { ContentType, hashArray } from '@finos/legend-shared';
|
|
17
|
+
import { action, computed, makeObservable, observable } from 'mobx';
|
|
18
|
+
import { Connection, } from '../../connection/Connection';
|
|
19
|
+
import { DSL_EXTERNAL_FORMAT_HASH_STRUCTURE } from '../../../../../DSLExternalFormat_ModelUtils';
|
|
20
|
+
export class ExternalFormatConnection extends Connection {
|
|
21
|
+
static CONTENT_TYPE = ContentType.TEXT_PLAIN;
|
|
22
|
+
externalSource;
|
|
23
|
+
constructor(store) {
|
|
24
|
+
super(store);
|
|
25
|
+
makeObservable(this, {
|
|
26
|
+
externalSource: observable,
|
|
27
|
+
setSource: action,
|
|
28
|
+
hashCode: computed,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
setSource(value) {
|
|
32
|
+
this.externalSource = value;
|
|
33
|
+
}
|
|
34
|
+
get hashCode() {
|
|
35
|
+
return hashArray([
|
|
36
|
+
DSL_EXTERNAL_FORMAT_HASH_STRUCTURE.EXTERNAL_FORMAT_CONNECTION,
|
|
37
|
+
this.store.hashValue,
|
|
38
|
+
this.externalSource,
|
|
39
|
+
]);
|
|
40
|
+
}
|
|
41
|
+
accept_ConnectionVisitor(visitor) {
|
|
42
|
+
return visitor.visit_Connection(this);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=DSLExternalFormat_ExternalFormatConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_ExternalFormatConnection.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_ExternalFormatConnection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGpE,OAAO,EACL,UAAU,GAEX,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,kCAAkC,EAAE,MAAM,6CAA6C,CAAC;AAEjG,MAAM,OAAO,wBAAyB,SAAQ,UAAU;IACtD,MAAM,CAAU,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC;IACtD,cAAc,CAAa;IAE3B,YAAY,KAA2C;QACrD,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,cAAc,CAAC,IAAI,EAAE;YACnB,cAAc,EAAE,UAAU;YAC1B,SAAS,EAAE,MAAM;YACjB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAED,SAAS,CAAC,KAAgB;QACxB,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;IAC9B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,0BAA0B;YAC7D,IAAI,CAAC,KAAK,CAAC,SAAS;YACpB,IAAI,CAAC,cAAc;SACpB,CAAC,CAAC;IACL,CAAC;IAED,wBAAwB,CAAI,OAA6B;QACvD,OAAO,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC"}
|
|
@@ -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 class UrlStream implements Hashable {
|
|
18
|
+
url: string;
|
|
19
|
+
constructor();
|
|
20
|
+
setUrl(val: string): void;
|
|
21
|
+
get hashCode(): string;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=DSLExternalFormat_UrlStream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_UrlStream.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_UrlStream.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAIhE,qBAAa,SAAU,YAAW,QAAQ;IACxC,GAAG,EAAG,MAAM,CAAC;;IAUb,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzB,IAAI,QAAQ,IAAI,MAAM,CAErB;CACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { hashArray } from '@finos/legend-shared';
|
|
17
|
+
import { action, computed, makeObservable, observable } from 'mobx';
|
|
18
|
+
import { DSL_EXTERNAL_FORMAT_HASH_STRUCTURE } from '../../../../../DSLExternalFormat_ModelUtils';
|
|
19
|
+
export class UrlStream {
|
|
20
|
+
url;
|
|
21
|
+
constructor() {
|
|
22
|
+
makeObservable(this, {
|
|
23
|
+
url: observable,
|
|
24
|
+
hashCode: computed,
|
|
25
|
+
setUrl: action,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
setUrl(val) {
|
|
29
|
+
this.url = val;
|
|
30
|
+
}
|
|
31
|
+
get hashCode() {
|
|
32
|
+
return hashArray([DSL_EXTERNAL_FORMAT_HASH_STRUCTURE.URL_STREAM, this.url]);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=DSLExternalFormat_UrlStream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_UrlStream.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/connection/DSLExternalFormat_UrlStream.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,6CAA6C,CAAC;AAEjG,MAAM,OAAO,SAAS;IACpB,GAAG,CAAU;IAEb;QACE,cAAc,CAAC,IAAI,EAAE;YACnB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,MAAM;SACf,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,GAAW;QAChB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC,CAAC,kCAAkC,CAAC,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9E,CAAC;CACF"}
|
|
@@ -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 Hashable } from '@finos/legend-shared';
|
|
17
|
+
export declare class Schema implements Hashable {
|
|
18
|
+
uuid: string;
|
|
19
|
+
id?: string | undefined;
|
|
20
|
+
location?: string | undefined;
|
|
21
|
+
content: string;
|
|
22
|
+
constructor();
|
|
23
|
+
setId(value: string): void;
|
|
24
|
+
setLocation(value: string): void;
|
|
25
|
+
setContent(value: string): void;
|
|
26
|
+
get hashCode(): string;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=DSLExternalFormat_Schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_Schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_Schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAmB,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGtE,qBAAa,MAAO,YAAW,QAAQ;IACrC,IAAI,SAAU;IACd,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,EAAG,MAAM,CAAC;;IAcjB,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI1B,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAIhC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI/B,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { observable, computed, makeObservable, action } from 'mobx';
|
|
17
|
+
import { uuid, hashArray } from '@finos/legend-shared';
|
|
18
|
+
import { DSL_EXTERNAL_FORMAT_HASH_STRUCTURE } from '../../../../../DSLExternalFormat_ModelUtils';
|
|
19
|
+
export class Schema {
|
|
20
|
+
uuid = uuid();
|
|
21
|
+
id;
|
|
22
|
+
location;
|
|
23
|
+
content;
|
|
24
|
+
constructor() {
|
|
25
|
+
makeObservable(this, {
|
|
26
|
+
id: observable,
|
|
27
|
+
location: observable,
|
|
28
|
+
content: observable,
|
|
29
|
+
setId: action,
|
|
30
|
+
setLocation: action,
|
|
31
|
+
setContent: action,
|
|
32
|
+
hashCode: computed,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
setId(value) {
|
|
36
|
+
this.id = value;
|
|
37
|
+
}
|
|
38
|
+
setLocation(value) {
|
|
39
|
+
this.location = value;
|
|
40
|
+
}
|
|
41
|
+
setContent(value) {
|
|
42
|
+
this.content = value;
|
|
43
|
+
}
|
|
44
|
+
get hashCode() {
|
|
45
|
+
return hashArray([
|
|
46
|
+
DSL_EXTERNAL_FORMAT_HASH_STRUCTURE.SCHEMA,
|
|
47
|
+
this.id ?? '',
|
|
48
|
+
this.location ?? '',
|
|
49
|
+
this.content,
|
|
50
|
+
]);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=DSLExternalFormat_Schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_Schema.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_Schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,kCAAkC,EAAE,MAAM,6CAA6C,CAAC;AAEjG,MAAM,OAAO,MAAM;IACjB,IAAI,GAAG,IAAI,EAAE,CAAC;IACd,EAAE,CAAsB;IACxB,QAAQ,CAAsB;IAC9B,OAAO,CAAU;IAEjB;QACE,cAAc,CAAC,IAAI,EAAE;YACnB,EAAE,EAAE,UAAU;YACd,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,UAAU;YACnB,KAAK,EAAE,MAAM;YACb,WAAW,EAAE,MAAM;YACnB,UAAU,EAAE,MAAM;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,KAAa;QACjB,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC;IAClB,CAAC;IAED,WAAW,CAAC,KAAa;QACvB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,UAAU,CAAC,KAAa;QACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,MAAM;YACzC,IAAI,CAAC,EAAE,IAAI,EAAE;YACb,IAAI,CAAC,QAAQ,IAAI,EAAE;YACnB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
import type { Schema } from './DSLExternalFormat_Schema';
|
|
18
|
+
import { type PackageableElementVisitor, PackageableElement } from '../../PackageableElement';
|
|
19
|
+
export declare class SchemaSet extends PackageableElement implements Hashable {
|
|
20
|
+
format: string;
|
|
21
|
+
schemas: Schema[];
|
|
22
|
+
constructor(name: string);
|
|
23
|
+
setFormat(value: string): void;
|
|
24
|
+
addSchema(value: Schema): void;
|
|
25
|
+
deleteSchema(value: Schema): void;
|
|
26
|
+
protected get _elementHashCode(): string;
|
|
27
|
+
accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=DSLExternalFormat_SchemaSet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_SchemaSet.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_SchemaSet.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EACL,KAAK,yBAAyB,EAC9B,kBAAkB,EACnB,MAAM,0BAA0B,CAAC;AAGlC,qBAAa,SAAU,SAAQ,kBAAmB,YAAW,QAAQ;IACnE,MAAM,EAAG,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAM;gBAEX,IAAI,EAAE,MAAM;IAaxB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI9B,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI9B,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAIjC,cAAuB,gBAAgB,IAAI,MAAM,CAOhD;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { observable, action, makeObservable, override } from 'mobx';
|
|
17
|
+
import { hashArray, addUniqueEntry, deleteEntry, } from '@finos/legend-shared';
|
|
18
|
+
import { PackageableElement, } from '../../PackageableElement';
|
|
19
|
+
import { DSL_EXTERNAL_FORMAT_HASH_STRUCTURE } from '../../../../../DSLExternalFormat_ModelUtils';
|
|
20
|
+
export class SchemaSet extends PackageableElement {
|
|
21
|
+
format;
|
|
22
|
+
schemas = [];
|
|
23
|
+
constructor(name) {
|
|
24
|
+
super(name);
|
|
25
|
+
makeObservable(this, {
|
|
26
|
+
format: observable,
|
|
27
|
+
schemas: observable,
|
|
28
|
+
setFormat: action,
|
|
29
|
+
addSchema: action,
|
|
30
|
+
deleteSchema: action,
|
|
31
|
+
_elementHashCode: override,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
setFormat(value) {
|
|
35
|
+
this.format = value;
|
|
36
|
+
}
|
|
37
|
+
addSchema(value) {
|
|
38
|
+
addUniqueEntry(this.schemas, value);
|
|
39
|
+
}
|
|
40
|
+
deleteSchema(value) {
|
|
41
|
+
deleteEntry(this.schemas, value);
|
|
42
|
+
}
|
|
43
|
+
get _elementHashCode() {
|
|
44
|
+
return hashArray([
|
|
45
|
+
DSL_EXTERNAL_FORMAT_HASH_STRUCTURE.SCHEMA_SET,
|
|
46
|
+
this.path,
|
|
47
|
+
this.format,
|
|
48
|
+
hashArray(this.schemas),
|
|
49
|
+
]);
|
|
50
|
+
}
|
|
51
|
+
accept_PackageableElementVisitor(visitor) {
|
|
52
|
+
return visitor.visit_PackageableElement(this);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=DSLExternalFormat_SchemaSet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_SchemaSet.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/schemaSet/DSLExternalFormat_SchemaSet.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,SAAS,EACT,cAAc,EACd,WAAW,GAEZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,kBAAkB,GACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,6CAA6C,CAAC;AAEjG,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAC/C,MAAM,CAAU;IAChB,OAAO,GAAa,EAAE,CAAC;IAEvB,YAAY,IAAY;QACtB,KAAK,CAAC,IAAI,CAAC,CAAC;QAEZ,cAAc,CAAgC,IAAI,EAAE;YAClD,MAAM,EAAE,UAAU;YAClB,OAAO,EAAE,UAAU;YACnB,SAAS,EAAE,MAAM;YACjB,SAAS,EAAE,MAAM;YACjB,YAAY,EAAE,MAAM;YACpB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC,CAAC;IACL,CAAC;IAED,SAAS,CAAC,KAAa;QACrB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACtB,CAAC;IAED,SAAS,CAAC,KAAa;QACrB,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACtC,CAAC;IAED,YAAY,CAAC,KAAa;QACxB,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IAED,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,UAAU;YAC7C,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,MAAM;YACX,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;SACxB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.d.ts
ADDED
|
@@ -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 { type Hashable } from '@finos/legend-shared';
|
|
17
|
+
import type { PackageableElementReference } from '../../PackageableElementReference';
|
|
18
|
+
import type { Binding } from './DSLExternalFormat_Binding';
|
|
19
|
+
export declare class BindingTransformer implements Hashable {
|
|
20
|
+
binding: PackageableElementReference<Binding>;
|
|
21
|
+
constructor();
|
|
22
|
+
setBinding(value: PackageableElementReference<Binding>): void;
|
|
23
|
+
get hashCode(): string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=BindingTransformer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BindingTransformer.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAE3D,qBAAa,kBAAmB,YAAW,QAAQ;IACjD,OAAO,EAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC;;IAU/C,UAAU,CAAC,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC,GAAG,IAAI;IAI7D,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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 { hashArray } from '@finos/legend-shared';
|
|
17
|
+
import { action, computed, makeObservable, observable } from 'mobx';
|
|
18
|
+
import { CORE_HASH_STRUCTURE } from '../../../../../../MetaModelConst';
|
|
19
|
+
export class BindingTransformer {
|
|
20
|
+
binding;
|
|
21
|
+
constructor() {
|
|
22
|
+
makeObservable(this, {
|
|
23
|
+
binding: observable,
|
|
24
|
+
hashCode: computed,
|
|
25
|
+
setBinding: action,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
setBinding(value) {
|
|
29
|
+
this.binding = value;
|
|
30
|
+
}
|
|
31
|
+
get hashCode() {
|
|
32
|
+
return hashArray([
|
|
33
|
+
CORE_HASH_STRUCTURE.BINDING_TRANSFORMER,
|
|
34
|
+
this.binding.hashValue,
|
|
35
|
+
]);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=BindingTransformer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BindingTransformer.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/store/BindingTransformer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAIvE,MAAM,OAAO,kBAAkB;IAC7B,OAAO,CAAwC;IAE/C;QACE,cAAc,CAAC,IAAI,EAAE;YACnB,OAAO,EAAE,UAAU;YACnB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,MAAM;SACnB,CAAC,CAAC;IACL,CAAC;IAED,UAAU,CAAC,KAA2C;QACpD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,mBAAmB;YACvC,IAAI,CAAC,OAAO,CAAC,SAAS;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
import type { SchemaSet } from '../schemaSet/DSLExternalFormat_SchemaSet';
|
|
18
|
+
import { Store } from '../../store/Store';
|
|
19
|
+
import type { OptionalPackageableElementReference } from '../../PackageableElementReference';
|
|
20
|
+
import type { ModelUnit } from './DSLExternalFormat_ModelUnit';
|
|
21
|
+
import type { PackageableElementVisitor } from '../../PackageableElement';
|
|
22
|
+
export declare class Binding extends Store implements Hashable {
|
|
23
|
+
schemaSet: OptionalPackageableElementReference<SchemaSet>;
|
|
24
|
+
schemaId?: string | undefined;
|
|
25
|
+
contentType: string;
|
|
26
|
+
modelUnit: ModelUnit;
|
|
27
|
+
constructor(name: string);
|
|
28
|
+
setSchemaSet(value: SchemaSet | undefined): void;
|
|
29
|
+
setSchemaId(value: string | undefined): void;
|
|
30
|
+
setContentType(value: string): void;
|
|
31
|
+
setModelUnit(value: ModelUnit): void;
|
|
32
|
+
protected get _elementHashCode(): string;
|
|
33
|
+
accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=DSLExternalFormat_Binding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_Binding.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_Binding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAG1E,qBAAa,OAAQ,SAAQ,KAAM,YAAW,QAAQ;IACpD,SAAS,EAAG,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAC3D,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,WAAW,EAAG,MAAM,CAAC;IACrB,SAAS,EAAG,SAAS,CAAC;gBAEV,IAAI,EAAE,MAAM;IAgBxB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,IAAI;IAIhD,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAI5C,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAInC,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAIpC,cAAuB,gBAAgB,IAAI,MAAM,CAShD;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { observable, action, makeObservable, override } from 'mobx';
|
|
17
|
+
import { hashArray } from '@finos/legend-shared';
|
|
18
|
+
import { Store } from '../../store/Store';
|
|
19
|
+
import { DSL_EXTERNAL_FORMAT_HASH_STRUCTURE } from '../../../../../DSLExternalFormat_ModelUtils';
|
|
20
|
+
export class Binding extends Store {
|
|
21
|
+
schemaSet;
|
|
22
|
+
schemaId;
|
|
23
|
+
contentType;
|
|
24
|
+
modelUnit;
|
|
25
|
+
constructor(name) {
|
|
26
|
+
super(name);
|
|
27
|
+
makeObservable(this, {
|
|
28
|
+
schemaSet: observable,
|
|
29
|
+
schemaId: observable,
|
|
30
|
+
contentType: observable,
|
|
31
|
+
modelUnit: observable,
|
|
32
|
+
setSchemaSet: action,
|
|
33
|
+
setSchemaId: action,
|
|
34
|
+
setContentType: action,
|
|
35
|
+
setModelUnit: action,
|
|
36
|
+
_elementHashCode: override,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
setSchemaSet(value) {
|
|
40
|
+
this.schemaSet.setValue(value);
|
|
41
|
+
}
|
|
42
|
+
setSchemaId(value) {
|
|
43
|
+
this.schemaId = value;
|
|
44
|
+
}
|
|
45
|
+
setContentType(value) {
|
|
46
|
+
this.contentType = value;
|
|
47
|
+
}
|
|
48
|
+
setModelUnit(value) {
|
|
49
|
+
this.modelUnit = value;
|
|
50
|
+
}
|
|
51
|
+
get _elementHashCode() {
|
|
52
|
+
return hashArray([
|
|
53
|
+
DSL_EXTERNAL_FORMAT_HASH_STRUCTURE.BINDING,
|
|
54
|
+
this.path,
|
|
55
|
+
this.schemaSet.valueForSerialization ?? '',
|
|
56
|
+
this.schemaId ?? '',
|
|
57
|
+
this.contentType,
|
|
58
|
+
this.modelUnit,
|
|
59
|
+
]);
|
|
60
|
+
}
|
|
61
|
+
accept_PackageableElementVisitor(visitor) {
|
|
62
|
+
return visitor.visit_PackageableElement(this);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=DSLExternalFormat_Binding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_Binding.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_Binding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAI1C,OAAO,EAAE,kCAAkC,EAAE,MAAM,6CAA6C,CAAC;AAEjG,MAAM,OAAO,OAAQ,SAAQ,KAAK;IAChC,SAAS,CAAkD;IAC3D,QAAQ,CAAsB;IAC9B,WAAW,CAAU;IACrB,SAAS,CAAa;IAEtB,YAAY,IAAY;QACtB,KAAK,CAAC,IAAI,CAAC,CAAC;QAEZ,cAAc,CAA8B,IAAI,EAAE;YAChD,SAAS,EAAE,UAAU;YACrB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,UAAU;YACvB,SAAS,EAAE,UAAU;YACrB,YAAY,EAAE,MAAM;YACpB,WAAW,EAAE,MAAM;YACnB,cAAc,EAAE,MAAM;YACtB,YAAY,EAAE,MAAM;YACpB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC,CAAC;IACL,CAAC;IAED,YAAY,CAAC,KAA4B;QACvC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;IAED,WAAW,CAAC,KAAyB;QACnC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,cAAc,CAAC,KAAa;QAC1B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;IAC3B,CAAC;IAED,YAAY,CAAC,KAAgB;QAC3B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;IACzB,CAAC;IAED,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,OAAO;YAC1C,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,SAAS,CAAC,qBAAqB,IAAI,EAAE;YAC1C,IAAI,CAAC,QAAQ,IAAI,EAAE;YACnB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,SAAS;SACf,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -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 Hashable } from '@finos/legend-shared';
|
|
17
|
+
import type { PackageableElementReference } from '../../PackageableElementReference';
|
|
18
|
+
import type { PackageableElement } from '../../PackageableElement';
|
|
19
|
+
export declare class ModelUnit implements Hashable {
|
|
20
|
+
packageableElementIncludes: PackageableElementReference<PackageableElement>[];
|
|
21
|
+
packageableElementExcludes: PackageableElementReference<PackageableElement>[];
|
|
22
|
+
constructor();
|
|
23
|
+
addPackageableElementIncludes(value: PackageableElementReference<PackageableElement>): void;
|
|
24
|
+
deletePackageableElementIncludes(value: PackageableElementReference<PackageableElement>): void;
|
|
25
|
+
updatePackageableElementIncludes(oldValue: PackageableElementReference<PackageableElement>, newValue: PackageableElementReference<PackageableElement>): void;
|
|
26
|
+
addPackageableElementExcludes(value: PackageableElementReference<PackageableElement>): void;
|
|
27
|
+
deletePackageableElementExcludes(value: PackageableElementReference<PackageableElement>): void;
|
|
28
|
+
updatePackageableElementExcludes(oldValue: PackageableElementReference<PackageableElement>, newValue: PackageableElementReference<PackageableElement>): void;
|
|
29
|
+
get hashCode(): string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=DSLExternalFormat_ModelUnit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLExternalFormat_ModelUnit.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/externalFormat/store/DSLExternalFormat_ModelUnit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,QAAQ,EAKd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAGnE,qBAAa,SAAU,YAAW,QAAQ;IACxC,0BAA0B,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,EAAE,CACxE;IACL,0BAA0B,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,EAAE,CACxE;;IAgBL,6BAA6B,CAC3B,KAAK,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,GACrD,IAAI;IAIP,gCAAgC,CAC9B,KAAK,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,GACrD,IAAI;IAIP,gCAAgC,CAC9B,QAAQ,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,EACzD,QAAQ,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,GACxD,IAAI;IAIP,6BAA6B,CAC3B,KAAK,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,GACrD,IAAI;IAIP,gCAAgC,CAC9B,KAAK,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,GACrD,IAAI;IAIP,gCAAgC,CAC9B,QAAQ,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,EACzD,QAAQ,EAAE,2BAA2B,CAAC,kBAAkB,CAAC,GACxD,IAAI;IAIP,IAAI,QAAQ,IAAI,MAAM,CAUrB;CACF"}
|