@techspokes/typescript-wsdl-client 1.1.5 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -68
- package/dist/app/generateApp.d.ts +0 -1
- package/dist/app/generateApp.js +1 -1
- package/dist/app/generateCheckedApp.d.ts +38 -0
- package/dist/app/generateCheckedApp.js +108 -0
- package/dist/checkedPipeline.d.ts +155 -0
- package/dist/checkedPipeline.js +448 -0
- package/dist/checkedPlanning.d.ts +123 -0
- package/dist/checkedPlanning.js +268 -0
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +92 -2
- package/dist/client/checkedDirectRuntime.d.ts +40 -3
- package/dist/client/checkedDirectRuntime.js +28 -8
- package/dist/client/directClientRuntime.d.ts +27 -2
- package/dist/client/directClientRuntime.js +142 -89
- package/dist/client/directClientVersion.d.ts +3 -1
- package/dist/client/directClientVersion.js +3 -0
- package/dist/client/generateClient.d.ts +0 -1
- package/dist/client/generateClient.js +98 -28
- package/dist/client/generateDirectClient.d.ts +21 -3
- package/dist/client/generateDirectClient.js +138 -6
- package/dist/client/generateOperations.d.ts +0 -1
- package/dist/client/generateOperations.js +30 -11
- package/dist/client/generateTypes.d.ts +0 -1
- package/dist/client/generateUtils.d.ts +0 -1
- package/dist/client/generateUtils.js +7 -1
- package/dist/compiler/applicationGroups.d.ts +53 -0
- package/dist/compiler/applicationGroups.js +403 -0
- package/dist/compiler/buildCanonicalGraph.d.ts +0 -1
- package/dist/compiler/canonicalGraph.d.ts +4 -16
- package/dist/compiler/canonicalGraph.js +1 -8
- package/dist/compiler/catalogErrors.d.ts +0 -1
- package/dist/compiler/catalogProvenance.d.ts +0 -1
- package/dist/compiler/checkedAssessment.d.ts +0 -1
- package/dist/compiler/checkedAssessment.js +1 -1
- package/dist/compiler/checkedComponentSource.d.ts +16 -0
- package/dist/compiler/checkedComponentSource.js +31 -0
- package/dist/compiler/checkedSourcePreparation.d.ts +38 -1
- package/dist/compiler/checkedSourcePreparation.js +71 -0
- package/dist/compiler/complexTypeContent.d.ts +5 -6
- package/dist/compiler/complexTypeContent.js +2 -2
- package/dist/compiler/componentCorrespondence.d.ts +32 -0
- package/dist/compiler/componentCorrespondence.js +140 -0
- package/dist/compiler/componentRecordProjection.d.ts +112 -0
- package/dist/compiler/componentRecordProjection.js +329 -0
- package/dist/compiler/componentSoapPreparation.d.ts +20 -0
- package/dist/compiler/componentSoapPreparation.js +36 -0
- package/dist/compiler/composeCanonicalGraph.d.ts +0 -1
- package/dist/compiler/dataOwnership.d.ts +0 -1
- package/dist/compiler/dataOwnership.js +14 -4
- package/dist/compiler/datatypeValues.d.ts +0 -1
- package/dist/compiler/declarationIdentity.d.ts +22 -0
- package/dist/compiler/declarationIdentity.js +9 -0
- package/dist/compiler/directCodec.d.ts +79 -2
- package/dist/compiler/directCodec.js +310 -92
- package/dist/compiler/directExecutionPolicy.d.ts +0 -1
- package/dist/compiler/directOperation.d.ts +72 -8
- package/dist/compiler/directOperation.js +164 -19
- package/dist/compiler/directSoap.d.ts +29 -5
- package/dist/compiler/directSoap.js +154 -44
- package/dist/compiler/directSoapSource.d.ts +24 -1
- package/dist/compiler/directSoapSource.js +166 -19
- package/dist/compiler/directSourceCapsule.d.ts +74 -2
- package/dist/compiler/directSourceCapsule.js +484 -6
- package/dist/compiler/directStructure.d.ts +83 -6
- package/dist/compiler/directStructure.js +353 -58
- package/dist/compiler/directStructurePlan.d.ts +144 -2
- package/dist/compiler/directStructurePlan.js +615 -30
- package/dist/compiler/directValues.d.ts +76 -5
- package/dist/compiler/directValues.js +967 -117
- package/dist/compiler/finiteRe01Construction.d.ts +69 -0
- package/dist/compiler/finiteRe01Construction.js +422 -0
- package/dist/compiler/finiteRe01Verification.d.ts +81 -3
- package/dist/compiler/finiteRe01Verification.js +391 -4
- package/dist/compiler/generateCatalog.d.ts +0 -1
- package/dist/compiler/graphTraversal.d.ts +0 -1
- package/dist/compiler/hypotheticalScopedIdentity.d.ts +0 -1
- package/dist/compiler/legacyDeclarations.d.ts +26 -0
- package/dist/compiler/legacyDeclarations.js +144 -0
- package/dist/compiler/occurrenceAnalysis.d.ts +2 -1
- package/dist/compiler/occurrenceAnalysis.js +23 -7
- package/dist/compiler/originalSourceMembership.d.ts +0 -1
- package/dist/compiler/particleAttribution.d.ts +0 -1
- package/dist/compiler/particleAttribution.js +20 -0
- package/dist/compiler/particleDeclarationConsistency.d.ts +0 -1
- package/dist/compiler/particleDeclarationConsistency.js +9 -0
- package/dist/compiler/particleExtension.d.ts +0 -1
- package/dist/compiler/particleExtension.js +5 -1
- package/dist/compiler/particleLocalAssessment.d.ts +0 -1
- package/dist/compiler/particleRestriction.d.ts +0 -1
- package/dist/compiler/particleRestriction.js +6 -1
- package/dist/compiler/particleSemanticView.d.ts +2 -1
- package/dist/compiler/particleSemanticView.js +16 -3
- package/dist/compiler/particleWildcardRelation.d.ts +0 -1
- package/dist/compiler/projectionScalar.d.ts +49 -0
- package/dist/compiler/projectionScalar.js +218 -0
- package/dist/compiler/re01CandidateAssignments.d.ts +95 -0
- package/dist/compiler/re01CandidateAssignments.js +341 -0
- package/dist/compiler/re01CandidateCorrespondence.d.ts +22 -1
- package/dist/compiler/re01CandidateCorrespondence.js +167 -38
- package/dist/compiler/re01TypeProperties.d.ts +0 -1
- package/dist/compiler/re01TypePropertyValidation.d.ts +0 -1
- package/dist/compiler/resolveCanonicalGraph.d.ts +5 -2
- package/dist/compiler/resolveCanonicalGraph.js +77 -7
- package/dist/compiler/rpcStringValues.d.ts +30 -0
- package/dist/compiler/rpcStringValues.js +196 -0
- package/dist/compiler/rpcTypedValues.d.ts +48 -0
- package/dist/compiler/rpcTypedValues.js +190 -0
- package/dist/compiler/scalarSchemaAssessment.d.ts +0 -1
- package/dist/compiler/schemaAttributeGroupProperties.d.ts +0 -1
- package/dist/compiler/schemaAttributeProperties.d.ts +0 -1
- package/dist/compiler/schemaAttributeUses.d.ts +22 -2
- package/dist/compiler/schemaAttributeUses.js +86 -13
- package/dist/compiler/schemaBinaryWordReconstruction.d.ts +0 -1
- package/dist/compiler/schemaBuiltinFacets.d.ts +0 -1
- package/dist/compiler/schemaCalendarImages.d.ts +0 -1
- package/dist/compiler/schemaCalendarLanguage.d.ts +0 -1
- package/dist/compiler/schemaCompiler.d.ts +0 -1
- package/dist/compiler/schemaCompiler.js +44 -109
- package/dist/compiler/schemaComponentEquality.d.ts +0 -1
- package/dist/compiler/schemaConstructionAssessment.d.ts +34 -1
- package/dist/compiler/schemaConstructionAssessment.js +88 -6
- package/dist/compiler/schemaDatatypeValues.d.ts +0 -1
- package/dist/compiler/schemaDecimalLanguage.d.ts +0 -1
- package/dist/compiler/schemaDeclarationPrimitives.d.ts +7 -2
- package/dist/compiler/schemaDeclarationPrimitives.js +18 -1
- package/dist/compiler/schemaDocumentSyntax.d.ts +0 -1
- package/dist/compiler/schemaDurationLanguage.d.ts +0 -1
- package/dist/compiler/schemaElementInstance.d.ts +30 -0
- package/dist/compiler/schemaElementInstance.js +45 -0
- package/dist/compiler/schemaElementProperties.d.ts +0 -1
- package/dist/compiler/schemaEndpointWordCapacity.d.ts +0 -1
- package/dist/compiler/schemaExactCalendar.d.ts +0 -1
- package/dist/compiler/schemaFacetAnnotation.d.ts +0 -1
- package/dist/compiler/schemaGeneratedScalarShape.d.ts +0 -1
- package/dist/compiler/schemaGeneratedScalarShape.js +2 -0
- package/dist/compiler/schemaIdentityConstraints.d.ts +0 -1
- package/dist/compiler/schemaIeeeLanguage.d.ts +0 -1
- package/dist/compiler/schemaIntegerImages.d.ts +0 -1
- package/dist/compiler/schemaLexicalPredicates.d.ts +0 -1
- package/dist/compiler/schemaNotationProperties.d.ts +0 -1
- package/dist/compiler/schemaNumericImageConditions.d.ts +0 -1
- package/dist/compiler/schemaParticleWildcardProperties.d.ts +0 -1
- package/dist/compiler/schemaPattern.d.ts +0 -1
- package/dist/compiler/schemaRegularLanguage.d.ts +0 -1
- package/dist/compiler/schemaScalarContext.d.ts +5 -1
- package/dist/compiler/schemaScalarKernel.d.ts +0 -1
- package/dist/compiler/schemaScalarWitnesses.d.ts +0 -1
- package/dist/compiler/schemaSimpleTypeProperties.d.ts +0 -1
- package/dist/compiler/schemaSourceGrammar.d.ts +0 -1
- package/dist/compiler/schemaSourceLexical.d.ts +0 -1
- package/dist/compiler/schemaSourceValues.d.ts +0 -1
- package/dist/compiler/schemaSourceWildcards.d.ts +1 -2
- package/dist/compiler/schemaSourceWildcards.js +3 -1
- package/dist/compiler/schemaSymbolicSequences.d.ts +0 -1
- package/dist/compiler/schemaSymbolicValueSets.d.ts +0 -1
- package/dist/compiler/schemaSyntaxAssessment.d.ts +0 -1
- package/dist/compiler/schemaTemporalAliases.d.ts +0 -1
- package/dist/compiler/schemaTokenImages.d.ts +0 -1
- package/dist/compiler/schemaTypeIdentity.d.ts +0 -1
- package/dist/compiler/schemaTypeIdentity.js +2 -0
- package/dist/compiler/schemaTypeRelations.d.ts +0 -1
- package/dist/compiler/schemaUri.d.ts +0 -1
- package/dist/compiler/schemaValueContext.d.ts +0 -1
- package/dist/compiler/schemaValueImages.d.ts +0 -1
- package/dist/compiler/schemaValueSequences.d.ts +0 -1
- package/dist/compiler/semanticBudget.d.ts +18 -1
- package/dist/compiler/semanticBudget.js +17 -2
- package/dist/compiler/semanticCatalog.d.ts +2 -3
- package/dist/compiler/semanticContext.d.ts +12 -1
- package/dist/compiler/semanticContext.js +39 -0
- package/dist/compiler/semanticTypeDependencies.d.ts +0 -1
- package/dist/compiler/semanticTypeReference.d.ts +0 -1
- package/dist/compiler/shapeResolver.d.ts +0 -1
- package/dist/compiler/soapHeaders.d.ts +16 -0
- package/dist/compiler/soapHeaders.js +42 -0
- package/dist/compiler/sourceSchemaBinding.d.ts +0 -1
- package/dist/compiler/standardSchemaComponents.d.ts +71 -0
- package/dist/compiler/standardSchemaComponents.js +74 -0
- package/dist/compiler/standardSchemaConstruction.d.ts +20 -0
- package/dist/compiler/standardSchemaConstruction.js +34 -0
- package/dist/compiler/structuralCompanions.d.ts +0 -1
- package/dist/compiler/validateSemanticGraph.d.ts +0 -1
- package/dist/compiler/wildcardAlgebra.d.ts +0 -1
- package/dist/compiler/wsdlPolicyRequirements.d.ts +43 -0
- package/dist/compiler/wsdlPolicyRequirements.js +239 -0
- package/dist/config.d.ts +0 -1
- package/dist/gateway/generateCheckedGateway.d.ts +32 -0
- package/dist/gateway/generateCheckedGateway.js +293 -0
- package/dist/gateway/generateComposedGateway.d.ts +16 -0
- package/dist/gateway/generateComposedGateway.js +65 -0
- package/dist/gateway/generateGateway.d.ts +0 -1
- package/dist/gateway/generateGateway.js +1 -0
- package/dist/gateway/generators.d.ts +0 -1
- package/dist/gateway/generators.js +19 -4
- package/dist/gateway/helpers.d.ts +1 -1
- package/dist/gateway/helpers.js +15 -0
- package/dist/generation/componentShape.d.ts +14 -0
- package/dist/generation/componentShape.js +293 -0
- package/dist/generation/preamble.d.ts +0 -1
- package/dist/generation/sourceLayout.d.ts +13 -0
- package/dist/generation/sourceLayout.js +40 -0
- package/dist/generation/writeGeneratedSource.d.ts +0 -1
- package/dist/index.d.ts +11 -2
- package/dist/index.js +4 -1
- package/dist/loader/fetch.d.ts +0 -1
- package/dist/loader/orderedSyntax.d.ts +12 -1
- package/dist/loader/orderedSyntax.js +40 -6
- package/dist/loader/resolutionDepth.d.ts +0 -1
- package/dist/loader/schemaInput.d.ts +28 -1
- package/dist/loader/schemaInput.js +41 -4
- package/dist/loader/schemaResources.d.ts +2 -1
- package/dist/loader/schemaResources.js +45 -4
- package/dist/loader/wsdlLoader.d.ts +0 -1
- package/dist/multiServicePipeline.d.ts +41 -0
- package/dist/multiServicePipeline.js +287 -0
- package/dist/openapi/casing.d.ts +0 -1
- package/dist/openapi/composeOpenAPI.d.ts +29 -0
- package/dist/openapi/composeOpenAPI.js +322 -0
- package/dist/openapi/generateOpenAPI.d.ts +0 -1
- package/dist/openapi/generatePaths.d.ts +0 -1
- package/dist/openapi/generateSchemas.d.ts +0 -1
- package/dist/openapi/security.d.ts +0 -1
- package/dist/pipeline.d.ts +7 -3
- package/dist/pipeline.js +15 -0
- package/dist/test/generateCheckedTests.d.ts +17 -0
- package/dist/test/generateCheckedTests.js +60 -0
- package/dist/test/generateTests.d.ts +0 -1
- package/dist/test/generators.d.ts +0 -1
- package/dist/test/mockData.d.ts +0 -1
- package/dist/test/mockData.js +20 -14
- package/dist/util/attributeWildcards.d.ts +0 -1
- package/dist/util/builder.d.ts +0 -1
- package/dist/util/catalogMeta.d.ts +0 -1
- package/dist/util/checkedCliDiagnostics.d.ts +11 -0
- package/dist/util/checkedCliDiagnostics.js +22 -0
- package/dist/util/cli.d.ts +0 -1
- package/dist/util/errors.d.ts +0 -1
- package/dist/util/imports.d.ts +0 -1
- package/dist/util/runtimeSource.d.ts +0 -1
- package/dist/util/runtimeSource.js +3 -5
- package/dist/util/securityConfig.d.ts +0 -1
- package/dist/util/streamConfig.d.ts +0 -1
- package/dist/util/tools.d.ts +0 -1
- package/dist/util/xmlWhitespace.d.ts +0 -1
- package/dist/xsd/primitives.d.ts +0 -1
- package/docs/agent-skill.md +12 -1
- package/docs/api-reference.md +127 -9
- package/docs/checked-gateway.md +212 -0
- package/docs/checked-generation.md +167 -0
- package/docs/cli-reference.md +48 -6
- package/docs/concepts.md +139 -5
- package/docs/configuration.md +15 -4
- package/docs/corpus.md +33 -0
- package/docs/direct-values.md +13 -13
- package/docs/examples/checked-forecast.wsdl +19 -0
- package/docs/gateway-guide.md +104 -27
- package/docs/generated-code.md +22 -11
- package/docs/mapping-contract.md +114 -0
- package/docs/migration-playbook.md +5 -1
- package/docs/migration.md +124 -6
- package/docs/output-anatomy.md +21 -18
- package/docs/production.md +7 -5
- package/docs/start-here.md +19 -3
- package/docs/supported-patterns.md +24 -3
- package/docs/testing.md +119 -31
- package/docs/troubleshooting.md +3 -1
- package/llms.txt +16 -8
- package/package.json +64 -23
- package/src/runtime/checkedGatewayHost.tpl.txt +157 -0
- package/src/runtime/clientStreamMethods.tpl.txt +156 -148
- package/src/runtime/operationsStreamHelper.tpl.txt +6 -6
- package/src/runtime/streamXml.ts +49 -21
- package/dist/app/generateApp.d.ts.map +0 -1
- package/dist/cli.d.ts.map +0 -1
- package/dist/client/checkedDirectRuntime.d.ts.map +0 -1
- package/dist/client/directClientRuntime.d.ts.map +0 -1
- package/dist/client/directClientVersion.d.ts.map +0 -1
- package/dist/client/generateClient.d.ts.map +0 -1
- package/dist/client/generateDirectClient.d.ts.map +0 -1
- package/dist/client/generateOperations.d.ts.map +0 -1
- package/dist/client/generateTypes.d.ts.map +0 -1
- package/dist/client/generateUtils.d.ts.map +0 -1
- package/dist/compiler/buildCanonicalGraph.d.ts.map +0 -1
- package/dist/compiler/canonicalGraph.d.ts.map +0 -1
- package/dist/compiler/catalogErrors.d.ts.map +0 -1
- package/dist/compiler/catalogProvenance.d.ts.map +0 -1
- package/dist/compiler/checkedAssessment.d.ts.map +0 -1
- package/dist/compiler/checkedSourcePreparation.d.ts.map +0 -1
- package/dist/compiler/complexTypeContent.d.ts.map +0 -1
- package/dist/compiler/composeCanonicalGraph.d.ts.map +0 -1
- package/dist/compiler/dataOwnership.d.ts.map +0 -1
- package/dist/compiler/datatypeValues.d.ts.map +0 -1
- package/dist/compiler/directCodec.d.ts.map +0 -1
- package/dist/compiler/directExecutionPolicy.d.ts.map +0 -1
- package/dist/compiler/directOperation.d.ts.map +0 -1
- package/dist/compiler/directSoap.d.ts.map +0 -1
- package/dist/compiler/directSoapSource.d.ts.map +0 -1
- package/dist/compiler/directSourceCapsule.d.ts.map +0 -1
- package/dist/compiler/directStructure.d.ts.map +0 -1
- package/dist/compiler/directStructurePlan.d.ts.map +0 -1
- package/dist/compiler/directValues.d.ts.map +0 -1
- package/dist/compiler/finiteRe01Verification.d.ts.map +0 -1
- package/dist/compiler/generateCatalog.d.ts.map +0 -1
- package/dist/compiler/graphTraversal.d.ts.map +0 -1
- package/dist/compiler/hypotheticalScopedIdentity.d.ts.map +0 -1
- package/dist/compiler/occurrenceAnalysis.d.ts.map +0 -1
- package/dist/compiler/originalSourceMembership.d.ts.map +0 -1
- package/dist/compiler/particleAttribution.d.ts.map +0 -1
- package/dist/compiler/particleDeclarationConsistency.d.ts.map +0 -1
- package/dist/compiler/particleExtension.d.ts.map +0 -1
- package/dist/compiler/particleLocalAssessment.d.ts.map +0 -1
- package/dist/compiler/particleRestriction.d.ts.map +0 -1
- package/dist/compiler/particleSemanticView.d.ts.map +0 -1
- package/dist/compiler/particleWildcardRelation.d.ts.map +0 -1
- package/dist/compiler/re01CandidateCorrespondence.d.ts.map +0 -1
- package/dist/compiler/re01TypeProperties.d.ts.map +0 -1
- package/dist/compiler/re01TypePropertyValidation.d.ts.map +0 -1
- package/dist/compiler/resolveCanonicalGraph.d.ts.map +0 -1
- package/dist/compiler/scalarSchemaAssessment.d.ts.map +0 -1
- package/dist/compiler/schemaAttributeGroupProperties.d.ts.map +0 -1
- package/dist/compiler/schemaAttributeProperties.d.ts.map +0 -1
- package/dist/compiler/schemaAttributeUses.d.ts.map +0 -1
- package/dist/compiler/schemaBinaryWordReconstruction.d.ts.map +0 -1
- package/dist/compiler/schemaBuiltinFacets.d.ts.map +0 -1
- package/dist/compiler/schemaCalendarImages.d.ts.map +0 -1
- package/dist/compiler/schemaCalendarLanguage.d.ts.map +0 -1
- package/dist/compiler/schemaCompiler.d.ts.map +0 -1
- package/dist/compiler/schemaComponentEquality.d.ts.map +0 -1
- package/dist/compiler/schemaConstructionAssessment.d.ts.map +0 -1
- package/dist/compiler/schemaDatatypeValues.d.ts.map +0 -1
- package/dist/compiler/schemaDecimalLanguage.d.ts.map +0 -1
- package/dist/compiler/schemaDeclarationPrimitives.d.ts.map +0 -1
- package/dist/compiler/schemaDocumentSyntax.d.ts.map +0 -1
- package/dist/compiler/schemaDurationLanguage.d.ts.map +0 -1
- package/dist/compiler/schemaElementProperties.d.ts.map +0 -1
- package/dist/compiler/schemaEndpointWordCapacity.d.ts.map +0 -1
- package/dist/compiler/schemaExactCalendar.d.ts.map +0 -1
- package/dist/compiler/schemaFacetAnnotation.d.ts.map +0 -1
- package/dist/compiler/schemaGeneratedScalarShape.d.ts.map +0 -1
- package/dist/compiler/schemaIdentityConstraints.d.ts.map +0 -1
- package/dist/compiler/schemaIeeeLanguage.d.ts.map +0 -1
- package/dist/compiler/schemaIntegerImages.d.ts.map +0 -1
- package/dist/compiler/schemaLexicalPredicates.d.ts.map +0 -1
- package/dist/compiler/schemaNotationProperties.d.ts.map +0 -1
- package/dist/compiler/schemaNumericImageConditions.d.ts.map +0 -1
- package/dist/compiler/schemaParticleWildcardProperties.d.ts.map +0 -1
- package/dist/compiler/schemaPattern.d.ts.map +0 -1
- package/dist/compiler/schemaRegularLanguage.d.ts.map +0 -1
- package/dist/compiler/schemaScalarContext.d.ts.map +0 -1
- package/dist/compiler/schemaScalarKernel.d.ts.map +0 -1
- package/dist/compiler/schemaScalarWitnesses.d.ts.map +0 -1
- package/dist/compiler/schemaSimpleTypeProperties.d.ts.map +0 -1
- package/dist/compiler/schemaSourceGrammar.d.ts.map +0 -1
- package/dist/compiler/schemaSourceLexical.d.ts.map +0 -1
- package/dist/compiler/schemaSourceValues.d.ts.map +0 -1
- package/dist/compiler/schemaSourceWildcards.d.ts.map +0 -1
- package/dist/compiler/schemaSymbolicSequences.d.ts.map +0 -1
- package/dist/compiler/schemaSymbolicValueSets.d.ts.map +0 -1
- package/dist/compiler/schemaSyntaxAssessment.d.ts.map +0 -1
- package/dist/compiler/schemaTemporalAliases.d.ts.map +0 -1
- package/dist/compiler/schemaTokenImages.d.ts.map +0 -1
- package/dist/compiler/schemaTypeIdentity.d.ts.map +0 -1
- package/dist/compiler/schemaTypeRelations.d.ts.map +0 -1
- package/dist/compiler/schemaUri.d.ts.map +0 -1
- package/dist/compiler/schemaValueContext.d.ts.map +0 -1
- package/dist/compiler/schemaValueImages.d.ts.map +0 -1
- package/dist/compiler/schemaValueSequences.d.ts.map +0 -1
- package/dist/compiler/semanticBudget.d.ts.map +0 -1
- package/dist/compiler/semanticCatalog.d.ts.map +0 -1
- package/dist/compiler/semanticContext.d.ts.map +0 -1
- package/dist/compiler/semanticTypeDependencies.d.ts.map +0 -1
- package/dist/compiler/semanticTypeReference.d.ts.map +0 -1
- package/dist/compiler/shapeResolver.d.ts.map +0 -1
- package/dist/compiler/sourceSchemaBinding.d.ts.map +0 -1
- package/dist/compiler/structuralCompanions.d.ts.map +0 -1
- package/dist/compiler/validateSemanticGraph.d.ts.map +0 -1
- package/dist/compiler/wildcardAlgebra.d.ts.map +0 -1
- package/dist/config.d.ts.map +0 -1
- package/dist/gateway/generateGateway.d.ts.map +0 -1
- package/dist/gateway/generators.d.ts.map +0 -1
- package/dist/gateway/helpers.d.ts.map +0 -1
- package/dist/generation/preamble.d.ts.map +0 -1
- package/dist/generation/writeGeneratedSource.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/loader/fetch.d.ts.map +0 -1
- package/dist/loader/orderedSyntax.d.ts.map +0 -1
- package/dist/loader/resolutionDepth.d.ts.map +0 -1
- package/dist/loader/schemaInput.d.ts.map +0 -1
- package/dist/loader/schemaResources.d.ts.map +0 -1
- package/dist/loader/wsdlLoader.d.ts.map +0 -1
- package/dist/openapi/casing.d.ts.map +0 -1
- package/dist/openapi/generateOpenAPI.d.ts.map +0 -1
- package/dist/openapi/generatePaths.d.ts.map +0 -1
- package/dist/openapi/generateSchemas.d.ts.map +0 -1
- package/dist/openapi/security.d.ts.map +0 -1
- package/dist/pipeline.d.ts.map +0 -1
- package/dist/runtime/jsonArray.d.ts +0 -24
- package/dist/runtime/jsonArray.d.ts.map +0 -1
- package/dist/runtime/jsonArray.js +0 -52
- package/dist/runtime/ndjson.d.ts +0 -24
- package/dist/runtime/ndjson.d.ts.map +0 -1
- package/dist/runtime/ndjson.js +0 -30
- package/dist/runtime/streamXml.d.ts +0 -45
- package/dist/runtime/streamXml.d.ts.map +0 -1
- package/dist/runtime/streamXml.js +0 -212
- package/dist/test/generateTests.d.ts.map +0 -1
- package/dist/test/generators.d.ts.map +0 -1
- package/dist/test/mockData.d.ts.map +0 -1
- package/dist/util/attributeWildcards.d.ts.map +0 -1
- package/dist/util/builder.d.ts.map +0 -1
- package/dist/util/catalogMeta.d.ts.map +0 -1
- package/dist/util/cli.d.ts.map +0 -1
- package/dist/util/errors.d.ts.map +0 -1
- package/dist/util/imports.d.ts.map +0 -1
- package/dist/util/runtimeSource.d.ts.map +0 -1
- package/dist/util/securityConfig.d.ts.map +0 -1
- package/dist/util/streamConfig.d.ts.map +0 -1
- package/dist/util/tools.d.ts.map +0 -1
- package/dist/util/xmlWhitespace.d.ts.map +0 -1
- package/dist/xsd/primitives.d.ts.map +0 -1
- package/docs/AGENTS.md +0 -47
- package/docs/README.md +0 -69
- package/docs/architecture.md +0 -158
- package/docs/content-model-analysis.md +0 -92
- package/docs/content-model-baseline.md +0 -121
- package/docs/content-model-catalog.md +0 -116
- package/docs/content-model-companions.md +0 -90
- package/docs/content-model-composition.md +0 -103
- package/docs/content-model-decisions.md +0 -79
- package/docs/content-model-gateway-feasibility.md +0 -169
- package/docs/content-model-graph.md +0 -121
- package/docs/content-model-loading.md +0 -163
- package/docs/content-model-matching.md +0 -85
- package/docs/content-model-readiness.md +0 -144
- package/docs/content-model-resolution.md +0 -81
- package/docs/content-model-s02-handoff.md +0 -98
- package/docs/content-model-s06-au-01.md +0 -425
- package/docs/content-model-s06-dt-01.md +0 -386
- package/docs/content-model-s06-pw-01.md +0 -350
- package/docs/content-model-s06-re-01-resolver-implementation.md +0 -869
- package/docs/content-model-s06-re-01-resolver.md +0 -513
- package/docs/content-model-s06-re-01-scalar-witnesses.md +0 -1423
- package/docs/content-model-s06-re-01-support-reconstruction.md +0 -6337
- package/docs/content-model-s06-re-01.md +0 -7477
- package/docs/content-model-s06-research-handoff.md +0 -909
- package/docs/content-model-shipped-fix.md +0 -83
- package/docs/content-model-soap-feasibility.md +0 -165
- package/docs/decisions/001-test-generation.md +0 -36
- package/docs/decisions/002-streamable-responses.md +0 -332
- package/docs/decisions/003-content-model-contracts.md +0 -280
- package/docs/file-naming-and-path-organization.md +0 -213
- package/docs/reference-validation.md +0 -243
- package/docs/releases/README.md +0 -94
- package/docs/releases/v0.20.0.md +0 -22
- package/docs/releases/v0.21.0.md +0 -30
- package/docs/releases/v0.22.0.md +0 -30
- package/docs/releases/v0.23.0.md +0 -31
- package/docs/releases/v0.24.0.md +0 -38
- package/docs/releases/v0.25.0.md +0 -31
- package/docs/releases/v0.25.2.md +0 -32
- package/docs/releases/v0.26.0.md +0 -32
- package/docs/releases/v0.27.0.md +0 -31
- package/docs/releases/v0.28.0.md +0 -32
- package/docs/releases/v0.29.0.md +0 -32
- package/docs/releases/v0.30.0.md +0 -30
- package/docs/releases/v0.30.1.md +0 -31
- package/docs/releases/v0.30.2.md +0 -30
- package/docs/releases/v0.30.3.md +0 -33
- package/docs/releases/v0.31.0.md +0 -33
- package/docs/releases/v0.32.0.md +0 -33
- package/docs/releases/v0.33.0.md +0 -34
- package/docs/releases/v0.34.0.md +0 -30
- package/docs/releases/v0.35.0.md +0 -33
- package/docs/releases/v0.36.0.md +0 -32
- package/docs/releases/v0.37.0.md +0 -33
- package/docs/releases/v0.38.0.md +0 -35
- package/docs/releases/v0.39.0.md +0 -35
- package/docs/releases/v0.40.0.md +0 -45
- package/docs/releases/v0.40.1.md +0 -34
- package/docs/releases/v1.0.0.md +0 -42
- package/docs/releases/v1.0.1.md +0 -38
- package/docs/releases/v1.0.2.md +0 -51
- package/docs/releases/v1.0.3.md +0 -37
- package/docs/releases/v1.0.4.md +0 -45
- package/docs/releases/v1.0.5.md +0 -41
- package/docs/releases/v1.0.6.md +0 -35
- package/docs/releases/v1.0.7.md +0 -36
- package/docs/releases/v1.1.0.md +0 -42
- package/docs/releases/v1.1.1.md +0 -44
- package/docs/releases/v1.1.2.md +0 -42
- package/docs/releases/v1.1.3.md +0 -36
- package/docs/releases/v1.1.4.md +0 -36
- package/docs/releases/v1.1.5.md +0 -38
- package/docs/roadmap/README.md +0 -107
- package/docs/roadmap/v1.0-capability-conformance-framework.md +0 -582
- package/docs/roadmap/v1.0-choice-union-mode.md +0 -90
- package/docs/roadmap/v1.0-contract-audit.md +0 -75
- package/docs/roadmap/v1.0-json-array-streaming.md +0 -101
- package/docs/roadmap/v1.0-openapi-fastify-compatibility.md +0 -99
- package/docs/roadmap/v1.0-release-candidate-gates.md +0 -92
- package/docs/roadmap/v1.0-wsdl-coverage-matrix.md +0 -200
- package/docs/roadmap/v1.0-xs-anyattribute-wildcard-bag.md +0 -932
- package/src/runtime/jsonArray.ts +0 -55
- package/src/runtime/ndjson.ts +0 -32
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Catalog-driven parse specification. `recordPath` is an ordered XML element
|
|
3
|
-
* path from the SOAP body payload down to the repeated record element. The
|
|
4
|
-
* path is matched as a suffix of the open-tag stack, so callers may either
|
|
5
|
-
* pre-strip the SOAP envelope or feed the entire response body.
|
|
6
|
-
*
|
|
7
|
-
* Duplicate local names in `recordPath` are supported and expected (Escapia's
|
|
8
|
-
* EVRN content service nests two elements named `EVRN_UnitDescriptiveInfoRS`).
|
|
9
|
-
*/
|
|
10
|
-
export interface RecordParseSpec {
|
|
11
|
-
recordPath: string[];
|
|
12
|
-
/** TypeScript type name of the record, used to look up propMeta. */
|
|
13
|
-
recordTypeName: string;
|
|
14
|
-
/** Attribute bag key to stash XML attributes under. Defaults to "$attributes". */
|
|
15
|
-
attributesKey?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Compiled-catalog child-type map: `childType[typeName][propName] = tsType`.
|
|
18
|
-
* Used to descend into nested complex types and to detect array-valued
|
|
19
|
-
* props (trailing `[]`). Optional — absent means occurrence-based array
|
|
20
|
-
* detection only.
|
|
21
|
-
*/
|
|
22
|
-
childType?: Record<string, Record<string, string>>;
|
|
23
|
-
/**
|
|
24
|
-
* Compiled-catalog prop-meta map: carries min/max/nillable/declaredType.
|
|
25
|
-
* When present, `max > 1` or `max === "unbounded"` drives array emission
|
|
26
|
-
* even for props that happen to occur just once in a given record.
|
|
27
|
-
*/
|
|
28
|
-
propMeta?: Record<string, Record<string, PropMeta>>;
|
|
29
|
-
}
|
|
30
|
-
export interface PropMeta {
|
|
31
|
-
min?: number;
|
|
32
|
-
max?: number | "unbounded";
|
|
33
|
-
nillable?: boolean;
|
|
34
|
-
declaredType?: string;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Consume an async iterable of XML bytes/strings and yield parsed records.
|
|
38
|
-
*
|
|
39
|
-
* The returned iterator is single-pass; iteration must complete (or be
|
|
40
|
-
* interrupted by the consumer via `break`/`return`) before the upstream
|
|
41
|
-
* source is released. Errors from the source or from the SAX parser abort
|
|
42
|
-
* the iteration via a rejected `next()`.
|
|
43
|
-
*/
|
|
44
|
-
export declare function parseRecords<T = unknown>(source: AsyncIterable<string | Uint8Array>, spec: RecordParseSpec): AsyncIterable<T>;
|
|
45
|
-
//# sourceMappingURL=streamXml.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"streamXml.d.ts","sourceRoot":"","sources":["../../src/runtime/streamXml.ts"],"names":[],"mappings":"AAsBA;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACnD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;CACrD;AAED,MAAM,WAAW,QAAQ;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,wBAAuB,YAAY,CAAC,CAAC,GAAG,OAAO,EAC7C,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,UAAU,CAAC,EAC1C,IAAI,EAAE,eAAe,GACpB,aAAa,CAAC,CAAC,CAAC,CAqGlB"}
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Streaming SOAP-payload to record iterator.
|
|
3
|
-
*
|
|
4
|
-
* Phase 3 of ADR-002. Driven by saxes (chunk-boundary safe — proven in
|
|
5
|
-
* test/research/sax-record-path.test.ts) and the compiled-catalog metadata
|
|
6
|
-
* that the buffered client already relies on. The parser accepts an async
|
|
7
|
-
* iterable of bytes/strings (typically an upstream SOAP HTTP response) and
|
|
8
|
-
* yields fully-materialized record objects as the corresponding end tags
|
|
9
|
-
* close. Consumers never see partial records.
|
|
10
|
-
*
|
|
11
|
-
* Open questions resolved here:
|
|
12
|
-
* Q3 (terminal error policy): stream aborts. Errors that happen before the
|
|
13
|
-
* first record bubble out as a rejected promise from the first
|
|
14
|
-
* iterator.next(). Errors after a record was emitted throw from a
|
|
15
|
-
* later iterator.next() — callers are expected to treat that as a
|
|
16
|
-
* truncated stream.
|
|
17
|
-
* Q4 (saxes placement): runtime dependency of the wsdl-tsc package; the
|
|
18
|
-
* generated client imports the emitted copy of this module and
|
|
19
|
-
* inherits saxes via its own dependency tree.
|
|
20
|
-
*/
|
|
21
|
-
import { SaxesParser } from "saxes";
|
|
22
|
-
/**
|
|
23
|
-
* Consume an async iterable of XML bytes/strings and yield parsed records.
|
|
24
|
-
*
|
|
25
|
-
* The returned iterator is single-pass; iteration must complete (or be
|
|
26
|
-
* interrupted by the consumer via `break`/`return`) before the upstream
|
|
27
|
-
* source is released. Errors from the source or from the SAX parser abort
|
|
28
|
-
* the iteration via a rejected `next()`.
|
|
29
|
-
*/
|
|
30
|
-
export async function* parseRecords(source, spec) {
|
|
31
|
-
const parser = new SaxesParser({ xmlns: false, position: false });
|
|
32
|
-
const recordPath = spec.recordPath;
|
|
33
|
-
if (recordPath.length === 0) {
|
|
34
|
-
throw new Error("parseRecords: recordPath must not be empty");
|
|
35
|
-
}
|
|
36
|
-
const attrsKey = spec.attributesKey ?? "$attributes";
|
|
37
|
-
// Global tag stack, maintained across the entire document.
|
|
38
|
-
const stack = [];
|
|
39
|
-
// Records materialized during the current chunk write, awaiting yield.
|
|
40
|
-
const pending = [];
|
|
41
|
-
// When a parser.on('error') fires we buffer the error for re-throw on the
|
|
42
|
-
// next yield cycle; saxes emits 'error' and continues unless we stop it.
|
|
43
|
-
let parseError = null;
|
|
44
|
-
const openNodes = [];
|
|
45
|
-
parser.on("opentag", (tag) => {
|
|
46
|
-
stack.push(tag.name);
|
|
47
|
-
if (openNodes.length === 0) {
|
|
48
|
-
// Not yet inside a record. Check whether entering the path tail.
|
|
49
|
-
if (tailMatches(stack, recordPath)) {
|
|
50
|
-
openNodes.push(newNode(tag, spec.recordTypeName, null, attrsKey));
|
|
51
|
-
}
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
// Inside a record: descend.
|
|
55
|
-
const parent = openNodes[openNodes.length - 1];
|
|
56
|
-
parent.hadChildren = true;
|
|
57
|
-
const parentType = parent.typeName;
|
|
58
|
-
const childTypeRaw = parentType ? spec.childType?.[parentType]?.[tag.name] : undefined;
|
|
59
|
-
const childTypeName = childTypeRaw ? stripArraySuffix(childTypeRaw) : null;
|
|
60
|
-
openNodes.push(newNode(tag, childTypeName, tag.name, attrsKey));
|
|
61
|
-
});
|
|
62
|
-
const appendText = (t) => {
|
|
63
|
-
if (openNodes.length > 0)
|
|
64
|
-
openNodes[openNodes.length - 1].textBuf.push(t);
|
|
65
|
-
};
|
|
66
|
-
parser.on("text", appendText);
|
|
67
|
-
parser.on("cdata", appendText);
|
|
68
|
-
parser.on("closetag", (_tag) => {
|
|
69
|
-
if (openNodes.length > 0) {
|
|
70
|
-
const closing = openNodes.pop();
|
|
71
|
-
const value = materialize(closing, attrsKey);
|
|
72
|
-
if (openNodes.length === 0) {
|
|
73
|
-
// We just closed the record root. Stack tail must match once more.
|
|
74
|
-
if (tailMatches(stack, recordPath)) {
|
|
75
|
-
pending.push(value);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
assignChild(openNodes[openNodes.length - 1], closing.propName, value, spec);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
stack.pop();
|
|
83
|
-
});
|
|
84
|
-
parser.on("error", (err) => {
|
|
85
|
-
parseError = err;
|
|
86
|
-
});
|
|
87
|
-
try {
|
|
88
|
-
for await (const chunk of source) {
|
|
89
|
-
if (parseError)
|
|
90
|
-
throw parseError;
|
|
91
|
-
const text = typeof chunk === "string" ? chunk : decodeUtf8(chunk);
|
|
92
|
-
parser.write(text);
|
|
93
|
-
if (parseError)
|
|
94
|
-
throw parseError;
|
|
95
|
-
while (pending.length > 0) {
|
|
96
|
-
yield pending.shift();
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
parser.close();
|
|
100
|
-
if (parseError)
|
|
101
|
-
throw parseError;
|
|
102
|
-
while (pending.length > 0) {
|
|
103
|
-
yield pending.shift();
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
finally {
|
|
107
|
-
// Best-effort cleanup: detach handlers so the parser can be GC'd even
|
|
108
|
-
// when the consumer aborts iteration early.
|
|
109
|
-
parser.off("opentag");
|
|
110
|
-
parser.off("closetag");
|
|
111
|
-
parser.off("text");
|
|
112
|
-
parser.off("cdata");
|
|
113
|
-
parser.off("error");
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
function newNode(tag, typeName, propName, attrsKey) {
|
|
117
|
-
const attrs = tag.attributes;
|
|
118
|
-
const obj = {};
|
|
119
|
-
let isNil = false;
|
|
120
|
-
const attrKeys = Object.keys(attrs);
|
|
121
|
-
if (attrKeys.length > 0) {
|
|
122
|
-
// Detect xsi:nil and drop it from the attribute bag — it's a wire-level
|
|
123
|
-
// concern that should not pollute the user-visible record.
|
|
124
|
-
const cleaned = {};
|
|
125
|
-
for (const k of attrKeys) {
|
|
126
|
-
if ((k === "xsi:nil" || k === "nil") && attrs[k] === "true") {
|
|
127
|
-
isNil = true;
|
|
128
|
-
continue;
|
|
129
|
-
}
|
|
130
|
-
cleaned[k] = attrs[k];
|
|
131
|
-
}
|
|
132
|
-
if (Object.keys(cleaned).length > 0) {
|
|
133
|
-
obj[attrsKey] = cleaned;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
return {
|
|
137
|
-
obj,
|
|
138
|
-
typeName,
|
|
139
|
-
propName,
|
|
140
|
-
textBuf: [],
|
|
141
|
-
hadChildren: false,
|
|
142
|
-
isNil,
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
function materialize(node, attrsKey) {
|
|
146
|
-
if (node.isNil)
|
|
147
|
-
return null;
|
|
148
|
-
if (!node.hadChildren) {
|
|
149
|
-
// Leaf with no child elements: it's simple text. Preserve attributes via
|
|
150
|
-
// a `$value` pairing when present, mirroring how the buffered mapper
|
|
151
|
-
// surfaces simpleContent-with-attributes types.
|
|
152
|
-
const text = node.textBuf.join("");
|
|
153
|
-
if (attrsKey in node.obj) {
|
|
154
|
-
return { ...node.obj, $value: text };
|
|
155
|
-
}
|
|
156
|
-
return text;
|
|
157
|
-
}
|
|
158
|
-
return node.obj;
|
|
159
|
-
}
|
|
160
|
-
function assignChild(parent, propName, value, spec) {
|
|
161
|
-
const parentType = parent.typeName;
|
|
162
|
-
const propMetaEntry = parentType ? spec.propMeta?.[parentType]?.[propName] : undefined;
|
|
163
|
-
const childTypeHint = parentType ? spec.childType?.[parentType]?.[propName] : undefined;
|
|
164
|
-
// Array if: (a) propMeta says max > 1 or "unbounded", or (b) childType hint
|
|
165
|
-
// ends in `[]`, or (c) the slot is already occupied (implicit repetition).
|
|
166
|
-
const metaSaysArray = propMetaEntry?.max === "unbounded" ||
|
|
167
|
-
(typeof propMetaEntry?.max === "number" && propMetaEntry.max > 1);
|
|
168
|
-
const hintSaysArray = !!childTypeHint && childTypeHint.endsWith("[]");
|
|
169
|
-
const existing = parent.obj[propName];
|
|
170
|
-
const slotTaken = existing !== undefined;
|
|
171
|
-
if (metaSaysArray || hintSaysArray) {
|
|
172
|
-
if (Array.isArray(existing)) {
|
|
173
|
-
existing.push(value);
|
|
174
|
-
}
|
|
175
|
-
else if (slotTaken) {
|
|
176
|
-
parent.obj[propName] = [existing, value];
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
parent.obj[propName] = [value];
|
|
180
|
-
}
|
|
181
|
-
return;
|
|
182
|
-
}
|
|
183
|
-
if (slotTaken) {
|
|
184
|
-
// Schema said scalar but the wire repeated it. Promote to array rather
|
|
185
|
-
// than drop data.
|
|
186
|
-
if (Array.isArray(existing)) {
|
|
187
|
-
existing.push(value);
|
|
188
|
-
}
|
|
189
|
-
else {
|
|
190
|
-
parent.obj[propName] = [existing, value];
|
|
191
|
-
}
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
parent.obj[propName] = value;
|
|
195
|
-
}
|
|
196
|
-
function stripArraySuffix(tsType) {
|
|
197
|
-
return tsType.endsWith("[]") ? tsType.slice(0, -2) : tsType;
|
|
198
|
-
}
|
|
199
|
-
function tailMatches(stack, path) {
|
|
200
|
-
if (stack.length < path.length)
|
|
201
|
-
return false;
|
|
202
|
-
const offset = stack.length - path.length;
|
|
203
|
-
for (let i = 0; i < path.length; i++) {
|
|
204
|
-
if (stack[offset + i] !== path[i])
|
|
205
|
-
return false;
|
|
206
|
-
}
|
|
207
|
-
return true;
|
|
208
|
-
}
|
|
209
|
-
const UTF8_DECODER = new TextDecoder("utf-8");
|
|
210
|
-
function decodeUtf8(buf) {
|
|
211
|
-
return UTF8_DECODER.decode(buf);
|
|
212
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generateTests.d.ts","sourceRoot":"","sources":["../../src/test/generateTests.ts"],"names":[],"mappings":"AAmCA;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAuBD;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgK7E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generators.d.ts","sourceRoot":"","sources":["../../src/test/generators.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,UAAU,EAAE,qBAAqB,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAA0C,KAAK,eAAe,EAAC,MAAM,eAAe,CAAC;AAG5F,+EAA+E;AAC/E,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAsGrF;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAkBzC;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,EACjC,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,qBAAqB,EAAE,EACnC,KAAK,EAAE,iBAAiB,GACvB,MAA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AC,CAAA;CAAC,CAKrG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/util/builder.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,+BAA+B,CAAC;AAE1E;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,eAAe,CAAC,CAgBhF;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,EAC5C,OAAO,EAAE,MAAM,EAAE,GAChB,IAAI,CAAC,sBAAsB,EAAE,MAAM,GAAG,aAAa,GAAG,iBAAiB,GAAG,SAAS,CAAC,CAqBtF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"catalogMeta.d.ts","sourceRoot":"","sources":["../../src/util/catalogMeta.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/B,KAAK,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAUnF;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAC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AgB;IAC/B,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,qBAAa,oBAAqB,SAAQ,KAAK;aAK3B,OAAO,EAAE,gBAAgB;IAJ3C,SAAkB,IAAI,0BAA0B;gBAG9C,OAAO,EAAE,MAAM,EACC,OAAO,GAAE,gBAAqB;IAKhD;;OAEG;IACH,aAAa,IAAI,MAAM;CASxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../src/util/imports.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI1D;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAavF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeSource.d.ts","sourceRoot":"","sources":["../../src/util/runtimeSource.ts"],"names":[],"mappings":"AAsCA,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAI1D;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAG5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"securityConfig.d.ts","sourceRoot":"","sources":["../../src/util/securityConfig.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ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AAU,GAAG,MAAM,CAEpG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/xsd/primitives.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACzC,YAAY,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACnC,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,MAAM,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC5B,CAAC;AAgHF;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAyCrF"}
|
package/docs/AGENTS.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# Agent Instructions for docs/
|
|
2
|
-
|
|
3
|
-
## Summary
|
|
4
|
-
|
|
5
|
-
This directory contains human-maintained reference documentation for `@techspokes/typescript-wsdl-client`. Documents here are not generated; agents may edit them but must preserve cross-references, formatting conventions, and consistency with the root README.
|
|
6
|
-
|
|
7
|
-
## Must-follow rules
|
|
8
|
-
|
|
9
|
-
- Maintain cross-references between documents; when a doc mentions a related topic, link to the relevant file.
|
|
10
|
-
- Use relative links for all internal references (e.g. `[CLI Reference](cli-reference.md)`, `[root README](../README.md)`).
|
|
11
|
-
- Each document must open with an H1 title, a one-line description, and a cross-reference to the root [README.md](../README.md).
|
|
12
|
-
- When adding, renaming, or removing a document, update the Documentation table in the root [README.md](../README.md) — that table is the single source of truth for this directory's contents.
|
|
13
|
-
- Do not duplicate content from root-level files (README.md, CONTRIBUTING.md, CHANGELOG.md); link to them instead.
|
|
14
|
-
|
|
15
|
-
## Must-read documents
|
|
16
|
-
|
|
17
|
-
- [Root README.md](../README.md): authoritative Documentation table and project overview
|
|
18
|
-
- [Root AGENTS.md](../AGENTS.md): project-wide agent instructions pointing to `.github/copilot-instructions.md` for full detail
|
|
19
|
-
|
|
20
|
-
## Agent guidelines
|
|
21
|
-
|
|
22
|
-
### Style conventions
|
|
23
|
-
|
|
24
|
-
- Use fenced code blocks for CLI examples and inline code for flag names (`` `--flag-name` ``).
|
|
25
|
-
- Keep language direct and task-oriented.
|
|
26
|
-
- `architecture.md` targets contributors; all other documents target users.
|
|
27
|
-
|
|
28
|
-
### Adding a new document
|
|
29
|
-
|
|
30
|
-
1. Create the file in `docs/` with an H1 title and description.
|
|
31
|
-
2. Add a row to the Documentation table in the root README.md.
|
|
32
|
-
3. Add a bullet to the Contents list in `docs/README.md`.
|
|
33
|
-
4. Cross-reference from related existing documents where appropriate.
|
|
34
|
-
|
|
35
|
-
### Editing existing documents
|
|
36
|
-
|
|
37
|
-
- Preserve the H1 + description + cross-reference opening pattern.
|
|
38
|
-
- If renaming a file, update the root README.md Documentation table and fix any relative links in other docs.
|
|
39
|
-
|
|
40
|
-
## Context
|
|
41
|
-
|
|
42
|
-
The `docs/` directory was introduced in v0.8.x to move detailed reference material out of the root README. `architecture.md` covers the internal pipeline for contributors; the remaining documents serve end users integrating with or deploying generated code.
|
|
43
|
-
|
|
44
|
-
## References
|
|
45
|
-
|
|
46
|
-
- [examples/README.md](../examples/README.md): folder README pattern example
|
|
47
|
-
- [Root README.md Documentation table](../README.md#documentation): authoritative listing of all docs
|
package/docs/README.md
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Documentation
|
|
2
|
-
|
|
3
|
-
Human-maintained reference documents for `@techspokes/typescript-wsdl-client`. The root [README.md](../README.md) Documentation section is the authoritative index with descriptions; the list below is a quick local reference organized by reader intent.
|
|
4
|
-
|
|
5
|
-
The [S06 research handoff](content-model-s06-research-handoff.md) links the four rule investigations and their unresolved acceptance gates.
|
|
6
|
-
|
|
7
|
-
## Evaluate
|
|
8
|
-
|
|
9
|
-
- [start-here.md](start-here.md): what this is, who it is for, choose your path
|
|
10
|
-
- [supported-patterns.md](supported-patterns.md): WSDL/XSD features handled and current limitations
|
|
11
|
-
- [output-anatomy.md](output-anatomy.md): what gets generated and how to use it
|
|
12
|
-
|
|
13
|
-
## Adopt
|
|
14
|
-
|
|
15
|
-
- [cli-reference.md](cli-reference.md): all 6 commands with flags and examples
|
|
16
|
-
- [generated-code.md](generated-code.md): using clients, types, and operations
|
|
17
|
-
- [configuration.md](configuration.md): gateway security, upstream SOAP security, tags, operations config files
|
|
18
|
-
- [migration-playbook.md](migration-playbook.md): end-to-end SOAP modernization guide
|
|
19
|
-
|
|
20
|
-
## Operate
|
|
21
|
-
|
|
22
|
-
- [gateway-guide.md](gateway-guide.md): Fastify integration and error handling
|
|
23
|
-
- [testing.md](testing.md): testing patterns and mock client examples
|
|
24
|
-
- [production.md](production.md): CI/CD, validation, logging
|
|
25
|
-
- [troubleshooting.md](troubleshooting.md): common issues and debugging
|
|
26
|
-
- [releases/README.md](releases/README.md): per-version GitHub release notes used by the draft release workflow
|
|
27
|
-
|
|
28
|
-
## Extend
|
|
29
|
-
|
|
30
|
-
- [api-reference.md](api-reference.md): programmatic TypeScript API
|
|
31
|
-
- [concepts.md](concepts.md): flattening, `$value`, primitives, determinism
|
|
32
|
-
- [architecture.md](architecture.md): internal pipeline for contributors
|
|
33
|
-
- [file-naming-and-path-organization.md](file-naming-and-path-organization.md): contributor convention for taxonomy paths and fixture retrieval
|
|
34
|
-
- [agent-skill.md](agent-skill.md): release ZIP for consumer-project AI agents
|
|
35
|
-
- [Current roadmap](../ROADMAP.md): published baseline and active backlog
|
|
36
|
-
- [roadmap/README.md](roadmap/README.md): historical completed 1.0 implementation and qualification plan
|
|
37
|
-
- [decisions/002-streamable-responses.md](decisions/002-streamable-responses.md): opt-in streaming design (client `AsyncIterable`, gateway NDJSON or JSON array, `x-wsdl-tsc-stream` OpenAPI extension); shipped in 0.17.0 and extended in 0.28.0
|
|
38
|
-
- [migration.md](migration.md): upgrading between package versions
|
|
39
|
-
|
|
40
|
-
## Conventions
|
|
41
|
-
|
|
42
|
-
- Each document opens with an H1 title and a one-line description.
|
|
43
|
-
- Cross-reference related documents and the root README where relevant.
|
|
44
|
-
- Use fenced code blocks for CLI examples; format flags as inline code (`` `--flag-name` ``).
|
|
45
|
-
- Use `bash` fences for portable command examples; reserve `powershell` fences for Windows-specific commands.
|
|
46
|
-
- Run `npm run docs:validate` to check local links and TypeScript fenced snippets.
|
|
47
|
-
- Keep language direct and task-oriented; architecture.md targets contributors, all others target users.
|
|
48
|
-
|
|
49
|
-
## Related
|
|
50
|
-
|
|
51
|
-
- [S02 handoff](content-model-s02-handoff.md): architecture decisions, feasibility evidence and S03 entry contracts
|
|
52
|
-
- [Ordered schema loading](content-model-loading.md): internal syntax, provenance and controlled resolution contracts
|
|
53
|
-
- [Canonical schema graph](content-model-graph.md): immutable declarations, use sites and lexical reference context
|
|
54
|
-
- [Semantic catalog format 2](content-model-catalog.md): deterministic persistence, validation and compatibility routing
|
|
55
|
-
- [RE01 research resolver implementation](content-model-s06-re-01-resolver-implementation.md): supplied-candidate and abstract wildcard checks, qualification limits and the future production adapter
|
|
56
|
-
- [RE01 support reconstruction](content-model-s06-re-01-support-reconstruction.md): conditional copy/bundle reductions, value/name palettes and open bounds
|
|
57
|
-
- [RE01 scalar witness construction](content-model-s06-re-01-scalar-witnesses.md): shared endpoint tuples and open materialization gates
|
|
58
|
-
|
|
59
|
-
- [Direct scalar values](direct-values.md): internal source mapping, fresh inverse and codec handoff.
|
|
60
|
-
|
|
61
|
-
- [Root README](../README.md): project overview, quick start, and authoritative Documentation section
|
|
62
|
-
- [CONTRIBUTING.md](../CONTRIBUTING.md): development setup and workflow
|
|
63
|
-
- [CHANGELOG.md](../CHANGELOG.md): version history
|
|
64
|
-
- [examples](../examples/README.md): sample WSDL files and generated output
|
|
65
|
-
|
|
66
|
-
## Not Here
|
|
67
|
-
|
|
68
|
-
- Generated code samples live in `examples/generated-output/`, not in `docs/`.
|
|
69
|
-
- Installation and dev setup belong in the root README and CONTRIBUTING.md respectively.
|
package/docs/architecture.md
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
# Architecture
|
|
2
|
-
|
|
3
|
-
Internal architecture of the wsdl-tsc code generator for contributors.
|
|
4
|
-
|
|
5
|
-
See [CONTRIBUTING](../CONTRIBUTING.md) for development setup and [README](../README.md) for user documentation.
|
|
6
|
-
|
|
7
|
-
## Planned Content Model Contracts
|
|
8
|
-
|
|
9
|
-
[Ordered schema loading](content-model-loading.md) documents S03's internal input adapter and its migration boundary.
|
|
10
|
-
[Canonical graph construction](content-model-graph.md) documents S04's immutable declarations and independent use-site particles.
|
|
11
|
-
[Semantic catalog persistence](content-model-catalog.md) documents format 2 validation and the explicit legacy-reader boundary.
|
|
12
|
-
Its controlled resource resolver supplies contextual syntax to S04 #173 while graph construction and downstream semantics remain separate owners.
|
|
13
|
-
|
|
14
|
-
[ADR-003](decisions/003-content-model-contracts.md) defines the intended faithful content-model path and [decision register](content-model-decisions.md) assigns its owners. The S02 feasibility records and [handoff](content-model-s02-handoff.md) distinguish executed adapter/dialect evidence from later production implementation. The pipeline below describes current legacy behavior; S02 does not activate new defaults.
|
|
15
|
-
|
|
16
|
-
## Generated Source Policy
|
|
17
|
-
|
|
18
|
-
Complete TypeScript writes pass through `src/generation/writeGeneratedSource.ts` after any scaffold ownership guard. Runtime/template loaders remain fragment loaders; provenance and documentation are preserved when the final body receives its preamble.
|
|
19
|
-
|
|
20
|
-
`src/generation/preamble.ts` resolves trusted raw resources relative to this package's module location, never the consumer working directory. Logical scopes use nearest-resource fallback: `gateway/routes/typescript.preamble`, then `gateway/typescript.preamble`, then the required root `typescript.preamble`. One resource wins; resources are not concatenated. App and test overrides describe editable scaffolds.
|
|
21
|
-
|
|
22
|
-
Successful resource resolutions are cached per resolver and logical scope for the process lifetime. A missing optional resource falls back, but a broken selected resource or missing required root fails generation. The writer preserves shebang placement and body text while normalizing preamble line endings and removing leading BOMs.
|
|
23
|
-
|
|
24
|
-
Package validation uses the development TypeScript compiler to reject non-comment content and compiler-control directives. The generator runtime does not load that compiler. Raw `.preamble` files are included in npm packages, and `package:smoke` verifies installed generation outside the checkout during full CI. No custom resource roots or new public options are exposed.
|
|
25
|
-
|
|
26
|
-
## Pipeline Overview
|
|
27
|
-
|
|
28
|
-
```text
|
|
29
|
-
WSDL Source Stream Config (optional)
|
|
30
|
-
| |
|
|
31
|
-
v v
|
|
32
|
-
Loader (fetch.ts, wsdlLoader.ts)
|
|
33
|
-
Fetches WSDL from URL or file
|
|
34
|
-
Returns parsed XML document
|
|
35
|
-
|
|
|
36
|
-
v
|
|
37
|
-
Compiler (schemaCompiler.ts)
|
|
38
|
-
Walks XSD types, resolves references
|
|
39
|
-
Retains xs:any wildcard particles
|
|
40
|
-
Produces CompiledCatalog
|
|
41
|
-
|
|
|
42
|
-
v
|
|
43
|
-
Shape Resolver (shapeResolver.ts, optional)
|
|
44
|
-
Loads companion catalogs
|
|
45
|
-
Copies reachable record-type graphs
|
|
46
|
-
Fails on structural name collisions
|
|
47
|
-
|
|
|
48
|
-
v
|
|
49
|
-
Catalog Emitter (generateCatalog.ts)
|
|
50
|
-
Serializes to catalog.json
|
|
51
|
-
|
|
|
52
|
-
+-------+--------+--------+
|
|
53
|
-
| | | |
|
|
54
|
-
v v v v
|
|
55
|
-
Client OpenAPI Gateway App
|
|
56
|
-
Emitter Gen Gen Gen
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## Module Responsibilities
|
|
60
|
-
|
|
61
|
-
### loader/
|
|
62
|
-
|
|
63
|
-
fetch.ts handles HTTP/HTTPS/file fetching. wsdlLoader.ts handles XML parsing and import/include resolution.
|
|
64
|
-
|
|
65
|
-
### compiler/
|
|
66
|
-
|
|
67
|
-
schemaCompiler.ts is the core compiler. It walks XSD complex/simple types, resolves inheritance, handles choices, retains xs:any wildcard particles as catalog metadata, and builds the type graph. generateCatalog.ts serializes compiled types to catalog.json. shapeResolver.ts resolves companion catalogs: it loads each referenced `shapeCatalog` once, copies the reachable record-type graph into the current compilation, and enforces structural-equality collision checks. It mutates the compiled catalog in place and is invoked after schemaCompiler.ts whenever a stream config is present.
|
|
68
|
-
|
|
69
|
-
### client/
|
|
70
|
-
|
|
71
|
-
generateClient.ts emits the client class with one method per operation. generateTypes.ts emits interfaces, type aliases, and enums. generateUtils.ts emits runtime metadata for attribute maps and occurrence info.
|
|
72
|
-
|
|
73
|
-
### openapi/
|
|
74
|
-
|
|
75
|
-
generateOpenAPI.ts orchestrates the complete OpenAPI document. generateSchemas.ts converts compiled types to JSON Schema. generatePaths.ts generates path items from operations. security.ts adapts the shared security configuration model for OpenAPI. casing.ts handles path style transformation.
|
|
76
|
-
|
|
77
|
-
### gateway/
|
|
78
|
-
|
|
79
|
-
generateGateway.ts orchestrates all gateway file generation. generators.ts contains template emitters for each file type (plugin, routes, schemas, runtime, _typecheck). helpers.ts resolves client metadata, computes paths, and builds URNs.
|
|
80
|
-
|
|
81
|
-
### app/
|
|
82
|
-
|
|
83
|
-
generateApp.ts scaffolds server.ts, config.ts, package.json, tsconfig.json, .env.example, and README.md.
|
|
84
|
-
|
|
85
|
-
### Top-level Modules
|
|
86
|
-
|
|
87
|
-
pipeline.ts orchestrates the full pipeline from compile through app generation. config.ts provides default compiler options and option merging. cli.ts defines the Yargs CLI and routes commands. index.ts exports the four public API functions.
|
|
88
|
-
|
|
89
|
-
### util/
|
|
90
|
-
|
|
91
|
-
tools.ts provides string helpers (pascal, kebab, QName resolution). cli.ts provides console output helpers and error handling. builder.ts provides shared Yargs option builders. streamConfig.ts parses and validates `--stream-config` input into a normalized `StreamConfig` shape; it is parser-only and never touches the filesystem beyond reading the config file itself. runtimeSource.ts reads template strings for the client stream transport.
|
|
92
|
-
|
|
93
|
-
### runtime/
|
|
94
|
-
|
|
95
|
-
Template sources embedded into generated clients and gateways. streamXml.ts implements a SAX-driven `parseRecords(stream, spec)` that tracks the configured `recordPath` positionally (duplicate local names allowed) and yields records as their closing tags arrive. ndjson.ts wraps an async iterable of records in a `Readable` that emits NDJSON lines with honored backpressure. jsonArray.ts wraps the same record iterable as one streamed JSON array document. clientStreamMethods.tpl.txt and operationsStreamHelper.tpl.txt are text templates emitted into the generated `client.ts` and `operations.ts` when stream operations are present; they encode the `callStream()` transport and the `StreamOperationResponse<T>` type.
|
|
96
|
-
|
|
97
|
-
### xsd/
|
|
98
|
-
|
|
99
|
-
primitives.ts maps XSD primitive types to TypeScript types.
|
|
100
|
-
|
|
101
|
-
## Central Data Structure
|
|
102
|
-
|
|
103
|
-
The CompiledCatalog is the central data structure:
|
|
104
|
-
|
|
105
|
-
```text
|
|
106
|
-
CompiledCatalog {
|
|
107
|
-
wsdlUri: string
|
|
108
|
-
targetNamespace: string
|
|
109
|
-
serviceName: string
|
|
110
|
-
types: CompiledType[]
|
|
111
|
-
operations: Operation[]
|
|
112
|
-
options: CompilerOptions
|
|
113
|
-
}
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
`CompiledType`, type aliases, and operations may include optional `doc` fields populated from WSDL/XSD documentation nodes. The catalog also carries optional `wsdlDocs` arrays for WSDL bindings, messages, parts, services, and ports. Client emitters consume operation and type docs to generate comments in `types.ts`, `operations.ts`, and `client.ts`. OpenAPI emitters consume the same fields for schema/property descriptions and operation summary and description values.
|
|
117
|
-
|
|
118
|
-
Data flow through the pipeline:
|
|
119
|
-
|
|
120
|
-
1. schemaCompiler produces CompiledCatalog from WSDL XML
|
|
121
|
-
2. generateCatalog serializes it to JSON
|
|
122
|
-
3. Client generators read types[] for TypeScript emission
|
|
123
|
-
4. OpenAPI generator reads types[] and operations[] for spec generation
|
|
124
|
-
5. Gateway generator reads the OpenAPI spec, then enriches operation metadata from catalog operation docs when available
|
|
125
|
-
|
|
126
|
-
## Extension Points
|
|
127
|
-
|
|
128
|
-
### Adding a New CLI Flag
|
|
129
|
-
|
|
130
|
-
1. Add option to builder in src/util/builder.ts
|
|
131
|
-
2. Wire it in the command handler in src/cli.ts
|
|
132
|
-
3. Pass it through to the relevant generator
|
|
133
|
-
4. Update smoke tests if the flag affects output
|
|
134
|
-
|
|
135
|
-
### Adding a New Generator
|
|
136
|
-
|
|
137
|
-
1. Create src/<name>/generate<Name>.ts
|
|
138
|
-
2. Export the function from src/index.ts
|
|
139
|
-
3. Add CLI command in src/cli.ts
|
|
140
|
-
4. Wire into pipeline in src/pipeline.ts
|
|
141
|
-
5. Add smoke test in package.json
|
|
142
|
-
|
|
143
|
-
### Adding a New XSD Type Mapping
|
|
144
|
-
|
|
145
|
-
1. Add mapping in src/xsd/primitives.ts
|
|
146
|
-
2. Handle in src/compiler/schemaCompiler.ts if needed
|
|
147
|
-
3. Update src/openapi/generateSchemas.ts for JSON Schema output
|
|
148
|
-
|
|
149
|
-
### Adding a Stream-Capable Operation Output
|
|
150
|
-
|
|
151
|
-
1. Add a `stream-config` JSON entry for the operation with `recordType` and `recordPath`
|
|
152
|
-
2. Declare a `shapeCatalog` entry when the record type lives in a companion WSDL
|
|
153
|
-
3. Run the compile command and verify `catalog.operations[].stream` carries normalized metadata
|
|
154
|
-
4. The client, OpenAPI, and gateway emitters consume that metadata automatically; no per-emitter code changes are required
|
|
155
|
-
|
|
156
|
-
## Client Stream Transport
|
|
157
|
-
|
|
158
|
-
Phase-0 research (see ADR-002) established that `node-soap` buffers the full response before invoking its operation callback. Stream operations cannot use that transport, so the generated client emits a parallel `callStream()` method that POSTs a hand-built SOAP envelope via global `fetch`, captures HTTP headers before the first record, and pipes the response body through `parseRecords`. Buffered operations continue to use `node-soap` unchanged. The two transports coexist on the same client class.
|