@api-client/core 0.19.10 → 0.19.11
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/LICENSE.md +9 -63
- package/bin/test.ts +1 -12
- package/build/src/browser.d.ts +0 -15
- package/build/src/browser.d.ts.map +1 -1
- package/build/src/browser.js +0 -17
- package/build/src/browser.js.map +1 -1
- package/build/src/events/EventTypes.d.ts +0 -6
- package/build/src/events/EventTypes.d.ts.map +1 -1
- package/build/src/events/EventTypes.js +0 -2
- package/build/src/events/EventTypes.js.map +1 -1
- package/build/src/events/Events.d.ts +0 -2
- package/build/src/events/Events.d.ts.map +1 -1
- package/build/src/events/Events.js +0 -2
- package/build/src/events/Events.js.map +1 -1
- package/build/src/index.d.ts +0 -15
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +0 -17
- package/build/src/index.js.map +1 -1
- package/build/src/modeling/Bindings.d.ts +3 -3
- package/build/src/modeling/Bindings.d.ts.map +1 -1
- package/build/src/modeling/Bindings.js.map +1 -1
- package/build/src/modeling/DomainAssociation.d.ts +5 -5
- package/build/src/modeling/DomainAssociation.d.ts.map +1 -1
- package/build/src/modeling/DomainAssociation.js.map +1 -1
- package/build/src/modeling/DomainEntity.d.ts +2 -3
- package/build/src/modeling/DomainEntity.d.ts.map +1 -1
- package/build/src/modeling/DomainEntity.js +1 -1
- package/build/src/modeling/DomainEntity.js.map +1 -1
- package/build/src/modeling/DomainProperty.d.ts +2 -3
- package/build/src/modeling/DomainProperty.d.ts.map +1 -1
- package/build/src/modeling/DomainProperty.js +1 -1
- package/build/src/modeling/DomainProperty.js.map +1 -1
- package/build/src/modeling/ai/types.d.ts +2 -2
- package/build/src/modeling/ai/types.d.ts.map +1 -1
- package/build/src/modeling/ai/types.js.map +1 -1
- package/build/src/{amf → modeling/amf}/DataValueGenerator.d.ts +1 -1
- package/build/src/modeling/amf/DataValueGenerator.d.ts.map +1 -0
- package/build/src/{amf → modeling/amf}/DataValueGenerator.js +2 -3
- package/build/src/modeling/amf/DataValueGenerator.js.map +1 -0
- package/build/src/modeling/amf/ShapeGenerator.d.ts +20 -20
- package/build/src/modeling/amf/ShapeGenerator.d.ts.map +1 -1
- package/build/src/modeling/amf/ShapeGenerator.js +16 -18
- package/build/src/modeling/amf/ShapeGenerator.js.map +1 -1
- package/build/src/modeling/amf/core_types.d.ts +9 -0
- package/build/src/modeling/amf/core_types.d.ts.map +1 -0
- package/build/src/modeling/amf/core_types.js +45 -0
- package/build/src/modeling/amf/core_types.js.map +1 -0
- package/build/src/models/http-flows/LegacyTranslator.js +1 -1
- package/build/src/models/http-flows/LegacyTranslator.js.map +1 -1
- package/build/src/runtime/http-runner/HttpFlows.js +1 -1
- package/build/src/runtime/http-runner/HttpFlows.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/eslint.config.js +0 -1
- package/package.json +11 -14
- package/src/events/EventTypes.ts +0 -2
- package/src/events/Events.ts +0 -2
- package/src/modeling/Bindings.ts +3 -3
- package/src/modeling/DomainAssociation.ts +5 -5
- package/src/modeling/DomainEntity.ts +3 -4
- package/src/modeling/DomainProperty.ts +3 -4
- package/src/modeling/ai/types.ts +2 -2
- package/src/{amf → modeling/amf}/DataValueGenerator.ts +3 -4
- package/src/modeling/amf/ShapeGenerator.ts +45 -61
- package/src/modeling/amf/core_types.ts +47 -0
- package/src/models/http-flows/LegacyTranslator.ts +1 -1
- package/src/runtime/http-runner/HttpFlows.ts +1 -1
- package/tests/unit/{amf → modeling/amf}/data_value_generator.spec.ts +2 -2
- package/tests/unit/modeling/amf/shape_generator.spec.ts +146 -167
- package/tests/unit/modeling/domain_asociation.spec.ts +13 -13
- package/tests/unit/runtime/runners/http_assertion_runner.spec.ts +1 -1
- package/tests/unit/runtime/runners/http_flow_runner.spec.ts +1 -1
- package/tests/unit/runtime/runners/project_runner.spec.ts +1 -1
- package/tests/unit/runtime/runners/request_runner.spec.ts +1 -1
- package/tests/unit/runtime/runners/serial_runner.spec.ts +1 -1
- package/build/src/amf/AmfMixin.d.ts +0 -396
- package/build/src/amf/AmfMixin.d.ts.map +0 -1
- package/build/src/amf/AmfMixin.js +0 -1138
- package/build/src/amf/AmfMixin.js.map +0 -1
- package/build/src/amf/AmfSerializer.d.ts +0 -137
- package/build/src/amf/AmfSerializer.d.ts.map +0 -1
- package/build/src/amf/AmfSerializer.js +0 -1947
- package/build/src/amf/AmfSerializer.js.map +0 -1
- package/build/src/amf/AmfTypes.d.ts +0 -25
- package/build/src/amf/AmfTypes.d.ts.map +0 -1
- package/build/src/amf/AmfTypes.js +0 -143
- package/build/src/amf/AmfTypes.js.map +0 -1
- package/build/src/amf/ApiExampleGenerator.d.ts +0 -40
- package/build/src/amf/ApiExampleGenerator.d.ts.map +0 -1
- package/build/src/amf/ApiExampleGenerator.js +0 -112
- package/build/src/amf/ApiExampleGenerator.js.map +0 -1
- package/build/src/amf/ApiMonacoSchemaGenerator.d.ts +0 -68
- package/build/src/amf/ApiMonacoSchemaGenerator.d.ts.map +0 -1
- package/build/src/amf/ApiMonacoSchemaGenerator.js +0 -248
- package/build/src/amf/ApiMonacoSchemaGenerator.js.map +0 -1
- package/build/src/amf/ApiSchemaGenerator.d.ts +0 -56
- package/build/src/amf/ApiSchemaGenerator.d.ts.map +0 -1
- package/build/src/amf/ApiSchemaGenerator.js +0 -94
- package/build/src/amf/ApiSchemaGenerator.js.map +0 -1
- package/build/src/amf/ApiSchemaValues.d.ts +0 -111
- package/build/src/amf/ApiSchemaValues.d.ts.map +0 -1
- package/build/src/amf/ApiSchemaValues.js +0 -463
- package/build/src/amf/ApiSchemaValues.js.map +0 -1
- package/build/src/amf/DataValueGenerator.d.ts.map +0 -1
- package/build/src/amf/DataValueGenerator.js.map +0 -1
- package/build/src/amf/Parsing.d.ts +0 -48
- package/build/src/amf/Parsing.d.ts.map +0 -1
- package/build/src/amf/Parsing.js +0 -2
- package/build/src/amf/Parsing.js.map +0 -1
- package/build/src/amf/Utils.d.ts +0 -37
- package/build/src/amf/Utils.d.ts.map +0 -1
- package/build/src/amf/Utils.js +0 -169
- package/build/src/amf/Utils.js.map +0 -1
- package/build/src/amf/data-node/DataNodeBase.d.ts +0 -34
- package/build/src/amf/data-node/DataNodeBase.d.ts.map +0 -1
- package/build/src/amf/data-node/DataNodeBase.js +0 -77
- package/build/src/amf/data-node/DataNodeBase.js.map +0 -1
- package/build/src/amf/data-node/JsonDataNodeGenerator.d.ts +0 -15
- package/build/src/amf/data-node/JsonDataNodeGenerator.d.ts.map +0 -1
- package/build/src/amf/data-node/JsonDataNodeGenerator.js +0 -23
- package/build/src/amf/data-node/JsonDataNodeGenerator.js.map +0 -1
- package/build/src/amf/data-node/UrlEncodedDataNodeGenerator.d.ts +0 -14
- package/build/src/amf/data-node/UrlEncodedDataNodeGenerator.d.ts.map +0 -1
- package/build/src/amf/data-node/UrlEncodedDataNodeGenerator.js +0 -48
- package/build/src/amf/data-node/UrlEncodedDataNodeGenerator.js.map +0 -1
- package/build/src/amf/data-node/XmlDataNodeGenerator.d.ts +0 -22
- package/build/src/amf/data-node/XmlDataNodeGenerator.d.ts.map +0 -1
- package/build/src/amf/data-node/XmlDataNodeGenerator.js +0 -34
- package/build/src/amf/data-node/XmlDataNodeGenerator.js.map +0 -1
- package/build/src/amf/definitions/Amf.d.ts +0 -363
- package/build/src/amf/definitions/Amf.d.ts.map +0 -1
- package/build/src/amf/definitions/Amf.js +0 -3
- package/build/src/amf/definitions/Amf.js.map +0 -1
- package/build/src/amf/definitions/Api.d.ts +0 -383
- package/build/src/amf/definitions/Api.d.ts.map +0 -1
- package/build/src/amf/definitions/Api.js +0 -2
- package/build/src/amf/definitions/Api.js.map +0 -1
- package/build/src/amf/definitions/Base.d.ts +0 -12
- package/build/src/amf/definitions/Base.d.ts.map +0 -1
- package/build/src/amf/definitions/Base.js +0 -2
- package/build/src/amf/definitions/Base.js.map +0 -1
- package/build/src/amf/definitions/Namespace.d.ts +0 -327
- package/build/src/amf/definitions/Namespace.d.ts.map +0 -1
- package/build/src/amf/definitions/Namespace.js +0 -346
- package/build/src/amf/definitions/Namespace.js.map +0 -1
- package/build/src/amf/definitions/Shapes.d.ts +0 -312
- package/build/src/amf/definitions/Shapes.d.ts.map +0 -1
- package/build/src/amf/definitions/Shapes.js +0 -87
- package/build/src/amf/definitions/Shapes.js.map +0 -1
- package/build/src/amf/models/AmfDataNode.d.ts +0 -67
- package/build/src/amf/models/AmfDataNode.d.ts.map +0 -1
- package/build/src/amf/models/AmfDataNode.js +0 -192
- package/build/src/amf/models/AmfDataNode.js.map +0 -1
- package/build/src/amf/shape/ShapeBase.d.ts +0 -74
- package/build/src/amf/shape/ShapeBase.d.ts.map +0 -1
- package/build/src/amf/shape/ShapeBase.js +0 -93
- package/build/src/amf/shape/ShapeBase.js.map +0 -1
- package/build/src/amf/shape/ShapeJsonSchemaGenerator.d.ts +0 -47
- package/build/src/amf/shape/ShapeJsonSchemaGenerator.d.ts.map +0 -1
- package/build/src/amf/shape/ShapeJsonSchemaGenerator.js +0 -420
- package/build/src/amf/shape/ShapeJsonSchemaGenerator.js.map +0 -1
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.d.ts +0 -85
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.d.ts.map +0 -1
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.js +0 -852
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.js.map +0 -1
- package/build/src/events/amf/AmfEventTypes.d.ts +0 -7
- package/build/src/events/amf/AmfEventTypes.d.ts.map +0 -1
- package/build/src/events/amf/AmfEventTypes.js +0 -7
- package/build/src/events/amf/AmfEventTypes.js.map +0 -1
- package/build/src/events/amf/AmfEvents.d.ts +0 -34
- package/build/src/events/amf/AmfEvents.d.ts.map +0 -1
- package/build/src/events/amf/AmfEvents.js +0 -63
- package/build/src/events/amf/AmfEvents.js.map +0 -1
- package/build/src/mocking/RandExp.d.ts +0 -55
- package/build/src/mocking/RandExp.d.ts.map +0 -1
- package/build/src/mocking/RandExp.js +0 -302
- package/build/src/mocking/RandExp.js.map +0 -1
- package/build/src/mocking/lib/ret.d.ts +0 -16
- package/build/src/mocking/lib/ret.d.ts.map +0 -1
- package/build/src/mocking/lib/ret.js +0 -284
- package/build/src/mocking/lib/ret.js.map +0 -1
- package/data/apis/APIC-187/APIC-187.raml +0 -21
- package/data/apis/APIC-187/dataType.raml +0 -132
- package/data/apis/APIC-187/example.raml +0 -84
- package/data/apis/APIC-188/APIC-188.raml +0 -21
- package/data/apis/APIC-188/dataType.raml +0 -132
- package/data/apis/APIC-188/example.raml +0 -84
- package/data/apis/APIC-233/APIC-233.raml +0 -15
- package/data/apis/APIC-391/APIC-391.raml +0 -44
- package/data/apis/APIC-391/examples/post-body-request-example.raml +0 -7
- package/data/apis/APIC-483/APIC-483.raml +0 -16
- package/data/apis/APIC-483/example/list-of-bank-succ.json +0 -32
- package/data/apis/APIC-483/schema/response-retrieve-list-bank.json +0 -68
- package/data/apis/APIC-487/APIC-487.raml +0 -36
- package/data/apis/APIC-655/APIC-655.raml +0 -44
- package/data/apis/APIC-655/delivery.json +0 -12
- package/data/apis/APIC-689/APIC-689.raml +0 -20
- package/data/apis/APIC-690/APIC-690.raml +0 -17
- package/data/apis/APIC-690/datatypes/Address.raml +0 -10
- package/data/apis/APIC-690/datatypes/Customer.raml +0 -17
- package/data/apis/APIC-690/examples/CustomerExample2.raml +0 -17
- package/data/apis/APIC-690/examples/CustomersExample.raml +0 -34
- package/data/apis/SE-10469/Purchase-Order-oagis-id-dd32f9c6c01048a19e15c423c9c741ae.json +0 -1383
- package/data/apis/SE-10469/SE-10469.raml +0 -11
- package/data/apis/SE-13092/Examples/PersonExample.raml +0 -7
- package/data/apis/SE-13092/SE-13092.raml +0 -37
- package/data/apis/SE-13092/datatypes/Address.raml +0 -5
- package/data/apis/SE-13092/datatypes/InlineType.raml +0 -5
- package/data/apis/SE-13092/datatypes/Person.raml +0 -15
- package/data/apis/SE-22063/SE-22063.raml +0 -14
- package/data/apis/SE-22063/stock.raml +0 -41
- package/data/apis/amf-helper-api/amf-helper-api.raml +0 -1024
- package/data/apis/amf-helper-api/examples/comment-example.json +0 -42
- package/data/apis/amf-helper-api/examples/commentCreateRequest-example.json +0 -7
- package/data/apis/amf-helper-api/examples/commentList-example.json +0 -48
- package/data/apis/amf-helper-api/examples/person.json +0 -14
- package/data/apis/amf-helper-api/examples/person.raml +0 -13
- package/data/apis/amf-helper-api/examples/person.xml +0 -14
- package/data/apis/amf-helper-api/libraries/comment-lib.raml +0 -143
- package/data/apis/amf-helper-api/library.raml +0 -7
- package/data/apis/amf-helper-api/schemas/person.json +0 -104
- package/data/apis/amf-helper-api/schemas/person.xsd +0 -26
- package/data/apis/amf-helper-api/traits/file.raml +0 -33
- package/data/apis/amf-helper-api/traits/pagination.raml +0 -80
- package/data/apis/amf-helper-api/traits/results.raml +0 -19
- package/data/apis/amf-helper-api/traits/visibility.raml +0 -14
- package/data/apis/amf-helper-api/types/app-person.raml +0 -101
- package/data/apis/amf-helper-api/types/dimensions.raml +0 -24
- package/data/apis/amf-helper-api/types/external-type.raml +0 -7
- package/data/apis/amf-helper-api/types/image.raml +0 -23
- package/data/apis/amf-helper-api/types/product.raml +0 -52
- package/data/apis/amf-helper-api/types/resource.raml +0 -11
- package/data/apis/amf-helper-api/types/standard-request.raml +0 -50
- package/data/apis/amf-helper-api/types/user.raml +0 -37
- package/data/apis/arc-demo-api/arc-demo-api.raml +0 -468
- package/data/apis/arc-demo-api/examples/e400.xml +0 -4
- package/data/apis/arc-demo-api/examples/e401.xml +0 -4
- package/data/apis/arc-demo-api/examples/e404.xml +0 -4
- package/data/apis/arc-demo-api/examples/image.xml +0 -5
- package/data/apis/arc-demo-api/examples/messages-example.json +0 -22
- package/data/apis/arc-demo-api/examples/messages-sent-example.json +0 -15
- package/data/apis/arc-demo-api/examples/person.json +0 -14
- package/data/apis/arc-demo-api/examples/person.url.encoded +0 -1
- package/data/apis/arc-demo-api/examples/person.xml +0 -14
- package/data/apis/arc-demo-api/examples/product.xml +0 -9
- package/data/apis/arc-demo-api/library.raml +0 -36
- package/data/apis/arc-demo-api/resourceTypes/app-person.raml +0 -49
- package/data/apis/arc-demo-api/resourceTypes/example-types.raml +0 -45
- package/data/apis/arc-demo-api/resourceTypes/image.raml +0 -23
- package/data/apis/arc-demo-api/resourceTypes/message-sent-type.raml +0 -23
- package/data/apis/arc-demo-api/resourceTypes/message-type.raml +0 -33
- package/data/apis/arc-demo-api/resourceTypes/product.raml +0 -52
- package/data/apis/arc-demo-api/resourceTypes/resource.raml +0 -11
- package/data/apis/arc-demo-api/schemas/error-response.xsd +0 -11
- package/data/apis/arc-demo-api/schemas/image.xsd +0 -11
- package/data/apis/arc-demo-api/schemas/person.json +0 -104
- package/data/apis/arc-demo-api/schemas/person.xsd +0 -26
- package/data/apis/arc-demo-api/schemas/product.xsd +0 -17
- package/data/apis/arc-demo-api/securitySchemes/basic.raml +0 -5
- package/data/apis/arc-demo-api/securitySchemes/oauth_2_0.raml +0 -29
- package/data/apis/arc-demo-api/securitySchemes/x-custom.raml +0 -26
- package/data/apis/arc-demo-api/traits/adminable.raml +0 -23
- package/data/apis/arc-demo-api/traits/pagination.raml +0 -83
- package/data/apis/arc-demo-api/traits/rate-limited.raml +0 -9
- package/data/apis/async-api/async-api.yaml +0 -96
- package/data/apis/example-generator-api/contact-email-example.raml +0 -6
- package/data/apis/example-generator-api/contact-example.raml +0 -5
- package/data/apis/example-generator-api/contact-fax-example.raml +0 -5
- package/data/apis/example-generator-api/contact-website-example.raml +0 -2
- package/data/apis/example-generator-api/example-1.raml +0 -6
- package/data/apis/example-generator-api/example-2.raml +0 -9
- package/data/apis/example-generator-api/example-3.raml +0 -4
- package/data/apis/example-generator-api/example-4.raml +0 -2
- package/data/apis/example-generator-api/example-5.raml +0 -4
- package/data/apis/example-generator-api/example-6.raml +0 -2
- package/data/apis/example-generator-api/example-7.raml +0 -5
- package/data/apis/example-generator-api/example-generator-api.raml +0 -423
- package/data/apis/example-generator-api/example.json +0 -14
- package/data/apis/example-generator-api/example.xml +0 -15
- package/data/apis/example-generator-api/example.xsd +0 -26
- package/data/apis/example-generator-api/examples/employee.raml +0 -7
- package/data/apis/example-generator-api/examples/employees.raml +0 -7
- package/data/apis/example-generator-api/linked-named-example.raml +0 -21
- package/data/apis/example-generator-api/named-example-with-link.raml +0 -5
- package/data/apis/example-generator-api/named-example.raml +0 -9
- package/data/apis/example-generator-api/user-json-example.raml +0 -17
- package/data/apis/example-generator-api/user-raml-example.raml +0 -37
- package/data/apis/example-generator-api/user.json +0 -8
- package/data/apis/example-generator-api/user.raml +0 -18
- package/data/apis/example-generator-api/users-json-example.raml +0 -17
- package/data/apis/example-generator-api/users-raml-example.raml +0 -32
- package/data/apis/example-generator-api/users.json +0 -8
- package/data/apis/expanded-api/expanded-api.raml +0 -8
- package/data/apis/flattened-api/flattened-api.raml +0 -8
- package/data/apis/multiple-servers/multiple-servers.yaml +0 -112
- package/data/apis/oas-3-api/oas-3-api.yaml +0 -356
- package/data/apis/oas-date/oas-date.yaml +0 -28
- package/data/apis/oas-types/oas-types.yaml +0 -159
- package/data/apis/oas-unions/oas-unions.yaml +0 -75
- package/data/apis/petstore/petstore.yaml +0 -954
- package/data/apis/raml-date/raml-date.raml +0 -28
- package/data/apis/recursive/recursive.raml +0 -14
- package/data/apis/schema-api/examples/person.json +0 -14
- package/data/apis/schema-api/examples/person.raml +0 -14
- package/data/apis/schema-api/examples/person.url.encoded +0 -1
- package/data/apis/schema-api/examples/person.xml +0 -14
- package/data/apis/schema-api/library/demo-types.raml +0 -43
- package/data/apis/schema-api/schema-api.raml +0 -656
- package/data/apis/schema-api/schemas/person.json +0 -104
- package/data/apis/schema-api/schemas/person.xsd +0 -26
- package/data/apis/schema-api/types/DemoPerson.raml +0 -67
- package/data/apis/secured-api/oauth-2-custom-settings.raml +0 -143
- package/data/apis/secured-api/oauth2-header-delivery.raml +0 -13
- package/data/apis/secured-api/oauth2-no-delivery.raml +0 -8
- package/data/apis/secured-api/oauth2-no-grants.raml +0 -12
- package/data/apis/secured-api/oauth2-pkce.raml +0 -13
- package/data/apis/secured-api/oauth2-query-delivery.raml +0 -13
- package/data/apis/secured-api/oauth_1_0.raml +0 -8
- package/data/apis/secured-api/oauth_1_0_no-settings.raml +0 -3
- package/data/apis/secured-api/oauth_1_0_no-signature.raml +0 -7
- package/data/apis/secured-api/oauth_1_0_signature.raml +0 -8
- package/data/apis/secured-api/passthrough-querystring.raml +0 -16
- package/data/apis/secured-api/passthrough.raml +0 -24
- package/data/apis/secured-api/secured-api.raml +0 -231
- package/data/apis/secured-api/x-custom.raml +0 -33
- package/data/apis/secured-api/x-other.raml +0 -29
- package/data/apis/secured-api/x-query-string.raml +0 -16
- package/data/apis/tracked-examples/datatypes/employee.raml +0 -5
- package/data/apis/tracked-examples/examples/employee.raml +0 -4
- package/data/apis/tracked-examples/examples/employees.raml +0 -8
- package/data/apis/tracked-examples/tracked-to-linked.raml +0 -28
- package/data/model.js +0 -129
- package/data/models/APIC-187.json +0 -11416
- package/data/models/APIC-188.json +0 -11416
- package/data/models/APIC-233.json +0 -539
- package/data/models/APIC-391.json +0 -1903
- package/data/models/APIC-483.json +0 -3110
- package/data/models/APIC-487.json +0 -1225
- package/data/models/APIC-655.json +0 -3145
- package/data/models/APIC-689.json +0 -797
- package/data/models/APIC-690.json +0 -5992
- package/data/models/SE-10469.json +0 -22898
- package/data/models/SE-13092.json +0 -2769
- package/data/models/SE-22063.json +0 -2314
- package/data/models/amf-helper-api.json +0 -84457
- package/data/models/arc-demo-api.json +0 -52041
- package/data/models/async-api.json +0 -3227
- package/data/models/example-generator-api.json +0 -45209
- package/data/models/expanded-api.json +0 -251
- package/data/models/flattened-api.json +0 -251
- package/data/models/multiple-servers.json +0 -2769
- package/data/models/oas-3-api.json +0 -10590
- package/data/models/oas-date.json +0 -637
- package/data/models/oas-types.json +0 -5352
- package/data/models/oas-unions.json +0 -1935
- package/data/models/petstore.json +0 -27712
- package/data/models/raml-date.json +0 -1114
- package/data/models/recursive.json +0 -610
- package/data/models/schema-api.json +0 -35527
- package/data/models/secured-api.json +0 -21071
- package/data/models/tracked-to-linked.json +0 -1914
- package/src/amf/AmfMixin.ts +0 -1726
- package/src/amf/AmfSerializer.ts +0 -2358
- package/src/amf/AmfTypes.ts +0 -147
- package/src/amf/ApiExampleGenerator.ts +0 -122
- package/src/amf/ApiMonacoSchemaGenerator.ts +0 -332
- package/src/amf/ApiSchemaGenerator.ts +0 -115
- package/src/amf/ApiSchemaValues.ts +0 -509
- package/src/amf/Parsing.ts +0 -50
- package/src/amf/Utils.ts +0 -172
- package/src/amf/data-node/DataNodeBase.ts +0 -83
- package/src/amf/data-node/JsonDataNodeGenerator.ts +0 -24
- package/src/amf/data-node/README.md +0 -3
- package/src/amf/data-node/UrlEncodedDataNodeGenerator.ts +0 -49
- package/src/amf/data-node/XmlDataNodeGenerator.ts +0 -46
- package/src/amf/definitions/Amf.ts +0 -440
- package/src/amf/definitions/Api.ts +0 -445
- package/src/amf/definitions/Base.ts +0 -13
- package/src/amf/definitions/Namespace.ts +0 -357
- package/src/amf/definitions/Shapes.ts +0 -438
- package/src/amf/models/AmfDataNode.ts +0 -210
- package/src/amf/shape/README.md +0 -4
- package/src/amf/shape/ShapeBase.ts +0 -174
- package/src/amf/shape/ShapeJsonSchemaGenerator.ts +0 -457
- package/src/amf/shape/ShapeXmlSchemaGenerator.ts +0 -933
- package/src/events/amf/AmfEventTypes.ts +0 -6
- package/src/events/amf/AmfEvents.ts +0 -78
- package/src/mocking/RandExp.ts +0 -335
- package/src/mocking/lib/ret.ts +0 -279
- package/tests/unit/amf/APIC-187.spec.ts +0 -41
- package/tests/unit/amf/APIC-188.spec.ts +0 -30
- package/tests/unit/amf/APIC-233.spec.ts +0 -32
- package/tests/unit/amf/APIC-391.spec.ts +0 -39
- package/tests/unit/amf/APIC-487.spec.ts +0 -44
- package/tests/unit/amf/APIC-655.spec.ts +0 -41
- package/tests/unit/amf/APIC-689.spec.ts +0 -28
- package/tests/unit/amf/APIC-690.spec.ts +0 -93
- package/tests/unit/amf/AmfLoader.ts +0 -538
- package/tests/unit/amf/AmfMixin.spec.ts +0 -1707
- package/tests/unit/amf/ApiExampleGenerator.spec.ts +0 -250
- package/tests/unit/amf/ApiMonacoSchemaGenerator.spec.ts +0 -183
- package/tests/unit/amf/ApiSchemaValues.spec.ts +0 -602
- package/tests/unit/amf/Namepsace.spec.ts +0 -494
- package/tests/unit/amf/SE-10469.spec.ts +0 -35
- package/tests/unit/amf/SE-13092.spec.ts +0 -64
- package/tests/unit/amf/SE-22063.spec.ts +0 -45
- package/tests/unit/amf/raml-examples.spec.ts +0 -43
- package/tests/unit/amf/schema_gen_array.spec.ts +0 -199
- package/tests/unit/amf/schema_gen_oas.spec.ts +0 -140
- package/tests/unit/amf/schema_gen_object.spec.ts +0 -279
- package/tests/unit/amf/schema_gen_scalar.spec.ts +0 -143
- package/tests/unit/amf/schema_gen_union.spec.ts +0 -401
- package/tests/unit/amf/schema_gen_unknown.spec.ts +0 -42
- package/tests/unit/amf/schema_gen_xml.spec.ts +0 -726
- package/tests/unit/amf/serializer/APIC-483.spec.ts +0 -36
- package/tests/unit/amf/serializer/Anotations.spec.ts +0 -50
- package/tests/unit/amf/serializer/Api.spec.ts +0 -210
- package/tests/unit/amf/serializer/Documentation.spec.ts +0 -52
- package/tests/unit/amf/serializer/Endpoints.spec.ts +0 -172
- package/tests/unit/amf/serializer/Operations.spec.ts +0 -330
- package/tests/unit/amf/serializer/Parameters.spec.ts +0 -149
- package/tests/unit/amf/serializer/PayloadExamples.spec.ts +0 -152
- package/tests/unit/amf/serializer/Security.spec.ts +0 -626
- package/tests/unit/amf/serializer/Server.spec.ts +0 -78
- package/tests/unit/amf/serializer/Shapes.spec.ts +0 -304
- package/tests/unit/amf/serializer/SourceMaps.spec.ts +0 -52
- package/tests/unit/amf/shapes/ShapeXmlSchemaGenerator.spec.ts +0 -28
- package/tests/unit/amf/tracked-to-linked.spec.ts +0 -90
- package/tests/unit/amf/xml-data-processing.spec.ts +0 -217
- package/tests/unit/events/amf.spec.ts +0 -151
package/build/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAE3D,EAAE;AACF,0BAA0B;AAC1B,EAAE;AACF,cAAc,mBAAmB,CAAA;AAEjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,EAAE;AACF,SAAS;AACT,EAAE;AACF,cAAc,mBAAmB,CAAA;AAEjC,OAAO,EAAE,QAAQ,EAAkB,MAAM,sBAAsB,CAAA;AA6B/D,OAAO,EAAE,iBAAiB,EAA2B,MAAM,+BAA+B,CAAA;AAC1F,OAAO,EAAE,eAAe,EAAyB,MAAM,6BAA6B,CAAA;AACpF,OAAO,EACL,WAAW,EAWX,IAAI,IAAI,eAAe,GACxB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,WAAW,EAAqB,IAAI,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAA;AACjG,OAAO,EAAE,aAAa,EAAuB,MAAM,2BAA2B,CAAA;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,EAAkB,QAAQ,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACrF,OAAO,EAAoB,UAAU,EAAoD,MAAM,wBAAwB,CAAA;AACvH,OAAO,EAEL,WAAW,EACX,IAAI,IAAI,eAAe,GAExB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,WAAW,EAEX,IAAI,IAAI,eAAe,GAWxB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAqB,WAAW,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAA;AACjG,OAAO,EAAE,YAAY,EAAsB,MAAM,0BAA0B,CAAA;AAC3E,OAAO,EAAE,OAAO,EAAiB,IAAI,IAAI,WAAW,EAAE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ACnD,cAAc,wBAAwB,CAAA;AAwBtC,EAAE;AACF,0BAA0B;AAC1B,EAAE;AACF,OAAO,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAA;AACpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAA;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AAElF,EAAE;AACF,cAAc;AACd,EAAE;AACF,OAAO,EAAqB,OAAO,IAAI,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACzE,OAAO,EAGL,OAAO,IAAI,gBAAgB,GAC5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAA0B,OAAO,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEjE,EAAE;AACF,aAAa;AACb,EAAE;AACF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAA;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAA;AACzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;AACnF,OAAO,EAAE,eAAe,EAA+B,MAAM,kCAAkC,CAAA;AAC/F,OAAO,EAAE,2BAA2B,EAAE,MAAM,+CAA+C,CAAA","sourcesContent":["// all exports that are save for NodeJS process processing.\n\n//\n// Ecosystem-shared Config\n//\nexport * from './config/index.js'\n\nexport { nanoid } from './nanoid.js'\n\n//\n// Models\n//\nexport * from './models/kinds.js'\nexport type { IApplication } from './models/Application.js'\nexport { Response, type IResponse } from './models/Response.js'\nexport type {\n IAuthorizationSettingsUnion,\n IApiKeyAuthorization,\n IAuthorizationParams,\n IBasicAuthorization,\n IBearerAuthorization,\n ICCAuthorization,\n IDigestAuthorization,\n INtlmAuthorization,\n IOAuth1Authorization,\n IOAuth2Authorization,\n IOAuth2AuthorizationRequestCustomData,\n IOAuth2CustomData,\n IOAuth2CustomParameter,\n IOAuth2TokenRequestCustomData,\n IOauth2GrantType,\n IOauth2ResponseType,\n IOidcAuthorization,\n IOidcTokenError,\n IOidcTokenInfo,\n IPassThroughAuthorization,\n IRamlCustomAuthorization,\n ITokenError,\n ITokenInfo,\n ITokenRemoveOptions,\n OAuth2DeliveryMethod,\n AuthorizationType,\n} from './models/Authorization.js'\nexport { AuthorizationData, type IAuthorizationData } from './models/AuthorizationData.js'\nexport { CertificateFile, type ICertificateFile } from './models/CertificateFile.js'\nexport {\n Certificate,\n type CertificateDataFormat,\n type CertificateType,\n type HttpCertificate,\n type ICertificate,\n type ICertificateCreateOptions,\n type ICertificateData,\n type IP12Certificate,\n type IP12CreateOptions,\n type IPemCertificate,\n type IPemCreateOptions,\n Kind as CertificateKind,\n} from './models/ClientCertificate.js'\nexport { Environment, type IEnvironment, Kind as EnvironmentKind } from './models/Environment.js'\nexport { ErrorResponse, type IErrorResponse } from './models/ErrorResponse.js'\nexport { HeadersArray } from './models/HeadersArray.js'\nexport { type IHostRule, HostRule, Kind as HostRuleKind } from './models/HostRule.js'\nexport { type IHttpCookie, HttpCookie, type CookieChangeReason, type CookieSameSiteType } from './models/HttpCookie.js'\nexport {\n type IHttpHistory,\n HttpHistory,\n Kind as HttpHistoryKind,\n type IHttpHistoryBulkAdd,\n} from './models/HttpHistory.js'\nexport {\n HttpProject,\n type IHttpProject,\n Kind as HttpProjectKind,\n type IFolderCreateOptions,\n type IFolderDeleteOptions,\n type IFolderSearchOptions,\n type IProjectMoveOptions,\n type IRequestAddOptions,\n type IRequestDeleteOptions,\n type IRequestSearchOptions,\n type IProjectFolderIterator,\n type IProjectFolderIteratorResult,\n type IProjectRequestIterator,\n} from './models/HttpProject.js'\nexport { type IHttpRequest, HttpRequest, Kind as HttpRequestKind } from './models/HttpRequest.js'\nexport { HttpResponse, type IHttpResponse } from './models/HttpResponse.js'\nexport { License, type ILicense, Kind as LicenseKind } from './models/License.js'\nexport { Project, type IProject } from './models/Project.js'\nexport {\n type IProjectExecutionLog,\n type IProjectExecutionIteration,\n type IProjectExecution,\n ProjectExecution,\n Kind as ProjectExecutionKind,\n} from './models/ProjectExecution.js'\nexport { type IProjectFolder, ProjectFolder, DefaultFolderName } from './models/ProjectFolder.js'\nexport { ProjectItem, type IProjectItem } from './models/ProjectItem.js'\nexport { type IProjectRequest, ProjectRequest, Kind as ProjectRequestKind } from './models/ProjectRequest.js'\nexport { ProjectSchema, type IProjectSchema, Kind as ProjectSchemaKind } from './models/ProjectSchema.js'\nexport { Property, type IProperty, Kind as PropertyKind } from './models/Property.js'\nexport { Provider, type IProvider, Kind as ProviderKind } from './models/Provider.js'\nexport { Request, type IRequest, Kind as RequestKind } from './models/Request.js'\nexport {\n RequestAuthorization,\n type IRequestAuthorization,\n Kind as RequestAuthorizationKind,\n} from './models/RequestAuthorization.js'\nexport {\n RequestConfig,\n type IRequestConfig,\n type IRequestBaseConfig,\n Kind as RequestConfigKind,\n} from './models/RequestConfig.js'\nexport { RequestLog, type IRequestLog, Kind as RequestLogKind } from './models/RequestLog.js'\nexport { RequestsSize, type IRequestsSize, Kind as RequestsSizeKind } from './models/RequestsSize.js'\nexport { RequestTime, type IRequestTime, Kind as RequestTimeKind } from './models/RequestTime.js'\nexport {\n RequestUiMeta,\n type IRequestUiMeta,\n Kind as RequestUiMetaKind,\n type IAuthMeta,\n type IBodyMeta,\n type IBodyMetaModel,\n type IHeadersMeta,\n type IRawBody,\n type IResponseUiMeta,\n type IUrlMeta,\n type IUrlEncodedBodyMeta,\n} from './models/RequestUiMeta.js'\nexport {\n ResponseAuthorization,\n type IResponseAuthorization,\n Kind as ResponseAuthorizationKind,\n} from './models/ResponseAuthorization.js'\nexport { ResponseRedirect, type IResponseRedirect, Kind as ResponseRedirectKind } from './models/ResponseRedirect.js'\nexport { type ISentRequest, SentRequest, type IBaseSentRequest } from './models/SentRequest.js'\nexport { SerializableError, type ISerializedError } from './models/SerializableError.js'\nexport { SerializablePayload, type SerializablePayloadOptions } from './models/SerializablePayload.js'\nexport { Server, type IServer, Kind as ServerKind } from './models/Server.js'\nexport { Thing, type IThing } from './models/Thing.js'\nexport { Url, type IUrl } from './models/Url.js'\nexport { WebApi, type IWebApi, type ILegacyRestApi } from './models/WebApi.js'\nexport { WebApiIndex, type IWebApiIndex, type ILegacyWebApiIndex } from './models/WebApiIndex.js'\nexport { type IFolder, Folder } from './models/Folder.js'\nexport * from './models/TrashEntry.js'\nexport * from './models/store/data_catalog.js'\n\nexport * from './models/store/Backend.js'\nexport { type ICapabilities } from './models/store/Capabilities.js'\nexport {\n type IFile,\n File,\n type IStoredFile,\n StoredFile,\n type FileAddOptions,\n type FileBreadcrumb,\n type MediaReadOptions,\n} from './models/store/File.js'\nexport { type GroupSchema, Group } from './models/store/Group.js'\nexport {\n type IAccessAddOperation,\n type IAccessOperation,\n type IAccessUpdateOperation,\n type IAccessRemoveOperation,\n Permission,\n type IPermission,\n type AccessOperation,\n Kind as PermissionKind,\n type PermissionRole,\n type PermissionType,\n type PermissionSourceRule,\n} from './models/store/Permission.js'\nexport { type IRevision, type IRevisionListItem } from './models/store/Revision.js'\nexport { type IEmail, type IUserPicture, type IUser, Kind as UserKind, type UserStatus } from './models/store/User.js'\nexport { type IUserIdentity, Kind as UserIdentityKind, UserIdentity } from './models/store/UserIdentity.js'\nexport { type IOrganization, Organization, type UserOrganizationGrantType } from './models/store/Organization.js'\nexport { type InvitationSchema, type InvitationStatus, Invitation } from './models/store/Invitation.js'\nexport { type IModification } from './models/store/Modification.js'\nexport { type IDeletion } from './models/store/Deletion.js'\nexport {\n DataCatalog,\n type DataCatalogSchema,\n type DataCatalogSchemaWithVersion,\n type DataCatalogScope,\n type DataCatalogStatus,\n type DataCatalogVersionInfo,\n} from './models/DataCatalog.js'\nexport {\n type DataCatalogLifecycle,\n DataCatalogVersion,\n type DataCatalogVersionSchema,\n} from './models/DataCatalogVersion.js'\n\nexport * as DataFormat from './modeling/DataFormat.js'\nexport type {\n PropertyBinding,\n PropertyProtobufBindings,\n PropertyWebBindings,\n AssociationBinding,\n AssociationBindings,\n AssociationWebBindings,\n PropertyBindings,\n} from './modeling/Bindings.js'\nexport * from './modeling/types.js'\nexport { DataDomain, type DataDomainSchema } from './modeling/DataDomain.js'\nexport { DomainNamespace, type DomainNamespaceSchema } from './modeling/DomainNamespace.js'\nexport { DomainModel, type DomainModelSchema } from './modeling/DomainModel.js'\nexport { DomainEntity, type DomainEntitySchema } from './modeling/DomainEntity.js'\nexport { DomainProperty, type DomainPropertySchema } from './modeling/DomainProperty.js'\nexport { DomainAssociation, type DomainAssociationSchema, type OnDeleteRule } from './modeling/DomainAssociation.js'\nexport * from './modeling/DomainImpactAnalysis.js'\nexport * as DomainSerialization from './modeling/DomainSerialization.js'\nexport * as DomainVersioning from './modeling/DomainVersioning.js'\nexport { ShapeGenerator } from './modeling/amf/ShapeGenerator.js'\nexport { DomainFile, type IDomainFile } from './modeling/DomainFile.js'\nexport { ApiFile, type IApiFile } from './modeling/ApiFile.js'\nexport { type DomainValidation } from './modeling/validation/rules.js'\nexport { EntityValidation } from './modeling/validation/entity_validation.js'\nexport { PropertyValidation } from './modeling/validation/property_validation.js'\nexport { AssociationValidation } from './modeling/validation/association_validation.js'\nexport * from './modeling/Semantics.js'\nexport { ApiModel, type ApiModelSchema, type ApiContact, type ApiLicense } from './modeling/ApiModel.js'\nexport { ExposedEntity } from './modeling/ExposedEntity.js'\nexport * from './modeling/ai/index.js'\nexport {\n type AiMessage,\n type AiMessageRole,\n type AiMessageSchema,\n type AiMessageState,\n AiModelMessage,\n type AiModelMessageSchema,\n AiUserMessage,\n type AiUserMessageSchema,\n AiModelDataDomainMessage,\n} from './models/AiMessage.js'\nexport { AiSession, type AiSessionSchema, type AiSessionApp } from './models/AiSession.js'\n\n//\n// AMF\n//\n\nexport { AmfNamespace } from './amf/definitions/Namespace.js'\nexport * as ApiDefinitions from './amf/definitions/Api.js'\nexport * as AmfDefinitions from './amf/definitions/Amf.js'\nexport * as AmfShapes from './amf/definitions/Shapes.js'\nexport * as AmfBase from './amf/definitions/Base.js'\nexport { ApiExampleGenerator } from './amf/ApiExampleGenerator.js'\nexport {\n ApiMonacoSchemaGenerator,\n type IMonacoArrayProperty,\n type IMonacoObjectProperty,\n type IMonacoProperty,\n type IMonacoScalarProperty,\n type IMonacoSchema,\n} from './amf/ApiMonacoSchemaGenerator.js'\nexport { ApiSchemaValues, type IApiSchemaReadOptions } from './amf/ApiSchemaValues.js'\nexport { ApiSchemaGenerator, type ISchemaExample } from './amf/ApiSchemaGenerator.js'\nexport { AmfSerializer } from './amf/AmfSerializer.js'\nexport { AmfMixin, type ServersQueryOptions } from './amf/AmfMixin.js'\nexport * as AmfTypes from './amf/AmfTypes.js'\nexport * as AmfParsing from './amf/Parsing.js'\nexport * as AmfUtils from './amf/Utils.js'\nexport type { IApiDomainProperty, IApiCustomDomainProperty } from './amf/definitions/Base.js'\n\n//\n// Libs\n//\nexport {\n PayloadSerializer,\n type ISafePayload,\n type IMultipartBody,\n type Payload,\n type DeserializedPayload,\n type IBlobMeta,\n type IFileMeta,\n} from './lib/transformers/PayloadSerializer.js'\nexport * from './lib/logging/index.js'\nexport { Headers } from './lib/headers/Headers.js'\nexport * as EventUtils from './lib/events/Utils.js'\nexport { default as uuidV4 } from './lib/uuid.js'\nexport * as fs from './lib/fs/Fs.js'\nexport { UrlParser } from './lib/parsers/UrlParser.js'\nexport { UrlEncoder } from './lib/parsers/UrlEncoder.js'\nexport * as Timers from './lib/timers/Timers.js'\nexport { UriTemplate, type IUriTemplateOptions } from './lib/parsers/UriTemplate.js'\nexport * from './lib/parsers/UrlProcessor.js'\nexport * as HttpDefinitions from './lib/definitions/HttpDefinitions.js'\nexport * as Buffer from './lib/Buffer.js'\nexport * as Random from './lib/math/Random.js'\nexport * from './patch/PatchClient.js'\nexport * from './patch/types.js'\nexport * as ColorConverter from './lib/color/ColorConverter.js'\n\n//\n// Cookies\n//\nexport { CookieParser, type SameSiteValue } from './cookies/CookieParser.js'\nexport { CookieJar } from './cookies/CookieJar.js'\nexport { InMemoryCookieJar, clearStore as ClearInMemoryCookieJar } from './cookies/InMemoryCookieJar.js'\n\n//\n// Authorization\n//\nexport { AuthorizationError, CodeError } from './authorization/AuthorizationError.js'\nexport * from './authorization/types.js'\nexport { Tokens as OidcTokens } from './authorization/lib/Tokens.js'\nexport * as KnownGrants from './authorization/lib/KnownGrants.js'\nexport * as AuthorizationUtils from './authorization/lib/Utils.js'\nexport { SecurityProcessor, type IAuthApplyOptions } from './authorization/lib/SecurityProcessor.js'\n\n//\n// HTTP Flows & assertions\n//\nexport * from './models/http-flows/steps/assertion/index.js'\nexport * from './models/http-flows/steps/data/index.js'\nexport * from './models/http-flows/steps/transformation/index.js'\nexport * from './models/http-flows/HttpFlows.js'\nexport * from './models/http-flows/HttpStep.js'\nexport * from './models/http-flows/LegacyTranslator.js'\nexport * from './models/http-flows/HttpAssertion.js'\nexport * as HttpAssertions from './models/http-flows/steps/assertion/index.js'\nexport * as TransformationSteps from './models/http-flows/steps/transformation/index.js'\nexport * as DataSteps from './models/http-flows/steps/data/index.js'\nexport * from './models/http-flows/AssertionError.js'\n\n//\n// Runtime\n//\nexport { VariablesProcessor } from './runtime/variables/VariablesProcessor.js'\nexport { ProjectRequestRunner } from './runtime/node/ProjectRequestRunner.js'\nexport { HttpRequestRunner } from './runtime/http-runner/HttpRequestRunner.js'\nexport { ProjectSerialRunner } from './runtime/node/ProjectSerialRunner.js'\nexport { ProjectParallelRunner, type IWorkerInfo } from './runtime/node/ProjectParallelRunner.js'\nexport { ProjectRunner } from './runtime/node/ProjectRunner.js'\nexport * from './runtime/node/InteropInterfaces.js'\n\n//\n// Execution reporters\n//\nexport { Reporter } from './runtime/reporters/Reporter.js'\nexport { ProjectRunCliReporter } from './runtime/reporters/ProjectRunCliReporter.js'\n\n//\n// HTTP engine\n//\nexport {\n CoreEngine,\n type HttpEngineOptions,\n type RequestStats,\n type HeadersReceivedDetail,\n type BeforeRedirectDetail,\n type ResponseErrorInit,\n type IRequestAuthState,\n} from './runtime/http-engine/CoreEngine.js'\n\n//\n// Data processing\n//\nexport { PayloadPointer } from './data/PayloadPointer.js'\nexport { JsonReader } from './data/JsonReader.js'\nexport { JmespathReader } from './data/JmespathReader.js'\nexport { XmlReader } from './data/XmlReader.js'\nexport { UrlEncodedReader } from './data/UrlEncodedReader.js'\nexport { RequestDataExtractor } from './data/RequestDataExtractor.js'\n\n//\n// SDK\n//\nexport * from './sdk/StoreSdkNode.js'\nexport { RouteBuilder } from './sdk/RouteBuilder.js'\nexport type { AuthProviders, AuthRedirectOptions } from './sdk/AuthSdk.js'\n\n//\n// Testing\n//\nexport * from './testing/TestCliHelper.js'\nexport * from './testing/getPort.js'\n\n//\n// Mocking\n//\nexport * from './mocking/ProjectMock.js'\n\n//\n// Calculators\n//\nexport { DataCalculator } from './lib/calculators/DataCalculator.js'\n\n//\n// Events\n//\nexport { Events } from './events/Events.js'\nexport { EventTypes } from './events/EventTypes.js'\nexport * from './events/BaseEvents.js'\nexport type {\n ICookieDeleteUrlDetail,\n ICookieDetail,\n ICookieDomainListDetail,\n ICookieItemsDetail,\n ICookieUrlListDetail,\n} from './events/cookies/CookieEvents.js'\nexport type { IEncryptionEventDetail } from './events/encryption/EncryptionEvents.js'\nexport type { IProcessErrorDetail, IProcessStartDetail, IProcessStopDetail } from './events/process/ProcessEvents.js'\nexport type { IReportingErrorDetail } from './events/reporting/ReportingEvents.js'\nexport type {\n ITelemetryCustomMetric,\n ITelemetryCustomValue,\n ITelemetryDetail,\n ITelemetryEventDetail,\n ITelemetryExceptionDetail,\n ITelemetryScreenViewDetail,\n ITelemetrySocialDetail,\n ITelemetryTimingDetail,\n} from './events/telemetry/TelemetryEvents.js'\nexport type { ISetVariableDetail } from './events/environment/EnvironmentEvents.js'\nexport type { IHttpRequestDetail } from './events/transport/TransportEvents.js'\n\n//\n// External data importers\n//\nexport { LegacyDataExportToApiProject } from './models/transformers/LegacyDataExportToApiProject.js'\nexport { PostmanDataTransformer } from './models/transformers/PostmanDataTransformer.js'\nexport { ArcLegacyNormalizer } from './models/transformers/ArcLegacyNormalizer.js'\n\n//\n// Proxy logic\n//\nexport { type IProxyResult, default as ProxyLib } from './proxy/Proxy.js'\nexport {\n type IHttpProjectProxyInit,\n type IHttpProjectStoreProxyInit,\n default as HttpProjectProxy,\n} from './proxy/HttpProjectProxy.js'\nexport { type IRequestProxyInit, default as RequestProxy } from './proxy/RequestProxy.js'\nexport { default as ProxyService } from './proxy/ProxyService.js'\n\n//\n// Exceptions\n//\nexport { Exception } from './exceptions/exception.js'\nexport { InvalidTypeException } from './exceptions/invalid_type_exception.js'\nexport { RemoveAssociationException } from './exceptions/remove_association_exception.js'\nexport { RemoveEntityException } from './exceptions/remove_entity_exception.js'\nexport { RemovePropertyException } from './exceptions/remove_property_exception.js'\nexport { ValidationError, type FieldValidationMessage } from './exceptions/validation_error.js'\nexport { ForeignAssociationException } from './exceptions/foreign_association_exception.js'\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAE3D,EAAE;AACF,0BAA0B;AAC1B,EAAE;AACF,cAAc,mBAAmB,CAAA;AAEjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,EAAE;AACF,SAAS;AACT,EAAE;AACF,cAAc,mBAAmB,CAAA;AAEjC,OAAO,EAAE,QAAQ,EAAkB,MAAM,sBAAsB,CAAA;AA6B/D,OAAO,EAAE,iBAAiB,EAA2B,MAAM,+BAA+B,CAAA;AAC1F,OAAO,EAAE,eAAe,EAAyB,MAAM,6BAA6B,CAAA;AACpF,OAAO,EACL,WAAW,EAWX,IAAI,IAAI,eAAe,GACxB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,WAAW,EAAqB,IAAI,IAAI,eAAe,EAAE,MAA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sB,EAAE,MAAM,iDAAiD,CAAA;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AAElF,EAAE;AACF,cAAc;AACd,EAAE;AACF,OAAO,EAAqB,OAAO,IAAI,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACzE,OAAO,EAGL,OAAO,IAAI,gBAAgB,GAC5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAA0B,OAAO,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEjE,EAAE;AACF,aAAa;AACb,EAAE;AACF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAA;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAA;AACzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;AACnF,OAAO,EAAE,eAAe,EAA+B,MAAM,kCAAkC,CAAA;AAC/F,OAAO,EAAE,2BAA2B,EAAE,MAAM,+CAA+C,CAAA","sourcesContent":["// all exports that are save for NodeJS process processing.\n\n//\n// Ecosystem-shared Config\n//\nexport * from './config/index.js'\n\nexport { nanoid } from './nanoid.js'\n\n//\n// Models\n//\nexport * from './models/kinds.js'\nexport type { IApplication } from './models/Application.js'\nexport { Response, type IResponse } from './models/Response.js'\nexport type {\n IAuthorizationSettingsUnion,\n IApiKeyAuthorization,\n IAuthorizationParams,\n IBasicAuthorization,\n IBearerAuthorization,\n ICCAuthorization,\n IDigestAuthorization,\n INtlmAuthorization,\n IOAuth1Authorization,\n IOAuth2Authorization,\n IOAuth2AuthorizationRequestCustomData,\n IOAuth2CustomData,\n IOAuth2CustomParameter,\n IOAuth2TokenRequestCustomData,\n IOauth2GrantType,\n IOauth2ResponseType,\n IOidcAuthorization,\n IOidcTokenError,\n IOidcTokenInfo,\n IPassThroughAuthorization,\n IRamlCustomAuthorization,\n ITokenError,\n ITokenInfo,\n ITokenRemoveOptions,\n OAuth2DeliveryMethod,\n AuthorizationType,\n} from './models/Authorization.js'\nexport { AuthorizationData, type IAuthorizationData } from './models/AuthorizationData.js'\nexport { CertificateFile, type ICertificateFile } from './models/CertificateFile.js'\nexport {\n Certificate,\n type CertificateDataFormat,\n type CertificateType,\n type HttpCertificate,\n type ICertificate,\n type ICertificateCreateOptions,\n type ICertificateData,\n type IP12Certificate,\n type IP12CreateOptions,\n type IPemCertificate,\n type IPemCreateOptions,\n Kind as CertificateKind,\n} from './models/ClientCertificate.js'\nexport { Environment, type IEnvironment, Kind as EnvironmentKind } from './models/Environment.js'\nexport { ErrorResponse, type IErrorResponse } from './models/ErrorResponse.js'\nexport { HeadersArray } from './models/HeadersArray.js'\nexport { type IHostRule, HostRule, Kind as HostRuleKind } from './models/HostRule.js'\nexport { type IHttpCookie, HttpCookie, type CookieChangeReason, type CookieSameSiteType } from './models/HttpCookie.js'\nexport {\n type IHttpHistory,\n HttpHistory,\n Kind as HttpHistoryKind,\n type IHttpHistoryBulkAdd,\n} from './models/HttpHistory.js'\nexport {\n HttpProject,\n type IHttpProject,\n Kind as HttpProjectKind,\n type IFolderCreateOptions,\n type IFolderDeleteOptions,\n type IFolderSearchOptions,\n type IProjectMoveOptions,\n type IRequestAddOptions,\n type IRequestDeleteOptions,\n type IRequestSearchOptions,\n type IProjectFolderIterator,\n type IProjectFolderIteratorResult,\n type IProjectRequestIterator,\n} from './models/HttpProject.js'\nexport { type IHttpRequest, HttpRequest, Kind as HttpRequestKind } from './models/HttpRequest.js'\nexport { HttpResponse, type IHttpResponse } from './models/HttpResponse.js'\nexport { License, type ILicense, Kind as LicenseKind } from './models/License.js'\nexport { Project, type IProject } from './models/Project.js'\nexport {\n type IProjectExecutionLog,\n type IProjectExecutionIteration,\n type IProjectExecution,\n ProjectExecution,\n Kind as ProjectExecutionKind,\n} from './models/ProjectExecution.js'\nexport { type IProjectFolder, ProjectFolder, DefaultFolderName } from './models/ProjectFolder.js'\nexport { ProjectItem, type IProjectItem } from './models/ProjectItem.js'\nexport { type IProjectRequest, ProjectRequest, Kind as ProjectRequestKind } from './models/ProjectRequest.js'\nexport { ProjectSchema, type IProjectSchema, Kind as ProjectSchemaKind } from './models/ProjectSchema.js'\nexport { Property, type IProperty, Kind as PropertyKind } from './models/Property.js'\nexport { Provider, type IProvider, Kind as ProviderKind } from './models/Provider.js'\nexport { Request, type IRequest, Kind as RequestKind } from './models/Request.js'\nexport {\n RequestAuthorization,\n type IRequestAuthorization,\n Kind as RequestAuthorizationKind,\n} from './models/RequestAuthorization.js'\nexport {\n RequestConfig,\n type IRequestConfig,\n type IRequestBaseConfig,\n Kind as RequestConfigKind,\n} from './models/RequestConfig.js'\nexport { RequestLog, type IRequestLog, Kind as RequestLogKind } from './models/RequestLog.js'\nexport { RequestsSize, type IRequestsSize, Kind as RequestsSizeKind } from './models/RequestsSize.js'\nexport { RequestTime, type IRequestTime, Kind as RequestTimeKind } from './models/RequestTime.js'\nexport {\n RequestUiMeta,\n type IRequestUiMeta,\n Kind as RequestUiMetaKind,\n type IAuthMeta,\n type IBodyMeta,\n type IBodyMetaModel,\n type IHeadersMeta,\n type IRawBody,\n type IResponseUiMeta,\n type IUrlMeta,\n type IUrlEncodedBodyMeta,\n} from './models/RequestUiMeta.js'\nexport {\n ResponseAuthorization,\n type IResponseAuthorization,\n Kind as ResponseAuthorizationKind,\n} from './models/ResponseAuthorization.js'\nexport { ResponseRedirect, type IResponseRedirect, Kind as ResponseRedirectKind } from './models/ResponseRedirect.js'\nexport { type ISentRequest, SentRequest, type IBaseSentRequest } from './models/SentRequest.js'\nexport { SerializableError, type ISerializedError } from './models/SerializableError.js'\nexport { SerializablePayload, type SerializablePayloadOptions } from './models/SerializablePayload.js'\nexport { Server, type IServer, Kind as ServerKind } from './models/Server.js'\nexport { Thing, type IThing } from './models/Thing.js'\nexport { Url, type IUrl } from './models/Url.js'\nexport { WebApi, type IWebApi, type ILegacyRestApi } from './models/WebApi.js'\nexport { WebApiIndex, type IWebApiIndex, type ILegacyWebApiIndex } from './models/WebApiIndex.js'\nexport { type IFolder, Folder } from './models/Folder.js'\nexport * from './models/TrashEntry.js'\nexport * from './models/store/data_catalog.js'\n\nexport * from './models/store/Backend.js'\nexport { type ICapabilities } from './models/store/Capabilities.js'\nexport {\n type IFile,\n File,\n type IStoredFile,\n StoredFile,\n type FileAddOptions,\n type FileBreadcrumb,\n type MediaReadOptions,\n} from './models/store/File.js'\nexport { type GroupSchema, Group } from './models/store/Group.js'\nexport {\n type IAccessAddOperation,\n type IAccessOperation,\n type IAccessUpdateOperation,\n type IAccessRemoveOperation,\n Permission,\n type IPermission,\n type AccessOperation,\n Kind as PermissionKind,\n type PermissionRole,\n type PermissionType,\n type PermissionSourceRule,\n} from './models/store/Permission.js'\nexport { type IRevision, type IRevisionListItem } from './models/store/Revision.js'\nexport { type IEmail, type IUserPicture, type IUser, Kind as UserKind, type UserStatus } from './models/store/User.js'\nexport { type IUserIdentity, Kind as UserIdentityKind, UserIdentity } from './models/store/UserIdentity.js'\nexport { type IOrganization, Organization, type UserOrganizationGrantType } from './models/store/Organization.js'\nexport { type InvitationSchema, type InvitationStatus, Invitation } from './models/store/Invitation.js'\nexport { type IModification } from './models/store/Modification.js'\nexport { type IDeletion } from './models/store/Deletion.js'\nexport {\n DataCatalog,\n type DataCatalogSchema,\n type DataCatalogSchemaWithVersion,\n type DataCatalogScope,\n type DataCatalogStatus,\n type DataCatalogVersionInfo,\n} from './models/DataCatalog.js'\nexport {\n type DataCatalogLifecycle,\n DataCatalogVersion,\n type DataCatalogVersionSchema,\n} from './models/DataCatalogVersion.js'\n\nexport * as DataFormat from './modeling/DataFormat.js'\nexport type {\n PropertyBinding,\n PropertyProtobufBindings,\n PropertyWebBindings,\n AssociationBinding,\n AssociationBindings,\n AssociationWebBindings,\n PropertyBindings,\n} from './modeling/Bindings.js'\nexport * from './modeling/types.js'\nexport { DataDomain, type DataDomainSchema } from './modeling/DataDomain.js'\nexport { DomainNamespace, type DomainNamespaceSchema } from './modeling/DomainNamespace.js'\nexport { DomainModel, type DomainModelSchema } from './modeling/DomainModel.js'\nexport { DomainEntity, type DomainEntitySchema } from './modeling/DomainEntity.js'\nexport { DomainProperty, type DomainPropertySchema } from './modeling/DomainProperty.js'\nexport { DomainAssociation, type DomainAssociationSchema, type OnDeleteRule } from './modeling/DomainAssociation.js'\nexport * from './modeling/DomainImpactAnalysis.js'\nexport * as DomainSerialization from './modeling/DomainSerialization.js'\nexport * as DomainVersioning from './modeling/DomainVersioning.js'\nexport { ShapeGenerator } from './modeling/amf/ShapeGenerator.js'\nexport { DomainFile, type IDomainFile } from './modeling/DomainFile.js'\nexport { ApiFile, type IApiFile } from './modeling/ApiFile.js'\nexport { type DomainValidation } from './modeling/validation/rules.js'\nexport { EntityValidation } from './modeling/validation/entity_validation.js'\nexport { PropertyValidation } from './modeling/validation/property_validation.js'\nexport { AssociationValidation } from './modeling/validation/association_validation.js'\nexport * from './modeling/Semantics.js'\nexport { ApiModel, type ApiModelSchema, type ApiContact, type ApiLicense } from './modeling/ApiModel.js'\nexport { ExposedEntity } from './modeling/ExposedEntity.js'\nexport * from './modeling/ai/index.js'\nexport {\n type AiMessage,\n type AiMessageRole,\n type AiMessageSchema,\n type AiMessageState,\n AiModelMessage,\n type AiModelMessageSchema,\n AiUserMessage,\n type AiUserMessageSchema,\n AiModelDataDomainMessage,\n} from './models/AiMessage.js'\nexport { AiSession, type AiSessionSchema, type AiSessionApp } from './models/AiSession.js'\n\n//\n// Libs\n//\nexport {\n PayloadSerializer,\n type ISafePayload,\n type IMultipartBody,\n type Payload,\n type DeserializedPayload,\n type IBlobMeta,\n type IFileMeta,\n} from './lib/transformers/PayloadSerializer.js'\nexport * from './lib/logging/index.js'\nexport { Headers } from './lib/headers/Headers.js'\nexport * as EventUtils from './lib/events/Utils.js'\nexport { default as uuidV4 } from './lib/uuid.js'\nexport * as fs from './lib/fs/Fs.js'\nexport { UrlParser } from './lib/parsers/UrlParser.js'\nexport { UrlEncoder } from './lib/parsers/UrlEncoder.js'\nexport * as Timers from './lib/timers/Timers.js'\nexport { UriTemplate, type IUriTemplateOptions } from './lib/parsers/UriTemplate.js'\nexport * from './lib/parsers/UrlProcessor.js'\nexport * as HttpDefinitions from './lib/definitions/HttpDefinitions.js'\nexport * as Buffer from './lib/Buffer.js'\nexport * as Random from './lib/math/Random.js'\nexport * from './patch/PatchClient.js'\nexport * from './patch/types.js'\nexport * as ColorConverter from './lib/color/ColorConverter.js'\n\n//\n// Cookies\n//\nexport { CookieParser, type SameSiteValue } from './cookies/CookieParser.js'\nexport { CookieJar } from './cookies/CookieJar.js'\nexport { InMemoryCookieJar, clearStore as ClearInMemoryCookieJar } from './cookies/InMemoryCookieJar.js'\n\n//\n// Authorization\n//\nexport { AuthorizationError, CodeError } from './authorization/AuthorizationError.js'\nexport * from './authorization/types.js'\nexport { Tokens as OidcTokens } from './authorization/lib/Tokens.js'\nexport * as KnownGrants from './authorization/lib/KnownGrants.js'\nexport * as AuthorizationUtils from './authorization/lib/Utils.js'\nexport { SecurityProcessor, type IAuthApplyOptions } from './authorization/lib/SecurityProcessor.js'\n\n//\n// HTTP Flows & assertions\n//\nexport * from './models/http-flows/steps/assertion/index.js'\nexport * from './models/http-flows/steps/data/index.js'\nexport * from './models/http-flows/steps/transformation/index.js'\nexport * from './models/http-flows/HttpFlows.js'\nexport * from './models/http-flows/HttpStep.js'\nexport * from './models/http-flows/LegacyTranslator.js'\nexport * from './models/http-flows/HttpAssertion.js'\nexport * as HttpAssertions from './models/http-flows/steps/assertion/index.js'\nexport * as TransformationSteps from './models/http-flows/steps/transformation/index.js'\nexport * as DataSteps from './models/http-flows/steps/data/index.js'\nexport * from './models/http-flows/AssertionError.js'\n\n//\n// Runtime\n//\nexport { VariablesProcessor } from './runtime/variables/VariablesProcessor.js'\nexport { ProjectRequestRunner } from './runtime/node/ProjectRequestRunner.js'\nexport { HttpRequestRunner } from './runtime/http-runner/HttpRequestRunner.js'\nexport { ProjectSerialRunner } from './runtime/node/ProjectSerialRunner.js'\nexport { ProjectParallelRunner, type IWorkerInfo } from './runtime/node/ProjectParallelRunner.js'\nexport { ProjectRunner } from './runtime/node/ProjectRunner.js'\nexport * from './runtime/node/InteropInterfaces.js'\n\n//\n// Execution reporters\n//\nexport { Reporter } from './runtime/reporters/Reporter.js'\nexport { ProjectRunCliReporter } from './runtime/reporters/ProjectRunCliReporter.js'\n\n//\n// HTTP engine\n//\nexport {\n CoreEngine,\n type HttpEngineOptions,\n type RequestStats,\n type HeadersReceivedDetail,\n type BeforeRedirectDetail,\n type ResponseErrorInit,\n type IRequestAuthState,\n} from './runtime/http-engine/CoreEngine.js'\n\n//\n// Data processing\n//\nexport { PayloadPointer } from './data/PayloadPointer.js'\nexport { JsonReader } from './data/JsonReader.js'\nexport { JmespathReader } from './data/JmespathReader.js'\nexport { XmlReader } from './data/XmlReader.js'\nexport { UrlEncodedReader } from './data/UrlEncodedReader.js'\nexport { RequestDataExtractor } from './data/RequestDataExtractor.js'\n\n//\n// SDK\n//\nexport * from './sdk/StoreSdkNode.js'\nexport { RouteBuilder } from './sdk/RouteBuilder.js'\nexport type { AuthProviders, AuthRedirectOptions } from './sdk/AuthSdk.js'\n\n//\n// Testing\n//\nexport * from './testing/TestCliHelper.js'\nexport * from './testing/getPort.js'\n\n//\n// Mocking\n//\nexport * from './mocking/ProjectMock.js'\n\n//\n// Calculators\n//\nexport { DataCalculator } from './lib/calculators/DataCalculator.js'\n\n//\n// Events\n//\nexport { Events } from './events/Events.js'\nexport { EventTypes } from './events/EventTypes.js'\nexport * from './events/BaseEvents.js'\nexport type {\n ICookieDeleteUrlDetail,\n ICookieDetail,\n ICookieDomainListDetail,\n ICookieItemsDetail,\n ICookieUrlListDetail,\n} from './events/cookies/CookieEvents.js'\nexport type { IEncryptionEventDetail } from './events/encryption/EncryptionEvents.js'\nexport type { IProcessErrorDetail, IProcessStartDetail, IProcessStopDetail } from './events/process/ProcessEvents.js'\nexport type { IReportingErrorDetail } from './events/reporting/ReportingEvents.js'\nexport type {\n ITelemetryCustomMetric,\n ITelemetryCustomValue,\n ITelemetryDetail,\n ITelemetryEventDetail,\n ITelemetryExceptionDetail,\n ITelemetryScreenViewDetail,\n ITelemetrySocialDetail,\n ITelemetryTimingDetail,\n} from './events/telemetry/TelemetryEvents.js'\nexport type { ISetVariableDetail } from './events/environment/EnvironmentEvents.js'\nexport type { IHttpRequestDetail } from './events/transport/TransportEvents.js'\n\n//\n// External data importers\n//\nexport { LegacyDataExportToApiProject } from './models/transformers/LegacyDataExportToApiProject.js'\nexport { PostmanDataTransformer } from './models/transformers/PostmanDataTransformer.js'\nexport { ArcLegacyNormalizer } from './models/transformers/ArcLegacyNormalizer.js'\n\n//\n// Proxy logic\n//\nexport { type IProxyResult, default as ProxyLib } from './proxy/Proxy.js'\nexport {\n type IHttpProjectProxyInit,\n type IHttpProjectStoreProxyInit,\n default as HttpProjectProxy,\n} from './proxy/HttpProjectProxy.js'\nexport { type IRequestProxyInit, default as RequestProxy } from './proxy/RequestProxy.js'\nexport { default as ProxyService } from './proxy/ProxyService.js'\n\n//\n// Exceptions\n//\nexport { Exception } from './exceptions/exception.js'\nexport { InvalidTypeException } from './exceptions/invalid_type_exception.js'\nexport { RemoveAssociationException } from './exceptions/remove_association_exception.js'\nexport { RemoveEntityException } from './exceptions/remove_entity_exception.js'\nexport { RemovePropertyException } from './exceptions/remove_property_exception.js'\nexport { ValidationError, type FieldValidationMessage } from './exceptions/validation_error.js'\nexport { ForeignAssociationException } from './exceptions/foreign_association_exception.js'\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DomainPropertyFormat } from './DataFormat.js';
|
|
1
|
+
import type { Shapes } from '@api-client/amf-core';
|
|
2
|
+
import type { DomainPropertyFormat } from './DataFormat.js';
|
|
3
3
|
interface Binding {
|
|
4
4
|
/**
|
|
5
5
|
* The type of the bindings
|
|
@@ -67,7 +67,7 @@ export interface PropertyWebBindings {
|
|
|
67
67
|
/**
|
|
68
68
|
* The XML encoding instructions.
|
|
69
69
|
*/
|
|
70
|
-
xml?: IApiXmlSerializer;
|
|
70
|
+
xml?: Shapes.IApiXmlSerializer;
|
|
71
71
|
/**
|
|
72
72
|
* Only valid for the `file` property type.
|
|
73
73
|
* The list of file mime types.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bindings.d.ts","sourceRoot":"","sources":["../../../src/modeling/Bindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Bindings.d.ts","sourceRoot":"","sources":["../../../src/modeling/Bindings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAE3D,UAAU,OAAO;IACf;;;;;OAKG;IACH,IAAI,EAAE,UAAU,GAAG,KAAK,CAAA;IACxB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,iBAAiB,CAAA;IAC9B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,QAAQ,CAAC,EACL,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,MAAM,GACN,QAAQ,GACR,OAAO,CAAA;CACZ;AAED,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAAG,wBAAwB,CAAA;AAE7E,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC9C;;;;;OAKG;IACH,MAAM,EAAE,gBAAgB,CAAA;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAA;AAExD,MAAM,WAAW,kBAAmB,SAAQ,OAAO;IACjD;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAA;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bindings.js","sourceRoot":"","sources":["../../../src/modeling/Bindings.ts"],"names":[],"mappings":"","sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"Bindings.js","sourceRoot":"","sources":["../../../src/modeling/Bindings.ts"],"names":[],"mappings":"","sourcesContent":["import type { Shapes } from '@api-client/amf-core'\nimport type { DomainPropertyFormat } from './DataFormat.js'\n\ninterface Binding {\n /**\n * The type of the bindings\n *\n * - Protocol buffers: `protobuf`\n * - RAML or OAS - `web`\n */\n type: 'protobuf' | 'web'\n /**\n * The binding schema.\n */\n schema: unknown\n}\n\n/**\n * Binding for web API schema types (RAML, OAS)\n *\n * Data type translation (type to dataType)\n *\n * - `string` -> `string` with appropriate format\n * - `number` -> `number` data type with format `float`, `double`, or none format for OAS\n * - `integer` -> `integer` data type with `int32`, `int64`, or none format for OAS\n * - `nil` -> `nullable` property on OAS or `nil` type in RAML\n * - `boolean` -> `boolean` (both the same)\n * - `date` ->\n * - `any` -> `any` in RAML, `{}` shorthand in OAS\n *\n *\n *\n * The `binary` type\n *\n * OAS\n *\n * `http://www.w3.org/2001/XMLSchema#byte` For a file\n * `http://www.w3.org/2001/XMLSchema#base64Binary` for base 64\n *\n * RAML\n *\n * Has it's own AMF shape: FileShape.\n *\n * The `data` type\n *\n * OAS\n *\n * `http://www.w3.org/2001/XMLSchema#date` for a `date`\n * `http://www.w3.org/2001/XMLSchema#dateTime` for a `datetime` and `time`.\n * Note, OAS has no concept of `time` do we add `time` as the `format which is a custom thing.\n *\n * RAML\n *\n * `http://www.w3.org/2001/XMLSchema#date` for a `date` (raml's date-only)\n * `http://a.ml/vocabularies/shapes#dateTimeOnly` for a `time` (raml's time-only)\n * `http://www.w3.org/2001/XMLSchema#dateTime` for a `datetime` (raml's datetime) + format\n *\n * Note, we won't support RAML's `datetime-only`.\n */\nexport interface PropertyWebBindings {\n /**\n * The format specifying the property data type.\n */\n format?: DomainPropertyFormat\n /**\n * When set it overrides the `name` of the property.\n */\n name?: string\n /**\n * The XML encoding instructions.\n */\n xml?: Shapes.IApiXmlSerializer\n /**\n * Only valid for the `file` property type.\n * The list of file mime types.\n */\n fileTypes?: string[]\n /**\n * Whether the attribute is hidden in the schema (not a part of it).\n */\n hidden?: boolean\n}\n\n/**\n * Binding to the protocol buffer.\n *\n * Data type translation (type to dataType)\n *\n * - `string` -> `string`\n * - `number` -> `double`, `float`\n * - `integer` -> `int32`, `int64`, `uint32`, `uint64`, `sint32`, `sint64`, `fixed32`, `fixed64`, `sfixed32`, `sfixed64`\n * - `nil` -> No translation.\n * - `boolean` -> `boolean`\n * - `date` -> No translation, we allow string or number (date string or a timestamp with a\n * combination with format but this is not standard for ProtoBuf)\n * - `any` -> No translation, the user has to pick any of the data formats.\n * - `binary` -> `bytes`\n */\nexport interface PropertyProtobufBindings {\n /**\n * The field number in a protocol buffer message\n */\n field?: number\n /**\n * Whether this property (field) is reserved\n */\n reserved?: boolean\n /**\n * Whether the attribute is hidden in the schema (not a part of it).\n */\n hidden?: boolean\n /**\n * The data type of the protocol buffer proprty\n */\n dataType?:\n | 'double'\n | 'float'\n | 'int32'\n | 'int64'\n | 'uint32'\n | 'uint64'\n | 'sint32'\n | 'sint64'\n | 'fixed32'\n | 'fixed64'\n | 'sfixed32'\n | 'sfixed64'\n | 'bool'\n | 'string'\n | 'bytes'\n}\n\nexport type PropertyBindings = PropertyWebBindings | PropertyProtobufBindings\n\nexport interface PropertyBinding extends Binding {\n /**\n * The definition of the bindings.\n * The bindings tells how to translated the DomainProperty to a specific format.\n * For example, it allows to define the `dataType` and `format` for RAML / OAS (via the AMF shapes)\n * or the field number for protocol buffer.\n */\n schema: PropertyBindings\n}\n\nexport interface AssociationWebBindings {\n /**\n * Whether the association is hidden in the schema (not a part of it).\n */\n hidden?: boolean\n}\n\nexport type AssociationBindings = AssociationWebBindings\n\nexport interface AssociationBinding extends Binding {\n /**\n * Association binding definition.\n */\n schema: AssociationBindings\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import { DomainAssociationKind } from '../models/kinds.js';
|
|
|
3
3
|
import { DomainElement, type DomainElementSchema } from './DomainElement.js';
|
|
4
4
|
import { type IThing, Thing } from '../models/Thing.js';
|
|
5
5
|
import type { DomainEntity } from './DomainEntity.js';
|
|
6
|
-
import type {
|
|
6
|
+
import type { Shapes } from '@api-client/amf-core';
|
|
7
7
|
import type { AssociationBinding, AssociationBindings, AssociationWebBindings } from './Bindings.js';
|
|
8
8
|
import { DomainAttributeAttribute } from './DataFormat.js';
|
|
9
9
|
import type { AssociationTarget } from './types.js';
|
|
@@ -48,7 +48,7 @@ export interface DomainAssociationSchema extends DomainElementSchema {
|
|
|
48
48
|
* referenced entities schemas. Note, changes in the referenced entities may not be propagated
|
|
49
49
|
* to schemas altered by the user.
|
|
50
50
|
*/
|
|
51
|
-
schema?: IApiAssociationShape;
|
|
51
|
+
schema?: Shapes.IApiAssociationShape;
|
|
52
52
|
/**
|
|
53
53
|
* The list of bindings for this property.
|
|
54
54
|
*
|
|
@@ -143,7 +143,7 @@ export declare class DomainAssociation extends DomainElement {
|
|
|
143
143
|
* The schema allowing to translate the model into a
|
|
144
144
|
* specific format (like JSON, RAML, XML, etc.)
|
|
145
145
|
*/
|
|
146
|
-
accessor schema: IApiAssociationShape | undefined;
|
|
146
|
+
accessor schema: Shapes.IApiAssociationShape | undefined;
|
|
147
147
|
/**
|
|
148
148
|
* The list of bindings for this property.
|
|
149
149
|
*
|
|
@@ -224,7 +224,7 @@ export declare class DomainAssociation extends DomainElement {
|
|
|
224
224
|
* const schema = association.ensureSchema();
|
|
225
225
|
* ```
|
|
226
226
|
*/
|
|
227
|
-
ensureSchema(): IApiAssociationShape;
|
|
227
|
+
ensureSchema(): Shapes.IApiAssociationShape;
|
|
228
228
|
/**
|
|
229
229
|
* Checks whether the passed value is one of the supported
|
|
230
230
|
* data property attributes.
|
|
@@ -322,7 +322,7 @@ export declare class DomainAssociation extends DomainElement {
|
|
|
322
322
|
*
|
|
323
323
|
* @returns AMF property shape definition.
|
|
324
324
|
*/
|
|
325
|
-
toApiShape(): IApiPropertyShape;
|
|
325
|
+
toApiShape(): Shapes.IApiPropertyShape;
|
|
326
326
|
/**
|
|
327
327
|
* Adds or updates a semantic to the association.
|
|
328
328
|
* @param semantic The semantic to add to the association.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomainAssociation.d.ts","sourceRoot":"","sources":["../../../src/modeling/DomainAssociation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAE5E,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AA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;YAE9D,8CAA8C;YAC9C,OAAO,IAAI,CAAC,GAAG,CAAA;YACf,OAAO,IAAI,CAAC,OAAO,CAAA;YAEnB,kDAAkD;YAClD,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBACd,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAA;YAC1B,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,IAAI,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAA;YAC/B,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;YAE1C,2BAA2B;YAC3B,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;gBAClC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,CAAA;YAC7C,CAAC;YAED,oDAAoD;YACpD,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAA;YAC1C,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;YAC/C,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC,CAAA;YAClC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,GAAG,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC,CAAA;YAE1D,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,CAAA;YAC1B,OAAO,MAAM,CAAA;QACf,CAAC;;;SAhgBU,iBAAiB","sourcesContent":["import type { DataDomain } from './DataDomain.js'\nimport { DomainAssociationKind } from '../models/kinds.js'\nimport { DomainElement, type DomainElementSchema } from './DomainElement.js'\nimport { nanoid } from '../nanoid.js'\nimport { type IThing, Thing } from '../models/Thing.js'\nimport { observed, retargetChange, toRaw } from '../decorators/observed.js'\nimport type { DomainEntity } from './DomainEntity.js'\nimport type { IApiAssociationShape, IApiPropertyShape } from '../amf/definitions/Shapes.js'\nimport type { AssociationBinding, AssociationBindings, AssociationWebBindings } from './Bindings.js'\nimport { DomainAttributeAttribute, DomainAttributeAttributes } from './DataFormat.js'\nimport type { AssociationTarget, DomainGraphEdge } from './types.js'\nimport { ShapeGenerator } from './amf/ShapeGenerator.js'\nimport { DataSemantics, isAssociationSemantic, type SemanticType, type AppliedDataSemantic } from './Semantics.js'\n\n/**\n * Defines the behavior when a parent entity in an association is deleted.\n *\n * - `restrict`: Prevents the deletion of a parent entity if it has any associated child entities.\n * The generated API should return a clear and specific error message (e.g., 409 Conflict).\n * - _Example_: Do not allow a Department to be deleted if it still has Employees.\n * - `cascade`: Automatically deletes all associated child entities when the parent entity is deleted.\n * - _Example_: Deleting a User will also delete all their associated Posts and Comments.\n * - `setNull`: Sets the foreign key of the associated child entities to NULL. This is only valid if the\n * association property on the child entity is nullable.\n * - _Example_: When a `Project` is deleted, the `project_id` on associated `Tasks` is set to NULL,\n * making them unassigned but not deleting them.\n * - `doNothing`: No action is taken on the associated child entities when the parent entity is deleted.\n * - _Example_: Deleting a `Category` does not affect associated `Products`, which remain in the database\n * but may become orphaned.\n * This is useful when the association is optional or when child entities should not be deleted\n * or modified upon the deletion of a parent entity.\n */\nexport type OnDeleteRule = 'restrict' | 'cascade' | 'setNull' | 'doNothing'\n\nexport interface DomainAssociationSchema extends DomainElementSchema {\n kind: typeof DomainAssociationKind\n /**\n * The data association description.\n */\n info: IThing\n /**\n * Wether the data association is required.\n */\n required?: boolean\n /**\n * Whether the data association allows multiple items.\n */\n multiple?: boolean\n /**\n * The schema allowing to translate the model into a specific format (like JSON, RAML, XML, etc.)\n *\n * When this is defined then it is used as the schema. When this is not defined it uses\n * referenced entities schemas. Note, changes in the referenced entities may not be propagated\n * to schemas altered by the user.\n */\n schema?: IApiAssociationShape\n /**\n * The list of bindings for this property.\n *\n * A binding defines a translation from a data model to a specific format.\n * For example allows to define properties required to generate AMF shape and therefore RAML/OAS shapes for web APIs\n * or a protocol buffer schema.\n */\n bindings?: AssociationBinding[]\n /**\n * The list of keys associated with the entity through this association.\n * An association without a target is considered invalid and discarded when processing the values.\n * When multiple associations are set then we are dealing with an union.\n */\n targets?: AssociationTarget[]\n /**\n * The semantics applied to this association.\n * This is a list of applied semantics that can be used to\n * describe the association in more detail.\n */\n semantics?: AppliedDataSemantic[]\n /**\n * Defines the behavior when a parent entity in an association is deleted.\n */\n onDelete?: OnDeleteRule\n /**\n * Whether the association is read-only.\n */\n readOnly?: boolean\n}\n\n/**\n * Represents an association between entities in a data domain.\n *\n * A `DomainAssociation` defines a relationship between a\n * `DomainEntity` and one or more other entities. It specifies\n * how entities are connected and can represent various types\n * of relationships, such as one-to-one, one-to-many, or\n * many-to-many.\n *\n * **Key Features:**\n *\n * - **Target Entities:** Specifies the entities that are\n * the target of the association.\n * - **Cardinality:** Defines whether the association is\n * single-valued or multi-valued (e.g., one-to-one vs.\n * one-to-many).\n * - **Required Status:** Indicates whether the association\n * is mandatory or optional.\n * - **Schema Customization:** Allows defining a custom\n * schema for the association, overriding the default\n * schema derived from the target entities.\n * - **Bindings:** Supports defining how the association is\n * represented in different formats (e.g., web APIs,\n * protocol buffers).\n * - **Foreign Namespaces:** Can target entities in other\n * namespaces, enabling cross-namespace relationships.\n *\n * **Usage:**\n *\n * The preferred way to create a `DomainAssociation` is\n * through the `DomainEntity.addAssociation()` method.\n *\n * **Example:**\n *\n * ```typescript\n * const dataDomain = new DataDomain();\n * const userModel = dataDomain.addModel({ key: 'userModel' });\n * const userEntity = userModel.addEntity({ key: 'user' });\n * const addressEntity = userModel.addEntity({ key: 'address' });\n * // Add an association from User to Address\n * const addressAssociation = userEntity.addAssociation();\n * addressAssociation.addTarget(addressEntity);\n * ```\n */\nexport class DomainAssociation extends DomainElement {\n /**\n * The kind of the domain element.\n */\n override kind: typeof DomainAssociationKind\n\n /**\n * The description of the association namespace.\n */\n @retargetChange() accessor info: Thing\n\n /**\n * Wether the data association is required.\n */\n @observed() accessor required: boolean | undefined\n\n /**\n * Whether the data association allows multiple items.\n */\n @observed() accessor multiple: boolean | undefined\n\n /**\n * The schema allowing to translate the model into a\n * specific format (like JSON, RAML, XML, etc.)\n */\n @observed({ deep: true }) accessor schema: IApiAssociationShape | undefined\n\n /**\n * The list of bindings for this property.\n *\n * A binding defines a translation from a data model to a specific format.\n * For example allows to define properties required to generate AMF shape and therefore RAML/OAS shapes for web APIs\n * or a protocol buffer schema.\n */\n @observed({ deep: true }) accessor bindings: AssociationBinding[]\n\n /**\n * The key of the parent entity.\n */\n protected parent: string\n\n /**\n * The list of keys associated with the entity through this association.\n * An association without a target is considered invalid and discarded when processing the values.\n * When multiple associations are set then we are dealing with an union.\n */\n @observed({ deep: true }) accessor targets: AssociationTarget[]\n\n /**\n * Semantics applied to this association.\n */\n @observed({ deep: true }) accessor semantics: AppliedDataSemantic[] = []\n\n /**\n * Defines the behavior when a parent entity in an association is deleted.\n */\n @observed() accessor onDelete: OnDeleteRule | undefined\n\n /**\n * Whether the association is read-only.\n */\n @observed() accessor readOnly: boolean | undefined\n\n /**\n * Creates a full data association schema with defaults.\n *\n * @param input The partial data association schema.\n * @returns The data association schema.\n */\n static createSchema(input: Partial<DomainAssociationSchema> = {}): DomainAssociationSchema {\n const { key = nanoid(), semantics = [] } = input\n const info = Thing.fromJSON(input.info, { name: 'new_association' }).toJSON()\n const result: DomainAssociationSchema = {\n kind: DomainAssociationKind,\n key,\n info,\n }\n if (Array.isArray(semantics)) {\n result.semantics = [...semantics]\n }\n if (input.onDelete) {\n result.onDelete = input.onDelete\n }\n if (typeof input.readOnly === 'boolean') {\n result.readOnly = input.readOnly\n }\n if (input.schema) {\n result.schema = structuredClone(input.schema)\n }\n if (typeof input.multiple === 'boolean') {\n result.multiple = input.multiple\n }\n if (typeof input.required === 'boolean') {\n result.required = input.required\n }\n if (Array.isArray(input.bindings)) {\n result.bindings = input.bindings.map((i) => structuredClone(i))\n }\n if (Array.isArray(input.targets)) {\n result.targets = input.targets.map((i) => ({ ...i }))\n }\n return result\n }\n\n /**\n * Creates a new data association instance.\n *\n * You probably want to use the `DomainEntity.addAssociation()` method instead.\n *\n * @param root A reference to the root DataDomain instance.\n * @param parent The key of the parent entity.\n * @param input The partial data association schema.\n */\n constructor(root: DataDomain, parent: string, input?: Partial<DomainAssociationSchema>) {\n const init = DomainAssociation.createSchema(input)\n super(root, init.key)\n this.parent = parent\n this.kind = DomainAssociationKind\n this.info = new Thing(init.info)\n if (init.schema) {\n this.schema = structuredClone(init.schema)\n }\n if (typeof init.multiple === 'boolean') {\n this.multiple = init.multiple\n }\n if (typeof init.required === 'boolean') {\n this.required = init.required\n }\n if (Array.isArray(init.bindings)) {\n this.bindings = init.bindings.map((i) => structuredClone(i))\n } else {\n this.bindings = []\n }\n if (Array.isArray(init.targets)) {\n this.targets = init.targets.map((i) => ({ ...i }))\n } else {\n this.targets = []\n }\n if (Array.isArray(init.semantics)) {\n this.semantics = init.semantics.map((item) => structuredClone(item))\n } else {\n this.semantics = []\n }\n if (init.onDelete) {\n this.onDelete = init.onDelete\n }\n if (typeof init.readOnly === 'boolean') {\n this.readOnly = init.readOnly\n }\n }\n\n /**\n * Generates a JSON representation of the association.\n *\n * @returns A plain object representation of the `DomainAssociation`.\n */\n toJSON(): DomainAssociationSchema {\n const result: DomainAssociationSchema = {\n kind: this.kind,\n key: this.key,\n info: this.info.toJSON(),\n }\n if (this.schema) {\n result.schema = structuredClone(toRaw(this, this.schema))\n }\n if (typeof this.multiple === 'boolean') {\n result.multiple = this.multiple\n }\n if (typeof this.required === 'boolean') {\n result.required = this.required\n }\n if (Array.isArray(this.bindings) && this.bindings.length) {\n result.bindings = toRaw(this, this.bindings)?.map((i) => structuredClone(i))\n }\n if (Array.isArray(this.targets) && this.targets.length) {\n result.targets = toRaw(this, this.targets)?.map((i) => ({ ...i }))\n }\n if (Array.isArray(this.semantics) && this.semantics.length) {\n result.semantics = toRaw(this, this.semantics)?.map((i) => structuredClone(i))\n }\n if (this.onDelete) {\n result.onDelete = this.onDelete\n }\n if (typeof this.readOnly === 'boolean' && this.readOnly) {\n result.readOnly = this.readOnly\n }\n return result\n }\n\n /**\n * Returns a parent data entity where this data property exist.\n *\n * @returns The parent `DomainEntity` or undefined if not found.\n */\n getParentInstance(): DomainEntity | undefined {\n return this.root.graph.node(this.parent) as DomainEntity | undefined\n }\n\n /**\n * Removes this property from the parent entity.\n *\n * This method removes the association from the parent\n * entity's list of associations.\n *\n * @example\n * ```typescript\n * association.remove();\n * ```\n */\n remove(): void {\n const parent = this.getParentInstance()\n parent?.removeAssociation(this.key)\n }\n\n /**\n * Creates the `schema` object if missing and returns it.\n *\n * @returns The schema object.\n * @example\n * ```typescript\n * const schema = association.ensureSchema();\n * ```\n */\n ensureSchema(): IApiAssociationShape {\n if (!this.schema) {\n this.schema = {}\n }\n return this.schema\n }\n\n /**\n * Checks whether the passed value is one of the supported\n * data property attributes.\n *\n * @param value The value to test\n * @returns True when the passed value is one of the\n * supported data property attributes.\n */\n static isValidAttribute(value: unknown): value is DomainAttributeAttribute {\n if (typeof value !== 'string') {\n return false\n }\n return DomainAttributeAttributes.includes(value as DomainAttributeAttribute)\n }\n\n /**\n * Creates if not existing and returns web bindings\n * definition.\n *\n * @returns The web binding definition\n * @example\n * ```typescript\n * const webBindings = association.getWebBinding();\n * webBindings.hidden = true;\n * ```\n */\n getWebBinding(): AssociationWebBindings {\n let object = this.bindings.find((i) => i.type === 'web') as AssociationBinding | undefined\n if (!object) {\n object = { type: 'web', schema: {} } as AssociationBinding\n this.bindings.push(object)\n this.domain.notifyChange()\n }\n return object.schema as AssociationWebBindings\n }\n\n /**\n * Returns the schema value of the binding, if any was\n * created.\n *\n * @param type The type of the binding to read.\n * @returns The binding schema, if any\n * @example\n * ```typescript\n * const webBindings = association.readBinding('web');\n * if (webBindings) {\n * // ...\n * }\n * ```\n */\n readBinding(type: 'web' | 'protobuf'): AssociationBindings | undefined {\n const item = this.bindings.find((i) => i.type === type) as AssociationBinding\n return item?.schema || undefined\n }\n\n /**\n * Adds a target entity to the association.\n *\n * If the entity comes from another namespace then it is\n * set as a foreign entity.\n *\n * @param entity - The `DomainEntity` instance to add.\n * @example\n * ```typescript\n * association.addTarget(addressEntity);\n * ```\n */\n addTarget(entity: DomainEntity): void\n\n /**\n * Adds a target entity to the association.\n *\n * @param entity - The `DomainEntity` definition or just\n * its key.\n * @param namespace - The key of the foreign namespace this\n * entity belongs to. Do not set this value for local\n * entities.\n * @example\n * ```typescript\n * association.addTarget('address', 'foreignNamespace');\n * ```\n */\n addTarget(entity: string, namespace?: string): void\n\n /**\n * Adds a target entity to the association.\n *\n * @param init The key of an entity, its instance, or schema.\n * @param namespace - The key of the foreign namespace this\n * entity belongs to. Do not set this value for local entities.\n */\n addTarget(init: string | DomainEntity, namespace?: string): void {\n let key: string\n if (typeof init === 'string') {\n key = init\n } else {\n key = init.key\n if (init.domain.key !== this.root.key) {\n namespace = init.domain.key\n }\n }\n if (this.targets.some((i) => i.key === key && i.domain === namespace)) {\n const message = `Target ${key} already exists.`\n throw new Error(message)\n }\n if (namespace && !this.root.dependencies.has(namespace)) {\n throw new Error(`Foreign namespace \"${namespace}\" does not exist.`)\n }\n const info: AssociationTarget = {\n key,\n }\n if (namespace) {\n info.domain = namespace\n }\n this.targets.push(info)\n const targetKey = namespace ? `${namespace}:${key}` : key\n const label: DomainGraphEdge = {\n type: 'association',\n }\n if (namespace) {\n label.domain = namespace\n label.foreign = true\n }\n // We need to associate the target with the association\n // in the graph. This way, when looking for associations\n // on a target entities we can easily locate the\n // association.\n this.root.graph.setEdge(this.key, targetKey, label)\n // this.root.notifyChange()\n }\n\n /**\n * Removes a target entity from the targets list.\n *\n * @param init The key of an entity, its instance, or\n * schema.\n * @example\n * ```typescript\n * association.removeTarget(addressEntity);\n * ```\n */\n removeTarget(init: string | DomainEntity): void {\n let key: string\n if (typeof init === 'string') {\n key = init\n } else {\n key = init.key\n }\n const index = this.targets.findIndex((i) => i.key === key)\n if (index >= 0) {\n this.targets.splice(index, 1)\n // this.root.notifyChange()\n }\n this.root.graph.removeEdge(this.key, key)\n }\n\n /**\n * Lists all target entities of this association.\n *\n * @returns A generator that yields each target\n * `DomainEntity`.\n * @example\n * ```typescript\n * for (const target of association.listTargets()) {\n * console.log(target.key);\n * }\n * ```\n */\n *listTargets(): Generator<DomainEntity> {\n for (const target of this.targets) {\n const { key, domain } = target\n const targetKey = domain ? `${domain}:${key}` : key\n const entity = this.root.graph.node(targetKey) as DomainEntity | undefined\n if (entity) {\n yield entity\n }\n }\n }\n\n /**\n * Creates a Property Shape of AMF.\n * The property itself is auto-generated. If the `schema` is defined then it is used\n * as the `range` of the property. Otherwise basic shape is generated for the range.\n *\n * This is a preferred way of reading the AMF shape as this synchronizes changed\n * data properties with the shape definition.\n *\n * @returns AMF property shape definition.\n */\n toApiShape(): IApiPropertyShape {\n const serializer = new ShapeGenerator()\n return serializer.associationProperty(this)\n }\n\n /**\n * Adds or updates a semantic to the association.\n * @param semantic The semantic to add to the association.\n * @throws Error if the semantic is not an association semantic.\n */\n addSemantic(semantic: AppliedDataSemantic): void {\n const sem = DataSemantics[semantic.id]\n if (!isAssociationSemantic(sem)) {\n throw new Error(`Invalid semantic type: ${semantic.id}. Expected an association semantic.`)\n }\n const index = this.semantics.findIndex((s) => s.id === semantic.id)\n if (index >= 0) {\n this.semantics[index] = semantic\n } else {\n this.semantics.push(semantic)\n }\n this.domain.notifyChange()\n }\n\n /**\n * Removes a semantic from the association.\n * @param semanticId The ID of the semantic to remove.\n */\n removeSemantic(semanticId: SemanticType): void {\n const index = this.semantics.findIndex((s) => s.id === semanticId)\n if (index >= 0) {\n this.semantics.splice(index, 1)\n this.domain.notifyChange()\n }\n }\n\n /**\n * Checks if the association has a specific semantic.\n * @param semanticId The ID of the semantic to check.\n * @returns True if the semantic is present, false otherwise.\n */\n hasSemantic(semanticId: SemanticType): boolean {\n return this.semantics.some((s) => s.id === semanticId)\n }\n\n /**\n * Creates a duplicate of this association.\n * It places the duplicate on the parent entity right after the original association.\n *\n * @returns A new `DomainAssociation` instance that is a duplicate of this one.\n */\n duplicate(): DomainAssociation {\n const parent = this.getParentInstance()\n if (!parent) {\n throw new Error(`Cannot duplicate association ${this.key} as it has no parent entity.`)\n }\n const originalIndex = parent.fields.findIndex((f) => f.key === this.key)\n if (originalIndex === -1) {\n throw new Error(`Cannot duplicate association ${this.key} as it does not exist on the parent entity fields list.`)\n }\n const baseName = this.info.name || 'field'\n const newName = parent.generateUniqueName(baseName)\n\n // Making a copy and restoring it through the `addAssociation()` method\n // scales better than copying it manually.\n const copy = this.toJSON() as Partial<DomainAssociationSchema>\n\n // Delete properties that should not be copied\n delete copy.key\n delete copy.targets\n\n // Set the new name for the duplicated association\n if (copy.info) {\n copy.info.name = newName\n } else {\n copy.info = { name: newName }\n }\n\n const result = parent.addAssociation(copy)\n\n // Copy the target entities\n for (const target of this.targets) {\n result.addTarget(target.key, target.domain)\n }\n\n // Move the duplicate to be right after the original\n const fromIndex = parent.fields.length - 1\n const duplicateField = parent.fields[fromIndex]\n parent.fields.splice(fromIndex, 1)\n parent.fields.splice(originalIndex + 1, 0, duplicateField)\n\n this.domain.notifyChange()\n return result\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"DomainAssociation.js","sourceRoot":"","sources":["../../../src/modeling/DomainAssociation.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAA4B,MAAM,oBAAoB,CAAA;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAe,KAAK,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAI3E,OAAO,EAA4B,yBAAyB,EAAE,MAAM,iBAAiB,CAAA;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,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,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,CAAA;YAC7C,CAAC;YAED,oDAAoD;YACpD,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAA;YAC1C,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;YAC/C,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC,CAAA;YAClC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,GAAG,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC,CAAA;YAE1D,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,CAAA;YAC1B,OAAO,MAAM,CAAA;QACf,CAAC;;;SAhgBU,iBAAiB","sourcesContent":["import type { DataDomain } from './DataDomain.js'\nimport { DomainAssociationKind } from '../models/kinds.js'\nimport { DomainElement, type DomainElementSchema } from './DomainElement.js'\nimport { nanoid } from '../nanoid.js'\nimport { type IThing, Thing } from '../models/Thing.js'\nimport { observed, retargetChange, toRaw } from '../decorators/observed.js'\nimport type { DomainEntity } from './DomainEntity.js'\nimport type { Shapes } from '@api-client/amf-core'\nimport type { AssociationBinding, AssociationBindings, AssociationWebBindings } from './Bindings.js'\nimport { DomainAttributeAttribute, DomainAttributeAttributes } from './DataFormat.js'\nimport type { AssociationTarget, DomainGraphEdge } from './types.js'\nimport { ShapeGenerator } from './amf/ShapeGenerator.js'\nimport { DataSemantics, isAssociationSemantic, type SemanticType, type AppliedDataSemantic } from './Semantics.js'\n\n/**\n * Defines the behavior when a parent entity in an association is deleted.\n *\n * - `restrict`: Prevents the deletion of a parent entity if it has any associated child entities.\n * The generated API should return a clear and specific error message (e.g., 409 Conflict).\n * - _Example_: Do not allow a Department to be deleted if it still has Employees.\n * - `cascade`: Automatically deletes all associated child entities when the parent entity is deleted.\n * - _Example_: Deleting a User will also delete all their associated Posts and Comments.\n * - `setNull`: Sets the foreign key of the associated child entities to NULL. This is only valid if the\n * association property on the child entity is nullable.\n * - _Example_: When a `Project` is deleted, the `project_id` on associated `Tasks` is set to NULL,\n * making them unassigned but not deleting them.\n * - `doNothing`: No action is taken on the associated child entities when the parent entity is deleted.\n * - _Example_: Deleting a `Category` does not affect associated `Products`, which remain in the database\n * but may become orphaned.\n * This is useful when the association is optional or when child entities should not be deleted\n * or modified upon the deletion of a parent entity.\n */\nexport type OnDeleteRule = 'restrict' | 'cascade' | 'setNull' | 'doNothing'\n\nexport interface DomainAssociationSchema extends DomainElementSchema {\n kind: typeof DomainAssociationKind\n /**\n * The data association description.\n */\n info: IThing\n /**\n * Wether the data association is required.\n */\n required?: boolean\n /**\n * Whether the data association allows multiple items.\n */\n multiple?: boolean\n /**\n * The schema allowing to translate the model into a specific format (like JSON, RAML, XML, etc.)\n *\n * When this is defined then it is used as the schema. When this is not defined it uses\n * referenced entities schemas. Note, changes in the referenced entities may not be propagated\n * to schemas altered by the user.\n */\n schema?: Shapes.IApiAssociationShape\n /**\n * The list of bindings for this property.\n *\n * A binding defines a translation from a data model to a specific format.\n * For example allows to define properties required to generate AMF shape and therefore RAML/OAS shapes for web APIs\n * or a protocol buffer schema.\n */\n bindings?: AssociationBinding[]\n /**\n * The list of keys associated with the entity through this association.\n * An association without a target is considered invalid and discarded when processing the values.\n * When multiple associations are set then we are dealing with an union.\n */\n targets?: AssociationTarget[]\n /**\n * The semantics applied to this association.\n * This is a list of applied semantics that can be used to\n * describe the association in more detail.\n */\n semantics?: AppliedDataSemantic[]\n /**\n * Defines the behavior when a parent entity in an association is deleted.\n */\n onDelete?: OnDeleteRule\n /**\n * Whether the association is read-only.\n */\n readOnly?: boolean\n}\n\n/**\n * Represents an association between entities in a data domain.\n *\n * A `DomainAssociation` defines a relationship between a\n * `DomainEntity` and one or more other entities. It specifies\n * how entities are connected and can represent various types\n * of relationships, such as one-to-one, one-to-many, or\n * many-to-many.\n *\n * **Key Features:**\n *\n * - **Target Entities:** Specifies the entities that are\n * the target of the association.\n * - **Cardinality:** Defines whether the association is\n * single-valued or multi-valued (e.g., one-to-one vs.\n * one-to-many).\n * - **Required Status:** Indicates whether the association\n * is mandatory or optional.\n * - **Schema Customization:** Allows defining a custom\n * schema for the association, overriding the default\n * schema derived from the target entities.\n * - **Bindings:** Supports defining how the association is\n * represented in different formats (e.g., web APIs,\n * protocol buffers).\n * - **Foreign Namespaces:** Can target entities in other\n * namespaces, enabling cross-namespace relationships.\n *\n * **Usage:**\n *\n * The preferred way to create a `DomainAssociation` is\n * through the `DomainEntity.addAssociation()` method.\n *\n * **Example:**\n *\n * ```typescript\n * const dataDomain = new DataDomain();\n * const userModel = dataDomain.addModel({ key: 'userModel' });\n * const userEntity = userModel.addEntity({ key: 'user' });\n * const addressEntity = userModel.addEntity({ key: 'address' });\n * // Add an association from User to Address\n * const addressAssociation = userEntity.addAssociation();\n * addressAssociation.addTarget(addressEntity);\n * ```\n */\nexport class DomainAssociation extends DomainElement {\n /**\n * The kind of the domain element.\n */\n override kind: typeof DomainAssociationKind\n\n /**\n * The description of the association namespace.\n */\n @retargetChange() accessor info: Thing\n\n /**\n * Wether the data association is required.\n */\n @observed() accessor required: boolean | undefined\n\n /**\n * Whether the data association allows multiple items.\n */\n @observed() accessor multiple: boolean | undefined\n\n /**\n * The schema allowing to translate the model into a\n * specific format (like JSON, RAML, XML, etc.)\n */\n @observed({ deep: true }) accessor schema: Shapes.IApiAssociationShape | undefined\n\n /**\n * The list of bindings for this property.\n *\n * A binding defines a translation from a data model to a specific format.\n * For example allows to define properties required to generate AMF shape and therefore RAML/OAS shapes for web APIs\n * or a protocol buffer schema.\n */\n @observed({ deep: true }) accessor bindings: AssociationBinding[]\n\n /**\n * The key of the parent entity.\n */\n protected parent: string\n\n /**\n * The list of keys associated with the entity through this association.\n * An association without a target is considered invalid and discarded when processing the values.\n * When multiple associations are set then we are dealing with an union.\n */\n @observed({ deep: true }) accessor targets: AssociationTarget[]\n\n /**\n * Semantics applied to this association.\n */\n @observed({ deep: true }) accessor semantics: AppliedDataSemantic[] = []\n\n /**\n * Defines the behavior when a parent entity in an association is deleted.\n */\n @observed() accessor onDelete: OnDeleteRule | undefined\n\n /**\n * Whether the association is read-only.\n */\n @observed() accessor readOnly: boolean | undefined\n\n /**\n * Creates a full data association schema with defaults.\n *\n * @param input The partial data association schema.\n * @returns The data association schema.\n */\n static createSchema(input: Partial<DomainAssociationSchema> = {}): DomainAssociationSchema {\n const { key = nanoid(), semantics = [] } = input\n const info = Thing.fromJSON(input.info, { name: 'new_association' }).toJSON()\n const result: DomainAssociationSchema = {\n kind: DomainAssociationKind,\n key,\n info,\n }\n if (Array.isArray(semantics)) {\n result.semantics = [...semantics]\n }\n if (input.onDelete) {\n result.onDelete = input.onDelete\n }\n if (typeof input.readOnly === 'boolean') {\n result.readOnly = input.readOnly\n }\n if (input.schema) {\n result.schema = structuredClone(input.schema)\n }\n if (typeof input.multiple === 'boolean') {\n result.multiple = input.multiple\n }\n if (typeof input.required === 'boolean') {\n result.required = input.required\n }\n if (Array.isArray(input.bindings)) {\n result.bindings = input.bindings.map((i) => structuredClone(i))\n }\n if (Array.isArray(input.targets)) {\n result.targets = input.targets.map((i) => ({ ...i }))\n }\n return result\n }\n\n /**\n * Creates a new data association instance.\n *\n * You probably want to use the `DomainEntity.addAssociation()` method instead.\n *\n * @param root A reference to the root DataDomain instance.\n * @param parent The key of the parent entity.\n * @param input The partial data association schema.\n */\n constructor(root: DataDomain, parent: string, input?: Partial<DomainAssociationSchema>) {\n const init = DomainAssociation.createSchema(input)\n super(root, init.key)\n this.parent = parent\n this.kind = DomainAssociationKind\n this.info = new Thing(init.info)\n if (init.schema) {\n this.schema = structuredClone(init.schema)\n }\n if (typeof init.multiple === 'boolean') {\n this.multiple = init.multiple\n }\n if (typeof init.required === 'boolean') {\n this.required = init.required\n }\n if (Array.isArray(init.bindings)) {\n this.bindings = init.bindings.map((i) => structuredClone(i))\n } else {\n this.bindings = []\n }\n if (Array.isArray(init.targets)) {\n this.targets = init.targets.map((i) => ({ ...i }))\n } else {\n this.targets = []\n }\n if (Array.isArray(init.semantics)) {\n this.semantics = init.semantics.map((item) => structuredClone(item))\n } else {\n this.semantics = []\n }\n if (init.onDelete) {\n this.onDelete = init.onDelete\n }\n if (typeof init.readOnly === 'boolean') {\n this.readOnly = init.readOnly\n }\n }\n\n /**\n * Generates a JSON representation of the association.\n *\n * @returns A plain object representation of the `DomainAssociation`.\n */\n toJSON(): DomainAssociationSchema {\n const result: DomainAssociationSchema = {\n kind: this.kind,\n key: this.key,\n info: this.info.toJSON(),\n }\n if (this.schema) {\n result.schema = structuredClone(toRaw(this, this.schema))\n }\n if (typeof this.multiple === 'boolean') {\n result.multiple = this.multiple\n }\n if (typeof this.required === 'boolean') {\n result.required = this.required\n }\n if (Array.isArray(this.bindings) && this.bindings.length) {\n result.bindings = toRaw(this, this.bindings)?.map((i) => structuredClone(i))\n }\n if (Array.isArray(this.targets) && this.targets.length) {\n result.targets = toRaw(this, this.targets)?.map((i) => ({ ...i }))\n }\n if (Array.isArray(this.semantics) && this.semantics.length) {\n result.semantics = toRaw(this, this.semantics)?.map((i) => structuredClone(i))\n }\n if (this.onDelete) {\n result.onDelete = this.onDelete\n }\n if (typeof this.readOnly === 'boolean' && this.readOnly) {\n result.readOnly = this.readOnly\n }\n return result\n }\n\n /**\n * Returns a parent data entity where this data property exist.\n *\n * @returns The parent `DomainEntity` or undefined if not found.\n */\n getParentInstance(): DomainEntity | undefined {\n return this.root.graph.node(this.parent) as DomainEntity | undefined\n }\n\n /**\n * Removes this property from the parent entity.\n *\n * This method removes the association from the parent\n * entity's list of associations.\n *\n * @example\n * ```typescript\n * association.remove();\n * ```\n */\n remove(): void {\n const parent = this.getParentInstance()\n parent?.removeAssociation(this.key)\n }\n\n /**\n * Creates the `schema` object if missing and returns it.\n *\n * @returns The schema object.\n * @example\n * ```typescript\n * const schema = association.ensureSchema();\n * ```\n */\n ensureSchema(): Shapes.IApiAssociationShape {\n if (!this.schema) {\n this.schema = {}\n }\n return this.schema\n }\n\n /**\n * Checks whether the passed value is one of the supported\n * data property attributes.\n *\n * @param value The value to test\n * @returns True when the passed value is one of the\n * supported data property attributes.\n */\n static isValidAttribute(value: unknown): value is DomainAttributeAttribute {\n if (typeof value !== 'string') {\n return false\n }\n return DomainAttributeAttributes.includes(value as DomainAttributeAttribute)\n }\n\n /**\n * Creates if not existing and returns web bindings\n * definition.\n *\n * @returns The web binding definition\n * @example\n * ```typescript\n * const webBindings = association.getWebBinding();\n * webBindings.hidden = true;\n * ```\n */\n getWebBinding(): AssociationWebBindings {\n let object = this.bindings.find((i) => i.type === 'web') as AssociationBinding | undefined\n if (!object) {\n object = { type: 'web', schema: {} } as AssociationBinding\n this.bindings.push(object)\n this.domain.notifyChange()\n }\n return object.schema as AssociationWebBindings\n }\n\n /**\n * Returns the schema value of the binding, if any was\n * created.\n *\n * @param type The type of the binding to read.\n * @returns The binding schema, if any\n * @example\n * ```typescript\n * const webBindings = association.readBinding('web');\n * if (webBindings) {\n * // ...\n * }\n * ```\n */\n readBinding(type: 'web' | 'protobuf'): AssociationBindings | undefined {\n const item = this.bindings.find((i) => i.type === type) as AssociationBinding\n return item?.schema || undefined\n }\n\n /**\n * Adds a target entity to the association.\n *\n * If the entity comes from another namespace then it is\n * set as a foreign entity.\n *\n * @param entity - The `DomainEntity` instance to add.\n * @example\n * ```typescript\n * association.addTarget(addressEntity);\n * ```\n */\n addTarget(entity: DomainEntity): void\n\n /**\n * Adds a target entity to the association.\n *\n * @param entity - The `DomainEntity` definition or just\n * its key.\n * @param namespace - The key of the foreign namespace this\n * entity belongs to. Do not set this value for local\n * entities.\n * @example\n * ```typescript\n * association.addTarget('address', 'foreignNamespace');\n * ```\n */\n addTarget(entity: string, namespace?: string): void\n\n /**\n * Adds a target entity to the association.\n *\n * @param init The key of an entity, its instance, or schema.\n * @param namespace - The key of the foreign namespace this\n * entity belongs to. Do not set this value for local entities.\n */\n addTarget(init: string | DomainEntity, namespace?: string): void {\n let key: string\n if (typeof init === 'string') {\n key = init\n } else {\n key = init.key\n if (init.domain.key !== this.root.key) {\n namespace = init.domain.key\n }\n }\n if (this.targets.some((i) => i.key === key && i.domain === namespace)) {\n const message = `Target ${key} already exists.`\n throw new Error(message)\n }\n if (namespace && !this.root.dependencies.has(namespace)) {\n throw new Error(`Foreign namespace \"${namespace}\" does not exist.`)\n }\n const info: AssociationTarget = {\n key,\n }\n if (namespace) {\n info.domain = namespace\n }\n this.targets.push(info)\n const targetKey = namespace ? `${namespace}:${key}` : key\n const label: DomainGraphEdge = {\n type: 'association',\n }\n if (namespace) {\n label.domain = namespace\n label.foreign = true\n }\n // We need to associate the target with the association\n // in the graph. This way, when looking for associations\n // on a target entities we can easily locate the\n // association.\n this.root.graph.setEdge(this.key, targetKey, label)\n // this.root.notifyChange()\n }\n\n /**\n * Removes a target entity from the targets list.\n *\n * @param init The key of an entity, its instance, or\n * schema.\n * @example\n * ```typescript\n * association.removeTarget(addressEntity);\n * ```\n */\n removeTarget(init: string | DomainEntity): void {\n let key: string\n if (typeof init === 'string') {\n key = init\n } else {\n key = init.key\n }\n const index = this.targets.findIndex((i) => i.key === key)\n if (index >= 0) {\n this.targets.splice(index, 1)\n // this.root.notifyChange()\n }\n this.root.graph.removeEdge(this.key, key)\n }\n\n /**\n * Lists all target entities of this association.\n *\n * @returns A generator that yields each target\n * `DomainEntity`.\n * @example\n * ```typescript\n * for (const target of association.listTargets()) {\n * console.log(target.key);\n * }\n * ```\n */\n *listTargets(): Generator<DomainEntity> {\n for (const target of this.targets) {\n const { key, domain } = target\n const targetKey = domain ? `${domain}:${key}` : key\n const entity = this.root.graph.node(targetKey) as DomainEntity | undefined\n if (entity) {\n yield entity\n }\n }\n }\n\n /**\n * Creates a Property Shape of AMF.\n * The property itself is auto-generated. If the `schema` is defined then it is used\n * as the `range` of the property. Otherwise basic shape is generated for the range.\n *\n * This is a preferred way of reading the AMF shape as this synchronizes changed\n * data properties with the shape definition.\n *\n * @returns AMF property shape definition.\n */\n toApiShape(): Shapes.IApiPropertyShape {\n const serializer = new ShapeGenerator()\n return serializer.associationProperty(this)\n }\n\n /**\n * Adds or updates a semantic to the association.\n * @param semantic The semantic to add to the association.\n * @throws Error if the semantic is not an association semantic.\n */\n addSemantic(semantic: AppliedDataSemantic): void {\n const sem = DataSemantics[semantic.id]\n if (!isAssociationSemantic(sem)) {\n throw new Error(`Invalid semantic type: ${semantic.id}. Expected an association semantic.`)\n }\n const index = this.semantics.findIndex((s) => s.id === semantic.id)\n if (index >= 0) {\n this.semantics[index] = semantic\n } else {\n this.semantics.push(semantic)\n }\n this.domain.notifyChange()\n }\n\n /**\n * Removes a semantic from the association.\n * @param semanticId The ID of the semantic to remove.\n */\n removeSemantic(semanticId: SemanticType): void {\n const index = this.semantics.findIndex((s) => s.id === semanticId)\n if (index >= 0) {\n this.semantics.splice(index, 1)\n this.domain.notifyChange()\n }\n }\n\n /**\n * Checks if the association has a specific semantic.\n * @param semanticId The ID of the semantic to check.\n * @returns True if the semantic is present, false otherwise.\n */\n hasSemantic(semanticId: SemanticType): boolean {\n return this.semantics.some((s) => s.id === semanticId)\n }\n\n /**\n * Creates a duplicate of this association.\n * It places the duplicate on the parent entity right after the original association.\n *\n * @returns A new `DomainAssociation` instance that is a duplicate of this one.\n */\n duplicate(): DomainAssociation {\n const parent = this.getParentInstance()\n if (!parent) {\n throw new Error(`Cannot duplicate association ${this.key} as it has no parent entity.`)\n }\n const originalIndex = parent.fields.findIndex((f) => f.key === this.key)\n if (originalIndex === -1) {\n throw new Error(`Cannot duplicate association ${this.key} as it does not exist on the parent entity fields list.`)\n }\n const baseName = this.info.name || 'field'\n const newName = parent.generateUniqueName(baseName)\n\n // Making a copy and restoring it through the `addAssociation()` method\n // scales better than copying it manually.\n const copy = this.toJSON() as Partial<DomainAssociationSchema>\n\n // Delete properties that should not be copied\n delete copy.key\n delete copy.targets\n\n // Set the new name for the duplicated association\n if (copy.info) {\n copy.info.name = newName\n } else {\n copy.info = { name: newName }\n }\n\n const result = parent.addAssociation(copy)\n\n // Copy the target entities\n for (const target of this.targets) {\n result.addTarget(target.key, target.domain)\n }\n\n // Move the duplicate to be right after the original\n const fromIndex = parent.fields.length - 1\n const duplicateField = parent.fields[fromIndex]\n parent.fields.splice(fromIndex, 1)\n parent.fields.splice(originalIndex + 1, 0, duplicateField)\n\n this.domain.notifyChange()\n return result\n }\n}\n"]}
|
|
@@ -2,12 +2,11 @@ import type { DataDomain } from './DataDomain.js';
|
|
|
2
2
|
import { DomainEntityKind } from '../models/kinds.js';
|
|
3
3
|
import { DomainElement, type DomainElementSchema } from './DomainElement.js';
|
|
4
4
|
import { type IThing, Thing } from '../models/Thing.js';
|
|
5
|
-
import type {
|
|
5
|
+
import type { Shapes, IShapeRenderOptions } from '@api-client/amf-core';
|
|
6
6
|
import { DomainProperty, type DomainPropertySchema } from './DomainProperty.js';
|
|
7
7
|
import { DomainAssociation, DomainAssociationSchema } from './DomainAssociation.js';
|
|
8
8
|
import type { FileBreadcrumb } from '../models/store/File.js';
|
|
9
9
|
import type { DomainModel } from './DomainModel.js';
|
|
10
|
-
import type { IShapeRenderOptions } from '../amf/shape/ShapeBase.js';
|
|
11
10
|
import { type SemanticType, type AppliedDataSemantic } from './Semantics.js';
|
|
12
11
|
export interface EntityOrderedItem {
|
|
13
12
|
/**
|
|
@@ -404,7 +403,7 @@ export declare class DomainEntity extends DomainElement {
|
|
|
404
403
|
*
|
|
405
404
|
* @returns AMF property shape definition.
|
|
406
405
|
*/
|
|
407
|
-
toApiShape(): IShapeUnion;
|
|
406
|
+
toApiShape(): Shapes.IShapeUnion;
|
|
408
407
|
/**
|
|
409
408
|
* Reads the schema of the Entity and generates an example for it.
|
|
410
409
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomainEntity.d.ts","sourceRoot":"","sources":["../../../src/modeling/DomainEntity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MA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,WAAW;IAKhC;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,mBAAwB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS;IAWrG;;;;;;;OAOG;IACH,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAc/B;;;OAGG;IACH,UAAU,IAAI,cAAc,GAAG,SAAS;IAqBxC;;;;OAIG;IACH,WAAW,CAAC,QAAQ,EAAE,mBAAmB,GAAG,IAAI;IAchD;;;OAGG;IACH,cAAc,CAAC,UAAU,EAAE,YAAY,GAAG,IAAI;IAQ9C;;;;OAIG;IACH,WAAW,CAAC,UAAU,EAAE,YAAY,GAAG,OAAO;IAI9C;;;;OAIG;IACH,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;CAiB7C"}
|
|
@@ -4,12 +4,12 @@ import { DomainElement } from './DomainElement.js';
|
|
|
4
4
|
import { nanoid } from '../nanoid.js';
|
|
5
5
|
import { Thing } from '../models/Thing.js';
|
|
6
6
|
import { observed, retargetChange, toRaw } from '../decorators/observed.js';
|
|
7
|
+
import { ApiSchemaGenerator } from '@api-client/amf-core';
|
|
7
8
|
import { DomainProperty } from './DomainProperty.js';
|
|
8
9
|
import { RemovePropertyException } from '../exceptions/remove_property_exception.js';
|
|
9
10
|
import { DomainAssociation } from './DomainAssociation.js';
|
|
10
11
|
import { ValidationError } from '../exceptions/validation_error.js';
|
|
11
12
|
import { ShapeGenerator } from './amf/ShapeGenerator.js';
|
|
12
|
-
import { ApiSchemaGenerator } from '../amf/ApiSchemaGenerator.js';
|
|
13
13
|
import { removeGraphNode } from './GraphUtils.js';
|
|
14
14
|
import { DataSemantics, isEntitySemantic } from './Semantics.js';
|
|
15
15
|
/**
|