@skmtc/core 0.28.5 → 0.28.7
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 +1 -1
- package/esm/_dnt.polyfills.d.ts +99 -1
- package/esm/_dnt.polyfills.js +130 -1
- package/esm/_dnt.shims.d.ts +0 -1
- package/esm/anchors/CaptureSink.d.ts +0 -1
- package/esm/anchors/ParserAdapter.d.ts +0 -1
- package/esm/anchors/attribute.d.ts +0 -1
- package/esm/anchors/attribute.js +4 -1
- package/esm/anchors/buildSidecar.d.ts +0 -1
- package/esm/anchors/generationMap.d.ts +0 -1
- package/esm/anchors/postPass.d.ts +0 -1
- package/esm/anchors/sidecar.d.ts +0 -1
- package/esm/anchors/types.d.ts +0 -1
- package/esm/app/validate.d.ts +0 -1
- package/esm/context/CoreContext.d.ts +0 -1
- package/esm/context/GenerateContext.d.ts +11 -11
- package/esm/context/GenerateContext.js +83 -64
- package/esm/context/ParseContext.d.ts +0 -1
- package/esm/context/ParseIssue.d.ts +0 -1
- package/esm/context/RenderContext.d.ts +0 -1
- package/esm/context/ResultsHandler.d.ts +0 -1
- package/esm/context/StackTrail.d.ts +0 -1
- package/esm/context/generateTypes.d.ts +79 -118
- package/esm/context/parseTypes.d.ts +0 -1
- package/esm/context/tryParseAt.d.ts +0 -1
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.24/exists.d.ts +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/os.d.ts +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_config.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_state.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/critical.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/debug.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/error.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/formatters.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/info.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/levels.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/logger.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/mod.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/setup.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/warn.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/assert_path.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/constants.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/normalize.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/normalize_string.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/extname.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/join.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/normalize.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/_util.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/join.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/normalize.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/_util.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/join.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/normalize.d.ts +0 -1
- package/esm/dsl/CodeFileBase.d.ts +0 -1
- package/esm/dsl/ContentSettings.d.ts +0 -1
- package/esm/dsl/CustomValue.d.ts +0 -1
- package/esm/dsl/Definition.d.ts +0 -1
- package/esm/dsl/DefinitionContainer.d.ts +40 -0
- package/esm/dsl/DefinitionContainer.js +15 -0
- package/esm/dsl/FileBase.d.ts +0 -1
- package/esm/dsl/GeneratedValue.d.ts +0 -1
- package/esm/dsl/GeneratedValueList.d.ts +0 -1
- package/esm/dsl/GeneratorKeys.d.ts +68 -2
- package/esm/dsl/GeneratorKeys.js +65 -0
- package/esm/dsl/IdentifierBase.d.ts +0 -1
- package/esm/dsl/IdentifierType.d.ts +0 -1
- package/esm/dsl/ImportBase.d.ts +0 -1
- package/esm/dsl/Inserted.d.ts +0 -1
- package/esm/dsl/JsonFile.d.ts +0 -1
- package/esm/dsl/Lang.d.ts +0 -1
- package/esm/dsl/MarkdownFile.d.ts +0 -1
- package/esm/dsl/ReExportBase.d.ts +0 -1
- package/esm/dsl/SnippetBase.d.ts +0 -1
- package/esm/dsl/Stringable.d.ts +0 -1
- package/esm/dsl/constants.d.ts +0 -1
- package/esm/dsl/model/ModelDriver.d.ts +15 -20
- package/esm/dsl/model/ModelDriver.js +30 -4
- package/esm/dsl/model/toModelEntry.d.ts +0 -1
- package/esm/dsl/model/toModelProjectionBase.d.ts +22 -16
- package/esm/dsl/model/toModelProjectionBase.js +17 -10
- package/esm/dsl/model/types.d.ts +16 -15
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +13 -20
- package/esm/dsl/operation/gql/GqlOperationDriver.js +26 -4
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +0 -1
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +23 -20
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.js +25 -20
- package/esm/dsl/operation/gql/types.d.ts +15 -14
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts +14 -20
- package/esm/dsl/operation/oas/OasOperationDriver.js +103 -14
- package/esm/dsl/operation/oas/toOasOperationContainerBase.d.ts +131 -0
- package/esm/dsl/operation/oas/toOasOperationContainerBase.js +165 -0
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +0 -1
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +53 -22
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.js +52 -23
- package/esm/dsl/operation/oas/types.d.ts +80 -12
- package/esm/dsl/webhook/WebhookDriver.d.ts +13 -20
- package/esm/dsl/webhook/WebhookDriver.js +26 -4
- package/esm/dsl/webhook/toWebhookEntry.d.ts +0 -1
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +19 -14
- package/esm/dsl/webhook/toWebhookProjectionBase.js +21 -14
- package/esm/dsl/webhook/types.d.ts +15 -14
- package/esm/enrichments/EnrichmentAudit.d.ts +0 -1
- package/esm/enrichments/EnrichmentWarning.d.ts +0 -1
- package/esm/enrichments/findUnknownKeys.d.ts +0 -1
- package/esm/enrichments/parseEnrichmentUmbrella.d.ts +0 -1
- package/esm/enrichments/readEnrichments.d.ts +0 -1
- package/esm/enrichments/toEnrichmentDescriptor.d.ts +0 -1
- package/esm/enrichments/valibotShape.d.ts +0 -1
- package/esm/enrichments/validateConfig.d.ts +0 -1
- package/esm/gql/_helpers/recordAppliedDirectives.d.ts +0 -1
- package/esm/gql/_helpers/unwrapType.d.ts +0 -1
- package/esm/gql/argument/GqlArgument.d.ts +0 -1
- package/esm/gql/document/GqlDocument.d.ts +0 -1
- package/esm/gql/document/parseGqlDocument.d.ts +0 -1
- package/esm/gql/enum/toEnumType.d.ts +0 -1
- package/esm/gql/field/toFieldSchema.d.ts +0 -1
- package/esm/gql/input/toInputType.d.ts +0 -1
- package/esm/gql/interface/toInterfaceUnion.d.ts +0 -1
- package/esm/gql/object/toObjectType.d.ts +0 -1
- package/esm/gql/operation/GqlOperation.d.ts +0 -1
- package/esm/gql/operation/synthesizeArgsObject.d.ts +0 -1
- package/esm/gql/operation/toRootField.d.ts +0 -1
- package/esm/gql/registry/GqlRegistry.d.ts +0 -1
- package/esm/gql/rootType/GqlRootTypes.d.ts +0 -1
- package/esm/gql/scalar/toScalarType.d.ts +0 -1
- package/esm/gql/union/toUnionType.d.ts +0 -1
- package/esm/helpers/ResultsLog.d.ts +0 -1
- package/esm/helpers/applyGeneratedSuffix.d.ts +0 -1
- package/esm/helpers/collateExamples.d.ts +0 -1
- package/esm/helpers/formatNumber.d.ts +0 -1
- package/esm/helpers/isEmpty.d.ts +0 -1
- package/esm/helpers/isGeneratorName.d.ts +0 -1
- package/esm/helpers/isImported.d.ts +0 -1
- package/esm/helpers/matchPackage.d.ts +54 -0
- package/esm/helpers/matchPackage.js +35 -0
- package/esm/helpers/naming.d.ts +0 -1
- package/esm/helpers/nearestKey.d.ts +0 -1
- package/esm/helpers/parseModuleName.d.ts +0 -1
- package/esm/helpers/refFns.d.ts +0 -1
- package/esm/helpers/strings.d.ts +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts +12 -192
- package/esm/helpers/toResolvedArtifactPath.js +14 -192
- package/esm/helpers/toVariantList.d.ts +0 -1
- package/esm/helpers/toWorkspacePath.d.ts +57 -0
- package/esm/helpers/toWorkspacePath.js +58 -0
- package/esm/helpers/withVariant.d.ts +0 -1
- package/esm/mod.d.ts +6 -1
- package/esm/mod.js +6 -0
- package/esm/oas/array/Array.d.ts +0 -1
- package/esm/oas/array/array-types.d.ts +0 -1
- package/esm/oas/boolean/Boolean.d.ts +0 -1
- package/esm/oas/boolean/boolean-types.d.ts +0 -1
- package/esm/oas/components/Components.d.ts +0 -1
- package/esm/oas/contact/Contact.d.ts +0 -1
- package/esm/oas/contact/contact-types.d.ts +0 -1
- package/esm/oas/discriminator/Discriminator.d.ts +0 -1
- package/esm/oas/discriminator/discriminator-types.d.ts +0 -1
- package/esm/oas/document/Document.d.ts +0 -1
- package/esm/oas/example/Example.d.ts +0 -1
- package/esm/oas/example/example-types.d.ts +0 -1
- package/esm/oas/externalDocs/ExternalDocs.d.ts +0 -1
- package/esm/oas/externalDocs/externalDocsTypes.d.ts +0 -1
- package/esm/oas/header/Header.d.ts +0 -1
- package/esm/oas/info/Info.d.ts +0 -1
- package/esm/oas/info/info-types.d.ts +0 -1
- package/esm/oas/integer/Integer.d.ts +0 -1
- package/esm/oas/integer/integer-types.d.ts +0 -1
- package/esm/oas/license/License.d.ts +0 -1
- package/esm/oas/license/license-types.d.ts +0 -1
- package/esm/oas/link/Link.d.ts +0 -1
- package/esm/oas/markdown/markdown-types.d.ts +0 -1
- package/esm/oas/mediaType/MediaType.d.ts +0 -1
- package/esm/oas/number/Number.d.ts +0 -1
- package/esm/oas/number/number-types.d.ts +0 -1
- package/esm/oas/object/Object.d.ts +0 -1
- package/esm/oas/operation/Operation.d.ts +0 -1
- package/esm/oas/parameter/Parameter.d.ts +0 -1
- package/esm/oas/parameter/parameter-types.d.ts +0 -1
- package/esm/oas/pathItem/PathItem.d.ts +0 -1
- package/esm/oas/ref/Ref.d.ts +0 -1
- package/esm/oas/ref/ref-types.d.ts +0 -1
- package/esm/oas/requestBody/RequestBody.d.ts +0 -1
- package/esm/oas/response/Response.d.ts +0 -1
- package/esm/oas/response/toPrimaryResponseCode.d.ts +0 -1
- package/esm/oas/schema/Schema.d.ts +0 -1
- package/esm/oas/schemaPath/traverseSchema.d.ts +0 -1
- package/esm/oas/securityRequirement/SecurityRequirement.d.ts +0 -1
- package/esm/oas/securitySchemes/SecurityScheme.d.ts +0 -1
- package/esm/oas/securitySchemes/security-scheme-types.d.ts +0 -1
- package/esm/oas/server/Server.d.ts +0 -1
- package/esm/oas/serverVariable/ServerVariable.d.ts +0 -1
- package/esm/oas/string/String.d.ts +0 -1
- package/esm/oas/string/string-types.d.ts +0 -1
- package/esm/oas/tag/Tag.d.ts +0 -1
- package/esm/oas/tag/tag-types.d.ts +0 -1
- package/esm/oas/union/Union.d.ts +0 -1
- package/esm/oas/unknown/Unknown.d.ts +0 -1
- package/esm/oas/unknown/unknown-types.d.ts +0 -1
- package/esm/oas/void/Void.d.ts +0 -1
- package/esm/oas/webhook/Webhook.d.ts +0 -1
- package/esm/parse/toOasDialect.d.ts +0 -1
- package/esm/parse/v3-0/_helpers/parseDefault.d.ts +0 -1
- package/esm/parse/v3-0/_helpers/parseEnum.d.ts +0 -1
- package/esm/parse/v3-0/_helpers/parseExample.d.ts +0 -1
- package/esm/parse/v3-0/_helpers/parseNullable.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/cross-product.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-intersection.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/generic-merge.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/is-equal.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-enum-values.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-intersection.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-properties.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-required.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/nullable-merge.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/types.d.ts +0 -1
- package/esm/parse/v3-0/array/toArray.d.ts +0 -1
- package/esm/parse/v3-0/boolean/toBoolean.d.ts +0 -1
- package/esm/parse/v3-0/components/toComponentsV3.d.ts +0 -1
- package/esm/parse/v3-0/contact/toContactV3.d.ts +0 -1
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +0 -1
- package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts +0 -1
- package/esm/parse/v3-0/example/toExamplesV3.d.ts +0 -1
- package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts +0 -1
- package/esm/parse/v3-0/header/toHeadersV3.d.ts +0 -1
- package/esm/parse/v3-0/info/toInfoV3.d.ts +0 -1
- package/esm/parse/v3-0/integer/toInteger.d.ts +0 -1
- package/esm/parse/v3-0/license/toLicenseV3.d.ts +0 -1
- package/esm/parse/v3-0/link/toLinksV3.d.ts +0 -1
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +0 -1
- package/esm/parse/v3-0/number/toNumber.d.ts +0 -1
- package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +0 -1
- package/esm/parse/v3-0/object/toObject.d.ts +0 -1
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts +0 -1
- package/esm/parse/v3-0/parameter/toParameterV3.d.ts +0 -1
- package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts +0 -1
- package/esm/parse/v3-0/ref/toRefV31.d.ts +0 -1
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +0 -1
- package/esm/parse/v3-0/response/toResponseV3.d.ts +0 -1
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts +0 -1
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +0 -1
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +0 -1
- package/esm/parse/v3-0/server/toServerV3.d.ts +0 -1
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts +0 -1
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -1
- package/esm/parse/v3-0/string/toString.d.ts +0 -1
- package/esm/parse/v3-0/tag/toTagsV3.d.ts +0 -1
- package/esm/parse/v3-0/union/toUnion.d.ts +0 -1
- package/esm/parse/v3-0/unknown/toUnknown.d.ts +0 -1
- package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts +0 -1
- package/esm/parse/v3-1/_helpers/parseDefault.d.ts +0 -1
- package/esm/parse/v3-1/_helpers/parseEnum.d.ts +0 -1
- package/esm/parse/v3-1/_helpers/parseExample.d.ts +0 -1
- package/esm/parse/v3-1/_helpers/parseNullable.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/cross-product.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-intersection.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/generic-merge.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/is-equal.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-enum-values.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-intersection.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-properties.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-required.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/nullable-merge.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/types.d.ts +0 -1
- package/esm/parse/v3-1/array/toArray.d.ts +0 -1
- package/esm/parse/v3-1/boolean/toBoolean.d.ts +0 -1
- package/esm/parse/v3-1/components/toComponentsV3.d.ts +0 -1
- package/esm/parse/v3-1/contact/toContactV3.d.ts +0 -1
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +0 -1
- package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts +0 -1
- package/esm/parse/v3-1/example/toExamplesV3.d.ts +0 -1
- package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts +0 -1
- package/esm/parse/v3-1/header/toHeadersV3.d.ts +0 -1
- package/esm/parse/v3-1/info/toInfoV3.d.ts +0 -1
- package/esm/parse/v3-1/integer/toInteger.d.ts +0 -1
- package/esm/parse/v3-1/license/toLicenseV3.d.ts +0 -1
- package/esm/parse/v3-1/link/toLinksV3.d.ts +0 -1
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +0 -1
- package/esm/parse/v3-1/number/toNumber.d.ts +0 -1
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +0 -1
- package/esm/parse/v3-1/object/toObject.d.ts +0 -1
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts +0 -1
- package/esm/parse/v3-1/parameter/toParameterV3.d.ts +0 -1
- package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts +0 -1
- package/esm/parse/v3-1/ref/toRefV31.d.ts +0 -1
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +0 -1
- package/esm/parse/v3-1/response/toResponseV3.d.ts +0 -1
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts +0 -1
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +0 -1
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +0 -1
- package/esm/parse/v3-1/server/toServerV3.d.ts +0 -1
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts +0 -1
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -1
- package/esm/parse/v3-1/string/toString.d.ts +0 -1
- package/esm/parse/v3-1/tag/toTagsV3.d.ts +0 -1
- package/esm/parse/v3-1/union/toUnion.d.ts +0 -1
- package/esm/parse/v3-1/unknown/toUnknown.d.ts +0 -1
- package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts +0 -1
- package/esm/run/toArtifacts.d.ts +0 -1
- package/esm/run/toEnrichmentDefaults.d.ts +0 -1
- package/esm/run/toInspection.d.ts +0 -1
- package/esm/run/toSupportedSubjects.d.ts +0 -1
- package/esm/types/AttributionState.d.ts +0 -1
- package/esm/types/Brand.d.ts +0 -1
- package/esm/types/DenoJson.d.ts +0 -1
- package/esm/types/EnrichmentDefaults.d.ts +0 -1
- package/esm/types/EnrichmentRequest.d.ts +0 -1
- package/esm/types/Enrichments.d.ts +0 -1
- package/esm/types/GeneratorType.d.ts +0 -1
- package/esm/types/InsertOptions.d.ts +40 -0
- package/esm/types/InsertOptions.js +29 -0
- package/esm/types/JsonPointer.d.ts +0 -1
- package/esm/types/Logger.d.ts +0 -1
- package/esm/types/Manifest.d.ts +0 -1
- package/esm/types/Method.d.ts +0 -1
- package/esm/types/Modifiers.d.ts +0 -1
- package/esm/types/ModuleExport.d.ts +0 -1
- package/esm/types/ModuleSelect.d.ts +0 -1
- package/esm/types/OasBase.d.ts +0 -1
- package/esm/types/Preview.d.ts +0 -1
- package/esm/types/ProjectionOptions.d.ts +50 -0
- package/esm/types/ProjectionOptions.js +27 -0
- package/esm/types/RefName.d.ts +0 -1
- package/esm/types/Results.d.ts +0 -1
- package/esm/types/SchemaPath.d.ts +0 -1
- package/esm/types/Settings.d.ts +11 -1
- package/esm/types/Settings.js +34 -1
- package/esm/types/SkmtcDocument.d.ts +0 -1
- package/esm/types/SupportedSubjects.d.ts +0 -1
- package/esm/types/TypeSystem.d.ts +0 -1
- package/esm/types/Variant.d.ts +0 -1
- package/package.json +3 -3
- package/script/_dnt.polyfills.d.ts +99 -1
- package/script/_dnt.polyfills.js +131 -0
- package/script/_dnt.shims.d.ts +0 -1
- package/script/anchors/CaptureSink.d.ts +0 -1
- package/script/anchors/ParserAdapter.d.ts +0 -1
- package/script/anchors/attribute.d.ts +0 -1
- package/script/anchors/attribute.js +4 -1
- package/script/anchors/buildSidecar.d.ts +0 -1
- package/script/anchors/generationMap.d.ts +0 -1
- package/script/anchors/postPass.d.ts +0 -1
- package/script/anchors/sidecar.d.ts +0 -1
- package/script/anchors/types.d.ts +0 -1
- package/script/app/validate.d.ts +0 -1
- package/script/context/CoreContext.d.ts +0 -1
- package/script/context/GenerateContext.d.ts +11 -11
- package/script/context/GenerateContext.js +83 -64
- package/script/context/ParseContext.d.ts +0 -1
- package/script/context/ParseIssue.d.ts +0 -1
- package/script/context/RenderContext.d.ts +0 -1
- package/script/context/ResultsHandler.d.ts +0 -1
- package/script/context/StackTrail.d.ts +0 -1
- package/script/context/generateTypes.d.ts +79 -118
- package/script/context/parseTypes.d.ts +0 -1
- package/script/context/tryParseAt.d.ts +0 -1
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.24/exists.d.ts +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/os.d.ts +0 -1
- package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts +0 -1
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_config.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_state.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/critical.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/debug.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/error.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/formatters.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/info.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/levels.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/logger.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/mod.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/setup.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/warn.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/assert_path.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/constants.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/normalize.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/normalize_string.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/extname.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/join.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/normalize.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/_util.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/join.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/normalize.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/_util.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/join.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/normalize.d.ts +0 -1
- package/script/dsl/CodeFileBase.d.ts +0 -1
- package/script/dsl/ContentSettings.d.ts +0 -1
- package/script/dsl/CustomValue.d.ts +0 -1
- package/script/dsl/Definition.d.ts +0 -1
- package/script/dsl/DefinitionContainer.d.ts +40 -0
- package/script/dsl/DefinitionContainer.js +19 -0
- package/script/dsl/FileBase.d.ts +0 -1
- package/script/dsl/GeneratedValue.d.ts +0 -1
- package/script/dsl/GeneratedValueList.d.ts +0 -1
- package/script/dsl/GeneratorKeys.d.ts +68 -2
- package/script/dsl/GeneratorKeys.js +68 -1
- package/script/dsl/IdentifierBase.d.ts +0 -1
- package/script/dsl/IdentifierType.d.ts +0 -1
- package/script/dsl/ImportBase.d.ts +0 -1
- package/script/dsl/Inserted.d.ts +0 -1
- package/script/dsl/JsonFile.d.ts +0 -1
- package/script/dsl/Lang.d.ts +0 -1
- package/script/dsl/MarkdownFile.d.ts +0 -1
- package/script/dsl/ReExportBase.d.ts +0 -1
- package/script/dsl/SnippetBase.d.ts +0 -1
- package/script/dsl/Stringable.d.ts +0 -1
- package/script/dsl/constants.d.ts +0 -1
- package/script/dsl/model/ModelDriver.d.ts +15 -20
- package/script/dsl/model/ModelDriver.js +33 -4
- package/script/dsl/model/toModelEntry.d.ts +0 -1
- package/script/dsl/model/toModelProjectionBase.d.ts +22 -16
- package/script/dsl/model/toModelProjectionBase.js +17 -10
- package/script/dsl/model/types.d.ts +16 -15
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts +13 -20
- package/script/dsl/operation/gql/GqlOperationDriver.js +29 -4
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +0 -1
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +23 -20
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.js +25 -20
- package/script/dsl/operation/gql/types.d.ts +15 -14
- package/script/dsl/operation/oas/OasOperationDriver.d.ts +14 -20
- package/script/dsl/operation/oas/OasOperationDriver.js +106 -14
- package/script/dsl/operation/oas/toOasOperationContainerBase.d.ts +131 -0
- package/script/dsl/operation/oas/toOasOperationContainerBase.js +169 -0
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts +0 -1
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +53 -22
- package/script/dsl/operation/oas/toOasOperationProjectionBase.js +52 -23
- package/script/dsl/operation/oas/types.d.ts +80 -12
- package/script/dsl/webhook/WebhookDriver.d.ts +13 -20
- package/script/dsl/webhook/WebhookDriver.js +29 -4
- package/script/dsl/webhook/toWebhookEntry.d.ts +0 -1
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts +19 -14
- package/script/dsl/webhook/toWebhookProjectionBase.js +21 -14
- package/script/dsl/webhook/types.d.ts +15 -14
- package/script/enrichments/EnrichmentAudit.d.ts +0 -1
- package/script/enrichments/EnrichmentWarning.d.ts +0 -1
- package/script/enrichments/findUnknownKeys.d.ts +0 -1
- package/script/enrichments/parseEnrichmentUmbrella.d.ts +0 -1
- package/script/enrichments/readEnrichments.d.ts +0 -1
- package/script/enrichments/toEnrichmentDescriptor.d.ts +0 -1
- package/script/enrichments/valibotShape.d.ts +0 -1
- package/script/enrichments/validateConfig.d.ts +0 -1
- package/script/gql/_helpers/recordAppliedDirectives.d.ts +0 -1
- package/script/gql/_helpers/unwrapType.d.ts +0 -1
- package/script/gql/argument/GqlArgument.d.ts +0 -1
- package/script/gql/document/GqlDocument.d.ts +0 -1
- package/script/gql/document/parseGqlDocument.d.ts +0 -1
- package/script/gql/enum/toEnumType.d.ts +0 -1
- package/script/gql/field/toFieldSchema.d.ts +0 -1
- package/script/gql/input/toInputType.d.ts +0 -1
- package/script/gql/interface/toInterfaceUnion.d.ts +0 -1
- package/script/gql/object/toObjectType.d.ts +0 -1
- package/script/gql/operation/GqlOperation.d.ts +0 -1
- package/script/gql/operation/synthesizeArgsObject.d.ts +0 -1
- package/script/gql/operation/toRootField.d.ts +0 -1
- package/script/gql/registry/GqlRegistry.d.ts +0 -1
- package/script/gql/rootType/GqlRootTypes.d.ts +0 -1
- package/script/gql/scalar/toScalarType.d.ts +0 -1
- package/script/gql/union/toUnionType.d.ts +0 -1
- package/script/helpers/ResultsLog.d.ts +0 -1
- package/script/helpers/applyGeneratedSuffix.d.ts +0 -1
- package/script/helpers/collateExamples.d.ts +0 -1
- package/script/helpers/formatNumber.d.ts +0 -1
- package/script/helpers/isEmpty.d.ts +0 -1
- package/script/helpers/isGeneratorName.d.ts +0 -1
- package/script/helpers/isImported.d.ts +0 -1
- package/script/helpers/matchPackage.d.ts +54 -0
- package/script/helpers/matchPackage.js +39 -0
- package/script/helpers/naming.d.ts +0 -1
- package/script/helpers/nearestKey.d.ts +0 -1
- package/script/helpers/parseModuleName.d.ts +0 -1
- package/script/helpers/refFns.d.ts +0 -1
- package/script/helpers/strings.d.ts +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts +12 -192
- package/script/helpers/toResolvedArtifactPath.js +14 -192
- package/script/helpers/toVariantList.d.ts +0 -1
- package/script/helpers/toWorkspacePath.d.ts +57 -0
- package/script/helpers/toWorkspacePath.js +63 -0
- package/script/helpers/withVariant.d.ts +0 -1
- package/script/mod.d.ts +6 -1
- package/script/mod.js +6 -0
- package/script/oas/array/Array.d.ts +0 -1
- package/script/oas/array/array-types.d.ts +0 -1
- package/script/oas/boolean/Boolean.d.ts +0 -1
- package/script/oas/boolean/boolean-types.d.ts +0 -1
- package/script/oas/components/Components.d.ts +0 -1
- package/script/oas/contact/Contact.d.ts +0 -1
- package/script/oas/contact/contact-types.d.ts +0 -1
- package/script/oas/discriminator/Discriminator.d.ts +0 -1
- package/script/oas/discriminator/discriminator-types.d.ts +0 -1
- package/script/oas/document/Document.d.ts +0 -1
- package/script/oas/example/Example.d.ts +0 -1
- package/script/oas/example/example-types.d.ts +0 -1
- package/script/oas/externalDocs/ExternalDocs.d.ts +0 -1
- package/script/oas/externalDocs/externalDocsTypes.d.ts +0 -1
- package/script/oas/header/Header.d.ts +0 -1
- package/script/oas/info/Info.d.ts +0 -1
- package/script/oas/info/info-types.d.ts +0 -1
- package/script/oas/integer/Integer.d.ts +0 -1
- package/script/oas/integer/integer-types.d.ts +0 -1
- package/script/oas/license/License.d.ts +0 -1
- package/script/oas/license/license-types.d.ts +0 -1
- package/script/oas/link/Link.d.ts +0 -1
- package/script/oas/markdown/markdown-types.d.ts +0 -1
- package/script/oas/mediaType/MediaType.d.ts +0 -1
- package/script/oas/number/Number.d.ts +0 -1
- package/script/oas/number/number-types.d.ts +0 -1
- package/script/oas/object/Object.d.ts +0 -1
- package/script/oas/operation/Operation.d.ts +0 -1
- package/script/oas/parameter/Parameter.d.ts +0 -1
- package/script/oas/parameter/parameter-types.d.ts +0 -1
- package/script/oas/pathItem/PathItem.d.ts +0 -1
- package/script/oas/ref/Ref.d.ts +0 -1
- package/script/oas/ref/ref-types.d.ts +0 -1
- package/script/oas/requestBody/RequestBody.d.ts +0 -1
- package/script/oas/response/Response.d.ts +0 -1
- package/script/oas/response/toPrimaryResponseCode.d.ts +0 -1
- package/script/oas/schema/Schema.d.ts +0 -1
- package/script/oas/schemaPath/traverseSchema.d.ts +0 -1
- package/script/oas/securityRequirement/SecurityRequirement.d.ts +0 -1
- package/script/oas/securitySchemes/SecurityScheme.d.ts +0 -1
- package/script/oas/securitySchemes/security-scheme-types.d.ts +0 -1
- package/script/oas/server/Server.d.ts +0 -1
- package/script/oas/serverVariable/ServerVariable.d.ts +0 -1
- package/script/oas/string/String.d.ts +0 -1
- package/script/oas/string/string-types.d.ts +0 -1
- package/script/oas/tag/Tag.d.ts +0 -1
- package/script/oas/tag/tag-types.d.ts +0 -1
- package/script/oas/union/Union.d.ts +0 -1
- package/script/oas/unknown/Unknown.d.ts +0 -1
- package/script/oas/unknown/unknown-types.d.ts +0 -1
- package/script/oas/void/Void.d.ts +0 -1
- package/script/oas/webhook/Webhook.d.ts +0 -1
- package/script/parse/toOasDialect.d.ts +0 -1
- package/script/parse/v3-0/_helpers/parseDefault.d.ts +0 -1
- package/script/parse/v3-0/_helpers/parseEnum.d.ts +0 -1
- package/script/parse/v3-0/_helpers/parseExample.d.ts +0 -1
- package/script/parse/v3-0/_helpers/parseNullable.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/cross-product.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/is-equal.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-required.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/types.d.ts +0 -1
- package/script/parse/v3-0/array/toArray.d.ts +0 -1
- package/script/parse/v3-0/boolean/toBoolean.d.ts +0 -1
- package/script/parse/v3-0/components/toComponentsV3.d.ts +0 -1
- package/script/parse/v3-0/contact/toContactV3.d.ts +0 -1
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +0 -1
- package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts +0 -1
- package/script/parse/v3-0/example/toExamplesV3.d.ts +0 -1
- package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts +0 -1
- package/script/parse/v3-0/header/toHeadersV3.d.ts +0 -1
- package/script/parse/v3-0/info/toInfoV3.d.ts +0 -1
- package/script/parse/v3-0/integer/toInteger.d.ts +0 -1
- package/script/parse/v3-0/license/toLicenseV3.d.ts +0 -1
- package/script/parse/v3-0/link/toLinksV3.d.ts +0 -1
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +0 -1
- package/script/parse/v3-0/number/toNumber.d.ts +0 -1
- package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +0 -1
- package/script/parse/v3-0/object/toObject.d.ts +0 -1
- package/script/parse/v3-0/operation/toOperationsV3.d.ts +0 -1
- package/script/parse/v3-0/parameter/toParameterV3.d.ts +0 -1
- package/script/parse/v3-0/pathItem/toPathItemV3.d.ts +0 -1
- package/script/parse/v3-0/ref/toRefV31.d.ts +0 -1
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +0 -1
- package/script/parse/v3-0/response/toResponseV3.d.ts +0 -1
- package/script/parse/v3-0/schema/toSchemasV3.d.ts +0 -1
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +0 -1
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +0 -1
- package/script/parse/v3-0/server/toServerV3.d.ts +0 -1
- package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts +0 -1
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -1
- package/script/parse/v3-0/string/toString.d.ts +0 -1
- package/script/parse/v3-0/tag/toTagsV3.d.ts +0 -1
- package/script/parse/v3-0/union/toUnion.d.ts +0 -1
- package/script/parse/v3-0/unknown/toUnknown.d.ts +0 -1
- package/script/parse/v3-0/webhook/toWebhooksV3.d.ts +0 -1
- package/script/parse/v3-1/_helpers/parseDefault.d.ts +0 -1
- package/script/parse/v3-1/_helpers/parseEnum.d.ts +0 -1
- package/script/parse/v3-1/_helpers/parseExample.d.ts +0 -1
- package/script/parse/v3-1/_helpers/parseNullable.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/cross-product.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/is-equal.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-required.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/types.d.ts +0 -1
- package/script/parse/v3-1/array/toArray.d.ts +0 -1
- package/script/parse/v3-1/boolean/toBoolean.d.ts +0 -1
- package/script/parse/v3-1/components/toComponentsV3.d.ts +0 -1
- package/script/parse/v3-1/contact/toContactV3.d.ts +0 -1
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +0 -1
- package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts +0 -1
- package/script/parse/v3-1/example/toExamplesV3.d.ts +0 -1
- package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts +0 -1
- package/script/parse/v3-1/header/toHeadersV3.d.ts +0 -1
- package/script/parse/v3-1/info/toInfoV3.d.ts +0 -1
- package/script/parse/v3-1/integer/toInteger.d.ts +0 -1
- package/script/parse/v3-1/license/toLicenseV3.d.ts +0 -1
- package/script/parse/v3-1/link/toLinksV3.d.ts +0 -1
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +0 -1
- package/script/parse/v3-1/number/toNumber.d.ts +0 -1
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +0 -1
- package/script/parse/v3-1/object/toObject.d.ts +0 -1
- package/script/parse/v3-1/operation/toOperationsV3.d.ts +0 -1
- package/script/parse/v3-1/parameter/toParameterV3.d.ts +0 -1
- package/script/parse/v3-1/pathItem/toPathItemV3.d.ts +0 -1
- package/script/parse/v3-1/ref/toRefV31.d.ts +0 -1
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +0 -1
- package/script/parse/v3-1/response/toResponseV3.d.ts +0 -1
- package/script/parse/v3-1/schema/toSchemasV3.d.ts +0 -1
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +0 -1
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +0 -1
- package/script/parse/v3-1/server/toServerV3.d.ts +0 -1
- package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts +0 -1
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -1
- package/script/parse/v3-1/string/toString.d.ts +0 -1
- package/script/parse/v3-1/tag/toTagsV3.d.ts +0 -1
- package/script/parse/v3-1/union/toUnion.d.ts +0 -1
- package/script/parse/v3-1/unknown/toUnknown.d.ts +0 -1
- package/script/parse/v3-1/webhook/toWebhooksV3.d.ts +0 -1
- package/script/run/toArtifacts.d.ts +0 -1
- package/script/run/toEnrichmentDefaults.d.ts +0 -1
- package/script/run/toInspection.d.ts +0 -1
- package/script/run/toSupportedSubjects.d.ts +0 -1
- package/script/types/AttributionState.d.ts +0 -1
- package/script/types/Brand.d.ts +0 -1
- package/script/types/DenoJson.d.ts +0 -1
- package/script/types/EnrichmentDefaults.d.ts +0 -1
- package/script/types/EnrichmentRequest.d.ts +0 -1
- package/script/types/Enrichments.d.ts +0 -1
- package/script/types/GeneratorType.d.ts +0 -1
- package/script/types/InsertOptions.d.ts +40 -0
- package/script/types/InsertOptions.js +34 -0
- package/script/types/JsonPointer.d.ts +0 -1
- package/script/types/Logger.d.ts +0 -1
- package/script/types/Manifest.d.ts +0 -1
- package/script/types/Method.d.ts +0 -1
- package/script/types/Modifiers.d.ts +0 -1
- package/script/types/ModuleExport.d.ts +0 -1
- package/script/types/ModuleSelect.d.ts +0 -1
- package/script/types/OasBase.d.ts +0 -1
- package/script/types/Preview.d.ts +0 -1
- package/script/types/ProjectionOptions.d.ts +50 -0
- package/script/types/ProjectionOptions.js +32 -0
- package/script/types/RefName.d.ts +0 -1
- package/script/types/Results.d.ts +0 -1
- package/script/types/SchemaPath.d.ts +0 -1
- package/script/types/Settings.d.ts +11 -1
- package/script/types/Settings.js +35 -2
- package/script/types/SkmtcDocument.d.ts +0 -1
- package/script/types/SupportedSubjects.d.ts +0 -1
- package/script/types/TypeSystem.d.ts +0 -1
- package/script/types/Variant.d.ts +0 -1
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.shims.d.ts.map +0 -1
- package/esm/anchors/CaptureSink.d.ts.map +0 -1
- package/esm/anchors/ParserAdapter.d.ts.map +0 -1
- package/esm/anchors/attribute.d.ts.map +0 -1
- package/esm/anchors/buildSidecar.d.ts.map +0 -1
- package/esm/anchors/generationMap.d.ts.map +0 -1
- package/esm/anchors/postPass.d.ts.map +0 -1
- package/esm/anchors/sidecar.d.ts.map +0 -1
- package/esm/anchors/types.d.ts.map +0 -1
- package/esm/app/validate.d.ts.map +0 -1
- package/esm/context/CoreContext.d.ts.map +0 -1
- package/esm/context/GenerateContext.d.ts.map +0 -1
- package/esm/context/ParseContext.d.ts.map +0 -1
- package/esm/context/ParseIssue.d.ts.map +0 -1
- package/esm/context/RenderContext.d.ts.map +0 -1
- package/esm/context/ResultsHandler.d.ts.map +0 -1
- package/esm/context/StackTrail.d.ts.map +0 -1
- package/esm/context/generateTypes.d.ts.map +0 -1
- package/esm/context/parseTypes.d.ts.map +0 -1
- package/esm/context/tryParseAt.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.24/exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_config.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/critical.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/debug.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/formatters.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/info.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/levels.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/logger.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/setup.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/warn.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/assert_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/normalize_string.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/normalize.d.ts.map +0 -1
- package/esm/dsl/CodeFileBase.d.ts.map +0 -1
- package/esm/dsl/ContentSettings.d.ts.map +0 -1
- package/esm/dsl/CustomValue.d.ts.map +0 -1
- package/esm/dsl/Definition.d.ts.map +0 -1
- package/esm/dsl/FileBase.d.ts.map +0 -1
- package/esm/dsl/GeneratedValue.d.ts.map +0 -1
- package/esm/dsl/GeneratedValueList.d.ts.map +0 -1
- package/esm/dsl/GeneratorKeys.d.ts.map +0 -1
- package/esm/dsl/IdentifierBase.d.ts.map +0 -1
- package/esm/dsl/IdentifierType.d.ts.map +0 -1
- package/esm/dsl/ImportBase.d.ts.map +0 -1
- package/esm/dsl/Inserted.d.ts.map +0 -1
- package/esm/dsl/JsonFile.d.ts.map +0 -1
- package/esm/dsl/Lang.d.ts.map +0 -1
- package/esm/dsl/MarkdownFile.d.ts.map +0 -1
- package/esm/dsl/ReExportBase.d.ts.map +0 -1
- package/esm/dsl/SnippetBase.d.ts.map +0 -1
- package/esm/dsl/Stringable.d.ts.map +0 -1
- package/esm/dsl/constants.d.ts.map +0 -1
- package/esm/dsl/model/ModelDriver.d.ts.map +0 -1
- package/esm/dsl/model/toModelEntry.d.ts.map +0 -1
- package/esm/dsl/model/toModelProjectionBase.d.ts.map +0 -1
- package/esm/dsl/model/types.d.ts.map +0 -1
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +0 -1
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +0 -1
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +0 -1
- package/esm/dsl/operation/gql/types.d.ts.map +0 -1
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +0 -1
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +0 -1
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +0 -1
- package/esm/dsl/operation/oas/types.d.ts.map +0 -1
- package/esm/dsl/webhook/WebhookDriver.d.ts.map +0 -1
- package/esm/dsl/webhook/toWebhookEntry.d.ts.map +0 -1
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +0 -1
- package/esm/dsl/webhook/types.d.ts.map +0 -1
- package/esm/enrichments/EnrichmentAudit.d.ts.map +0 -1
- package/esm/enrichments/EnrichmentWarning.d.ts.map +0 -1
- package/esm/enrichments/findUnknownKeys.d.ts.map +0 -1
- package/esm/enrichments/parseEnrichmentUmbrella.d.ts.map +0 -1
- package/esm/enrichments/readEnrichments.d.ts.map +0 -1
- package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +0 -1
- package/esm/enrichments/valibotShape.d.ts.map +0 -1
- package/esm/enrichments/validateConfig.d.ts.map +0 -1
- package/esm/gql/_helpers/recordAppliedDirectives.d.ts.map +0 -1
- package/esm/gql/_helpers/unwrapType.d.ts.map +0 -1
- package/esm/gql/argument/GqlArgument.d.ts.map +0 -1
- package/esm/gql/document/GqlDocument.d.ts.map +0 -1
- package/esm/gql/document/parseGqlDocument.d.ts.map +0 -1
- package/esm/gql/enum/toEnumType.d.ts.map +0 -1
- package/esm/gql/field/toFieldSchema.d.ts.map +0 -1
- package/esm/gql/input/toInputType.d.ts.map +0 -1
- package/esm/gql/interface/toInterfaceUnion.d.ts.map +0 -1
- package/esm/gql/object/toObjectType.d.ts.map +0 -1
- package/esm/gql/operation/GqlOperation.d.ts.map +0 -1
- package/esm/gql/operation/synthesizeArgsObject.d.ts.map +0 -1
- package/esm/gql/operation/toRootField.d.ts.map +0 -1
- package/esm/gql/registry/GqlRegistry.d.ts.map +0 -1
- package/esm/gql/rootType/GqlRootTypes.d.ts.map +0 -1
- package/esm/gql/scalar/toScalarType.d.ts.map +0 -1
- package/esm/gql/union/toUnionType.d.ts.map +0 -1
- package/esm/helpers/ResultsLog.d.ts.map +0 -1
- package/esm/helpers/applyGeneratedSuffix.d.ts.map +0 -1
- package/esm/helpers/collateExamples.d.ts.map +0 -1
- package/esm/helpers/formatNumber.d.ts.map +0 -1
- package/esm/helpers/isEmpty.d.ts.map +0 -1
- package/esm/helpers/isGeneratorName.d.ts.map +0 -1
- package/esm/helpers/isImported.d.ts.map +0 -1
- package/esm/helpers/naming.d.ts.map +0 -1
- package/esm/helpers/nearestKey.d.ts.map +0 -1
- package/esm/helpers/parseModuleName.d.ts.map +0 -1
- package/esm/helpers/refFns.d.ts.map +0 -1
- package/esm/helpers/strings.d.ts.map +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts.map +0 -1
- package/esm/helpers/toVariantList.d.ts.map +0 -1
- package/esm/helpers/withVariant.d.ts.map +0 -1
- package/esm/mod.d.ts.map +0 -1
- package/esm/oas/array/Array.d.ts.map +0 -1
- package/esm/oas/array/array-types.d.ts.map +0 -1
- package/esm/oas/boolean/Boolean.d.ts.map +0 -1
- package/esm/oas/boolean/boolean-types.d.ts.map +0 -1
- package/esm/oas/components/Components.d.ts.map +0 -1
- package/esm/oas/contact/Contact.d.ts.map +0 -1
- package/esm/oas/contact/contact-types.d.ts.map +0 -1
- package/esm/oas/discriminator/Discriminator.d.ts.map +0 -1
- package/esm/oas/discriminator/discriminator-types.d.ts.map +0 -1
- package/esm/oas/document/Document.d.ts.map +0 -1
- package/esm/oas/example/Example.d.ts.map +0 -1
- package/esm/oas/example/example-types.d.ts.map +0 -1
- package/esm/oas/externalDocs/ExternalDocs.d.ts.map +0 -1
- package/esm/oas/externalDocs/externalDocsTypes.d.ts.map +0 -1
- package/esm/oas/header/Header.d.ts.map +0 -1
- package/esm/oas/info/Info.d.ts.map +0 -1
- package/esm/oas/info/info-types.d.ts.map +0 -1
- package/esm/oas/integer/Integer.d.ts.map +0 -1
- package/esm/oas/integer/integer-types.d.ts.map +0 -1
- package/esm/oas/license/License.d.ts.map +0 -1
- package/esm/oas/license/license-types.d.ts.map +0 -1
- package/esm/oas/link/Link.d.ts.map +0 -1
- package/esm/oas/markdown/markdown-types.d.ts.map +0 -1
- package/esm/oas/mediaType/MediaType.d.ts.map +0 -1
- package/esm/oas/number/Number.d.ts.map +0 -1
- package/esm/oas/number/number-types.d.ts.map +0 -1
- package/esm/oas/object/Object.d.ts.map +0 -1
- package/esm/oas/operation/Operation.d.ts.map +0 -1
- package/esm/oas/parameter/Parameter.d.ts.map +0 -1
- package/esm/oas/parameter/parameter-types.d.ts.map +0 -1
- package/esm/oas/pathItem/PathItem.d.ts.map +0 -1
- package/esm/oas/ref/Ref.d.ts.map +0 -1
- package/esm/oas/ref/ref-types.d.ts.map +0 -1
- package/esm/oas/requestBody/RequestBody.d.ts.map +0 -1
- package/esm/oas/response/Response.d.ts.map +0 -1
- package/esm/oas/response/toPrimaryResponseCode.d.ts.map +0 -1
- package/esm/oas/schema/Schema.d.ts.map +0 -1
- package/esm/oas/schemaPath/traverseSchema.d.ts.map +0 -1
- package/esm/oas/securityRequirement/SecurityRequirement.d.ts.map +0 -1
- package/esm/oas/securitySchemes/SecurityScheme.d.ts.map +0 -1
- package/esm/oas/securitySchemes/security-scheme-types.d.ts.map +0 -1
- package/esm/oas/server/Server.d.ts.map +0 -1
- package/esm/oas/serverVariable/ServerVariable.d.ts.map +0 -1
- package/esm/oas/string/String.d.ts.map +0 -1
- package/esm/oas/string/string-types.d.ts.map +0 -1
- package/esm/oas/tag/Tag.d.ts.map +0 -1
- package/esm/oas/tag/tag-types.d.ts.map +0 -1
- package/esm/oas/union/Union.d.ts.map +0 -1
- package/esm/oas/unknown/Unknown.d.ts.map +0 -1
- package/esm/oas/unknown/unknown-types.d.ts.map +0 -1
- package/esm/oas/void/Void.d.ts.map +0 -1
- package/esm/oas/webhook/Webhook.d.ts.map +0 -1
- package/esm/parse/toOasDialect.d.ts.map +0 -1
- package/esm/parse/v3-0/_helpers/parseDefault.d.ts.map +0 -1
- package/esm/parse/v3-0/_helpers/parseEnum.d.ts.map +0 -1
- package/esm/parse/v3-0/_helpers/parseExample.d.ts.map +0 -1
- package/esm/parse/v3-0/_helpers/parseNullable.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/cross-product.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/is-equal.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-required.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/types.d.ts.map +0 -1
- package/esm/parse/v3-0/array/toArray.d.ts.map +0 -1
- package/esm/parse/v3-0/boolean/toBoolean.d.ts.map +0 -1
- package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/contact/toContactV3.d.ts.map +0 -1
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/example/toExamplesV3.d.ts.map +0 -1
- package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/esm/parse/v3-0/header/toHeadersV3.d.ts.map +0 -1
- package/esm/parse/v3-0/info/toInfoV3.d.ts.map +0 -1
- package/esm/parse/v3-0/integer/toInteger.d.ts.map +0 -1
- package/esm/parse/v3-0/license/toLicenseV3.d.ts.map +0 -1
- package/esm/parse/v3-0/link/toLinksV3.d.ts.map +0 -1
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/esm/parse/v3-0/number/toNumber.d.ts.map +0 -1
- package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/esm/parse/v3-0/object/toObject.d.ts.map +0 -1
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/parameter/toParameterV3.d.ts.map +0 -1
- package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts.map +0 -1
- package/esm/parse/v3-0/ref/toRefV31.d.ts.map +0 -1
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/esm/parse/v3-0/response/toResponseV3.d.ts.map +0 -1
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +0 -1
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/esm/parse/v3-0/server/toServerV3.d.ts.map +0 -1
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/string/toString.d.ts.map +0 -1
- package/esm/parse/v3-0/tag/toTagsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/union/toUnion.d.ts.map +0 -1
- package/esm/parse/v3-0/unknown/toUnknown.d.ts.map +0 -1
- package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts.map +0 -1
- package/esm/parse/v3-1/_helpers/parseDefault.d.ts.map +0 -1
- package/esm/parse/v3-1/_helpers/parseEnum.d.ts.map +0 -1
- package/esm/parse/v3-1/_helpers/parseExample.d.ts.map +0 -1
- package/esm/parse/v3-1/_helpers/parseNullable.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/cross-product.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/is-equal.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-required.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/types.d.ts.map +0 -1
- package/esm/parse/v3-1/array/toArray.d.ts.map +0 -1
- package/esm/parse/v3-1/boolean/toBoolean.d.ts.map +0 -1
- package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/contact/toContactV3.d.ts.map +0 -1
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/example/toExamplesV3.d.ts.map +0 -1
- package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/esm/parse/v3-1/header/toHeadersV3.d.ts.map +0 -1
- package/esm/parse/v3-1/info/toInfoV3.d.ts.map +0 -1
- package/esm/parse/v3-1/integer/toInteger.d.ts.map +0 -1
- package/esm/parse/v3-1/license/toLicenseV3.d.ts.map +0 -1
- package/esm/parse/v3-1/link/toLinksV3.d.ts.map +0 -1
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/esm/parse/v3-1/number/toNumber.d.ts.map +0 -1
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/esm/parse/v3-1/object/toObject.d.ts.map +0 -1
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/parameter/toParameterV3.d.ts.map +0 -1
- package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts.map +0 -1
- package/esm/parse/v3-1/ref/toRefV31.d.ts.map +0 -1
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/esm/parse/v3-1/response/toResponseV3.d.ts.map +0 -1
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +0 -1
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/esm/parse/v3-1/server/toServerV3.d.ts.map +0 -1
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/string/toString.d.ts.map +0 -1
- package/esm/parse/v3-1/tag/toTagsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/union/toUnion.d.ts.map +0 -1
- package/esm/parse/v3-1/unknown/toUnknown.d.ts.map +0 -1
- package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts.map +0 -1
- package/esm/run/toArtifacts.d.ts.map +0 -1
- package/esm/run/toEnrichmentDefaults.d.ts.map +0 -1
- package/esm/run/toInspection.d.ts.map +0 -1
- package/esm/run/toSupportedSubjects.d.ts.map +0 -1
- package/esm/types/AttributionState.d.ts.map +0 -1
- package/esm/types/Brand.d.ts.map +0 -1
- package/esm/types/DenoJson.d.ts.map +0 -1
- package/esm/types/EnrichmentDefaults.d.ts.map +0 -1
- package/esm/types/EnrichmentRequest.d.ts.map +0 -1
- package/esm/types/Enrichments.d.ts.map +0 -1
- package/esm/types/GeneratorType.d.ts.map +0 -1
- package/esm/types/JsonPointer.d.ts.map +0 -1
- package/esm/types/Logger.d.ts.map +0 -1
- package/esm/types/Manifest.d.ts.map +0 -1
- package/esm/types/Method.d.ts.map +0 -1
- package/esm/types/Modifiers.d.ts.map +0 -1
- package/esm/types/ModuleExport.d.ts.map +0 -1
- package/esm/types/ModuleSelect.d.ts.map +0 -1
- package/esm/types/OasBase.d.ts.map +0 -1
- package/esm/types/Preview.d.ts.map +0 -1
- package/esm/types/RefName.d.ts.map +0 -1
- package/esm/types/Results.d.ts.map +0 -1
- package/esm/types/SchemaPath.d.ts.map +0 -1
- package/esm/types/Settings.d.ts.map +0 -1
- package/esm/types/SkmtcDocument.d.ts.map +0 -1
- package/esm/types/SupportedSubjects.d.ts.map +0 -1
- package/esm/types/TypeSystem.d.ts.map +0 -1
- package/esm/types/Variant.d.ts.map +0 -1
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.shims.d.ts.map +0 -1
- package/script/anchors/CaptureSink.d.ts.map +0 -1
- package/script/anchors/ParserAdapter.d.ts.map +0 -1
- package/script/anchors/attribute.d.ts.map +0 -1
- package/script/anchors/buildSidecar.d.ts.map +0 -1
- package/script/anchors/generationMap.d.ts.map +0 -1
- package/script/anchors/postPass.d.ts.map +0 -1
- package/script/anchors/sidecar.d.ts.map +0 -1
- package/script/anchors/types.d.ts.map +0 -1
- package/script/app/validate.d.ts.map +0 -1
- package/script/context/CoreContext.d.ts.map +0 -1
- package/script/context/GenerateContext.d.ts.map +0 -1
- package/script/context/ParseContext.d.ts.map +0 -1
- package/script/context/ParseIssue.d.ts.map +0 -1
- package/script/context/RenderContext.d.ts.map +0 -1
- package/script/context/ResultsHandler.d.ts.map +0 -1
- package/script/context/StackTrail.d.ts.map +0 -1
- package/script/context/generateTypes.d.ts.map +0 -1
- package/script/context/parseTypes.d.ts.map +0 -1
- package/script/context/tryParseAt.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.24/exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_config.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_state.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/critical.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/debug.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/error.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/formatters.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/info.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/levels.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/logger.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/setup.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/warn.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/assert_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/normalize_string.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/normalize.d.ts.map +0 -1
- package/script/dsl/CodeFileBase.d.ts.map +0 -1
- package/script/dsl/ContentSettings.d.ts.map +0 -1
- package/script/dsl/CustomValue.d.ts.map +0 -1
- package/script/dsl/Definition.d.ts.map +0 -1
- package/script/dsl/FileBase.d.ts.map +0 -1
- package/script/dsl/GeneratedValue.d.ts.map +0 -1
- package/script/dsl/GeneratedValueList.d.ts.map +0 -1
- package/script/dsl/GeneratorKeys.d.ts.map +0 -1
- package/script/dsl/IdentifierBase.d.ts.map +0 -1
- package/script/dsl/IdentifierType.d.ts.map +0 -1
- package/script/dsl/ImportBase.d.ts.map +0 -1
- package/script/dsl/Inserted.d.ts.map +0 -1
- package/script/dsl/JsonFile.d.ts.map +0 -1
- package/script/dsl/Lang.d.ts.map +0 -1
- package/script/dsl/MarkdownFile.d.ts.map +0 -1
- package/script/dsl/ReExportBase.d.ts.map +0 -1
- package/script/dsl/SnippetBase.d.ts.map +0 -1
- package/script/dsl/Stringable.d.ts.map +0 -1
- package/script/dsl/constants.d.ts.map +0 -1
- package/script/dsl/model/ModelDriver.d.ts.map +0 -1
- package/script/dsl/model/toModelEntry.d.ts.map +0 -1
- package/script/dsl/model/toModelProjectionBase.d.ts.map +0 -1
- package/script/dsl/model/types.d.ts.map +0 -1
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +0 -1
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +0 -1
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +0 -1
- package/script/dsl/operation/gql/types.d.ts.map +0 -1
- package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +0 -1
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +0 -1
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +0 -1
- package/script/dsl/operation/oas/types.d.ts.map +0 -1
- package/script/dsl/webhook/WebhookDriver.d.ts.map +0 -1
- package/script/dsl/webhook/toWebhookEntry.d.ts.map +0 -1
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +0 -1
- package/script/dsl/webhook/types.d.ts.map +0 -1
- package/script/enrichments/EnrichmentAudit.d.ts.map +0 -1
- package/script/enrichments/EnrichmentWarning.d.ts.map +0 -1
- package/script/enrichments/findUnknownKeys.d.ts.map +0 -1
- package/script/enrichments/parseEnrichmentUmbrella.d.ts.map +0 -1
- package/script/enrichments/readEnrichments.d.ts.map +0 -1
- package/script/enrichments/toEnrichmentDescriptor.d.ts.map +0 -1
- package/script/enrichments/valibotShape.d.ts.map +0 -1
- package/script/enrichments/validateConfig.d.ts.map +0 -1
- package/script/gql/_helpers/recordAppliedDirectives.d.ts.map +0 -1
- package/script/gql/_helpers/unwrapType.d.ts.map +0 -1
- package/script/gql/argument/GqlArgument.d.ts.map +0 -1
- package/script/gql/document/GqlDocument.d.ts.map +0 -1
- package/script/gql/document/parseGqlDocument.d.ts.map +0 -1
- package/script/gql/enum/toEnumType.d.ts.map +0 -1
- package/script/gql/field/toFieldSchema.d.ts.map +0 -1
- package/script/gql/input/toInputType.d.ts.map +0 -1
- package/script/gql/interface/toInterfaceUnion.d.ts.map +0 -1
- package/script/gql/object/toObjectType.d.ts.map +0 -1
- package/script/gql/operation/GqlOperation.d.ts.map +0 -1
- package/script/gql/operation/synthesizeArgsObject.d.ts.map +0 -1
- package/script/gql/operation/toRootField.d.ts.map +0 -1
- package/script/gql/registry/GqlRegistry.d.ts.map +0 -1
- package/script/gql/rootType/GqlRootTypes.d.ts.map +0 -1
- package/script/gql/scalar/toScalarType.d.ts.map +0 -1
- package/script/gql/union/toUnionType.d.ts.map +0 -1
- package/script/helpers/ResultsLog.d.ts.map +0 -1
- package/script/helpers/applyGeneratedSuffix.d.ts.map +0 -1
- package/script/helpers/collateExamples.d.ts.map +0 -1
- package/script/helpers/formatNumber.d.ts.map +0 -1
- package/script/helpers/isEmpty.d.ts.map +0 -1
- package/script/helpers/isGeneratorName.d.ts.map +0 -1
- package/script/helpers/isImported.d.ts.map +0 -1
- package/script/helpers/naming.d.ts.map +0 -1
- package/script/helpers/nearestKey.d.ts.map +0 -1
- package/script/helpers/parseModuleName.d.ts.map +0 -1
- package/script/helpers/refFns.d.ts.map +0 -1
- package/script/helpers/strings.d.ts.map +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts.map +0 -1
- package/script/helpers/toVariantList.d.ts.map +0 -1
- package/script/helpers/withVariant.d.ts.map +0 -1
- package/script/mod.d.ts.map +0 -1
- package/script/oas/array/Array.d.ts.map +0 -1
- package/script/oas/array/array-types.d.ts.map +0 -1
- package/script/oas/boolean/Boolean.d.ts.map +0 -1
- package/script/oas/boolean/boolean-types.d.ts.map +0 -1
- package/script/oas/components/Components.d.ts.map +0 -1
- package/script/oas/contact/Contact.d.ts.map +0 -1
- package/script/oas/contact/contact-types.d.ts.map +0 -1
- package/script/oas/discriminator/Discriminator.d.ts.map +0 -1
- package/script/oas/discriminator/discriminator-types.d.ts.map +0 -1
- package/script/oas/document/Document.d.ts.map +0 -1
- package/script/oas/example/Example.d.ts.map +0 -1
- package/script/oas/example/example-types.d.ts.map +0 -1
- package/script/oas/externalDocs/ExternalDocs.d.ts.map +0 -1
- package/script/oas/externalDocs/externalDocsTypes.d.ts.map +0 -1
- package/script/oas/header/Header.d.ts.map +0 -1
- package/script/oas/info/Info.d.ts.map +0 -1
- package/script/oas/info/info-types.d.ts.map +0 -1
- package/script/oas/integer/Integer.d.ts.map +0 -1
- package/script/oas/integer/integer-types.d.ts.map +0 -1
- package/script/oas/license/License.d.ts.map +0 -1
- package/script/oas/license/license-types.d.ts.map +0 -1
- package/script/oas/link/Link.d.ts.map +0 -1
- package/script/oas/markdown/markdown-types.d.ts.map +0 -1
- package/script/oas/mediaType/MediaType.d.ts.map +0 -1
- package/script/oas/number/Number.d.ts.map +0 -1
- package/script/oas/number/number-types.d.ts.map +0 -1
- package/script/oas/object/Object.d.ts.map +0 -1
- package/script/oas/operation/Operation.d.ts.map +0 -1
- package/script/oas/parameter/Parameter.d.ts.map +0 -1
- package/script/oas/parameter/parameter-types.d.ts.map +0 -1
- package/script/oas/pathItem/PathItem.d.ts.map +0 -1
- package/script/oas/ref/Ref.d.ts.map +0 -1
- package/script/oas/ref/ref-types.d.ts.map +0 -1
- package/script/oas/requestBody/RequestBody.d.ts.map +0 -1
- package/script/oas/response/Response.d.ts.map +0 -1
- package/script/oas/response/toPrimaryResponseCode.d.ts.map +0 -1
- package/script/oas/schema/Schema.d.ts.map +0 -1
- package/script/oas/schemaPath/traverseSchema.d.ts.map +0 -1
- package/script/oas/securityRequirement/SecurityRequirement.d.ts.map +0 -1
- package/script/oas/securitySchemes/SecurityScheme.d.ts.map +0 -1
- package/script/oas/securitySchemes/security-scheme-types.d.ts.map +0 -1
- package/script/oas/server/Server.d.ts.map +0 -1
- package/script/oas/serverVariable/ServerVariable.d.ts.map +0 -1
- package/script/oas/string/String.d.ts.map +0 -1
- package/script/oas/string/string-types.d.ts.map +0 -1
- package/script/oas/tag/Tag.d.ts.map +0 -1
- package/script/oas/tag/tag-types.d.ts.map +0 -1
- package/script/oas/union/Union.d.ts.map +0 -1
- package/script/oas/unknown/Unknown.d.ts.map +0 -1
- package/script/oas/unknown/unknown-types.d.ts.map +0 -1
- package/script/oas/void/Void.d.ts.map +0 -1
- package/script/oas/webhook/Webhook.d.ts.map +0 -1
- package/script/parse/toOasDialect.d.ts.map +0 -1
- package/script/parse/v3-0/_helpers/parseDefault.d.ts.map +0 -1
- package/script/parse/v3-0/_helpers/parseEnum.d.ts.map +0 -1
- package/script/parse/v3-0/_helpers/parseExample.d.ts.map +0 -1
- package/script/parse/v3-0/_helpers/parseNullable.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/cross-product.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/is-equal.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-required.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/types.d.ts.map +0 -1
- package/script/parse/v3-0/array/toArray.d.ts.map +0 -1
- package/script/parse/v3-0/boolean/toBoolean.d.ts.map +0 -1
- package/script/parse/v3-0/components/toComponentsV3.d.ts.map +0 -1
- package/script/parse/v3-0/contact/toContactV3.d.ts.map +0 -1
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/script/parse/v3-0/example/toExamplesV3.d.ts.map +0 -1
- package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/script/parse/v3-0/header/toHeadersV3.d.ts.map +0 -1
- package/script/parse/v3-0/info/toInfoV3.d.ts.map +0 -1
- package/script/parse/v3-0/integer/toInteger.d.ts.map +0 -1
- package/script/parse/v3-0/license/toLicenseV3.d.ts.map +0 -1
- package/script/parse/v3-0/link/toLinksV3.d.ts.map +0 -1
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/script/parse/v3-0/number/toNumber.d.ts.map +0 -1
- package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/script/parse/v3-0/object/toObject.d.ts.map +0 -1
- package/script/parse/v3-0/operation/toOperationsV3.d.ts.map +0 -1
- package/script/parse/v3-0/parameter/toParameterV3.d.ts.map +0 -1
- package/script/parse/v3-0/pathItem/toPathItemV3.d.ts.map +0 -1
- package/script/parse/v3-0/ref/toRefV31.d.ts.map +0 -1
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/script/parse/v3-0/response/toResponseV3.d.ts.map +0 -1
- package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +0 -1
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/script/parse/v3-0/server/toServerV3.d.ts.map +0 -1
- package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/script/parse/v3-0/string/toString.d.ts.map +0 -1
- package/script/parse/v3-0/tag/toTagsV3.d.ts.map +0 -1
- package/script/parse/v3-0/union/toUnion.d.ts.map +0 -1
- package/script/parse/v3-0/unknown/toUnknown.d.ts.map +0 -1
- package/script/parse/v3-0/webhook/toWebhooksV3.d.ts.map +0 -1
- package/script/parse/v3-1/_helpers/parseDefault.d.ts.map +0 -1
- package/script/parse/v3-1/_helpers/parseEnum.d.ts.map +0 -1
- package/script/parse/v3-1/_helpers/parseExample.d.ts.map +0 -1
- package/script/parse/v3-1/_helpers/parseNullable.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/cross-product.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/is-equal.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-required.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/types.d.ts.map +0 -1
- package/script/parse/v3-1/array/toArray.d.ts.map +0 -1
- package/script/parse/v3-1/boolean/toBoolean.d.ts.map +0 -1
- package/script/parse/v3-1/components/toComponentsV3.d.ts.map +0 -1
- package/script/parse/v3-1/contact/toContactV3.d.ts.map +0 -1
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/script/parse/v3-1/example/toExamplesV3.d.ts.map +0 -1
- package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/script/parse/v3-1/header/toHeadersV3.d.ts.map +0 -1
- package/script/parse/v3-1/info/toInfoV3.d.ts.map +0 -1
- package/script/parse/v3-1/integer/toInteger.d.ts.map +0 -1
- package/script/parse/v3-1/license/toLicenseV3.d.ts.map +0 -1
- package/script/parse/v3-1/link/toLinksV3.d.ts.map +0 -1
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/script/parse/v3-1/number/toNumber.d.ts.map +0 -1
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/script/parse/v3-1/object/toObject.d.ts.map +0 -1
- package/script/parse/v3-1/operation/toOperationsV3.d.ts.map +0 -1
- package/script/parse/v3-1/parameter/toParameterV3.d.ts.map +0 -1
- package/script/parse/v3-1/pathItem/toPathItemV3.d.ts.map +0 -1
- package/script/parse/v3-1/ref/toRefV31.d.ts.map +0 -1
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/script/parse/v3-1/response/toResponseV3.d.ts.map +0 -1
- package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +0 -1
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/script/parse/v3-1/server/toServerV3.d.ts.map +0 -1
- package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/script/parse/v3-1/string/toString.d.ts.map +0 -1
- package/script/parse/v3-1/tag/toTagsV3.d.ts.map +0 -1
- package/script/parse/v3-1/union/toUnion.d.ts.map +0 -1
- package/script/parse/v3-1/unknown/toUnknown.d.ts.map +0 -1
- package/script/parse/v3-1/webhook/toWebhooksV3.d.ts.map +0 -1
- package/script/run/toArtifacts.d.ts.map +0 -1
- package/script/run/toEnrichmentDefaults.d.ts.map +0 -1
- package/script/run/toInspection.d.ts.map +0 -1
- package/script/run/toSupportedSubjects.d.ts.map +0 -1
- package/script/types/AttributionState.d.ts.map +0 -1
- package/script/types/Brand.d.ts.map +0 -1
- package/script/types/DenoJson.d.ts.map +0 -1
- package/script/types/EnrichmentDefaults.d.ts.map +0 -1
- package/script/types/EnrichmentRequest.d.ts.map +0 -1
- package/script/types/Enrichments.d.ts.map +0 -1
- package/script/types/GeneratorType.d.ts.map +0 -1
- package/script/types/JsonPointer.d.ts.map +0 -1
- package/script/types/Logger.d.ts.map +0 -1
- package/script/types/Manifest.d.ts.map +0 -1
- package/script/types/Method.d.ts.map +0 -1
- package/script/types/Modifiers.d.ts.map +0 -1
- package/script/types/ModuleExport.d.ts.map +0 -1
- package/script/types/ModuleSelect.d.ts.map +0 -1
- package/script/types/OasBase.d.ts.map +0 -1
- package/script/types/Preview.d.ts.map +0 -1
- package/script/types/RefName.d.ts.map +0 -1
- package/script/types/Results.d.ts.map +0 -1
- package/script/types/SchemaPath.d.ts.map +0 -1
- package/script/types/Settings.d.ts.map +0 -1
- package/script/types/SkmtcDocument.d.ts.map +0 -1
- package/script/types/SupportedSubjects.d.ts.map +0 -1
- package/script/types/TypeSystem.d.ts.map +0 -1
- package/script/types/Variant.d.ts.map +0 -1
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
3
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
var _OasOperationDriver_into;
|
|
2
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
18
|
exports.OasOperationDriver = void 0;
|
|
4
19
|
const normalize_js_1 = require("../../../deps/jsr.io/@std/path/1.1.6/normalize.js");
|
|
20
|
+
const tiny_invariant_1 = __importDefault(require("tiny-invariant"));
|
|
5
21
|
const GeneratorKeys_js_1 = require("../../GeneratorKeys.js");
|
|
6
22
|
const Variant_js_1 = require("../../../types/Variant.js");
|
|
23
|
+
const ProjectionOptions_js_1 = require("../../../types/ProjectionOptions.js");
|
|
24
|
+
const isEqual_js_1 = __importDefault(require("lodash-es/isEqual.js"));
|
|
7
25
|
/**
|
|
8
26
|
* Driver for the OAS operation insertion lifecycle.
|
|
9
27
|
*
|
|
@@ -14,7 +32,7 @@ const Variant_js_1 = require("../../../types/Variant.js");
|
|
|
14
32
|
* from the projection's `exportPath`.
|
|
15
33
|
*/
|
|
16
34
|
class OasOperationDriver {
|
|
17
|
-
constructor(
|
|
35
|
+
constructor(args) {
|
|
18
36
|
Object.defineProperty(this, "context", {
|
|
19
37
|
enumerable: true,
|
|
20
38
|
configurable: true,
|
|
@@ -63,12 +81,26 @@ class OasOperationDriver {
|
|
|
63
81
|
writable: true,
|
|
64
82
|
value: void 0
|
|
65
83
|
});
|
|
84
|
+
/** The caller's options, as passed to `insertOperation`. */
|
|
85
|
+
Object.defineProperty(this, "options", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
configurable: true,
|
|
88
|
+
writable: true,
|
|
89
|
+
value: void 0
|
|
90
|
+
});
|
|
91
|
+
/**
|
|
92
|
+
* The definition this projection's own definition goes inside, when it
|
|
93
|
+
* declared one — its name, which is how a place is addressed.
|
|
94
|
+
*/
|
|
95
|
+
_OasOperationDriver_into.set(this, void 0);
|
|
96
|
+
const { context, projection, operation, destinationPath, noExport = false, variant = Variant_js_1.DEFAULT_VARIANT } = args;
|
|
66
97
|
this.context = context;
|
|
67
98
|
this.projection = projection;
|
|
68
99
|
this.operation = operation;
|
|
69
100
|
this.destinationPath = destinationPath;
|
|
70
101
|
this.noExport = noExport;
|
|
71
102
|
this.variant = variant;
|
|
103
|
+
this.options = (0, ProjectionOptions_js_1.readProjectionOptions)(args);
|
|
72
104
|
assertPeerVariantExists({
|
|
73
105
|
context,
|
|
74
106
|
generatorId: projection.id,
|
|
@@ -76,27 +108,61 @@ class OasOperationDriver {
|
|
|
76
108
|
variant
|
|
77
109
|
});
|
|
78
110
|
assertPeerSupported({ context, projection, operation, variant });
|
|
111
|
+
// A member's place is declared on the projection, like its name and its
|
|
112
|
+
// file are. The container is inserted the same way anything else is —
|
|
113
|
+
// its own run of this Driver, with its own identity, cache probe and
|
|
114
|
+
// integrity check — so nothing about placing a definition is written
|
|
115
|
+
// twice. Resolved before the member's settings, which take its file.
|
|
116
|
+
const container = projection.toContainer?.({
|
|
117
|
+
operation,
|
|
118
|
+
enrichments: projection.toEnrichments({ operation, context, variant }),
|
|
119
|
+
variant,
|
|
120
|
+
options: this.options
|
|
121
|
+
});
|
|
122
|
+
const insertedContainer = container
|
|
123
|
+
? this.context.insertOperation({ projection: container, operation, variant })
|
|
124
|
+
: undefined;
|
|
125
|
+
__classPrivateFieldSet(this, _OasOperationDriver_into, insertedContainer?.settings.identifier.name, "f");
|
|
79
126
|
this.settings = this.context.toOperationContentSettings({
|
|
80
127
|
operation,
|
|
81
128
|
projection,
|
|
82
|
-
variant
|
|
129
|
+
variant,
|
|
130
|
+
options: this.options,
|
|
131
|
+
// Same reason as the register/findDefinition spreads: a projection with
|
|
132
|
+
// no container is asked for its settings exactly as it always was.
|
|
133
|
+
...(insertedContainer !== undefined
|
|
134
|
+
? { exportPath: insertedContainer.settings.exportPath }
|
|
135
|
+
: {})
|
|
83
136
|
});
|
|
84
137
|
this.definition = this.apply({ destinationPath });
|
|
85
138
|
}
|
|
86
139
|
apply({ destinationPath } = {}) {
|
|
87
140
|
const { identifier, exportPath } = this.settings;
|
|
141
|
+
// The file an import has to be stitched into, or `undefined` when there
|
|
142
|
+
// is none to stitch — no destination, or the projection's own file.
|
|
143
|
+
const importInto = destinationPath && (0, normalize_js_1.normalize)(exportPath) !== (0, normalize_js_1.normalize)(destinationPath)
|
|
144
|
+
? destinationPath
|
|
145
|
+
: undefined;
|
|
146
|
+
// A member is declared inside its container, so it has no module-level
|
|
147
|
+
// name — an import of it would name a symbol its file never exports, and
|
|
148
|
+
// the `Inserted.toName()` handed back would be unresolvable. What a caller
|
|
149
|
+
// in another file wants is the container, which it can insert itself.
|
|
150
|
+
// Only the cross-file case is refused: a member inserted into the file its
|
|
151
|
+
// container already lives in stitches no import and needs no name.
|
|
152
|
+
(0, tiny_invariant_1.default)(!(__classPrivateFieldGet(this, _OasOperationDriver_into, "f") !== undefined && importInto !== undefined), `'${identifier.name}' is declared inside '${__classPrivateFieldGet(this, _OasOperationDriver_into, "f")}', so it cannot be ` +
|
|
153
|
+
`imported into '${destinationPath}'. Insert its container instead.`);
|
|
88
154
|
const definition = this.getDefinition({ identifier, exportPath });
|
|
89
|
-
if (
|
|
155
|
+
if (importInto !== undefined) {
|
|
90
156
|
// Cross-file import of the peer's identifier from its export path.
|
|
91
157
|
// The language builds the import object (`toImport`) and creates the
|
|
92
158
|
// destination file on first write (caller-side); the engine stores
|
|
93
159
|
// via the pure-data `context.register`. The import lands in the
|
|
94
160
|
// caller's file (`destinationPath`); `insertOperation` only composes
|
|
95
161
|
// same-language generators, so the peer's `lang` is the caller's.
|
|
96
|
-
this.ensureFile(
|
|
162
|
+
this.ensureFile(importInto);
|
|
97
163
|
this.context.register({
|
|
98
164
|
imports: [this.projection.lang.toImport({ identifier, module: exportPath })],
|
|
99
|
-
destinationPath
|
|
165
|
+
destinationPath: importInto
|
|
100
166
|
});
|
|
101
167
|
}
|
|
102
168
|
return definition;
|
|
@@ -115,9 +181,19 @@ class OasOperationDriver {
|
|
|
115
181
|
return normalizedPath;
|
|
116
182
|
}
|
|
117
183
|
getDefinition({ identifier, exportPath }) {
|
|
184
|
+
// A member's place is its container, resolved (and created, on the first
|
|
185
|
+
// member) before the member itself — `register` stores, it never builds
|
|
186
|
+
// a declaration, exactly as it never builds a file.
|
|
187
|
+
// Presence, not truthiness: a container whose identifier name is empty
|
|
188
|
+
// would otherwise route the member to file level, silently landing it
|
|
189
|
+
// beside its container instead of inside it.
|
|
190
|
+
const into = __classPrivateFieldGet(this, _OasOperationDriver_into, "f");
|
|
191
|
+
// Spread rather than always-pass: a non-member's call shape is exactly
|
|
192
|
+
// what it was, so nothing downstream sees a key it never had.
|
|
118
193
|
const cachedDefinition = this.context.findDefinition({
|
|
119
194
|
name: identifier.name,
|
|
120
|
-
exportPath
|
|
195
|
+
exportPath,
|
|
196
|
+
...(into !== undefined ? { into } : {})
|
|
121
197
|
});
|
|
122
198
|
if (this.affirmDefinition(cachedDefinition, exportPath)) {
|
|
123
199
|
return cachedDefinition;
|
|
@@ -125,7 +201,8 @@ class OasOperationDriver {
|
|
|
125
201
|
const value = new this.projection({
|
|
126
202
|
context: this.context,
|
|
127
203
|
operation: this.operation,
|
|
128
|
-
settings: this.settings
|
|
204
|
+
settings: this.settings,
|
|
205
|
+
options: this.options
|
|
129
206
|
});
|
|
130
207
|
const definition = this.projection.lang.toDefinition({
|
|
131
208
|
context: this.context,
|
|
@@ -136,7 +213,8 @@ class OasOperationDriver {
|
|
|
136
213
|
this.ensureFile(exportPath);
|
|
137
214
|
this.context.register({
|
|
138
215
|
definitions: [definition],
|
|
139
|
-
destinationPath: exportPath
|
|
216
|
+
destinationPath: exportPath,
|
|
217
|
+
...(into !== undefined ? { into } : {})
|
|
140
218
|
});
|
|
141
219
|
return definition;
|
|
142
220
|
}
|
|
@@ -144,18 +222,32 @@ class OasOperationDriver {
|
|
|
144
222
|
if (!definition) {
|
|
145
223
|
return false;
|
|
146
224
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
225
|
+
// The projection knows how its own key is made — a subject's projection
|
|
226
|
+
// keys on its subject, a container on the group its members share. A
|
|
227
|
+
// hand-rolled projection that declares neither is keyed on its subject.
|
|
228
|
+
const currentKey = this.projection.toGeneratorKey?.({ operation: this.operation, settings: this.settings }) ??
|
|
229
|
+
(0, GeneratorKeys_js_1.toOasOperationGeneratorKey)({
|
|
230
|
+
generatorId: this.projection.id,
|
|
231
|
+
operation: this.operation,
|
|
232
|
+
variant: this.settings.variant
|
|
233
|
+
});
|
|
152
234
|
if (currentKey !== definition.generatorKey) {
|
|
153
235
|
throw new Error(`Registered definition mismatch: '${definition.identifier.name}' in file '${exportPath}'. Cached key '${definition.generatorKey}' does not match new key '${currentKey}'`);
|
|
154
236
|
}
|
|
155
|
-
|
|
237
|
+
if (!(definition.value instanceof this.projection)) {
|
|
238
|
+
return false;
|
|
239
|
+
}
|
|
240
|
+
// Options are identity, like the variant, but cannot ride the key: a hit
|
|
241
|
+
// is checked against the options its value was built with.
|
|
242
|
+
const cachedOptions = (0, ProjectionOptions_js_1.toValueOptions)(definition.value);
|
|
243
|
+
if (!(0, isEqual_js_1.default)(cachedOptions, this.options)) {
|
|
244
|
+
throw new Error(`Registered definition mismatch: '${definition.identifier.name}' in file '${exportPath}'. Cached options ${JSON.stringify(cachedOptions)} do not match new options ${JSON.stringify(this.options)}. Fold options into toIdentifierName.`);
|
|
245
|
+
}
|
|
246
|
+
return true;
|
|
156
247
|
}
|
|
157
248
|
}
|
|
158
249
|
exports.OasOperationDriver = OasOperationDriver;
|
|
250
|
+
_OasOperationDriver_into = new WeakMap();
|
|
159
251
|
/**
|
|
160
252
|
* Guard the peer-variant-mismatch invariant.
|
|
161
253
|
*
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import type * as v from 'valibot';
|
|
2
|
+
import type { OasOperation } from '../../../oas/operation/Operation.js';
|
|
3
|
+
import type { GenerateContextType } from '../../../context/generateTypes.js';
|
|
4
|
+
import type { ContentSettings } from '../../ContentSettings.js';
|
|
5
|
+
import type { DefinitionBase } from '../../Definition.js';
|
|
6
|
+
import type { FindDefinitionsQuery } from '../../CodeFileBase.js';
|
|
7
|
+
import type { IdentifierType } from '../../IdentifierType.js';
|
|
8
|
+
import type { LangSnippetConstructor } from '../../Lang.js';
|
|
9
|
+
import type { GeneratorKey } from '../../GeneratorKeys.js';
|
|
10
|
+
import type { IsSupportedOasOperationArgs, ToGeneratorKeyArgs, ToOasOperationGroupNameArgs, ToOasOperationEnrichmentsArgs, ToOasOperationExportPathArgs, ToOasOperationIdentifierNameArgs } from './types.js';
|
|
11
|
+
/**
|
|
12
|
+
* Configuration for {@link toOasOperationContainerBase}.
|
|
13
|
+
*
|
|
14
|
+
* The identity half is an operation projection's: `toIdentifierName` and
|
|
15
|
+
* `toExportPath` are pure functions of `(operation, enrichments, variant)`,
|
|
16
|
+
* resolved before construction so the cache probe stays cheap. What differs
|
|
17
|
+
* is that they are expected to be functions of the operation's GROUP — its
|
|
18
|
+
* tag, its file — so every operation in the group resolves to one
|
|
19
|
+
* declaration. Nothing enforces that; an identity that varies per operation
|
|
20
|
+
* simply yields one container per operation, visible in the output.
|
|
21
|
+
*
|
|
22
|
+
* Enrichments are read exactly as an operation projection's are, from the
|
|
23
|
+
* operation inserting into the container.
|
|
24
|
+
*/
|
|
25
|
+
export type OasOperationContainerBaseConfig<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType> = {
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The group this container collects — the operation's tag, its module,
|
|
29
|
+
* whatever the generator gathers subjects by. Pure, and a function of the
|
|
30
|
+
* subject like its identity siblings, so every member of a group computes
|
|
31
|
+
* the same one.
|
|
32
|
+
*
|
|
33
|
+
* It is what the container's key is made of. Deriving the key from the
|
|
34
|
+
* group rather than from where the container lands keeps it saying what
|
|
35
|
+
* the definition is rather than where it sits, and keeps it stable when a
|
|
36
|
+
* generator changes its naming or file policy.
|
|
37
|
+
*/
|
|
38
|
+
toGroupName: (args: ToOasOperationGroupNameArgs<EnrichmentType>) => string;
|
|
39
|
+
/** Pure: the cache-key name, a function of the operation's group. */
|
|
40
|
+
toIdentifierName: (args: ToOasOperationIdentifierNameArgs<EnrichmentType>) => string;
|
|
41
|
+
/** Runs only on cache-miss. Returns this language's identifier type. */
|
|
42
|
+
toIdentifierType: (operation: OasOperation, context: GenerateContextType) => IdType;
|
|
43
|
+
/** Pure: the file the container is declared in. */
|
|
44
|
+
toExportPath: (args: ToOasOperationExportPathArgs<EnrichmentType>) => string;
|
|
45
|
+
/** The generator's composite `{ subject, generator, stack }` schema. */
|
|
46
|
+
toEnrichmentSchema: () => v.GenericSchema<EnrichmentType>;
|
|
47
|
+
isSupported?: (args: IsSupportedOasOperationArgs) => boolean;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Arguments every container projection's constructor receives — the same
|
|
51
|
+
* shape an operation projection gets, from the operation that reached the
|
|
52
|
+
* container first.
|
|
53
|
+
*/
|
|
54
|
+
export type OasOperationContainerConstructorArgs<EnrichmentType = undefined> = {
|
|
55
|
+
context: GenerateContextType;
|
|
56
|
+
operation: OasOperation;
|
|
57
|
+
settings: ContentSettings<EnrichmentType>;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Build a base class for a declaration that HOLDS definitions — a Kotlin
|
|
61
|
+
* interface body, a C# class body — rather than one that is a subject's
|
|
62
|
+
* artifact.
|
|
63
|
+
*
|
|
64
|
+
* Two things separate it from {@link import('./toOasOperationProjectionBase.ts').toOasOperationProjectionBase}:
|
|
65
|
+
*
|
|
66
|
+
* The value carries a {@link toContainerGeneratorKey} rather than the
|
|
67
|
+
* operation's own. A subject-derived key is what makes many operations
|
|
68
|
+
* resolving to one definition fail the integrity check on the second of
|
|
69
|
+
* them; an identity-derived one is computed identically by every member,
|
|
70
|
+
* while still carrying the `generatorId` that stops another generator
|
|
71
|
+
* claiming the declaration.
|
|
72
|
+
*
|
|
73
|
+
* And it implements the member store, so the engine can insert into it —
|
|
74
|
+
* which is also what makes the class assignable where a container is asked
|
|
75
|
+
* for, with nothing to declare. The subclass renders those members; where
|
|
76
|
+
* they sit in the declaration, and at what indentation, is the language's
|
|
77
|
+
* business, not the engine's.
|
|
78
|
+
*/
|
|
79
|
+
export declare const toOasOperationContainerBase: <EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType>(base: LangSnippetConstructor, config: OasOperationContainerBaseConfig<EnrichmentType, IdType>) => {
|
|
80
|
+
new (args: OasOperationContainerConstructorArgs<EnrichmentType>): {
|
|
81
|
+
settings: ContentSettings<EnrichmentType>;
|
|
82
|
+
operation: OasOperation;
|
|
83
|
+
/**
|
|
84
|
+
* The members inserted into this declaration, in arrival order — which
|
|
85
|
+
* is the engine's sweep order, so it is stable across runs.
|
|
86
|
+
*/
|
|
87
|
+
definitions: DefinitionBase[];
|
|
88
|
+
/**
|
|
89
|
+
* {@link import('@/dsl/DefinitionContainer.ts').DefinitionContainer}
|
|
90
|
+
*
|
|
91
|
+
* Re-adding a member already present is a no-op, keyed the way a file
|
|
92
|
+
* keys its own duplication rule
|
|
93
|
+
* ({@link import('@/dsl/IdentifierBase.ts').IdentifierBase.declarationKey}).
|
|
94
|
+
* Without it a container and a file disagree about duplicates, and a
|
|
95
|
+
* second registration of one member renders it twice.
|
|
96
|
+
*/
|
|
97
|
+
addDefinition(definition: DefinitionBase): void;
|
|
98
|
+
/**
|
|
99
|
+
* {@link import('@/dsl/DefinitionContainer.ts').DefinitionContainer}
|
|
100
|
+
*
|
|
101
|
+
* `name` only. A declaration's `type` is the language's, readable just
|
|
102
|
+
* from its own identifier subclass, which core cannot name — so the
|
|
103
|
+
* extractor here always answers `undefined` and a `type` filter would
|
|
104
|
+
* silently match nothing. A language veneer that narrows the identifier
|
|
105
|
+
* should override this to answer both, the way its file class does.
|
|
106
|
+
*/
|
|
107
|
+
findDefinitions(query?: FindDefinitionsQuery): DefinitionBase[] | undefined;
|
|
108
|
+
context: GenerateContextType;
|
|
109
|
+
skipped: boolean;
|
|
110
|
+
generatorKey: GeneratorKey | undefined;
|
|
111
|
+
stackTrail: import("../../../mod.js").StackTrail;
|
|
112
|
+
};
|
|
113
|
+
id: string;
|
|
114
|
+
type: "oasOperation";
|
|
115
|
+
toGroupName: (args: ToOasOperationGroupNameArgs<EnrichmentType>) => string;
|
|
116
|
+
/**
|
|
117
|
+
* Keyed on the group, so every member of it computes the same key.
|
|
118
|
+
*
|
|
119
|
+
* A method rather than a field, and reading `toGroupName` through
|
|
120
|
+
* `this`: a subclass overriding the group — the normal way a cloned
|
|
121
|
+
* generator adjusts one policy — must change the key the container is
|
|
122
|
+
* stored under, not just what callers are told.
|
|
123
|
+
*/
|
|
124
|
+
toGeneratorKey({ operation, settings }: ToGeneratorKeyArgs<EnrichmentType>): GeneratorKey;
|
|
125
|
+
toIdentifierName: (args: ToOasOperationIdentifierNameArgs<EnrichmentType>) => string;
|
|
126
|
+
toIdentifierType: (operation: OasOperation, context: GenerateContextType) => IdType;
|
|
127
|
+
toExportPath: (args: ToOasOperationExportPathArgs<EnrichmentType>) => string;
|
|
128
|
+
isSupported: (args: IsSupportedOasOperationArgs) => boolean;
|
|
129
|
+
toEnrichments: ({ operation, context, variant }: ToOasOperationEnrichmentsArgs) => EnrichmentType;
|
|
130
|
+
lang: import("../../Lang.js").Lang;
|
|
131
|
+
};
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toOasOperationContainerBase = void 0;
|
|
4
|
+
const GeneratorKeys_js_1 = require("../../GeneratorKeys.js");
|
|
5
|
+
const Variant_js_1 = require("../../../types/Variant.js");
|
|
6
|
+
const parseEnrichmentUmbrella_js_1 = require("../../../enrichments/parseEnrichmentUmbrella.js");
|
|
7
|
+
const CodeFileBase_js_1 = require("../../CodeFileBase.js");
|
|
8
|
+
/**
|
|
9
|
+
* Build a base class for a declaration that HOLDS definitions — a Kotlin
|
|
10
|
+
* interface body, a C# class body — rather than one that is a subject's
|
|
11
|
+
* artifact.
|
|
12
|
+
*
|
|
13
|
+
* Two things separate it from {@link import('./toOasOperationProjectionBase.ts').toOasOperationProjectionBase}:
|
|
14
|
+
*
|
|
15
|
+
* The value carries a {@link toContainerGeneratorKey} rather than the
|
|
16
|
+
* operation's own. A subject-derived key is what makes many operations
|
|
17
|
+
* resolving to one definition fail the integrity check on the second of
|
|
18
|
+
* them; an identity-derived one is computed identically by every member,
|
|
19
|
+
* while still carrying the `generatorId` that stops another generator
|
|
20
|
+
* claiming the declaration.
|
|
21
|
+
*
|
|
22
|
+
* And it implements the member store, so the engine can insert into it —
|
|
23
|
+
* which is also what makes the class assignable where a container is asked
|
|
24
|
+
* for, with nothing to declare. The subclass renders those members; where
|
|
25
|
+
* they sit in the declaration, and at what indentation, is the language's
|
|
26
|
+
* business, not the engine's.
|
|
27
|
+
*/
|
|
28
|
+
const toOasOperationContainerBase = (base, config) => {
|
|
29
|
+
var _a;
|
|
30
|
+
return _a = class extends base {
|
|
31
|
+
/**
|
|
32
|
+
* Keyed on the group, so every member of it computes the same key.
|
|
33
|
+
*
|
|
34
|
+
* A method rather than a field, and reading `toGroupName` through
|
|
35
|
+
* `this`: a subclass overriding the group — the normal way a cloned
|
|
36
|
+
* generator adjusts one policy — must change the key the container is
|
|
37
|
+
* stored under, not just what callers are told.
|
|
38
|
+
*/
|
|
39
|
+
static toGeneratorKey({ operation, settings }) {
|
|
40
|
+
const variant = settings.variant ?? Variant_js_1.DEFAULT_VARIANT;
|
|
41
|
+
return (0, GeneratorKeys_js_1.toContainerGeneratorKey)({
|
|
42
|
+
generatorId: config.id,
|
|
43
|
+
group: this.toGroupName({ operation, enrichments: settings.enrichments, variant }),
|
|
44
|
+
name: settings.identifier.name,
|
|
45
|
+
variant
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
constructor(args) {
|
|
49
|
+
super({
|
|
50
|
+
context: args.context,
|
|
51
|
+
// `new.target` is the most-derived class, so a subclass override of
|
|
52
|
+
// `toGroupName` reaches the key the value actually carries.
|
|
53
|
+
generatorKey: new.target.toGeneratorKey({
|
|
54
|
+
operation: args.operation,
|
|
55
|
+
settings: args.settings
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(this, "settings", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
configurable: true,
|
|
61
|
+
writable: true,
|
|
62
|
+
value: void 0
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(this, "operation", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
configurable: true,
|
|
67
|
+
writable: true,
|
|
68
|
+
value: void 0
|
|
69
|
+
});
|
|
70
|
+
/**
|
|
71
|
+
* The members inserted into this declaration, in arrival order — which
|
|
72
|
+
* is the engine's sweep order, so it is stable across runs.
|
|
73
|
+
*/
|
|
74
|
+
Object.defineProperty(this, "definitions", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
configurable: true,
|
|
77
|
+
writable: true,
|
|
78
|
+
value: []
|
|
79
|
+
});
|
|
80
|
+
this.operation = args.operation;
|
|
81
|
+
this.settings = args.settings;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* {@link import('@/dsl/DefinitionContainer.ts').DefinitionContainer}
|
|
85
|
+
*
|
|
86
|
+
* Re-adding a member already present is a no-op, keyed the way a file
|
|
87
|
+
* keys its own duplication rule
|
|
88
|
+
* ({@link import('@/dsl/IdentifierBase.ts').IdentifierBase.declarationKey}).
|
|
89
|
+
* Without it a container and a file disagree about duplicates, and a
|
|
90
|
+
* second registration of one member renders it twice.
|
|
91
|
+
*/
|
|
92
|
+
addDefinition(definition) {
|
|
93
|
+
const key = definition.identifier.declarationKey();
|
|
94
|
+
if (this.definitions.some(member => member.identifier.declarationKey() === key)) {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
this.definitions.push(definition);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* {@link import('@/dsl/DefinitionContainer.ts').DefinitionContainer}
|
|
101
|
+
*
|
|
102
|
+
* `name` only. A declaration's `type` is the language's, readable just
|
|
103
|
+
* from its own identifier subclass, which core cannot name — so the
|
|
104
|
+
* extractor here always answers `undefined` and a `type` filter would
|
|
105
|
+
* silently match nothing. A language veneer that narrows the identifier
|
|
106
|
+
* should override this to answer both, the way its file class does.
|
|
107
|
+
*/
|
|
108
|
+
findDefinitions(query) {
|
|
109
|
+
return (0, CodeFileBase_js_1.matchDefinitions)(this.definitions, query, () => undefined);
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
Object.defineProperty(_a, "id", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
configurable: true,
|
|
115
|
+
writable: true,
|
|
116
|
+
value: config.id
|
|
117
|
+
}),
|
|
118
|
+
Object.defineProperty(_a, "type", {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
configurable: true,
|
|
121
|
+
writable: true,
|
|
122
|
+
value: 'oasOperation'
|
|
123
|
+
}),
|
|
124
|
+
Object.defineProperty(_a, "toGroupName", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
configurable: true,
|
|
127
|
+
writable: true,
|
|
128
|
+
value: config.toGroupName.bind(config)
|
|
129
|
+
}),
|
|
130
|
+
Object.defineProperty(_a, "toIdentifierName", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
configurable: true,
|
|
133
|
+
writable: true,
|
|
134
|
+
value: config.toIdentifierName.bind(config)
|
|
135
|
+
}),
|
|
136
|
+
Object.defineProperty(_a, "toIdentifierType", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
configurable: true,
|
|
139
|
+
writable: true,
|
|
140
|
+
value: config.toIdentifierType.bind(config)
|
|
141
|
+
}),
|
|
142
|
+
Object.defineProperty(_a, "toExportPath", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
configurable: true,
|
|
145
|
+
writable: true,
|
|
146
|
+
value: config.toExportPath.bind(config)
|
|
147
|
+
}),
|
|
148
|
+
Object.defineProperty(_a, "isSupported", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
configurable: true,
|
|
151
|
+
writable: true,
|
|
152
|
+
value: config.isSupported ?? (() => true)
|
|
153
|
+
}),
|
|
154
|
+
Object.defineProperty(_a, "toEnrichments", {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
configurable: true,
|
|
157
|
+
writable: true,
|
|
158
|
+
value: ({ operation, context, variant }) => {
|
|
159
|
+
return (0, parseEnrichmentUmbrella_js_1.parseEnrichmentUmbrella)({
|
|
160
|
+
context,
|
|
161
|
+
generatorId: config.id,
|
|
162
|
+
subjectSegments: [operation.path, operation.method, variant],
|
|
163
|
+
schema: config.toEnrichmentSchema()
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
}),
|
|
167
|
+
_a;
|
|
168
|
+
};
|
|
169
|
+
exports.toOasOperationContainerBase = toOasOperationContainerBase;
|
|
@@ -71,4 +71,3 @@ export type OasOperationEntry<EnrichmentType = undefined> = {
|
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
73
|
export declare const toOasOperationEntry: <EnrichmentType = undefined>({ id, transform, toEnrichmentSchema, isSupported, supportsVariant, toPreviewModule, toEnrichmentRequest, toEnrichmentDefaults }: ToOasOperationConfigArgs<EnrichmentType>) => OasOperationEntry<EnrichmentType>;
|
|
74
|
-
//# sourceMappingURL=toOasOperationEntry.d.ts.map
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import type { GeneratorKey } from '../../GeneratorKeys.js';
|
|
1
2
|
import type { GenerateContextType } from '../../../context/generateTypes.js';
|
|
2
|
-
import type {
|
|
3
|
+
import type { InsertNormalizedModelArgs, InsertNormalizedModelOptions, InsertNormalizedModelReturn } from '../../../context/generateTypes.js';
|
|
4
|
+
import { type ProjectionOptionsRest } from '../../../types/ProjectionOptions.js';
|
|
5
|
+
import { type PeerInsertOptions } from '../../../types/InsertOptions.js';
|
|
3
6
|
import type { OasOperation } from '../../../oas/operation/Operation.js';
|
|
4
7
|
import type { ContentSettings } from '../../ContentSettings.js';
|
|
5
8
|
import type { LangSnippetConstructor } from '../../Lang.js';
|
|
@@ -11,7 +14,7 @@ import type { RefName } from '../../../types/RefName.js';
|
|
|
11
14
|
import type { OasSchema } from '../../../oas/schema/Schema.js';
|
|
12
15
|
import type { OasRef } from '../../../oas/ref/Ref.js';
|
|
13
16
|
import type { OasVoid } from '../../../oas/void/Void.js';
|
|
14
|
-
import type { OasOperationProjection, OasOperationProjectionConstructorArgs, ToOasOperationIdentifierNameArgs, ToOasOperationExportPathArgs } from './types.js';
|
|
17
|
+
import type { OasOperationContainerProjection, ToGeneratorKeyArgs, OasOperationProjection, OasOperationProjectionConstructorArgs, ToOasOperationContainerArgs, ToOasOperationIdentifierNameArgs, ToOasOperationExportPathArgs } from './types.js';
|
|
15
18
|
import type * as v from 'valibot';
|
|
16
19
|
/**
|
|
17
20
|
* Configuration for {@link toOasOperationProjectionBase}.
|
|
@@ -21,10 +24,10 @@ import type * as v from 'valibot';
|
|
|
21
24
|
* `toIdentifierType`'s return tightens to that language's `type` vocabulary —
|
|
22
25
|
* no recast.
|
|
23
26
|
*/
|
|
24
|
-
export type OasOperationProjectionBaseConfig<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType> = {
|
|
27
|
+
export type OasOperationProjectionBaseConfig<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined> = {
|
|
25
28
|
id: string;
|
|
26
29
|
/** Pure: the cache-key name (the cache-check path runs this). */
|
|
27
|
-
toIdentifierName: (args: ToOasOperationIdentifierNameArgs<EnrichmentType>) => string;
|
|
30
|
+
toIdentifierName: (args: ToOasOperationIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
28
31
|
/**
|
|
29
32
|
* Context-aware, overridable: the non-`name` parts of the identifier,
|
|
30
33
|
* derived from the operation/schema. Runs only on cache-miss. Returns this
|
|
@@ -32,7 +35,22 @@ export type OasOperationProjectionBaseConfig<EnrichmentType = undefined, IdType
|
|
|
32
35
|
* default); the tightening rides the type argument.
|
|
33
36
|
*/
|
|
34
37
|
toIdentifierType: (operation: OasOperation, context: GenerateContextType) => IdType;
|
|
35
|
-
toExportPath: (args: ToOasOperationExportPathArgs<EnrichmentType>) => string;
|
|
38
|
+
toExportPath: (args: ToOasOperationExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
39
|
+
/**
|
|
40
|
+
* Declares this projection a MEMBER: its definition is inserted into the
|
|
41
|
+
* container this returns, rather than at file level.
|
|
42
|
+
*
|
|
43
|
+
* Shaped like its identity siblings, and run on the same cache-check path,
|
|
44
|
+
* so it must be pure. It returns the container class rather than naming
|
|
45
|
+
* one, which also defers the reference to call time — a module-level
|
|
46
|
+
* reference between a member and its container is one more way to build
|
|
47
|
+
* the load-order cycles a leaf module exists to break.
|
|
48
|
+
*
|
|
49
|
+
* A member's file is its container's, so `toExportPath` is not consulted
|
|
50
|
+
* when this is present. A container takes no caller options: the member's
|
|
51
|
+
* options may select the container class, never parameterise it.
|
|
52
|
+
*/
|
|
53
|
+
toContainer?: (args: ToOasOperationContainerArgs<EnrichmentType, ProjectionOptions>) => OasOperationContainerProjection;
|
|
36
54
|
/**
|
|
37
55
|
* Required composite schema for the `{ subject, generator, stack }`
|
|
38
56
|
* enrichment umbrella. Required (not optional) is load-bearing: it is what
|
|
@@ -87,47 +105,61 @@ type ToEnrichmentsArgs = {
|
|
|
87
105
|
* `OasOperationProjectionBase` lives here now, because the base class is no
|
|
88
106
|
* longer statically known.
|
|
89
107
|
*/
|
|
90
|
-
export declare const toOasOperationProjectionBase: <EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType>(base: LangSnippetConstructor, config: OasOperationProjectionBaseConfig<EnrichmentType, IdType>) => {
|
|
91
|
-
new (args: OasOperationProjectionConstructorArgs<EnrichmentType>): {
|
|
108
|
+
export declare const toOasOperationProjectionBase: <EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined>(base: LangSnippetConstructor, config: OasOperationProjectionBaseConfig<EnrichmentType, IdType, ProjectionOptions>) => {
|
|
109
|
+
new (args: OasOperationProjectionConstructorArgs<EnrichmentType, ProjectionOptions>): {
|
|
92
110
|
settings: ContentSettings<EnrichmentType>;
|
|
93
111
|
operation: OasOperation;
|
|
112
|
+
/** The caller's options. */
|
|
113
|
+
options: ProjectionOptions;
|
|
94
114
|
/**
|
|
95
115
|
* Insert a related operation. The inserted operation is exported to this
|
|
96
116
|
* projection's own `exportPath` unless `noExport` is set.
|
|
97
117
|
*
|
|
98
|
-
* Pass `{ variant }` to target a specific variant on the peer
|
|
99
|
-
* to
|
|
100
|
-
*
|
|
101
|
-
* the peer's `'main'` variant — the safe choice for variants-unaware
|
|
102
|
-
* peers and the standard pattern for cross-package composition.
|
|
118
|
+
* Pass `{ variant }` to target a specific variant on the peer; omitting
|
|
119
|
+
* it defaults to the peer's `'main'` variant. `{ options }` is required
|
|
120
|
+
* when the peer declares options and refused when it does not.
|
|
103
121
|
*/
|
|
104
|
-
insertOperation<V extends GeneratedValue, PeerEnrichmentType = undefined>(projection: OasOperationProjection<V, PeerEnrichmentType>, operation: OasOperation,
|
|
122
|
+
insertOperation<V extends GeneratedValue, PeerEnrichmentType = undefined, PeerProjectionOptions = undefined>(projection: OasOperationProjection<V, PeerEnrichmentType, PeerProjectionOptions>, operation: OasOperation, ...rest: ProjectionOptionsRest<PeerInsertOptions<PeerProjectionOptions>, PeerProjectionOptions>): Inserted<V, PeerEnrichmentType>;
|
|
105
123
|
/**
|
|
106
124
|
* Insert a related model into this projection's export file.
|
|
107
125
|
*
|
|
108
126
|
* Pass `{ variant }` to target a specific variant on the peer model
|
|
109
|
-
* projection
|
|
127
|
+
* projection; omitting it defaults to the peer's `'main'` variant.
|
|
128
|
+
* `{ options }` is required when the peer declares options and refused
|
|
129
|
+
* when it does not.
|
|
110
130
|
*/
|
|
111
|
-
insertModel<V extends GeneratedValue, PeerEnrichmentType_1 = undefined>(projection: ModelProjection<V, PeerEnrichmentType_1>, refName: RefName,
|
|
131
|
+
insertModel<V extends GeneratedValue, PeerEnrichmentType_1 = undefined, PeerProjectionOptions_1 = undefined>(projection: ModelProjection<V, PeerEnrichmentType_1, PeerProjectionOptions_1>, refName: RefName, ...rest: ProjectionOptionsRest<PeerInsertOptions<PeerProjectionOptions_1>, PeerProjectionOptions_1>): Inserted<V, PeerEnrichmentType_1>;
|
|
112
132
|
/**
|
|
113
133
|
* Insert a related model with reference normalization. Useful for inline
|
|
114
134
|
* request/response schemas where the schema may be either a `$ref` or a
|
|
115
135
|
* concrete object.
|
|
116
136
|
*
|
|
117
|
-
* `{ variant }`
|
|
118
|
-
* schemas, bake
|
|
137
|
+
* `{ variant }` and `{ options }` flow through the `$ref` branch only;
|
|
138
|
+
* for inline schemas, bake what distinguishes them into `fallbackName`.
|
|
119
139
|
*/
|
|
120
|
-
insertNormalizedModel<V extends GeneratedValue, Schema extends OasSchema | OasRef<"schema"> | OasVoid, PeerEnrichmentType_2 = undefined>(projection: NormalizedModelProjection<V, PeerEnrichmentType_2>, { schema, fallbackName }: Omit<InsertNormalizedModelArgs<Schema>, "destinationPath">,
|
|
140
|
+
insertNormalizedModel<V extends GeneratedValue, Schema extends OasSchema | OasRef<"schema"> | OasVoid, PeerEnrichmentType_2 = undefined, PeerProjectionOptions_2 = undefined>(projection: NormalizedModelProjection<V, PeerEnrichmentType_2, PeerProjectionOptions_2>, { schema, fallbackName }: Omit<InsertNormalizedModelArgs<Schema>, "destinationPath">, ...rest: ProjectionOptionsRest<InsertNormalizedModelOptions<PeerProjectionOptions_2>, PeerProjectionOptions_2>): InsertNormalizedModelReturn<V, Schema>;
|
|
121
141
|
context: GenerateContextType;
|
|
122
142
|
skipped: boolean;
|
|
123
|
-
generatorKey:
|
|
143
|
+
generatorKey: GeneratorKey | undefined;
|
|
124
144
|
stackTrail: import("../../../mod.js").StackTrail;
|
|
125
145
|
};
|
|
126
146
|
id: string;
|
|
147
|
+
/**
|
|
148
|
+
* How this projection's key is computed — read by the Driver so it can
|
|
149
|
+
* check a cache hit without knowing whether it holds a subject's
|
|
150
|
+
* projection or a container.
|
|
151
|
+
*
|
|
152
|
+
* A method rather than a field, and reading `id` through `this`, for the
|
|
153
|
+
* same reason the container reads its group that way: a subclass
|
|
154
|
+
* overriding the generator id must change the key its values are stored
|
|
155
|
+
* under, not just what callers are told.
|
|
156
|
+
*/
|
|
157
|
+
toGeneratorKey({ operation, settings }: ToGeneratorKeyArgs<EnrichmentType>): GeneratorKey;
|
|
127
158
|
type: "oasOperation";
|
|
128
|
-
toIdentifierName: (args: ToOasOperationIdentifierNameArgs<EnrichmentType>) => string;
|
|
159
|
+
toIdentifierName: (args: ToOasOperationIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
129
160
|
toIdentifierType: (operation: OasOperation, context: GenerateContextType) => IdType;
|
|
130
|
-
toExportPath: (args: ToOasOperationExportPathArgs<EnrichmentType>) => string;
|
|
161
|
+
toExportPath: (args: ToOasOperationExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
162
|
+
toContainer: ((args: ToOasOperationContainerArgs<EnrichmentType, ProjectionOptions>) => OasOperationContainerProjection) | undefined;
|
|
131
163
|
isSupported: (args: {
|
|
132
164
|
operation: OasOperation;
|
|
133
165
|
context: GenerateContextType;
|
|
@@ -142,4 +174,3 @@ export declare const toOasOperationProjectionBase: <EnrichmentType = undefined,
|
|
|
142
174
|
lang: import("../../Lang.js").Lang;
|
|
143
175
|
};
|
|
144
176
|
export {};
|
|
145
|
-
//# sourceMappingURL=toOasOperationProjectionBase.d.ts.map
|