@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
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
/** Explicit buffered companion-record projection; wrapper and record source contexts never merge. */
|
|
2
|
+
import { inspectDirectOperation } from './directOperation.js';
|
|
3
|
+
import { createComponentValueMapping, inspectComponentValueMapping, expandProjectionValue } from './directValues.js';
|
|
4
|
+
import { observeComponentXml, assertComponentObservedPayload, assessObservedComponentPayload } from './directCodec.js';
|
|
5
|
+
import { deriveActualComplexContent } from './complexTypeContent.js';
|
|
6
|
+
import { prepareSemanticParticleView } from './particleSemanticView.js';
|
|
7
|
+
import { checkDeclaredParticleLegality } from './particleLocalAssessment.js';
|
|
8
|
+
import { assessSourceAttributeUses } from './schemaAttributeUses.js';
|
|
9
|
+
import { assessStandardSchemaElement } from './standardSchemaComponents.js';
|
|
10
|
+
import { namespaceAllows } from './wildcardAlgebra.js';
|
|
11
|
+
import { directDataOwnership } from './directExecutionPolicy.js';
|
|
12
|
+
import { DataOwnershipLimitError } from './dataOwnership.js';
|
|
13
|
+
import { isXmlNCName, syntaxElements } from '../loader/orderedSyntax.js';
|
|
14
|
+
const issued = new WeakMap();
|
|
15
|
+
const values = new WeakMap();
|
|
16
|
+
/** Identity-only dispatch; inspecting an unowned object's fields cannot select this mapping profile. */
|
|
17
|
+
export function isComponentRecordProjection(value) {
|
|
18
|
+
return !!value && typeof value === 'object' && issued.has(value);
|
|
19
|
+
}
|
|
20
|
+
class ScopeStop extends Error {
|
|
21
|
+
kind;
|
|
22
|
+
rule;
|
|
23
|
+
constructor(kind, rule) {
|
|
24
|
+
super(rule);
|
|
25
|
+
this.kind = kind;
|
|
26
|
+
this.rule = rule;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const same = (a, b) => a.namespace === b.namespace && a.local === b.local;
|
|
30
|
+
const ownKeys = (value, keys) => Object.keys(value).length === keys.length && keys.every(key => Object.hasOwn(value, key));
|
|
31
|
+
/** Build an explicit mapping from independently qualified native contracts.
|
|
32
|
+
* @remarks The current wrapper family is a unit sequence of fixed standard metadata elements and one strict
|
|
33
|
+
* wildcard. Native occurrence/EDC/UPA checks remain authoritative. The complete companion payload is retained;
|
|
34
|
+
* record paths establish intended record declarations, not permission to discard other payload fields.
|
|
35
|
+
* This is a buffered projection, not full-response XSD validation in a merged declaration universe or streaming.
|
|
36
|
+
* @returns An exact native projection or a specific unsupported/value/resource/cancellation result.
|
|
37
|
+
*/
|
|
38
|
+
export function createComponentRecordProjection(outer, companion, supplied, options = {}) {
|
|
39
|
+
const { context } = inspectDirectOperation(outer);
|
|
40
|
+
inspectDirectOperation(companion);
|
|
41
|
+
const { budget } = context;
|
|
42
|
+
const check = () => { budget.chargeWork(); if (options.signal?.aborted)
|
|
43
|
+
throw new ScopeStop('cancelled', 'cooperative-cancellation'); };
|
|
44
|
+
const stop = rule => { throw new ScopeStop('unsupported', rule); };
|
|
45
|
+
const failure = (kind, rule) => Object.freeze({ kind, rule, usage: Object.freeze({ ...budget.usage() }) });
|
|
46
|
+
try {
|
|
47
|
+
const result = budget.guard(() => {
|
|
48
|
+
check();
|
|
49
|
+
if ('parts' in outer.output || 'parts' in companion.output)
|
|
50
|
+
return failure('unsupported', 'record-projection-requires-document-output');
|
|
51
|
+
if (outer.basis !== 'native-component-premises-v1' || companion.basis !== 'native-component-premises-v1'
|
|
52
|
+
|| outer.correspondence !== 'dated-XSD-2004-components-v1' || companion.correspondence !== 'dated-XSD-2004-components-v1')
|
|
53
|
+
stop('component-record-source-authority');
|
|
54
|
+
const requested = directDataOwnership(budget).freeze(directDataOwnership(budget).snapshot(supplied, check));
|
|
55
|
+
const association = requested && typeof requested === 'object' && !Object.hasOwn(requested, 'version');
|
|
56
|
+
if (association && (requested.scope !== 'records-with-declared-wrapper-scope'
|
|
57
|
+
|| !ownKeys(requested, Object.hasOwn(requested, 'recordPath') ? ['scope', 'recordPath'] : ['scope'])))
|
|
58
|
+
throw new ScopeStop('value-invalid', 'explicit-component-record-scope');
|
|
59
|
+
let spec = association ? { version: 'component-record-scope-v1', scope: requested.scope,
|
|
60
|
+
payloadPath: [companion.output.element.name], recordPath: requested.recordPath ?? [], opaqueExclusions: [] } : requested;
|
|
61
|
+
const validName = (name) => name && typeof name === 'object' && ownKeys(name, ['namespace', 'local'])
|
|
62
|
+
&& typeof name.namespace === 'string' && typeof name.local === 'string' && isXmlNCName(name.local);
|
|
63
|
+
const path = (names) => Array.isArray(names) && names.length > 0 && names.every(validName);
|
|
64
|
+
if (!spec || typeof spec !== 'object' || !ownKeys(spec, ['version', 'scope', 'payloadPath', 'recordPath', 'opaqueExclusions'])
|
|
65
|
+
|| spec.version !== 'component-record-scope-v1' || spec.scope !== 'records-with-declared-wrapper-scope'
|
|
66
|
+
|| !path(spec.payloadPath) || spec.payloadPath.length !== 1 || !(association && !Object.hasOwn(requested, 'recordPath') || path(spec.recordPath))
|
|
67
|
+
|| !Array.isArray(spec.opaqueExclusions) || !spec.opaqueExclusions.every(item => item && typeof item === 'object'
|
|
68
|
+
&& ownKeys(item, ['path', 'reason']) && path(item.path) && item.path.length === 1
|
|
69
|
+
&& ['standard-schema-metadata', 'wrapper-declaration-universe'].includes(item.reason)))
|
|
70
|
+
throw new ScopeStop('value-invalid', 'explicit-component-record-scope');
|
|
71
|
+
if (!same(spec.payloadPath[0], companion.output.element.name))
|
|
72
|
+
stop('companion-output-payload-path');
|
|
73
|
+
const parser = createComponentValueMapping(outer, { kind: 'input' }, options);
|
|
74
|
+
if (parser.kind !== 'component-mapping')
|
|
75
|
+
return parser;
|
|
76
|
+
const mapping = createComponentValueMapping(companion, { kind: 'output' }, options);
|
|
77
|
+
if (mapping.kind !== 'component-mapping')
|
|
78
|
+
return mapping;
|
|
79
|
+
const projection = inspectComponentValueMapping(mapping, companion).projection;
|
|
80
|
+
if (!projection)
|
|
81
|
+
return failure('unsupported', 'record-projection-requires-document-mapping');
|
|
82
|
+
const records = new Map(projection.records.map(record => [record.type.id, record]));
|
|
83
|
+
if (association && !Object.hasOwn(requested, 'recordPath')) {
|
|
84
|
+
const candidates = [];
|
|
85
|
+
let recursive = false;
|
|
86
|
+
const pending = [
|
|
87
|
+
{ value: projection.root, prefix: [], ancestors: new Set() },
|
|
88
|
+
];
|
|
89
|
+
while (pending.length) {
|
|
90
|
+
check();
|
|
91
|
+
const { value, prefix, ancestors } = pending.pop();
|
|
92
|
+
if (value.kind !== 'record')
|
|
93
|
+
continue;
|
|
94
|
+
if (ancestors.has(value.type)) {
|
|
95
|
+
recursive = true;
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
const record = records.get(value.type);
|
|
99
|
+
if (!record)
|
|
100
|
+
stop('record-path-native-record');
|
|
101
|
+
const next = new Set(ancestors);
|
|
102
|
+
next.add(value.type);
|
|
103
|
+
for (const slot of record.slots) {
|
|
104
|
+
check();
|
|
105
|
+
const path = [...prefix, slot.element.name];
|
|
106
|
+
if (slot.value.kind === 'record' && slot.particle.occurs.max !== '1')
|
|
107
|
+
candidates.push(path);
|
|
108
|
+
pending.push({ value: slot.value, prefix: path, ancestors: next });
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
if (!recursive && !candidates.length)
|
|
112
|
+
stop('record-path-complex-repeated-declaration');
|
|
113
|
+
if (recursive || candidates.length !== 1)
|
|
114
|
+
stop(`ambiguous-record-path: supply recordPath selecting one repeated complex declaration; candidates=${JSON.stringify(candidates)}; recursive=${recursive}`);
|
|
115
|
+
spec = { ...spec, recordPath: candidates[0] };
|
|
116
|
+
}
|
|
117
|
+
let value = projection.root;
|
|
118
|
+
for (let index = 0; index < spec.recordPath.length; index++) {
|
|
119
|
+
check();
|
|
120
|
+
if (value.kind !== 'record')
|
|
121
|
+
stop('record-path-record-parent');
|
|
122
|
+
const record = records.get(value.type);
|
|
123
|
+
if (!record)
|
|
124
|
+
stop('record-path-native-record');
|
|
125
|
+
const slots = record.slots.filter(slot => { check(); return same(slot.element.name, spec.recordPath[index]); });
|
|
126
|
+
if (slots.length !== 1)
|
|
127
|
+
stop('record-path-unique-declaration');
|
|
128
|
+
value = slots[0].value;
|
|
129
|
+
if (index === spec.recordPath.length - 1 && (value.kind !== 'record' || slots[0].particle.occurs.max === '1'))
|
|
130
|
+
stop('record-path-complex-repeated-declaration');
|
|
131
|
+
}
|
|
132
|
+
const root = outer.output.element;
|
|
133
|
+
if (root.nillable || root.abstract || root.value || root.substitutionGroup)
|
|
134
|
+
stop('record-wrapper-declaration');
|
|
135
|
+
const type = context.resolve(root.type);
|
|
136
|
+
if (type.kind !== 'found' || type.node.kind !== 'complexType' || type.node.abstract || type.node.mixed)
|
|
137
|
+
stop('record-wrapper-complex-type');
|
|
138
|
+
const attributes = assessSourceAttributeUses(context, type.node.id);
|
|
139
|
+
if (attributes.kind === 'resource-limit')
|
|
140
|
+
return failure('resource-limit', 'record-wrapper-attributes');
|
|
141
|
+
if (attributes.kind !== 'checked' || attributes.value.wildcard || attributes.value.attributes.length)
|
|
142
|
+
stop('record-wrapper-attribute-scope');
|
|
143
|
+
const content = deriveActualComplexContent(context, type.node.id);
|
|
144
|
+
if (content.kind === 'resource-limit')
|
|
145
|
+
return failure('resource-limit', 'record-wrapper-content');
|
|
146
|
+
if (content.kind !== 'checked' || content.view.content.kind !== 'element-only')
|
|
147
|
+
stop('record-wrapper-content');
|
|
148
|
+
const prepared = prepareSemanticParticleView(context, content.view, 'declared');
|
|
149
|
+
if (prepared.kind === 'resource-limit')
|
|
150
|
+
return failure('resource-limit', 'record-wrapper-particle');
|
|
151
|
+
if (prepared.kind !== 'checked')
|
|
152
|
+
stop('record-wrapper-particle');
|
|
153
|
+
const legal = checkDeclaredParticleLegality(context, prepared.view);
|
|
154
|
+
if (legal.kind === 'resource-limit')
|
|
155
|
+
return failure('resource-limit', 'record-wrapper-particle-legality');
|
|
156
|
+
if (legal.kind !== 'checked' || !legal.value)
|
|
157
|
+
stop('record-wrapper-particle-legality');
|
|
158
|
+
const leaves = [], pending = [prepared.view.root];
|
|
159
|
+
let boundaries = 0;
|
|
160
|
+
while (pending.length) {
|
|
161
|
+
check();
|
|
162
|
+
const particle = pending.pop();
|
|
163
|
+
if (particle.occurs.min !== '1' || particle.occurs.max !== '1')
|
|
164
|
+
stop('record-wrapper-unit-occurrence');
|
|
165
|
+
if (particle.kind === 'sequence')
|
|
166
|
+
for (let index = particle.children.length - 1; index >= 0; index--) {
|
|
167
|
+
check();
|
|
168
|
+
pending.push(particle.children[index]);
|
|
169
|
+
}
|
|
170
|
+
else if (particle.standardElement)
|
|
171
|
+
leaves.push(Object.freeze({ kind: 'standard', declaration: particle.standardElement }));
|
|
172
|
+
else if (particle.kind === 'any' && particle.wildcard?.processContents === 'strict') {
|
|
173
|
+
if (++boundaries > 1 || !namespaceAllows(particle.wildcard.namespace, spec.payloadPath[0].namespace, budget.chargeWork))
|
|
174
|
+
stop('record-wrapper-wildcard-boundary');
|
|
175
|
+
leaves.push(Object.freeze({ kind: 'boundary', namespace: particle.wildcard.namespace }));
|
|
176
|
+
}
|
|
177
|
+
else
|
|
178
|
+
stop('record-wrapper-terminal-scope');
|
|
179
|
+
}
|
|
180
|
+
if (boundaries !== 1)
|
|
181
|
+
stop('record-wrapper-one-boundary');
|
|
182
|
+
const metadata = leaves.filter((leaf) => leaf.kind === 'standard');
|
|
183
|
+
if (association)
|
|
184
|
+
spec = { ...spec, opaqueExclusions: [
|
|
185
|
+
...metadata.map(leaf => ({ path: [leaf.declaration.name], reason: 'standard-schema-metadata' })),
|
|
186
|
+
{ path: spec.payloadPath, reason: 'wrapper-declaration-universe' },
|
|
187
|
+
] };
|
|
188
|
+
const exclusions = spec.opaqueExclusions.filter(item => item.reason === 'standard-schema-metadata');
|
|
189
|
+
const universes = spec.opaqueExclusions.filter(item => item.reason === 'wrapper-declaration-universe');
|
|
190
|
+
if (metadata.length !== exclusions.length || metadata.some(leaf => exclusions.filter(item => same(item.path[0], leaf.declaration.name)).length !== 1)
|
|
191
|
+
|| universes.length !== 1 || !same(universes[0].path[0], spec.payloadPath[0]))
|
|
192
|
+
stop('record-wrapper-explicit-exclusions');
|
|
193
|
+
check();
|
|
194
|
+
const result = Object.freeze({ kind: 'component-record-projection', version: 'component-record-scope-v1',
|
|
195
|
+
direction: Object.freeze({ kind: 'output' }), root: outer.output, contextId: outer.contextId, admitted: false, spec: directDataOwnership(budget).freeze(spec),
|
|
196
|
+
usage: Object.freeze({ ...budget.usage() }) });
|
|
197
|
+
issued.set(result, Object.freeze({ outer, companion, parser, mapping, leaves: Object.freeze(leaves) }));
|
|
198
|
+
return result;
|
|
199
|
+
});
|
|
200
|
+
return result.kind === 'resource-limit' && !('rule' in result) ? failure('resource-limit', 'record-projection-budget') : result;
|
|
201
|
+
}
|
|
202
|
+
catch (error) {
|
|
203
|
+
if (budget.exhausted())
|
|
204
|
+
return failure('resource-limit', 'record-projection-budget');
|
|
205
|
+
if (error instanceof DataOwnershipLimitError)
|
|
206
|
+
return failure('resource-limit', error.message);
|
|
207
|
+
if (error instanceof ScopeStop)
|
|
208
|
+
return failure(error.kind, error.rule);
|
|
209
|
+
throw error;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
/** Native projection identity and exact outer contract are checked before reading projection fields. */
|
|
213
|
+
export function inspectComponentRecordProjection(projection, outer) {
|
|
214
|
+
const owned = issued.get(projection);
|
|
215
|
+
if (!owned || outer !== undefined && owned.outer !== outer)
|
|
216
|
+
throw new TypeError('Native matching component record projection required');
|
|
217
|
+
inspectDirectOperation(owned.outer);
|
|
218
|
+
inspectDirectOperation(owned.companion);
|
|
219
|
+
return owned;
|
|
220
|
+
}
|
|
221
|
+
export function inspectComponentRecordValue(value, projection) {
|
|
222
|
+
inspectComponentRecordProjection(projection);
|
|
223
|
+
if (values.get(value) !== projection)
|
|
224
|
+
throw new TypeError('Native matching component record value required');
|
|
225
|
+
return value;
|
|
226
|
+
}
|
|
227
|
+
/** Revalidate the projected application value, including after JSON serialization.
|
|
228
|
+
* @remarks This uses the exact companion's existing inverse and scalar/structure owners. It establishes only
|
|
229
|
+
* projected-value validity; it cannot reconstruct or certify omitted wrapper metadata or SOAP protocol state.
|
|
230
|
+
*/
|
|
231
|
+
export function validateComponentRecordApplication(projection, application, options = {}) {
|
|
232
|
+
const owned = inspectComponentRecordProjection(projection), { context } = inspectDirectOperation(owned.companion);
|
|
233
|
+
if ('parts' in owned.mapping.root)
|
|
234
|
+
throw new TypeError('Record projection requires a document mapping');
|
|
235
|
+
return expandProjectionValue(context, owned.mapping.root.element, application, options);
|
|
236
|
+
}
|
|
237
|
+
/** Decode once and validate the declared wrapper plus its explicitly selected companion payload.
|
|
238
|
+
* @remarks The complete companion value survives; only declared standard metadata is omitted. This function
|
|
239
|
+
* does not validate SOAP protocol grammar itself. Its protocol selector can choose only this projection or
|
|
240
|
+
* an actual declared fault mapping of the outer contract, always on nodes from the same parse.
|
|
241
|
+
*/
|
|
242
|
+
export function decodeComponentRecordXml(outer, projection, bytes, options = {}) {
|
|
243
|
+
const owned = inspectComponentRecordProjection(projection, outer), { context } = inspectDirectOperation(outer), { budget } = context;
|
|
244
|
+
const check = () => { budget.chargeWork(); if (options.signal?.aborted)
|
|
245
|
+
throw new ScopeStop('cancelled', 'cooperative-cancellation'); };
|
|
246
|
+
const failure = (kind, rule) => Object.freeze({ kind, rule, usage: Object.freeze({ ...budget.usage() }) });
|
|
247
|
+
try {
|
|
248
|
+
const result = budget.guard(() => {
|
|
249
|
+
check();
|
|
250
|
+
const observation = observeComponentXml(outer, owned.parser, bytes, options);
|
|
251
|
+
if (observation.kind !== 'observed-component-xml')
|
|
252
|
+
return observation;
|
|
253
|
+
const selected = options.selectPayload?.(observation.root) ?? { payload: observation.root, mapping: projection };
|
|
254
|
+
assertComponentObservedPayload(observation, selected.payload, check);
|
|
255
|
+
if (selected.mapping !== projection) {
|
|
256
|
+
const { mapping } = inspectComponentValueMapping(selected.mapping, outer);
|
|
257
|
+
if (mapping.direction.kind !== 'fault')
|
|
258
|
+
throw new TypeError('Record projection selection requires this output or a declared fault');
|
|
259
|
+
return assessObservedComponentPayload(outer, mapping, observation, selected.payload, options);
|
|
260
|
+
}
|
|
261
|
+
const wrapper = selected.payload;
|
|
262
|
+
if ('parts' in outer.output)
|
|
263
|
+
throw new ScopeStop('unsupported', 'record-projection-requires-document-output');
|
|
264
|
+
if (!same(wrapper.name, outer.output.element.name))
|
|
265
|
+
throw new ScopeStop('mismatch', 'record-wrapper-root');
|
|
266
|
+
if (wrapper.attributes.length || wrapper.children.some(node => node.kind === 'text' && /[^\t\r\n ]/.test(node.value)))
|
|
267
|
+
throw new ScopeStop('mismatch', 'record-wrapper-attributes-or-text');
|
|
268
|
+
const children = syntaxElements(wrapper);
|
|
269
|
+
if (children.length !== owned.leaves.length)
|
|
270
|
+
throw new ScopeStop('mismatch', 'record-wrapper-child-count');
|
|
271
|
+
let payload;
|
|
272
|
+
for (let index = 0; index < owned.leaves.length; index++) {
|
|
273
|
+
check();
|
|
274
|
+
const leaf = owned.leaves[index], child = children[index];
|
|
275
|
+
if (leaf.kind === 'standard') {
|
|
276
|
+
if (!same(child.name, leaf.declaration.name))
|
|
277
|
+
throw new ScopeStop('mismatch', 'record-wrapper-standard-order');
|
|
278
|
+
const assessed = assessStandardSchemaElement(leaf.declaration, child, budget, { signal: options.signal, check });
|
|
279
|
+
if (assessed.kind !== 'schema-element-instance')
|
|
280
|
+
return failure(assessed.kind, assessed.kind === 'resource-limit' ? 'record-standard-budget' : assessed.rule);
|
|
281
|
+
if (assessed.remaining.length)
|
|
282
|
+
throw new ScopeStop('unsupported', 'record-standard-instance-obligations');
|
|
283
|
+
}
|
|
284
|
+
else {
|
|
285
|
+
if (!same(child.name, projection.spec.payloadPath[0]) || !namespaceAllows(leaf.namespace, child.name.namespace, budget.chargeWork))
|
|
286
|
+
throw new ScopeStop('mismatch', 'record-wrapper-companion-boundary');
|
|
287
|
+
payload = child;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
if (!payload)
|
|
291
|
+
throw new TypeError('Native record boundary unavailable');
|
|
292
|
+
const decoded = assessObservedComponentPayload(owned.companion, owned.mapping, observation, payload, options);
|
|
293
|
+
if (decoded.kind !== 'component-decoded')
|
|
294
|
+
return decoded;
|
|
295
|
+
if (decoded.validated.kind !== 'projection-value')
|
|
296
|
+
throw new TypeError('Record projection requires a document value receipt');
|
|
297
|
+
const recordCount = countRecords(observation, payload, projection.spec.recordPath, check);
|
|
298
|
+
const validated = Object.freeze({ kind: 'component-record-value', scope: 'records-with-declared-wrapper-scope',
|
|
299
|
+
admitted: false, value: decoded.validated.value, recordCount, companion: decoded.validated });
|
|
300
|
+
values.set(validated, projection);
|
|
301
|
+
check();
|
|
302
|
+
return Object.freeze({ kind: 'component-record-decoded', admitted: false, payload: wrapper, mapping: projection,
|
|
303
|
+
validated, usage: Object.freeze({ ...budget.usage() }) });
|
|
304
|
+
});
|
|
305
|
+
return result.kind === 'resource-limit' && !('rule' in result) ? failure('resource-limit', 'record-projection-budget') : result;
|
|
306
|
+
}
|
|
307
|
+
catch (error) {
|
|
308
|
+
if (budget.exhausted())
|
|
309
|
+
return failure('resource-limit', 'record-projection-budget');
|
|
310
|
+
if (error instanceof ScopeStop)
|
|
311
|
+
return failure(error.kind, error.rule);
|
|
312
|
+
throw error;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
function countRecords(observation, payload, path, check) {
|
|
316
|
+
assertComponentObservedPayload(observation, payload, check);
|
|
317
|
+
let current = [payload];
|
|
318
|
+
for (const name of path) {
|
|
319
|
+
const next = [];
|
|
320
|
+
for (const parent of current)
|
|
321
|
+
for (const child of syntaxElements(parent)) {
|
|
322
|
+
check();
|
|
323
|
+
if (same(child.name, name))
|
|
324
|
+
next.push(child);
|
|
325
|
+
}
|
|
326
|
+
current = next;
|
|
327
|
+
}
|
|
328
|
+
return current.length;
|
|
329
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DirectOperationContract } from './directOperation.js';
|
|
2
|
+
import type { ExpandedName } from '../loader/orderedSyntax.js';
|
|
3
|
+
/** Own closed metadata for one invocation; runtime reconstruction never consumes this object.
|
|
4
|
+
* @since 1.1.7
|
|
5
|
+
* @constraints Every action and selection is checked against authentic native source before reuse.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ComponentSoapPreparation {
|
|
8
|
+
#private;
|
|
9
|
+
/** Prepare one source/service/binding within this invocation.
|
|
10
|
+
* @param contract Fresh native operation identity.
|
|
11
|
+
* @param selection Service/port choice checked before reuse.
|
|
12
|
+
* @param check Cancellation and resource checks owned by this invocation.
|
|
13
|
+
* @returns Resolves after closed metadata preparation; dependency objects remain private.
|
|
14
|
+
* @throws For foreign handles, unsupported selection, cancellation or bootstrap failures.
|
|
15
|
+
*/
|
|
16
|
+
prepare(contract: DirectOperationContract, selection: {
|
|
17
|
+
service: ExpandedName;
|
|
18
|
+
port: string;
|
|
19
|
+
}, check: () => void): Promise<void>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** Invocation-local SOAP preparation ownership without exposing dependency metadata types.
|
|
2
|
+
* @since 1.1.7
|
|
3
|
+
*/
|
|
4
|
+
import { inspectDirectOperation } from './directOperation.js';
|
|
5
|
+
import { prepareComponentSoapWsdl, validateComponentSoapSelection } from './directSoapSource.js';
|
|
6
|
+
/** Own closed metadata for one invocation; runtime reconstruction never consumes this object.
|
|
7
|
+
* @since 1.1.7
|
|
8
|
+
* @constraints Every action and selection is checked against authentic native source before reuse.
|
|
9
|
+
*/
|
|
10
|
+
export class ComponentSoapPreparation {
|
|
11
|
+
#sources = new WeakMap();
|
|
12
|
+
/** Prepare one source/service/binding within this invocation.
|
|
13
|
+
* @param contract Fresh native operation identity.
|
|
14
|
+
* @param selection Service/port choice checked before reuse.
|
|
15
|
+
* @param check Cancellation and resource checks owned by this invocation.
|
|
16
|
+
* @returns Resolves after closed metadata preparation; dependency objects remain private.
|
|
17
|
+
* @throws For foreign handles, unsupported selection, cancellation or bootstrap failures.
|
|
18
|
+
*/
|
|
19
|
+
async prepare(contract, selection, check) {
|
|
20
|
+
const { source } = inspectDirectOperation(contract);
|
|
21
|
+
validateComponentSoapSelection(contract, selection, check);
|
|
22
|
+
const key = JSON.stringify([selection.service, selection.port, contract.selector.binding]);
|
|
23
|
+
let entries = this.#sources.get(source);
|
|
24
|
+
if (!entries) {
|
|
25
|
+
entries = new Map();
|
|
26
|
+
this.#sources.set(source, entries);
|
|
27
|
+
}
|
|
28
|
+
let prepared = entries.get(key);
|
|
29
|
+
if (!prepared) {
|
|
30
|
+
prepared = prepareComponentSoapWsdl(contract, selection, check);
|
|
31
|
+
entries.set(key, prepared);
|
|
32
|
+
}
|
|
33
|
+
await prepared;
|
|
34
|
+
check();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -66,4 +66,3 @@ export declare function extendContent(base: readonly ContentContribution[], loca
|
|
|
66
66
|
/** Restriction replaces child content, including the empty case. No removed base particle is appended. */
|
|
67
67
|
export declare function restrictContent(local: NodeId | undefined): readonly ContentContribution[];
|
|
68
68
|
export declare function composeCanonicalGraph(resolved: ResolvedGraph, limits?: SemanticLimits): ComposedGraph;
|
|
69
|
-
//# sourceMappingURL=composeCanonicalGraph.d.ts.map
|
|
@@ -4,6 +4,8 @@ export class DataOwnershipLimitError extends RangeError {
|
|
|
4
4
|
}
|
|
5
5
|
export const DIRECT_METADATA_LIMITS = Object.freeze({ maxEntries: 100_000, maxText: 1024 * 1024, maxDepth: 256 });
|
|
6
6
|
export function createDataOwnership(chargeWork, limits) {
|
|
7
|
+
// @why Canonical preparation revisits shared immutable source subtrees; only this owner's completed traversals are reusable.
|
|
8
|
+
const frozen = new WeakSet();
|
|
7
9
|
function arrayIndex(index) {
|
|
8
10
|
// Array positions are bounded by JavaScript's array length, so this is a
|
|
9
11
|
// constant-size numeric decision, followed by a precharged text conversion.
|
|
@@ -119,6 +121,9 @@ export function createDataOwnership(chargeWork, limits) {
|
|
|
119
121
|
chargeWork(); // Set read.
|
|
120
122
|
if (seen.has(current))
|
|
121
123
|
continue;
|
|
124
|
+
chargeWork();
|
|
125
|
+
if (frozen.has(current))
|
|
126
|
+
continue;
|
|
122
127
|
chargeWork(2); // Visit-state insertion and freeze traversal.
|
|
123
128
|
seen.add(current);
|
|
124
129
|
chargeWork(); // Array classification.
|
|
@@ -136,12 +141,11 @@ export function createDataOwnership(chargeWork, limits) {
|
|
|
136
141
|
}
|
|
137
142
|
else {
|
|
138
143
|
for (const key in current) {
|
|
139
|
-
chargeWork(); // Own-field introspection.
|
|
140
|
-
if (!Object.hasOwn(current, key))
|
|
141
|
-
continue;
|
|
142
144
|
chargeWork(43 + key.length); // Descriptor, field access, name inspection and push.
|
|
143
145
|
const descriptor = Object.getOwnPropertyDescriptor(current, key);
|
|
144
|
-
if (descriptor === undefined
|
|
146
|
+
if (descriptor === undefined)
|
|
147
|
+
continue;
|
|
148
|
+
if (!('value' in descriptor)) {
|
|
145
149
|
throw new TypeError('RE01 records require data fields');
|
|
146
150
|
}
|
|
147
151
|
stack.push(descriptor.value);
|
|
@@ -149,6 +153,12 @@ export function createDataOwnership(chargeWork, limits) {
|
|
|
149
153
|
}
|
|
150
154
|
Object.freeze(current);
|
|
151
155
|
}
|
|
156
|
+
// @constraints A shallow external freeze or interrupted traversal supplies no reusable deep-freeze evidence.
|
|
157
|
+
for (const current of seen) {
|
|
158
|
+
chargeWork(2);
|
|
159
|
+
if (!types.isProxy(current))
|
|
160
|
+
frozen.add(current);
|
|
161
|
+
}
|
|
152
162
|
return value;
|
|
153
163
|
}
|
|
154
164
|
return { snapshot, freeze };
|
|
@@ -44,4 +44,3 @@ export declare function datatypeValues<Owner>(c: DatatypeValueContext<Owner>): {
|
|
|
44
44
|
sameValue: (a: DatatypeOperand, b: DatatypeOperand, owner: Owner) => boolean;
|
|
45
45
|
compare: (a: DatatypeOperand, b: DatatypeOperand, owner: Owner) => number | undefined;
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=datatypeValues.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type NodeId = string;
|
|
2
|
+
export type SymbolRole = "element" | "attribute" | "type" | "group" | "attributeGroup" | "message" | "portType" | "binding" | "service";
|
|
3
|
+
export type Identity = Readonly<{
|
|
4
|
+
kind: "global";
|
|
5
|
+
role: SymbolRole;
|
|
6
|
+
name: Readonly<{
|
|
7
|
+
namespace: string;
|
|
8
|
+
local: string;
|
|
9
|
+
}>;
|
|
10
|
+
} | {
|
|
11
|
+
kind: "scoped";
|
|
12
|
+
owner: NodeId;
|
|
13
|
+
path: string;
|
|
14
|
+
role: string;
|
|
15
|
+
}>;
|
|
16
|
+
/** Encode XML symbol identity independently of source location and emitted language names. */
|
|
17
|
+
export declare function globalId(role: SymbolRole, name: Readonly<{
|
|
18
|
+
namespace: string;
|
|
19
|
+
local: string;
|
|
20
|
+
}>): NodeId;
|
|
21
|
+
/** Encode a declaration within its owner's scope using the caller's structural path convention. */
|
|
22
|
+
export declare function scopedId(owner: NodeId, path: string, role: string): NodeId;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createHash } from "node:crypto";
|
|
2
|
+
/** Encode XML symbol identity independently of source location and emitted language names. */
|
|
3
|
+
export function globalId(role, name) {
|
|
4
|
+
return JSON.stringify(["global", role, name.namespace, name.local]);
|
|
5
|
+
}
|
|
6
|
+
/** Encode a declaration within its owner's scope using the caller's structural path convention. */
|
|
7
|
+
export function scopedId(owner, path, role) {
|
|
8
|
+
return "scoped:" + createHash("sha256").update(JSON.stringify([owner, path, role])).digest("hex");
|
|
9
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { DirectOperationContract } from './directOperation.js';
|
|
2
|
-
import type { DirectValueMapping, DirectValueReceipt, DirectValueFailure, DirectExpandedValue } from './directValues.js';
|
|
2
|
+
import type { DirectValueMapping, DirectValueReceipt, DirectValueFailure, DirectExpandedValue, ComponentValueMapping, ProjectionExpandedValue, ProjectionValueReceipt } from './directValues.js';
|
|
3
3
|
import type { SyntaxElement, SyntaxSource } from '../loader/orderedSyntax.js';
|
|
4
4
|
import type { ResolverUsage } from './semanticBudget.js';
|
|
5
|
+
import type { RpcTypedValue } from './rpcTypedValues.js';
|
|
5
6
|
export interface DirectXmlLimits {
|
|
6
7
|
readonly maxBytes?: number;
|
|
7
8
|
readonly maxDepth?: number;
|
|
@@ -48,12 +49,88 @@ export interface DirectDecodedXml {
|
|
|
48
49
|
readonly validated: DirectValueReceipt;
|
|
49
50
|
readonly usage: ResolverUsage;
|
|
50
51
|
}
|
|
52
|
+
export interface ComponentEncodedXml {
|
|
53
|
+
readonly kind: 'component-encoded';
|
|
54
|
+
readonly admitted: false;
|
|
55
|
+
readonly encoding: 'utf-8';
|
|
56
|
+
readonly bytes: Uint8Array;
|
|
57
|
+
readonly expanded: ProjectionExpandedValue | RpcExpandedValue;
|
|
58
|
+
readonly mapping: ComponentValueMapping;
|
|
59
|
+
readonly usage: ResolverUsage;
|
|
60
|
+
}
|
|
61
|
+
export interface ComponentDecodedXml {
|
|
62
|
+
readonly kind: 'component-decoded';
|
|
63
|
+
readonly admitted: false;
|
|
64
|
+
readonly payload: SyntaxElement;
|
|
65
|
+
readonly validated: ProjectionValueReceipt | RpcValueReceipt;
|
|
66
|
+
readonly mapping: ComponentValueMapping;
|
|
67
|
+
readonly usage: ResolverUsage;
|
|
68
|
+
}
|
|
69
|
+
export interface RpcValueReceipt {
|
|
70
|
+
readonly kind: 'rpc-string-value' | 'rpc-typed-value';
|
|
71
|
+
readonly admitted: false;
|
|
72
|
+
readonly value: RpcTypedValue;
|
|
73
|
+
readonly usage: ResolverUsage;
|
|
74
|
+
}
|
|
75
|
+
export interface RpcExpandedValue {
|
|
76
|
+
readonly kind: 'rpc-string-expanded' | 'rpc-typed-expanded';
|
|
77
|
+
readonly admitted: false;
|
|
78
|
+
readonly payload: SyntaxElement;
|
|
79
|
+
readonly validated: RpcValueReceipt;
|
|
80
|
+
readonly usage: ResolverUsage;
|
|
81
|
+
}
|
|
82
|
+
export interface ComponentPayloadSelection {
|
|
83
|
+
readonly payload: SyntaxElement;
|
|
84
|
+
readonly mapping: ComponentValueMapping;
|
|
85
|
+
}
|
|
86
|
+
/** Parser ownership only; neither the observation nor its displayed fields establish value or operation validity. */
|
|
87
|
+
export interface ComponentXmlObservation {
|
|
88
|
+
readonly kind: 'observed-component-xml';
|
|
89
|
+
readonly root: SyntaxElement;
|
|
90
|
+
readonly usage: ResolverUsage;
|
|
91
|
+
}
|
|
51
92
|
/** Validate fresh values using the delivered inverse, then emit deterministic UTF-8. */
|
|
52
93
|
export declare function encodeDirectXml(contract: DirectOperationContract, mapping: unknown, application: unknown, options?: Options): DirectEncodedXml | DirectCodecFailure;
|
|
94
|
+
/** Encode a component-qualified structured operation direction through the same native inverse and XML writer.
|
|
95
|
+
* @remarks Mapping/source authority is checked before values. This supplies XML bytes only, not policy enforcement or dispatch.
|
|
96
|
+
* @returns Native-validated UTF-8 output or explicit scalar/value/unsupported/cancellation/resource failure.
|
|
97
|
+
*/
|
|
98
|
+
export declare function encodeComponentXml(contract: DirectOperationContract, mapping: unknown, application: unknown, options?: Options): ComponentEncodedXml | DirectCodecFailure;
|
|
99
|
+
/** Observe once through the existing component parser and execution controls.
|
|
100
|
+
* @remarks Any exact operation-owned mapping can bind parsing to its execution context. Its value/root is not
|
|
101
|
+
* assessed here. Source qualification, wrapper scope and selected payload validation remain separate owners.
|
|
102
|
+
*/
|
|
103
|
+
export declare function observeComponentXml(contract: DirectOperationContract, mapping: unknown, bytes: Uint8Array, options?: Options & Readonly<{
|
|
104
|
+
uri?: string;
|
|
105
|
+
componentResponseEncoding?: {
|
|
106
|
+
charset?: string;
|
|
107
|
+
};
|
|
108
|
+
}>): ComponentXmlObservation | DirectCodecFailure;
|
|
109
|
+
/** Validate a genuine observed subtree through an independently qualified component mapping.
|
|
110
|
+
* @remarks XML capacities belong to the observation episode. This entry assesses the selected mapping's
|
|
111
|
+
* structure and scalar duties; it does not assert cross-contract wrapper, SOAP or runtime authority.
|
|
112
|
+
* @throws TypeError For copied observations, foreign mappings or a node outside the observed document.
|
|
113
|
+
*/
|
|
114
|
+
export declare function assessObservedComponentPayload(contract: DirectOperationContract, mapping: unknown, observation: ComponentXmlObservation, payload: SyntaxElement, options?: Readonly<{
|
|
115
|
+
signal?: AbortSignal;
|
|
116
|
+
}>): ComponentDecodedXml | DirectCodecFailure;
|
|
117
|
+
/** Verify membership without conferring a selected mapping or wrapper validity. */
|
|
118
|
+
export declare function assertComponentObservedPayload(observation: ComponentXmlObservation, payload: SyntaxElement, check: () => void): void;
|
|
53
119
|
/** Bounded observed bytes -> ordered syntax -> existing structural/scalar checks. */
|
|
54
120
|
export declare function decodeDirectXml(contract: DirectOperationContract, mapping: unknown, bytes: Uint8Array, options?: Options & Readonly<{
|
|
55
121
|
uri?: string;
|
|
56
122
|
selectPayload?: (root: SyntaxElement) => DirectPayloadSelection;
|
|
57
123
|
}>): DirectDecodedXml | DirectCodecFailure;
|
|
124
|
+
/** Decode observed component-profile bytes through the same parser and native structured/scalar owners.
|
|
125
|
+
* @remarks Protocol selection may choose only an actual node from this parse and an exact operation-owned mapping.
|
|
126
|
+
* It cannot relabel a copied syntax tree, switch operations or acquire runtime/policy enforcement authority.
|
|
127
|
+
* @returns A native-validated structured value or explicit XML/structure/scalar/unsupported/resource failure.
|
|
128
|
+
*/
|
|
129
|
+
export declare function decodeComponentXml(contract: DirectOperationContract, mapping: unknown, bytes: Uint8Array, options?: Options & Readonly<{
|
|
130
|
+
uri?: string;
|
|
131
|
+
componentResponseEncoding?: {
|
|
132
|
+
charset?: string;
|
|
133
|
+
};
|
|
134
|
+
selectPayload?: (root: SyntaxElement) => ComponentPayloadSelection;
|
|
135
|
+
}>): ComponentDecodedXml | DirectCodecFailure;
|
|
58
136
|
export {};
|
|
59
|
-
//# sourceMappingURL=directCodec.d.ts.map
|