@skmtc/core 0.28.5 → 0.28.6
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
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.toOasOperationProjectionBase = void 0;
|
|
4
4
|
const GeneratorKeys_js_1 = require("../../GeneratorKeys.js");
|
|
5
|
+
const ProjectionOptions_js_1 = require("../../../types/ProjectionOptions.js");
|
|
6
|
+
const InsertOptions_js_1 = require("../../../types/InsertOptions.js");
|
|
5
7
|
const Variant_js_1 = require("../../../types/Variant.js");
|
|
6
8
|
const parseEnrichmentUmbrella_js_1 = require("../../../enrichments/parseEnrichmentUmbrella.js");
|
|
7
9
|
/**
|
|
@@ -27,13 +29,31 @@ const parseEnrichmentUmbrella_js_1 = require("../../../enrichments/parseEnrichme
|
|
|
27
29
|
const toOasOperationProjectionBase = (base, config) => {
|
|
28
30
|
var _a;
|
|
29
31
|
return _a = class extends base {
|
|
32
|
+
/**
|
|
33
|
+
* How this projection's key is computed — read by the Driver so it can
|
|
34
|
+
* check a cache hit without knowing whether it holds a subject's
|
|
35
|
+
* projection or a container.
|
|
36
|
+
*
|
|
37
|
+
* A method rather than a field, and reading `id` through `this`, for the
|
|
38
|
+
* same reason the container reads its group that way: a subclass
|
|
39
|
+
* overriding the generator id must change the key its values are stored
|
|
40
|
+
* under, not just what callers are told.
|
|
41
|
+
*/
|
|
42
|
+
static toGeneratorKey({ operation, settings }) {
|
|
43
|
+
return (0, GeneratorKeys_js_1.toOasOperationGeneratorKey)({
|
|
44
|
+
generatorId: this.id,
|
|
45
|
+
operation,
|
|
46
|
+
variant: settings.variant ?? Variant_js_1.DEFAULT_VARIANT
|
|
47
|
+
});
|
|
48
|
+
}
|
|
30
49
|
constructor(args) {
|
|
31
50
|
super({
|
|
32
51
|
context: args.context,
|
|
33
|
-
|
|
34
|
-
|
|
52
|
+
// `new.target` is the most-derived class, so a subclass override of
|
|
53
|
+
// `id` reaches the key the value actually carries.
|
|
54
|
+
generatorKey: new.target.toGeneratorKey({
|
|
35
55
|
operation: args.operation,
|
|
36
|
-
|
|
56
|
+
settings: args.settings
|
|
37
57
|
})
|
|
38
58
|
});
|
|
39
59
|
Object.defineProperty(this, "settings", {
|
|
@@ -48,39 +68,45 @@ const toOasOperationProjectionBase = (base, config) => {
|
|
|
48
68
|
writable: true,
|
|
49
69
|
value: void 0
|
|
50
70
|
});
|
|
71
|
+
/** The caller's options. */
|
|
72
|
+
Object.defineProperty(this, "options", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
configurable: true,
|
|
75
|
+
writable: true,
|
|
76
|
+
value: void 0
|
|
77
|
+
});
|
|
51
78
|
this.operation = args.operation;
|
|
52
79
|
this.settings = args.settings;
|
|
80
|
+
this.options = (0, ProjectionOptions_js_1.readProjectionOptions)(args);
|
|
53
81
|
}
|
|
54
82
|
/**
|
|
55
83
|
* Insert a related operation. The inserted operation is exported to this
|
|
56
84
|
* projection's own `exportPath` unless `noExport` is set.
|
|
57
85
|
*
|
|
58
|
-
* Pass `{ variant }` to target a specific variant on the peer
|
|
59
|
-
* to
|
|
60
|
-
*
|
|
61
|
-
* the peer's `'main'` variant — the safe choice for variants-unaware
|
|
62
|
-
* peers and the standard pattern for cross-package composition.
|
|
86
|
+
* Pass `{ variant }` to target a specific variant on the peer; omitting
|
|
87
|
+
* it defaults to the peer's `'main'` variant. `{ options }` is required
|
|
88
|
+
* when the peer declares options and refused when it does not.
|
|
63
89
|
*/
|
|
64
|
-
insertOperation(projection, operation,
|
|
90
|
+
insertOperation(projection, operation, ...rest) {
|
|
65
91
|
return this.context.insertOperation({
|
|
66
92
|
projection,
|
|
67
93
|
operation,
|
|
68
94
|
destinationPath: this.settings.exportPath,
|
|
69
|
-
|
|
70
|
-
variant: options.variant
|
|
95
|
+
...(0, InsertOptions_js_1.toPeerInsertOptions)(rest)
|
|
71
96
|
});
|
|
72
97
|
}
|
|
73
98
|
/**
|
|
74
99
|
* Insert a related model into this projection's export file.
|
|
75
100
|
*
|
|
76
101
|
* Pass `{ variant }` to target a specific variant on the peer model
|
|
77
|
-
* projection
|
|
102
|
+
* projection; omitting it defaults to the peer's `'main'` variant.
|
|
103
|
+
* `{ options }` is required when the peer declares options and refused
|
|
104
|
+
* when it does not.
|
|
78
105
|
*/
|
|
79
|
-
insertModel(projection, refName,
|
|
106
|
+
insertModel(projection, refName, ...rest) {
|
|
80
107
|
return this.context.insertModel(projection, refName, {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
variant: options.variant
|
|
108
|
+
...(0, InsertOptions_js_1.toPeerInsertOptions)(rest),
|
|
109
|
+
destinationPath: this.settings.exportPath
|
|
84
110
|
});
|
|
85
111
|
}
|
|
86
112
|
/**
|
|
@@ -88,18 +114,15 @@ const toOasOperationProjectionBase = (base, config) => {
|
|
|
88
114
|
* request/response schemas where the schema may be either a `$ref` or a
|
|
89
115
|
* concrete object.
|
|
90
116
|
*
|
|
91
|
-
* `{ variant }`
|
|
92
|
-
* schemas, bake
|
|
117
|
+
* `{ variant }` and `{ options }` flow through the `$ref` branch only;
|
|
118
|
+
* for inline schemas, bake what distinguishes them into `fallbackName`.
|
|
93
119
|
*/
|
|
94
|
-
insertNormalizedModel(projection, { schema, fallbackName },
|
|
120
|
+
insertNormalizedModel(projection, { schema, fallbackName }, ...rest) {
|
|
95
121
|
return this.context.insertNormalizedModel(projection, {
|
|
96
122
|
schema,
|
|
97
123
|
fallbackName,
|
|
98
124
|
destinationPath: this.settings.exportPath
|
|
99
|
-
},
|
|
100
|
-
noExport: options.noExport,
|
|
101
|
-
variant: options.variant
|
|
102
|
-
});
|
|
125
|
+
}, ...rest);
|
|
103
126
|
}
|
|
104
127
|
},
|
|
105
128
|
Object.defineProperty(_a, "id", {
|
|
@@ -132,6 +155,12 @@ const toOasOperationProjectionBase = (base, config) => {
|
|
|
132
155
|
writable: true,
|
|
133
156
|
value: config.toExportPath.bind(config)
|
|
134
157
|
}),
|
|
158
|
+
Object.defineProperty(_a, "toContainer", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
configurable: true,
|
|
161
|
+
writable: true,
|
|
162
|
+
value: config.toContainer?.bind(config)
|
|
163
|
+
}),
|
|
135
164
|
Object.defineProperty(_a, "isSupported", {
|
|
136
165
|
enumerable: true,
|
|
137
166
|
configurable: true,
|
|
@@ -4,17 +4,20 @@ import type { ContentSettings } from '../../ContentSettings.js';
|
|
|
4
4
|
import type { GenerateContextType } from '../../../context/generateTypes.js';
|
|
5
5
|
import type { IdentifierType } from '../../IdentifierType.js';
|
|
6
6
|
import type { GeneratedValue } from '../../GeneratedValue.js';
|
|
7
|
+
import type { DefinitionContainer } from '../../DefinitionContainer.js';
|
|
8
|
+
import type { GeneratorKey } from '../../GeneratorKeys.js';
|
|
9
|
+
import type { ProjectionOptionsArg } from '../../../types/ProjectionOptions.js';
|
|
7
10
|
/**
|
|
8
11
|
* External constructor signature for an OAS operation projection class.
|
|
9
12
|
*
|
|
10
13
|
* The pipeline calls `new SomeProjection(args)` with this shape; the
|
|
11
14
|
* runtime base class injects `generatorKey` before calling `super()`.
|
|
12
15
|
*/
|
|
13
|
-
export type OasOperationProjectionConstructorArgs<EnrichmentType = undefined> = {
|
|
16
|
+
export type OasOperationProjectionConstructorArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
14
17
|
context: GenerateContextType;
|
|
15
18
|
settings: ContentSettings<EnrichmentType>;
|
|
16
19
|
operation: OasOperation;
|
|
17
|
-
}
|
|
20
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
18
21
|
export type TransformOasOperationArgs = {
|
|
19
22
|
context: GenerateContextType;
|
|
20
23
|
operation: OasOperation;
|
|
@@ -54,20 +57,66 @@ export type ToOasOperationMappingArgs = {
|
|
|
54
57
|
variant: string;
|
|
55
58
|
};
|
|
56
59
|
/**
|
|
57
|
-
* Arguments for an OAS operation projection's `toIdentifierName`
|
|
58
|
-
*
|
|
60
|
+
* Arguments for an OAS operation projection's `toIdentifierName`. Fold `options` into the name when the output
|
|
61
|
+
* depends on them: definitions are cached by name and export path.
|
|
59
62
|
*/
|
|
60
|
-
export type ToOasOperationIdentifierNameArgs<EnrichmentType = undefined> = {
|
|
63
|
+
export type ToOasOperationIdentifierNameArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
61
64
|
operation: OasOperation;
|
|
62
65
|
enrichments: EnrichmentType;
|
|
63
66
|
/** Operation variant the identifier should disambiguate (see {@link Variant}) */
|
|
64
67
|
variant: string;
|
|
68
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
69
|
+
/**
|
|
70
|
+
* Arguments for a projection's `toGeneratorKey` static. `settings` carries
|
|
71
|
+
* the identifier, enrichments and variant the key may be built from.
|
|
72
|
+
*/
|
|
73
|
+
export type ToGeneratorKeyArgs<EnrichmentType = undefined> = {
|
|
74
|
+
operation: OasOperation;
|
|
75
|
+
settings: ContentSettings<EnrichmentType>;
|
|
65
76
|
};
|
|
66
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Arguments for a container projection's `toGroupName` static — the same
|
|
79
|
+
* `(operation, enrichments, variant)` its identity siblings receive.
|
|
80
|
+
*/
|
|
81
|
+
export type ToOasOperationGroupNameArgs<EnrichmentType = undefined> = {
|
|
82
|
+
operation: OasOperation;
|
|
83
|
+
enrichments: EnrichmentType;
|
|
84
|
+
/** Variant the group belongs to (see {@link Variant}) */
|
|
85
|
+
variant: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Arguments for a member projection's `toContainer` static — the same
|
|
89
|
+
* `(operation, enrichments, variant)` its identity siblings receive, and run
|
|
90
|
+
* on the same cache-check path, so it must be pure and cheap.
|
|
91
|
+
*/
|
|
92
|
+
export type ToOasOperationContainerArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
93
|
+
operation: OasOperation;
|
|
94
|
+
enrichments: EnrichmentType;
|
|
95
|
+
/** Variant the placement should disambiguate (see {@link Variant}) */
|
|
96
|
+
variant: string;
|
|
97
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
98
|
+
export type ToOasOperationExportPathArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
67
99
|
operation: OasOperation;
|
|
68
100
|
enrichments: EnrichmentType;
|
|
69
101
|
/** Operation variant the export path should disambiguate (see {@link Variant}) */
|
|
70
102
|
variant: string;
|
|
103
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
104
|
+
/**
|
|
105
|
+
* Static structural type of a container projection class — a projection
|
|
106
|
+
* whose VALUE holds definitions.
|
|
107
|
+
*
|
|
108
|
+
* Nothing is declared: the constraint is the value's own type, so a
|
|
109
|
+
* projection whose value has no member store is not assignable here. That is
|
|
110
|
+
* the same contract a file satisfies
|
|
111
|
+
* ({@link import('@/dsl/DefinitionContainer.ts').DefinitionContainer}), which
|
|
112
|
+
* is what makes both of them places. A container takes no caller options:
|
|
113
|
+
* its identity is its group's, shared by every member.
|
|
114
|
+
*/
|
|
115
|
+
export type OasOperationContainerProjection<EnrichmentType = any> = OasOperationProjection<GeneratedValue & DefinitionContainer, EnrichmentType> & {
|
|
116
|
+
/** The group its members share — what its key is made of. */
|
|
117
|
+
toGroupName: (args: ToOasOperationGroupNameArgs<EnrichmentType>) => string;
|
|
118
|
+
/** Required here: a container is keyed on its group, never its subject. */
|
|
119
|
+
toGeneratorKey: (args: ToGeneratorKeyArgs<EnrichmentType>) => GeneratorKey;
|
|
71
120
|
};
|
|
72
121
|
/**
|
|
73
122
|
* Static structural type of an OAS operation projection class.
|
|
@@ -75,12 +124,13 @@ export type ToOasOperationExportPathArgs<EnrichmentType = undefined> = {
|
|
|
75
124
|
* Captures both the instance side (`new(...) => V`) and the static side
|
|
76
125
|
* (`id`, `toIdentifierName`, `toIdentifierType`, `toExportPath`,
|
|
77
126
|
* `toEnrichments`). Passed as a type parameter to
|
|
78
|
-
* `context.insertOperation(...)`.
|
|
127
|
+
* `context.insertOperation(...)`. `ProjectionOptions` is the caller options
|
|
128
|
+
* the class declares; the Drivers infer it from the constructor and statics.
|
|
79
129
|
*/
|
|
80
|
-
export type OasOperationProjection<V extends GeneratedValue, EnrichmentType = undefined> = {
|
|
130
|
+
export type OasOperationProjection<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
81
131
|
prototype: V;
|
|
82
132
|
} & {
|
|
83
|
-
new ({ context, settings, operation }: OasOperationProjectionConstructorArgs<EnrichmentType>): V;
|
|
133
|
+
new ({ context, settings, operation, options }: OasOperationProjectionConstructorArgs<EnrichmentType, ProjectionOptions>): V;
|
|
84
134
|
id: string;
|
|
85
135
|
type: 'oasOperation';
|
|
86
136
|
/**
|
|
@@ -91,7 +141,7 @@ export type OasOperationProjection<V extends GeneratedValue, EnrichmentType = un
|
|
|
91
141
|
*/
|
|
92
142
|
lang: Lang;
|
|
93
143
|
/** Pure: the cache-key name. */
|
|
94
|
-
toIdentifierName: (args: ToOasOperationIdentifierNameArgs<EnrichmentType>) => string;
|
|
144
|
+
toIdentifierName: (args: ToOasOperationIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
95
145
|
/**
|
|
96
146
|
* Context-aware, overridable: the non-`name` parts of the identifier,
|
|
97
147
|
* derived from the operation/schema. The engine assembles
|
|
@@ -99,7 +149,26 @@ export type OasOperationProjection<V extends GeneratedValue, EnrichmentType = un
|
|
|
99
149
|
* ...toIdentifierType(operation, context) })`.
|
|
100
150
|
*/
|
|
101
151
|
toIdentifierType: (operation: OasOperation, context: GenerateContextType) => IdentifierType;
|
|
102
|
-
toExportPath: (args: ToOasOperationExportPathArgs<EnrichmentType>) => string;
|
|
152
|
+
toExportPath: (args: ToOasOperationExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
153
|
+
/**
|
|
154
|
+
* How this projection's key is computed. A subject's projection keys on
|
|
155
|
+
* its subject; a container keys on the group its members share. The Driver
|
|
156
|
+
* reads it rather than branching on which kind it holds.
|
|
157
|
+
*
|
|
158
|
+
* Optional, like {@link isSupported}: a hand-rolled projection may omit it
|
|
159
|
+
* and is keyed on its subject, which is what every projection did before
|
|
160
|
+
* containers existed.
|
|
161
|
+
*/
|
|
162
|
+
toGeneratorKey?: (args: ToGeneratorKeyArgs<EnrichmentType>) => GeneratorKey;
|
|
163
|
+
/**
|
|
164
|
+
* The declaration this projection's definition is inserted into, rather
|
|
165
|
+
* than the file. Absent for a top-level definition — the common case.
|
|
166
|
+
*
|
|
167
|
+
* A member's file is its container's, so `toExportPath` is not consulted
|
|
168
|
+
* when this is present. A container takes no caller options: the member's
|
|
169
|
+
* options may select the container class, never parameterise it.
|
|
170
|
+
*/
|
|
171
|
+
toContainer?: (args: ToOasOperationContainerArgs<EnrichmentType, ProjectionOptions>) => OasOperationContainerProjection;
|
|
103
172
|
toEnrichments: ({ operation, context }: ToOasOperationEnrichmentsArgs) => EnrichmentType;
|
|
104
173
|
/**
|
|
105
174
|
* Family-level capability predicate, surfaced as a static by
|
|
@@ -111,4 +180,3 @@ export type OasOperationProjection<V extends GeneratedValue, EnrichmentType = un
|
|
|
111
180
|
*/
|
|
112
181
|
isSupported?: (args: IsSupportedOasOperationArgs) => boolean;
|
|
113
182
|
} & Function;
|
|
114
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -3,22 +3,14 @@ import type { OasWebhook } from '../../oas/webhook/Webhook.js';
|
|
|
3
3
|
import type { ContentSettings } from '../ContentSettings.js';
|
|
4
4
|
import type { GeneratedDefinition } from '../GeneratedValue.js';
|
|
5
5
|
import type { GeneratedValue } from '../GeneratedValue.js';
|
|
6
|
-
import type { GenerateContextType } from '../../context/generateTypes.js';
|
|
7
|
-
|
|
6
|
+
import type { GenerateContextType, InsertWebhookArgs } from '../../context/generateTypes.js';
|
|
7
|
+
/**
|
|
8
|
+
* The `insertWebhook` call plus the context. The Driver defaults `variant`
|
|
9
|
+
* to `'main'` and `noExport` to `false`, and reads the caller's options
|
|
10
|
+
* once for the identity statics and the constructor.
|
|
11
|
+
*/
|
|
12
|
+
type CreateWebhookArgs<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> = InsertWebhookArgs<V, EnrichmentType, ProjectionOptions> & {
|
|
8
13
|
context: GenerateContextType;
|
|
9
|
-
projection: WebhookProjection<V, EnrichmentType>;
|
|
10
|
-
webhook: OasWebhook;
|
|
11
|
-
destinationPath?: string;
|
|
12
|
-
noExport?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Target variant of the projection. The Driver resolves the peer's
|
|
15
|
-
* enrichment for this variant, asserts the variant exists (or is the
|
|
16
|
-
* default `'main'` which is always permitted), and threads it into the
|
|
17
|
-
* projection's `ContentSettings`.
|
|
18
|
-
* Optional — omitting it means `'main'`, so variants-unaware
|
|
19
|
-
* callers keep working unchanged.
|
|
20
|
-
*/
|
|
21
|
-
variant?: string;
|
|
22
14
|
};
|
|
23
15
|
/**
|
|
24
16
|
* Driver for the webhook insertion lifecycle.
|
|
@@ -29,16 +21,18 @@ type CreateWebhookArgs<V extends GeneratedValue, EnrichmentType = undefined> = {
|
|
|
29
21
|
* exists, registers the new definition, and stitches an import into
|
|
30
22
|
* `destinationPath` if it differs from the projection's `exportPath`.
|
|
31
23
|
*/
|
|
32
|
-
export declare class WebhookDriver<V extends GeneratedValue, EnrichmentType = undefined> {
|
|
24
|
+
export declare class WebhookDriver<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> {
|
|
33
25
|
context: GenerateContextType;
|
|
34
|
-
projection: WebhookProjection<V, EnrichmentType>;
|
|
26
|
+
projection: WebhookProjection<V, EnrichmentType, ProjectionOptions>;
|
|
35
27
|
webhook: OasWebhook;
|
|
36
28
|
settings: ContentSettings<EnrichmentType>;
|
|
37
29
|
destinationPath?: string;
|
|
38
30
|
definition: GeneratedDefinition<V>;
|
|
39
|
-
noExport
|
|
31
|
+
noExport: boolean;
|
|
40
32
|
variant: string;
|
|
41
|
-
|
|
33
|
+
/** The caller's options, as passed to `insertWebhook`. */
|
|
34
|
+
options: ProjectionOptions;
|
|
35
|
+
constructor(args: CreateWebhookArgs<V, EnrichmentType, ProjectionOptions>);
|
|
42
36
|
private apply;
|
|
43
37
|
/**
|
|
44
38
|
* Ensure the file at `path` exists, creating it on first write through the
|
|
@@ -49,4 +43,3 @@ export declare class WebhookDriver<V extends GeneratedValue, EnrichmentType = un
|
|
|
49
43
|
private affirmDefinition;
|
|
50
44
|
}
|
|
51
45
|
export {};
|
|
52
|
-
//# sourceMappingURL=WebhookDriver.d.ts.map
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.WebhookDriver = void 0;
|
|
4
7
|
const normalize_js_1 = require("../../deps/jsr.io/@std/path/1.1.6/normalize.js");
|
|
5
8
|
const GeneratorKeys_js_1 = require("../GeneratorKeys.js");
|
|
6
9
|
const Variant_js_1 = require("../../types/Variant.js");
|
|
10
|
+
const ProjectionOptions_js_1 = require("../../types/ProjectionOptions.js");
|
|
11
|
+
const isEqual_js_1 = __importDefault(require("lodash-es/isEqual.js"));
|
|
7
12
|
/**
|
|
8
13
|
* Driver for the webhook insertion lifecycle.
|
|
9
14
|
*
|
|
@@ -14,7 +19,7 @@ const Variant_js_1 = require("../../types/Variant.js");
|
|
|
14
19
|
* `destinationPath` if it differs from the projection's `exportPath`.
|
|
15
20
|
*/
|
|
16
21
|
class WebhookDriver {
|
|
17
|
-
constructor(
|
|
22
|
+
constructor(args) {
|
|
18
23
|
Object.defineProperty(this, "context", {
|
|
19
24
|
enumerable: true,
|
|
20
25
|
configurable: true,
|
|
@@ -63,12 +68,21 @@ class WebhookDriver {
|
|
|
63
68
|
writable: true,
|
|
64
69
|
value: void 0
|
|
65
70
|
});
|
|
71
|
+
/** The caller's options, as passed to `insertWebhook`. */
|
|
72
|
+
Object.defineProperty(this, "options", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
configurable: true,
|
|
75
|
+
writable: true,
|
|
76
|
+
value: void 0
|
|
77
|
+
});
|
|
78
|
+
const { context, projection, webhook, destinationPath, noExport = false, variant = Variant_js_1.DEFAULT_VARIANT } = args;
|
|
66
79
|
this.context = context;
|
|
67
80
|
this.projection = projection;
|
|
68
81
|
this.webhook = webhook;
|
|
69
82
|
this.destinationPath = destinationPath;
|
|
70
83
|
this.noExport = noExport;
|
|
71
84
|
this.variant = variant;
|
|
85
|
+
this.options = (0, ProjectionOptions_js_1.readProjectionOptions)(args);
|
|
72
86
|
assertPeerVariantExists({
|
|
73
87
|
context,
|
|
74
88
|
generatorId: projection.id,
|
|
@@ -79,7 +93,8 @@ class WebhookDriver {
|
|
|
79
93
|
this.settings = this.context.toWebhookContentSettings({
|
|
80
94
|
webhook,
|
|
81
95
|
projection,
|
|
82
|
-
variant
|
|
96
|
+
variant,
|
|
97
|
+
options: this.options
|
|
83
98
|
});
|
|
84
99
|
this.definition = this.apply({ destinationPath });
|
|
85
100
|
}
|
|
@@ -118,7 +133,8 @@ class WebhookDriver {
|
|
|
118
133
|
const value = new this.projection({
|
|
119
134
|
context: this.context,
|
|
120
135
|
webhook: this.webhook,
|
|
121
|
-
settings: this.settings
|
|
136
|
+
settings: this.settings,
|
|
137
|
+
options: this.options
|
|
122
138
|
});
|
|
123
139
|
const definition = this.projection.lang.toDefinition({
|
|
124
140
|
context: this.context,
|
|
@@ -145,7 +161,16 @@ class WebhookDriver {
|
|
|
145
161
|
if (currentKey !== definition.generatorKey) {
|
|
146
162
|
throw new Error(`Registered definition mismatch: '${definition.identifier.name}' in file '${exportPath}'. Cached key '${definition.generatorKey}' does not match new key '${currentKey}'`);
|
|
147
163
|
}
|
|
148
|
-
|
|
164
|
+
if (!(definition.value instanceof this.projection)) {
|
|
165
|
+
return false;
|
|
166
|
+
}
|
|
167
|
+
// Options are identity, like the variant, but cannot ride the key: a hit
|
|
168
|
+
// is checked against the options its value was built with.
|
|
169
|
+
const cachedOptions = (0, ProjectionOptions_js_1.toValueOptions)(definition.value);
|
|
170
|
+
if (!(0, isEqual_js_1.default)(cachedOptions, this.options)) {
|
|
171
|
+
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.`);
|
|
172
|
+
}
|
|
173
|
+
return true;
|
|
149
174
|
}
|
|
150
175
|
}
|
|
151
176
|
exports.WebhookDriver = WebhookDriver;
|
|
@@ -60,4 +60,3 @@ export type WebhookEntry<EnrichmentType = undefined> = {
|
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
62
|
export declare const toWebhookEntry: <EnrichmentType = undefined>({ id, transform, toEnrichmentSchema, isSupported, supportsVariant, toPreviewModule, toEnrichmentRequest, toEnrichmentDefaults }: ToWebhookConfigArgs<EnrichmentType>) => WebhookEntry<EnrichmentType>;
|
|
63
|
-
//# sourceMappingURL=toWebhookEntry.d.ts.map
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { GenerateContextType } from '../../context/generateTypes.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { InsertNormalizedModelArgs, InsertNormalizedModelOptions, InsertNormalizedModelReturn } from '../../context/generateTypes.js';
|
|
3
|
+
import { type ProjectionOptionsRest } from '../../types/ProjectionOptions.js';
|
|
4
|
+
import { type PeerInsertOptions } from '../../types/InsertOptions.js';
|
|
3
5
|
import type { OasWebhook } from '../../oas/webhook/Webhook.js';
|
|
4
6
|
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
5
7
|
import type { ContentSettings } from '../ContentSettings.js';
|
|
@@ -24,17 +26,17 @@ import type * as v from 'valibot';
|
|
|
24
26
|
* (`WebhookProjectionBaseConfig<E, KtIdentifierType>`) so `toIdentifierType`'s
|
|
25
27
|
* return tightens to that language's `type` vocabulary — no recast.
|
|
26
28
|
*/
|
|
27
|
-
export type WebhookProjectionBaseConfig<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType> = {
|
|
29
|
+
export type WebhookProjectionBaseConfig<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined> = {
|
|
28
30
|
id: string;
|
|
29
31
|
/** Pure: the cache-key name (the cache-check path runs this). */
|
|
30
|
-
toIdentifierName: (args: ToWebhookIdentifierNameArgs<EnrichmentType>) => string;
|
|
32
|
+
toIdentifierName: (args: ToWebhookIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
31
33
|
/**
|
|
32
34
|
* Context-aware, overridable: the non-`name` parts of the identifier,
|
|
33
35
|
* derived from the webhook. Runs only on cache-miss. Returns this
|
|
34
36
|
* language's `XxIdentifierType` (`IdType`; the loose `type: string` by default).
|
|
35
37
|
*/
|
|
36
38
|
toIdentifierType: (webhook: OasWebhook, context: GenerateContextType) => IdType;
|
|
37
|
-
toExportPath: (args: ToWebhookExportPathArgs<EnrichmentType>) => string;
|
|
39
|
+
toExportPath: (args: ToWebhookExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
38
40
|
/**
|
|
39
41
|
* Required composite schema for the `{ subject, generator, stack }`
|
|
40
42
|
* enrichment umbrella. Required (not optional) is load-bearing: it is what
|
|
@@ -78,27 +80,31 @@ type ToEnrichmentsArgs = {
|
|
|
78
80
|
* Defines NO `register` / `registerInto` — those live in the language
|
|
79
81
|
* package's projection-base veneer over this factory.
|
|
80
82
|
*/
|
|
81
|
-
export declare const toWebhookProjectionBase: <EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType>(base: LangSnippetConstructor, config: WebhookProjectionBaseConfig<EnrichmentType, IdType>) => {
|
|
82
|
-
new (args: WebhookProjectionConstructorArgs<EnrichmentType>): {
|
|
83
|
+
export declare const toWebhookProjectionBase: <EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined>(base: LangSnippetConstructor, config: WebhookProjectionBaseConfig<EnrichmentType, IdType, ProjectionOptions>) => {
|
|
84
|
+
new (args: WebhookProjectionConstructorArgs<EnrichmentType, ProjectionOptions>): {
|
|
83
85
|
settings: ContentSettings<EnrichmentType>;
|
|
84
86
|
webhook: OasWebhook;
|
|
87
|
+
/** The caller's options. */
|
|
88
|
+
options: ProjectionOptions;
|
|
85
89
|
/**
|
|
86
90
|
* Insert a related operation (the operation-reference protocol — e.g. a
|
|
87
91
|
* webhook handler that references a list endpoint). Exported to this
|
|
88
|
-
* projection's own `exportPath` unless `noExport` is set.
|
|
92
|
+
* projection's own `exportPath` unless `noExport` is set. `{ options }`
|
|
93
|
+
* is required when the peer declares options and refused when it does not.
|
|
89
94
|
*/
|
|
90
|
-
insertOperation<V extends GeneratedValue, PeerEnrichmentType = undefined>(projection: OasOperationProjection<V, PeerEnrichmentType>, operation: OasOperation,
|
|
95
|
+
insertOperation<V extends GeneratedValue, PeerEnrichmentType = undefined, PeerProjectionOptions = undefined>(projection: OasOperationProjection<V, PeerEnrichmentType, PeerProjectionOptions>, operation: OasOperation, ...rest: ProjectionOptionsRest<PeerInsertOptions<PeerProjectionOptions>, PeerProjectionOptions>): Inserted<V, PeerEnrichmentType>;
|
|
91
96
|
/**
|
|
92
97
|
* Insert a related model into this projection's export file (e.g. the
|
|
93
|
-
* webhook's payload type).
|
|
98
|
+
* webhook's payload type). `{ options }` is required when the peer
|
|
99
|
+
* declares options and refused when it does not.
|
|
94
100
|
*/
|
|
95
|
-
insertModel<V extends GeneratedValue, PeerEnrichmentType_1 = undefined>(projection: ModelProjection<V, PeerEnrichmentType_1>, refName: RefName,
|
|
101
|
+
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>;
|
|
96
102
|
/**
|
|
97
103
|
* Insert a related model with reference normalization. Useful for inline
|
|
98
104
|
* payload schemas where the schema may be either a `$ref` or a concrete
|
|
99
105
|
* object.
|
|
100
106
|
*/
|
|
101
|
-
insertNormalizedModel<V extends GeneratedValue, Schema extends OasSchema | OasRef<"schema"> | OasVoid, PeerEnrichmentType_2 = undefined>(projection: NormalizedModelProjection<V, PeerEnrichmentType_2>, { schema, fallbackName }: Omit<InsertNormalizedModelArgs<Schema>, "destinationPath">,
|
|
107
|
+
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>;
|
|
102
108
|
context: GenerateContextType;
|
|
103
109
|
skipped: boolean;
|
|
104
110
|
generatorKey: import("../GeneratorKeys.js").GeneratorKey | undefined;
|
|
@@ -106,9 +112,9 @@ export declare const toWebhookProjectionBase: <EnrichmentType = undefined, IdTyp
|
|
|
106
112
|
};
|
|
107
113
|
id: string;
|
|
108
114
|
type: "webhook";
|
|
109
|
-
toIdentifierName: (args: ToWebhookIdentifierNameArgs<EnrichmentType>) => string;
|
|
115
|
+
toIdentifierName: (args: ToWebhookIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
110
116
|
toIdentifierType: (webhook: OasWebhook, context: GenerateContextType) => IdType;
|
|
111
|
-
toExportPath: (args: ToWebhookExportPathArgs<EnrichmentType>) => string;
|
|
117
|
+
toExportPath: (args: ToWebhookExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
112
118
|
isSupported: (args: {
|
|
113
119
|
webhook: OasWebhook;
|
|
114
120
|
context: GenerateContextType;
|
|
@@ -123,4 +129,3 @@ export declare const toWebhookProjectionBase: <EnrichmentType = undefined, IdTyp
|
|
|
123
129
|
lang: import("../Lang.js").Lang;
|
|
124
130
|
};
|
|
125
131
|
export {};
|
|
126
|
-
//# sourceMappingURL=toWebhookProjectionBase.d.ts.map
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.toWebhookProjectionBase = void 0;
|
|
4
4
|
const GeneratorKeys_js_1 = require("../GeneratorKeys.js");
|
|
5
|
+
const ProjectionOptions_js_1 = require("../../types/ProjectionOptions.js");
|
|
6
|
+
const InsertOptions_js_1 = require("../../types/InsertOptions.js");
|
|
5
7
|
const Variant_js_1 = require("../../types/Variant.js");
|
|
6
8
|
const parseEnrichmentUmbrella_js_1 = require("../../enrichments/parseEnrichmentUmbrella.js");
|
|
7
9
|
/**
|
|
@@ -41,32 +43,40 @@ const toWebhookProjectionBase = (base, config) => {
|
|
|
41
43
|
writable: true,
|
|
42
44
|
value: void 0
|
|
43
45
|
});
|
|
46
|
+
/** The caller's options. */
|
|
47
|
+
Object.defineProperty(this, "options", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
configurable: true,
|
|
50
|
+
writable: true,
|
|
51
|
+
value: void 0
|
|
52
|
+
});
|
|
44
53
|
this.webhook = args.webhook;
|
|
45
54
|
this.settings = args.settings;
|
|
55
|
+
this.options = (0, ProjectionOptions_js_1.readProjectionOptions)(args);
|
|
46
56
|
}
|
|
47
57
|
/**
|
|
48
58
|
* Insert a related operation (the operation-reference protocol — e.g. a
|
|
49
59
|
* webhook handler that references a list endpoint). Exported to this
|
|
50
|
-
* projection's own `exportPath` unless `noExport` is set.
|
|
60
|
+
* projection's own `exportPath` unless `noExport` is set. `{ options }`
|
|
61
|
+
* is required when the peer declares options and refused when it does not.
|
|
51
62
|
*/
|
|
52
|
-
insertOperation(projection, operation,
|
|
63
|
+
insertOperation(projection, operation, ...rest) {
|
|
53
64
|
return this.context.insertOperation({
|
|
54
65
|
projection,
|
|
55
66
|
operation,
|
|
56
67
|
destinationPath: this.settings.exportPath,
|
|
57
|
-
|
|
58
|
-
variant: options.variant
|
|
68
|
+
...(0, InsertOptions_js_1.toPeerInsertOptions)(rest)
|
|
59
69
|
});
|
|
60
70
|
}
|
|
61
71
|
/**
|
|
62
72
|
* Insert a related model into this projection's export file (e.g. the
|
|
63
|
-
* webhook's payload type).
|
|
73
|
+
* webhook's payload type). `{ options }` is required when the peer
|
|
74
|
+
* declares options and refused when it does not.
|
|
64
75
|
*/
|
|
65
|
-
insertModel(projection, refName,
|
|
76
|
+
insertModel(projection, refName, ...rest) {
|
|
66
77
|
return this.context.insertModel(projection, refName, {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
variant: options.variant
|
|
78
|
+
...(0, InsertOptions_js_1.toPeerInsertOptions)(rest),
|
|
79
|
+
destinationPath: this.settings.exportPath
|
|
70
80
|
});
|
|
71
81
|
}
|
|
72
82
|
/**
|
|
@@ -74,15 +84,12 @@ const toWebhookProjectionBase = (base, config) => {
|
|
|
74
84
|
* payload schemas where the schema may be either a `$ref` or a concrete
|
|
75
85
|
* object.
|
|
76
86
|
*/
|
|
77
|
-
insertNormalizedModel(projection, { schema, fallbackName },
|
|
87
|
+
insertNormalizedModel(projection, { schema, fallbackName }, ...rest) {
|
|
78
88
|
return this.context.insertNormalizedModel(projection, {
|
|
79
89
|
schema,
|
|
80
90
|
fallbackName,
|
|
81
91
|
destinationPath: this.settings.exportPath
|
|
82
|
-
},
|
|
83
|
-
noExport: options.noExport,
|
|
84
|
-
variant: options.variant
|
|
85
|
-
});
|
|
92
|
+
}, ...rest);
|
|
86
93
|
}
|
|
87
94
|
},
|
|
88
95
|
Object.defineProperty(_a, "id", {
|