@skmtc/core 0.28.5 → 0.28.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/esm/_dnt.polyfills.d.ts +99 -1
- package/esm/_dnt.polyfills.js +130 -1
- package/esm/_dnt.shims.d.ts +0 -1
- package/esm/anchors/CaptureSink.d.ts +0 -1
- package/esm/anchors/ParserAdapter.d.ts +0 -1
- package/esm/anchors/attribute.d.ts +0 -1
- package/esm/anchors/attribute.js +4 -1
- package/esm/anchors/buildSidecar.d.ts +0 -1
- package/esm/anchors/generationMap.d.ts +0 -1
- package/esm/anchors/postPass.d.ts +0 -1
- package/esm/anchors/sidecar.d.ts +0 -1
- package/esm/anchors/types.d.ts +0 -1
- package/esm/app/validate.d.ts +0 -1
- package/esm/context/CoreContext.d.ts +0 -1
- package/esm/context/GenerateContext.d.ts +11 -11
- package/esm/context/GenerateContext.js +83 -64
- package/esm/context/ParseContext.d.ts +0 -1
- package/esm/context/ParseIssue.d.ts +0 -1
- package/esm/context/RenderContext.d.ts +0 -1
- package/esm/context/ResultsHandler.d.ts +0 -1
- package/esm/context/StackTrail.d.ts +0 -1
- package/esm/context/generateTypes.d.ts +79 -118
- package/esm/context/parseTypes.d.ts +0 -1
- package/esm/context/tryParseAt.d.ts +0 -1
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.24/exists.d.ts +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/os.d.ts +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_config.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_state.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/critical.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/debug.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/error.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/formatters.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/info.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/levels.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/logger.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/mod.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/setup.d.ts +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/warn.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/assert_path.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/constants.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/normalize.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/normalize_string.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/extname.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/join.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/normalize.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/_util.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/join.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/normalize.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/_util.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/from_file_url.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/join.d.ts +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/normalize.d.ts +0 -1
- package/esm/dsl/CodeFileBase.d.ts +0 -1
- package/esm/dsl/ContentSettings.d.ts +0 -1
- package/esm/dsl/CustomValue.d.ts +0 -1
- package/esm/dsl/Definition.d.ts +0 -1
- package/esm/dsl/DefinitionContainer.d.ts +40 -0
- package/esm/dsl/DefinitionContainer.js +15 -0
- package/esm/dsl/FileBase.d.ts +0 -1
- package/esm/dsl/GeneratedValue.d.ts +0 -1
- package/esm/dsl/GeneratedValueList.d.ts +0 -1
- package/esm/dsl/GeneratorKeys.d.ts +68 -2
- package/esm/dsl/GeneratorKeys.js +65 -0
- package/esm/dsl/IdentifierBase.d.ts +0 -1
- package/esm/dsl/IdentifierType.d.ts +0 -1
- package/esm/dsl/ImportBase.d.ts +0 -1
- package/esm/dsl/Inserted.d.ts +0 -1
- package/esm/dsl/JsonFile.d.ts +0 -1
- package/esm/dsl/Lang.d.ts +0 -1
- package/esm/dsl/MarkdownFile.d.ts +0 -1
- package/esm/dsl/ReExportBase.d.ts +0 -1
- package/esm/dsl/SnippetBase.d.ts +0 -1
- package/esm/dsl/Stringable.d.ts +0 -1
- package/esm/dsl/constants.d.ts +0 -1
- package/esm/dsl/model/ModelDriver.d.ts +15 -20
- package/esm/dsl/model/ModelDriver.js +30 -4
- package/esm/dsl/model/toModelEntry.d.ts +0 -1
- package/esm/dsl/model/toModelProjectionBase.d.ts +22 -16
- package/esm/dsl/model/toModelProjectionBase.js +17 -10
- package/esm/dsl/model/types.d.ts +16 -15
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +13 -20
- package/esm/dsl/operation/gql/GqlOperationDriver.js +26 -4
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +0 -1
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +23 -20
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.js +25 -20
- package/esm/dsl/operation/gql/types.d.ts +15 -14
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts +14 -20
- package/esm/dsl/operation/oas/OasOperationDriver.js +103 -14
- package/esm/dsl/operation/oas/toOasOperationContainerBase.d.ts +131 -0
- package/esm/dsl/operation/oas/toOasOperationContainerBase.js +165 -0
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +0 -1
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +53 -22
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.js +52 -23
- package/esm/dsl/operation/oas/types.d.ts +80 -12
- package/esm/dsl/webhook/WebhookDriver.d.ts +13 -20
- package/esm/dsl/webhook/WebhookDriver.js +26 -4
- package/esm/dsl/webhook/toWebhookEntry.d.ts +0 -1
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +19 -14
- package/esm/dsl/webhook/toWebhookProjectionBase.js +21 -14
- package/esm/dsl/webhook/types.d.ts +15 -14
- package/esm/enrichments/EnrichmentAudit.d.ts +0 -1
- package/esm/enrichments/EnrichmentWarning.d.ts +0 -1
- package/esm/enrichments/findUnknownKeys.d.ts +0 -1
- package/esm/enrichments/parseEnrichmentUmbrella.d.ts +0 -1
- package/esm/enrichments/readEnrichments.d.ts +0 -1
- package/esm/enrichments/toEnrichmentDescriptor.d.ts +0 -1
- package/esm/enrichments/valibotShape.d.ts +0 -1
- package/esm/enrichments/validateConfig.d.ts +0 -1
- package/esm/gql/_helpers/recordAppliedDirectives.d.ts +0 -1
- package/esm/gql/_helpers/unwrapType.d.ts +0 -1
- package/esm/gql/argument/GqlArgument.d.ts +0 -1
- package/esm/gql/document/GqlDocument.d.ts +0 -1
- package/esm/gql/document/parseGqlDocument.d.ts +0 -1
- package/esm/gql/enum/toEnumType.d.ts +0 -1
- package/esm/gql/field/toFieldSchema.d.ts +0 -1
- package/esm/gql/input/toInputType.d.ts +0 -1
- package/esm/gql/interface/toInterfaceUnion.d.ts +0 -1
- package/esm/gql/object/toObjectType.d.ts +0 -1
- package/esm/gql/operation/GqlOperation.d.ts +0 -1
- package/esm/gql/operation/synthesizeArgsObject.d.ts +0 -1
- package/esm/gql/operation/toRootField.d.ts +0 -1
- package/esm/gql/registry/GqlRegistry.d.ts +0 -1
- package/esm/gql/rootType/GqlRootTypes.d.ts +0 -1
- package/esm/gql/scalar/toScalarType.d.ts +0 -1
- package/esm/gql/union/toUnionType.d.ts +0 -1
- package/esm/helpers/ResultsLog.d.ts +0 -1
- package/esm/helpers/applyGeneratedSuffix.d.ts +0 -1
- package/esm/helpers/collateExamples.d.ts +0 -1
- package/esm/helpers/formatNumber.d.ts +0 -1
- package/esm/helpers/isEmpty.d.ts +0 -1
- package/esm/helpers/isGeneratorName.d.ts +0 -1
- package/esm/helpers/isImported.d.ts +0 -1
- package/esm/helpers/matchPackage.d.ts +54 -0
- package/esm/helpers/matchPackage.js +35 -0
- package/esm/helpers/naming.d.ts +0 -1
- package/esm/helpers/nearestKey.d.ts +0 -1
- package/esm/helpers/parseModuleName.d.ts +0 -1
- package/esm/helpers/refFns.d.ts +0 -1
- package/esm/helpers/strings.d.ts +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts +12 -192
- package/esm/helpers/toResolvedArtifactPath.js +14 -192
- package/esm/helpers/toVariantList.d.ts +0 -1
- package/esm/helpers/toWorkspacePath.d.ts +57 -0
- package/esm/helpers/toWorkspacePath.js +58 -0
- package/esm/helpers/withVariant.d.ts +0 -1
- package/esm/mod.d.ts +6 -1
- package/esm/mod.js +6 -0
- package/esm/oas/array/Array.d.ts +0 -1
- package/esm/oas/array/array-types.d.ts +0 -1
- package/esm/oas/boolean/Boolean.d.ts +0 -1
- package/esm/oas/boolean/boolean-types.d.ts +0 -1
- package/esm/oas/components/Components.d.ts +0 -1
- package/esm/oas/contact/Contact.d.ts +0 -1
- package/esm/oas/contact/contact-types.d.ts +0 -1
- package/esm/oas/discriminator/Discriminator.d.ts +0 -1
- package/esm/oas/discriminator/discriminator-types.d.ts +0 -1
- package/esm/oas/document/Document.d.ts +0 -1
- package/esm/oas/example/Example.d.ts +0 -1
- package/esm/oas/example/example-types.d.ts +0 -1
- package/esm/oas/externalDocs/ExternalDocs.d.ts +0 -1
- package/esm/oas/externalDocs/externalDocsTypes.d.ts +0 -1
- package/esm/oas/header/Header.d.ts +0 -1
- package/esm/oas/info/Info.d.ts +0 -1
- package/esm/oas/info/info-types.d.ts +0 -1
- package/esm/oas/integer/Integer.d.ts +0 -1
- package/esm/oas/integer/integer-types.d.ts +0 -1
- package/esm/oas/license/License.d.ts +0 -1
- package/esm/oas/license/license-types.d.ts +0 -1
- package/esm/oas/link/Link.d.ts +0 -1
- package/esm/oas/markdown/markdown-types.d.ts +0 -1
- package/esm/oas/mediaType/MediaType.d.ts +0 -1
- package/esm/oas/number/Number.d.ts +0 -1
- package/esm/oas/number/number-types.d.ts +0 -1
- package/esm/oas/object/Object.d.ts +0 -1
- package/esm/oas/operation/Operation.d.ts +0 -1
- package/esm/oas/parameter/Parameter.d.ts +0 -1
- package/esm/oas/parameter/parameter-types.d.ts +0 -1
- package/esm/oas/pathItem/PathItem.d.ts +0 -1
- package/esm/oas/ref/Ref.d.ts +0 -1
- package/esm/oas/ref/ref-types.d.ts +0 -1
- package/esm/oas/requestBody/RequestBody.d.ts +0 -1
- package/esm/oas/response/Response.d.ts +0 -1
- package/esm/oas/response/toPrimaryResponseCode.d.ts +0 -1
- package/esm/oas/schema/Schema.d.ts +0 -1
- package/esm/oas/schemaPath/traverseSchema.d.ts +0 -1
- package/esm/oas/securityRequirement/SecurityRequirement.d.ts +0 -1
- package/esm/oas/securitySchemes/SecurityScheme.d.ts +0 -1
- package/esm/oas/securitySchemes/security-scheme-types.d.ts +0 -1
- package/esm/oas/server/Server.d.ts +0 -1
- package/esm/oas/serverVariable/ServerVariable.d.ts +0 -1
- package/esm/oas/string/String.d.ts +0 -1
- package/esm/oas/string/string-types.d.ts +0 -1
- package/esm/oas/tag/Tag.d.ts +0 -1
- package/esm/oas/tag/tag-types.d.ts +0 -1
- package/esm/oas/union/Union.d.ts +0 -1
- package/esm/oas/unknown/Unknown.d.ts +0 -1
- package/esm/oas/unknown/unknown-types.d.ts +0 -1
- package/esm/oas/void/Void.d.ts +0 -1
- package/esm/oas/webhook/Webhook.d.ts +0 -1
- package/esm/parse/toOasDialect.d.ts +0 -1
- package/esm/parse/v3-0/_helpers/parseDefault.d.ts +0 -1
- package/esm/parse/v3-0/_helpers/parseEnum.d.ts +0 -1
- package/esm/parse/v3-0/_helpers/parseExample.d.ts +0 -1
- package/esm/parse/v3-0/_helpers/parseNullable.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/cross-product.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-intersection.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/generic-merge.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/is-equal.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-enum-values.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-intersection.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-properties.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-required.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/nullable-merge.d.ts +0 -1
- package/esm/parse/v3-0/_merge-all-of/types.d.ts +0 -1
- package/esm/parse/v3-0/array/toArray.d.ts +0 -1
- package/esm/parse/v3-0/boolean/toBoolean.d.ts +0 -1
- package/esm/parse/v3-0/components/toComponentsV3.d.ts +0 -1
- package/esm/parse/v3-0/contact/toContactV3.d.ts +0 -1
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +0 -1
- package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts +0 -1
- package/esm/parse/v3-0/example/toExamplesV3.d.ts +0 -1
- package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts +0 -1
- package/esm/parse/v3-0/header/toHeadersV3.d.ts +0 -1
- package/esm/parse/v3-0/info/toInfoV3.d.ts +0 -1
- package/esm/parse/v3-0/integer/toInteger.d.ts +0 -1
- package/esm/parse/v3-0/license/toLicenseV3.d.ts +0 -1
- package/esm/parse/v3-0/link/toLinksV3.d.ts +0 -1
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +0 -1
- package/esm/parse/v3-0/number/toNumber.d.ts +0 -1
- package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +0 -1
- package/esm/parse/v3-0/object/toObject.d.ts +0 -1
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts +0 -1
- package/esm/parse/v3-0/parameter/toParameterV3.d.ts +0 -1
- package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts +0 -1
- package/esm/parse/v3-0/ref/toRefV31.d.ts +0 -1
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +0 -1
- package/esm/parse/v3-0/response/toResponseV3.d.ts +0 -1
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts +0 -1
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +0 -1
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +0 -1
- package/esm/parse/v3-0/server/toServerV3.d.ts +0 -1
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts +0 -1
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -1
- package/esm/parse/v3-0/string/toString.d.ts +0 -1
- package/esm/parse/v3-0/tag/toTagsV3.d.ts +0 -1
- package/esm/parse/v3-0/union/toUnion.d.ts +0 -1
- package/esm/parse/v3-0/unknown/toUnknown.d.ts +0 -1
- package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts +0 -1
- package/esm/parse/v3-1/_helpers/parseDefault.d.ts +0 -1
- package/esm/parse/v3-1/_helpers/parseEnum.d.ts +0 -1
- package/esm/parse/v3-1/_helpers/parseExample.d.ts +0 -1
- package/esm/parse/v3-1/_helpers/parseNullable.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/cross-product.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-intersection.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/generic-merge.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/is-equal.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-enum-values.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-intersection.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-properties.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-required.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/nullable-merge.d.ts +0 -1
- package/esm/parse/v3-1/_merge-all-of/types.d.ts +0 -1
- package/esm/parse/v3-1/array/toArray.d.ts +0 -1
- package/esm/parse/v3-1/boolean/toBoolean.d.ts +0 -1
- package/esm/parse/v3-1/components/toComponentsV3.d.ts +0 -1
- package/esm/parse/v3-1/contact/toContactV3.d.ts +0 -1
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +0 -1
- package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts +0 -1
- package/esm/parse/v3-1/example/toExamplesV3.d.ts +0 -1
- package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts +0 -1
- package/esm/parse/v3-1/header/toHeadersV3.d.ts +0 -1
- package/esm/parse/v3-1/info/toInfoV3.d.ts +0 -1
- package/esm/parse/v3-1/integer/toInteger.d.ts +0 -1
- package/esm/parse/v3-1/license/toLicenseV3.d.ts +0 -1
- package/esm/parse/v3-1/link/toLinksV3.d.ts +0 -1
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +0 -1
- package/esm/parse/v3-1/number/toNumber.d.ts +0 -1
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +0 -1
- package/esm/parse/v3-1/object/toObject.d.ts +0 -1
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts +0 -1
- package/esm/parse/v3-1/parameter/toParameterV3.d.ts +0 -1
- package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts +0 -1
- package/esm/parse/v3-1/ref/toRefV31.d.ts +0 -1
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +0 -1
- package/esm/parse/v3-1/response/toResponseV3.d.ts +0 -1
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts +0 -1
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +0 -1
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +0 -1
- package/esm/parse/v3-1/server/toServerV3.d.ts +0 -1
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts +0 -1
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -1
- package/esm/parse/v3-1/string/toString.d.ts +0 -1
- package/esm/parse/v3-1/tag/toTagsV3.d.ts +0 -1
- package/esm/parse/v3-1/union/toUnion.d.ts +0 -1
- package/esm/parse/v3-1/unknown/toUnknown.d.ts +0 -1
- package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts +0 -1
- package/esm/run/toArtifacts.d.ts +0 -1
- package/esm/run/toEnrichmentDefaults.d.ts +0 -1
- package/esm/run/toInspection.d.ts +0 -1
- package/esm/run/toSupportedSubjects.d.ts +0 -1
- package/esm/types/AttributionState.d.ts +0 -1
- package/esm/types/Brand.d.ts +0 -1
- package/esm/types/DenoJson.d.ts +0 -1
- package/esm/types/EnrichmentDefaults.d.ts +0 -1
- package/esm/types/EnrichmentRequest.d.ts +0 -1
- package/esm/types/Enrichments.d.ts +0 -1
- package/esm/types/GeneratorType.d.ts +0 -1
- package/esm/types/InsertOptions.d.ts +40 -0
- package/esm/types/InsertOptions.js +29 -0
- package/esm/types/JsonPointer.d.ts +0 -1
- package/esm/types/Logger.d.ts +0 -1
- package/esm/types/Manifest.d.ts +0 -1
- package/esm/types/Method.d.ts +0 -1
- package/esm/types/Modifiers.d.ts +0 -1
- package/esm/types/ModuleExport.d.ts +0 -1
- package/esm/types/ModuleSelect.d.ts +0 -1
- package/esm/types/OasBase.d.ts +0 -1
- package/esm/types/Preview.d.ts +0 -1
- package/esm/types/ProjectionOptions.d.ts +50 -0
- package/esm/types/ProjectionOptions.js +27 -0
- package/esm/types/RefName.d.ts +0 -1
- package/esm/types/Results.d.ts +0 -1
- package/esm/types/SchemaPath.d.ts +0 -1
- package/esm/types/Settings.d.ts +11 -1
- package/esm/types/Settings.js +34 -1
- package/esm/types/SkmtcDocument.d.ts +0 -1
- package/esm/types/SupportedSubjects.d.ts +0 -1
- package/esm/types/TypeSystem.d.ts +0 -1
- package/esm/types/Variant.d.ts +0 -1
- package/package.json +3 -3
- package/script/_dnt.polyfills.d.ts +99 -1
- package/script/_dnt.polyfills.js +131 -0
- package/script/_dnt.shims.d.ts +0 -1
- package/script/anchors/CaptureSink.d.ts +0 -1
- package/script/anchors/ParserAdapter.d.ts +0 -1
- package/script/anchors/attribute.d.ts +0 -1
- package/script/anchors/attribute.js +4 -1
- package/script/anchors/buildSidecar.d.ts +0 -1
- package/script/anchors/generationMap.d.ts +0 -1
- package/script/anchors/postPass.d.ts +0 -1
- package/script/anchors/sidecar.d.ts +0 -1
- package/script/anchors/types.d.ts +0 -1
- package/script/app/validate.d.ts +0 -1
- package/script/context/CoreContext.d.ts +0 -1
- package/script/context/GenerateContext.d.ts +11 -11
- package/script/context/GenerateContext.js +83 -64
- package/script/context/ParseContext.d.ts +0 -1
- package/script/context/ParseIssue.d.ts +0 -1
- package/script/context/RenderContext.d.ts +0 -1
- package/script/context/ResultsHandler.d.ts +0 -1
- package/script/context/StackTrail.d.ts +0 -1
- package/script/context/generateTypes.d.ts +79 -118
- package/script/context/parseTypes.d.ts +0 -1
- package/script/context/tryParseAt.d.ts +0 -1
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.24/exists.d.ts +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/os.d.ts +0 -1
- package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts +0 -1
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_config.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_state.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/critical.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/debug.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/error.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/formatters.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/info.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/levels.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/logger.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/mod.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/setup.d.ts +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/warn.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/assert_path.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/constants.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/normalize.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/normalize_string.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/extname.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/join.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/normalize.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/_util.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/join.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/normalize.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/_util.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/from_file_url.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/join.d.ts +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/normalize.d.ts +0 -1
- package/script/dsl/CodeFileBase.d.ts +0 -1
- package/script/dsl/ContentSettings.d.ts +0 -1
- package/script/dsl/CustomValue.d.ts +0 -1
- package/script/dsl/Definition.d.ts +0 -1
- package/script/dsl/DefinitionContainer.d.ts +40 -0
- package/script/dsl/DefinitionContainer.js +19 -0
- package/script/dsl/FileBase.d.ts +0 -1
- package/script/dsl/GeneratedValue.d.ts +0 -1
- package/script/dsl/GeneratedValueList.d.ts +0 -1
- package/script/dsl/GeneratorKeys.d.ts +68 -2
- package/script/dsl/GeneratorKeys.js +68 -1
- package/script/dsl/IdentifierBase.d.ts +0 -1
- package/script/dsl/IdentifierType.d.ts +0 -1
- package/script/dsl/ImportBase.d.ts +0 -1
- package/script/dsl/Inserted.d.ts +0 -1
- package/script/dsl/JsonFile.d.ts +0 -1
- package/script/dsl/Lang.d.ts +0 -1
- package/script/dsl/MarkdownFile.d.ts +0 -1
- package/script/dsl/ReExportBase.d.ts +0 -1
- package/script/dsl/SnippetBase.d.ts +0 -1
- package/script/dsl/Stringable.d.ts +0 -1
- package/script/dsl/constants.d.ts +0 -1
- package/script/dsl/model/ModelDriver.d.ts +15 -20
- package/script/dsl/model/ModelDriver.js +33 -4
- package/script/dsl/model/toModelEntry.d.ts +0 -1
- package/script/dsl/model/toModelProjectionBase.d.ts +22 -16
- package/script/dsl/model/toModelProjectionBase.js +17 -10
- package/script/dsl/model/types.d.ts +16 -15
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts +13 -20
- package/script/dsl/operation/gql/GqlOperationDriver.js +29 -4
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +0 -1
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +23 -20
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.js +25 -20
- package/script/dsl/operation/gql/types.d.ts +15 -14
- package/script/dsl/operation/oas/OasOperationDriver.d.ts +14 -20
- package/script/dsl/operation/oas/OasOperationDriver.js +106 -14
- package/script/dsl/operation/oas/toOasOperationContainerBase.d.ts +131 -0
- package/script/dsl/operation/oas/toOasOperationContainerBase.js +169 -0
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts +0 -1
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +53 -22
- package/script/dsl/operation/oas/toOasOperationProjectionBase.js +52 -23
- package/script/dsl/operation/oas/types.d.ts +80 -12
- package/script/dsl/webhook/WebhookDriver.d.ts +13 -20
- package/script/dsl/webhook/WebhookDriver.js +29 -4
- package/script/dsl/webhook/toWebhookEntry.d.ts +0 -1
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts +19 -14
- package/script/dsl/webhook/toWebhookProjectionBase.js +21 -14
- package/script/dsl/webhook/types.d.ts +15 -14
- package/script/enrichments/EnrichmentAudit.d.ts +0 -1
- package/script/enrichments/EnrichmentWarning.d.ts +0 -1
- package/script/enrichments/findUnknownKeys.d.ts +0 -1
- package/script/enrichments/parseEnrichmentUmbrella.d.ts +0 -1
- package/script/enrichments/readEnrichments.d.ts +0 -1
- package/script/enrichments/toEnrichmentDescriptor.d.ts +0 -1
- package/script/enrichments/valibotShape.d.ts +0 -1
- package/script/enrichments/validateConfig.d.ts +0 -1
- package/script/gql/_helpers/recordAppliedDirectives.d.ts +0 -1
- package/script/gql/_helpers/unwrapType.d.ts +0 -1
- package/script/gql/argument/GqlArgument.d.ts +0 -1
- package/script/gql/document/GqlDocument.d.ts +0 -1
- package/script/gql/document/parseGqlDocument.d.ts +0 -1
- package/script/gql/enum/toEnumType.d.ts +0 -1
- package/script/gql/field/toFieldSchema.d.ts +0 -1
- package/script/gql/input/toInputType.d.ts +0 -1
- package/script/gql/interface/toInterfaceUnion.d.ts +0 -1
- package/script/gql/object/toObjectType.d.ts +0 -1
- package/script/gql/operation/GqlOperation.d.ts +0 -1
- package/script/gql/operation/synthesizeArgsObject.d.ts +0 -1
- package/script/gql/operation/toRootField.d.ts +0 -1
- package/script/gql/registry/GqlRegistry.d.ts +0 -1
- package/script/gql/rootType/GqlRootTypes.d.ts +0 -1
- package/script/gql/scalar/toScalarType.d.ts +0 -1
- package/script/gql/union/toUnionType.d.ts +0 -1
- package/script/helpers/ResultsLog.d.ts +0 -1
- package/script/helpers/applyGeneratedSuffix.d.ts +0 -1
- package/script/helpers/collateExamples.d.ts +0 -1
- package/script/helpers/formatNumber.d.ts +0 -1
- package/script/helpers/isEmpty.d.ts +0 -1
- package/script/helpers/isGeneratorName.d.ts +0 -1
- package/script/helpers/isImported.d.ts +0 -1
- package/script/helpers/matchPackage.d.ts +54 -0
- package/script/helpers/matchPackage.js +39 -0
- package/script/helpers/naming.d.ts +0 -1
- package/script/helpers/nearestKey.d.ts +0 -1
- package/script/helpers/parseModuleName.d.ts +0 -1
- package/script/helpers/refFns.d.ts +0 -1
- package/script/helpers/strings.d.ts +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts +12 -192
- package/script/helpers/toResolvedArtifactPath.js +14 -192
- package/script/helpers/toVariantList.d.ts +0 -1
- package/script/helpers/toWorkspacePath.d.ts +57 -0
- package/script/helpers/toWorkspacePath.js +63 -0
- package/script/helpers/withVariant.d.ts +0 -1
- package/script/mod.d.ts +6 -1
- package/script/mod.js +6 -0
- package/script/oas/array/Array.d.ts +0 -1
- package/script/oas/array/array-types.d.ts +0 -1
- package/script/oas/boolean/Boolean.d.ts +0 -1
- package/script/oas/boolean/boolean-types.d.ts +0 -1
- package/script/oas/components/Components.d.ts +0 -1
- package/script/oas/contact/Contact.d.ts +0 -1
- package/script/oas/contact/contact-types.d.ts +0 -1
- package/script/oas/discriminator/Discriminator.d.ts +0 -1
- package/script/oas/discriminator/discriminator-types.d.ts +0 -1
- package/script/oas/document/Document.d.ts +0 -1
- package/script/oas/example/Example.d.ts +0 -1
- package/script/oas/example/example-types.d.ts +0 -1
- package/script/oas/externalDocs/ExternalDocs.d.ts +0 -1
- package/script/oas/externalDocs/externalDocsTypes.d.ts +0 -1
- package/script/oas/header/Header.d.ts +0 -1
- package/script/oas/info/Info.d.ts +0 -1
- package/script/oas/info/info-types.d.ts +0 -1
- package/script/oas/integer/Integer.d.ts +0 -1
- package/script/oas/integer/integer-types.d.ts +0 -1
- package/script/oas/license/License.d.ts +0 -1
- package/script/oas/license/license-types.d.ts +0 -1
- package/script/oas/link/Link.d.ts +0 -1
- package/script/oas/markdown/markdown-types.d.ts +0 -1
- package/script/oas/mediaType/MediaType.d.ts +0 -1
- package/script/oas/number/Number.d.ts +0 -1
- package/script/oas/number/number-types.d.ts +0 -1
- package/script/oas/object/Object.d.ts +0 -1
- package/script/oas/operation/Operation.d.ts +0 -1
- package/script/oas/parameter/Parameter.d.ts +0 -1
- package/script/oas/parameter/parameter-types.d.ts +0 -1
- package/script/oas/pathItem/PathItem.d.ts +0 -1
- package/script/oas/ref/Ref.d.ts +0 -1
- package/script/oas/ref/ref-types.d.ts +0 -1
- package/script/oas/requestBody/RequestBody.d.ts +0 -1
- package/script/oas/response/Response.d.ts +0 -1
- package/script/oas/response/toPrimaryResponseCode.d.ts +0 -1
- package/script/oas/schema/Schema.d.ts +0 -1
- package/script/oas/schemaPath/traverseSchema.d.ts +0 -1
- package/script/oas/securityRequirement/SecurityRequirement.d.ts +0 -1
- package/script/oas/securitySchemes/SecurityScheme.d.ts +0 -1
- package/script/oas/securitySchemes/security-scheme-types.d.ts +0 -1
- package/script/oas/server/Server.d.ts +0 -1
- package/script/oas/serverVariable/ServerVariable.d.ts +0 -1
- package/script/oas/string/String.d.ts +0 -1
- package/script/oas/string/string-types.d.ts +0 -1
- package/script/oas/tag/Tag.d.ts +0 -1
- package/script/oas/tag/tag-types.d.ts +0 -1
- package/script/oas/union/Union.d.ts +0 -1
- package/script/oas/unknown/Unknown.d.ts +0 -1
- package/script/oas/unknown/unknown-types.d.ts +0 -1
- package/script/oas/void/Void.d.ts +0 -1
- package/script/oas/webhook/Webhook.d.ts +0 -1
- package/script/parse/toOasDialect.d.ts +0 -1
- package/script/parse/v3-0/_helpers/parseDefault.d.ts +0 -1
- package/script/parse/v3-0/_helpers/parseEnum.d.ts +0 -1
- package/script/parse/v3-0/_helpers/parseExample.d.ts +0 -1
- package/script/parse/v3-0/_helpers/parseNullable.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/cross-product.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/is-equal.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-required.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/merge.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts +0 -1
- package/script/parse/v3-0/_merge-all-of/types.d.ts +0 -1
- package/script/parse/v3-0/array/toArray.d.ts +0 -1
- package/script/parse/v3-0/boolean/toBoolean.d.ts +0 -1
- package/script/parse/v3-0/components/toComponentsV3.d.ts +0 -1
- package/script/parse/v3-0/contact/toContactV3.d.ts +0 -1
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +0 -1
- package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts +0 -1
- package/script/parse/v3-0/example/toExamplesV3.d.ts +0 -1
- package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts +0 -1
- package/script/parse/v3-0/header/toHeadersV3.d.ts +0 -1
- package/script/parse/v3-0/info/toInfoV3.d.ts +0 -1
- package/script/parse/v3-0/integer/toInteger.d.ts +0 -1
- package/script/parse/v3-0/license/toLicenseV3.d.ts +0 -1
- package/script/parse/v3-0/link/toLinksV3.d.ts +0 -1
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +0 -1
- package/script/parse/v3-0/number/toNumber.d.ts +0 -1
- package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +0 -1
- package/script/parse/v3-0/object/toObject.d.ts +0 -1
- package/script/parse/v3-0/operation/toOperationsV3.d.ts +0 -1
- package/script/parse/v3-0/parameter/toParameterV3.d.ts +0 -1
- package/script/parse/v3-0/pathItem/toPathItemV3.d.ts +0 -1
- package/script/parse/v3-0/ref/toRefV31.d.ts +0 -1
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +0 -1
- package/script/parse/v3-0/response/toResponseV3.d.ts +0 -1
- package/script/parse/v3-0/schema/toSchemasV3.d.ts +0 -1
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +0 -1
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +0 -1
- package/script/parse/v3-0/server/toServerV3.d.ts +0 -1
- package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts +0 -1
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -1
- package/script/parse/v3-0/string/toString.d.ts +0 -1
- package/script/parse/v3-0/tag/toTagsV3.d.ts +0 -1
- package/script/parse/v3-0/union/toUnion.d.ts +0 -1
- package/script/parse/v3-0/unknown/toUnknown.d.ts +0 -1
- package/script/parse/v3-0/webhook/toWebhooksV3.d.ts +0 -1
- package/script/parse/v3-1/_helpers/parseDefault.d.ts +0 -1
- package/script/parse/v3-1/_helpers/parseEnum.d.ts +0 -1
- package/script/parse/v3-1/_helpers/parseExample.d.ts +0 -1
- package/script/parse/v3-1/_helpers/parseNullable.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/cross-product.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/is-equal.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-required.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/merge.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts +0 -1
- package/script/parse/v3-1/_merge-all-of/types.d.ts +0 -1
- package/script/parse/v3-1/array/toArray.d.ts +0 -1
- package/script/parse/v3-1/boolean/toBoolean.d.ts +0 -1
- package/script/parse/v3-1/components/toComponentsV3.d.ts +0 -1
- package/script/parse/v3-1/contact/toContactV3.d.ts +0 -1
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +0 -1
- package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts +0 -1
- package/script/parse/v3-1/example/toExamplesV3.d.ts +0 -1
- package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts +0 -1
- package/script/parse/v3-1/header/toHeadersV3.d.ts +0 -1
- package/script/parse/v3-1/info/toInfoV3.d.ts +0 -1
- package/script/parse/v3-1/integer/toInteger.d.ts +0 -1
- package/script/parse/v3-1/license/toLicenseV3.d.ts +0 -1
- package/script/parse/v3-1/link/toLinksV3.d.ts +0 -1
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +0 -1
- package/script/parse/v3-1/number/toNumber.d.ts +0 -1
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +0 -1
- package/script/parse/v3-1/object/toObject.d.ts +0 -1
- package/script/parse/v3-1/operation/toOperationsV3.d.ts +0 -1
- package/script/parse/v3-1/parameter/toParameterV3.d.ts +0 -1
- package/script/parse/v3-1/pathItem/toPathItemV3.d.ts +0 -1
- package/script/parse/v3-1/ref/toRefV31.d.ts +0 -1
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +0 -1
- package/script/parse/v3-1/response/toResponseV3.d.ts +0 -1
- package/script/parse/v3-1/schema/toSchemasV3.d.ts +0 -1
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +0 -1
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +0 -1
- package/script/parse/v3-1/server/toServerV3.d.ts +0 -1
- package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts +0 -1
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -1
- package/script/parse/v3-1/string/toString.d.ts +0 -1
- package/script/parse/v3-1/tag/toTagsV3.d.ts +0 -1
- package/script/parse/v3-1/union/toUnion.d.ts +0 -1
- package/script/parse/v3-1/unknown/toUnknown.d.ts +0 -1
- package/script/parse/v3-1/webhook/toWebhooksV3.d.ts +0 -1
- package/script/run/toArtifacts.d.ts +0 -1
- package/script/run/toEnrichmentDefaults.d.ts +0 -1
- package/script/run/toInspection.d.ts +0 -1
- package/script/run/toSupportedSubjects.d.ts +0 -1
- package/script/types/AttributionState.d.ts +0 -1
- package/script/types/Brand.d.ts +0 -1
- package/script/types/DenoJson.d.ts +0 -1
- package/script/types/EnrichmentDefaults.d.ts +0 -1
- package/script/types/EnrichmentRequest.d.ts +0 -1
- package/script/types/Enrichments.d.ts +0 -1
- package/script/types/GeneratorType.d.ts +0 -1
- package/script/types/InsertOptions.d.ts +40 -0
- package/script/types/InsertOptions.js +34 -0
- package/script/types/JsonPointer.d.ts +0 -1
- package/script/types/Logger.d.ts +0 -1
- package/script/types/Manifest.d.ts +0 -1
- package/script/types/Method.d.ts +0 -1
- package/script/types/Modifiers.d.ts +0 -1
- package/script/types/ModuleExport.d.ts +0 -1
- package/script/types/ModuleSelect.d.ts +0 -1
- package/script/types/OasBase.d.ts +0 -1
- package/script/types/Preview.d.ts +0 -1
- package/script/types/ProjectionOptions.d.ts +50 -0
- package/script/types/ProjectionOptions.js +32 -0
- package/script/types/RefName.d.ts +0 -1
- package/script/types/Results.d.ts +0 -1
- package/script/types/SchemaPath.d.ts +0 -1
- package/script/types/Settings.d.ts +11 -1
- package/script/types/Settings.js +35 -2
- package/script/types/SkmtcDocument.d.ts +0 -1
- package/script/types/SupportedSubjects.d.ts +0 -1
- package/script/types/TypeSystem.d.ts +0 -1
- package/script/types/Variant.d.ts +0 -1
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.shims.d.ts.map +0 -1
- package/esm/anchors/CaptureSink.d.ts.map +0 -1
- package/esm/anchors/ParserAdapter.d.ts.map +0 -1
- package/esm/anchors/attribute.d.ts.map +0 -1
- package/esm/anchors/buildSidecar.d.ts.map +0 -1
- package/esm/anchors/generationMap.d.ts.map +0 -1
- package/esm/anchors/postPass.d.ts.map +0 -1
- package/esm/anchors/sidecar.d.ts.map +0 -1
- package/esm/anchors/types.d.ts.map +0 -1
- package/esm/app/validate.d.ts.map +0 -1
- package/esm/context/CoreContext.d.ts.map +0 -1
- package/esm/context/GenerateContext.d.ts.map +0 -1
- package/esm/context/ParseContext.d.ts.map +0 -1
- package/esm/context/ParseIssue.d.ts.map +0 -1
- package/esm/context/RenderContext.d.ts.map +0 -1
- package/esm/context/ResultsHandler.d.ts.map +0 -1
- package/esm/context/StackTrail.d.ts.map +0 -1
- package/esm/context/generateTypes.d.ts.map +0 -1
- package/esm/context/parseTypes.d.ts.map +0 -1
- package/esm/context/tryParseAt.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.24/exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_config.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/_state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/critical.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/debug.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/formatters.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/info.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/levels.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/logger.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/setup.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/warn.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/assert_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/_common/normalize_string.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/posix/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.6/windows/normalize.d.ts.map +0 -1
- package/esm/dsl/CodeFileBase.d.ts.map +0 -1
- package/esm/dsl/ContentSettings.d.ts.map +0 -1
- package/esm/dsl/CustomValue.d.ts.map +0 -1
- package/esm/dsl/Definition.d.ts.map +0 -1
- package/esm/dsl/FileBase.d.ts.map +0 -1
- package/esm/dsl/GeneratedValue.d.ts.map +0 -1
- package/esm/dsl/GeneratedValueList.d.ts.map +0 -1
- package/esm/dsl/GeneratorKeys.d.ts.map +0 -1
- package/esm/dsl/IdentifierBase.d.ts.map +0 -1
- package/esm/dsl/IdentifierType.d.ts.map +0 -1
- package/esm/dsl/ImportBase.d.ts.map +0 -1
- package/esm/dsl/Inserted.d.ts.map +0 -1
- package/esm/dsl/JsonFile.d.ts.map +0 -1
- package/esm/dsl/Lang.d.ts.map +0 -1
- package/esm/dsl/MarkdownFile.d.ts.map +0 -1
- package/esm/dsl/ReExportBase.d.ts.map +0 -1
- package/esm/dsl/SnippetBase.d.ts.map +0 -1
- package/esm/dsl/Stringable.d.ts.map +0 -1
- package/esm/dsl/constants.d.ts.map +0 -1
- package/esm/dsl/model/ModelDriver.d.ts.map +0 -1
- package/esm/dsl/model/toModelEntry.d.ts.map +0 -1
- package/esm/dsl/model/toModelProjectionBase.d.ts.map +0 -1
- package/esm/dsl/model/types.d.ts.map +0 -1
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +0 -1
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +0 -1
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +0 -1
- package/esm/dsl/operation/gql/types.d.ts.map +0 -1
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +0 -1
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +0 -1
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +0 -1
- package/esm/dsl/operation/oas/types.d.ts.map +0 -1
- package/esm/dsl/webhook/WebhookDriver.d.ts.map +0 -1
- package/esm/dsl/webhook/toWebhookEntry.d.ts.map +0 -1
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +0 -1
- package/esm/dsl/webhook/types.d.ts.map +0 -1
- package/esm/enrichments/EnrichmentAudit.d.ts.map +0 -1
- package/esm/enrichments/EnrichmentWarning.d.ts.map +0 -1
- package/esm/enrichments/findUnknownKeys.d.ts.map +0 -1
- package/esm/enrichments/parseEnrichmentUmbrella.d.ts.map +0 -1
- package/esm/enrichments/readEnrichments.d.ts.map +0 -1
- package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +0 -1
- package/esm/enrichments/valibotShape.d.ts.map +0 -1
- package/esm/enrichments/validateConfig.d.ts.map +0 -1
- package/esm/gql/_helpers/recordAppliedDirectives.d.ts.map +0 -1
- package/esm/gql/_helpers/unwrapType.d.ts.map +0 -1
- package/esm/gql/argument/GqlArgument.d.ts.map +0 -1
- package/esm/gql/document/GqlDocument.d.ts.map +0 -1
- package/esm/gql/document/parseGqlDocument.d.ts.map +0 -1
- package/esm/gql/enum/toEnumType.d.ts.map +0 -1
- package/esm/gql/field/toFieldSchema.d.ts.map +0 -1
- package/esm/gql/input/toInputType.d.ts.map +0 -1
- package/esm/gql/interface/toInterfaceUnion.d.ts.map +0 -1
- package/esm/gql/object/toObjectType.d.ts.map +0 -1
- package/esm/gql/operation/GqlOperation.d.ts.map +0 -1
- package/esm/gql/operation/synthesizeArgsObject.d.ts.map +0 -1
- package/esm/gql/operation/toRootField.d.ts.map +0 -1
- package/esm/gql/registry/GqlRegistry.d.ts.map +0 -1
- package/esm/gql/rootType/GqlRootTypes.d.ts.map +0 -1
- package/esm/gql/scalar/toScalarType.d.ts.map +0 -1
- package/esm/gql/union/toUnionType.d.ts.map +0 -1
- package/esm/helpers/ResultsLog.d.ts.map +0 -1
- package/esm/helpers/applyGeneratedSuffix.d.ts.map +0 -1
- package/esm/helpers/collateExamples.d.ts.map +0 -1
- package/esm/helpers/formatNumber.d.ts.map +0 -1
- package/esm/helpers/isEmpty.d.ts.map +0 -1
- package/esm/helpers/isGeneratorName.d.ts.map +0 -1
- package/esm/helpers/isImported.d.ts.map +0 -1
- package/esm/helpers/naming.d.ts.map +0 -1
- package/esm/helpers/nearestKey.d.ts.map +0 -1
- package/esm/helpers/parseModuleName.d.ts.map +0 -1
- package/esm/helpers/refFns.d.ts.map +0 -1
- package/esm/helpers/strings.d.ts.map +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts.map +0 -1
- package/esm/helpers/toVariantList.d.ts.map +0 -1
- package/esm/helpers/withVariant.d.ts.map +0 -1
- package/esm/mod.d.ts.map +0 -1
- package/esm/oas/array/Array.d.ts.map +0 -1
- package/esm/oas/array/array-types.d.ts.map +0 -1
- package/esm/oas/boolean/Boolean.d.ts.map +0 -1
- package/esm/oas/boolean/boolean-types.d.ts.map +0 -1
- package/esm/oas/components/Components.d.ts.map +0 -1
- package/esm/oas/contact/Contact.d.ts.map +0 -1
- package/esm/oas/contact/contact-types.d.ts.map +0 -1
- package/esm/oas/discriminator/Discriminator.d.ts.map +0 -1
- package/esm/oas/discriminator/discriminator-types.d.ts.map +0 -1
- package/esm/oas/document/Document.d.ts.map +0 -1
- package/esm/oas/example/Example.d.ts.map +0 -1
- package/esm/oas/example/example-types.d.ts.map +0 -1
- package/esm/oas/externalDocs/ExternalDocs.d.ts.map +0 -1
- package/esm/oas/externalDocs/externalDocsTypes.d.ts.map +0 -1
- package/esm/oas/header/Header.d.ts.map +0 -1
- package/esm/oas/info/Info.d.ts.map +0 -1
- package/esm/oas/info/info-types.d.ts.map +0 -1
- package/esm/oas/integer/Integer.d.ts.map +0 -1
- package/esm/oas/integer/integer-types.d.ts.map +0 -1
- package/esm/oas/license/License.d.ts.map +0 -1
- package/esm/oas/license/license-types.d.ts.map +0 -1
- package/esm/oas/link/Link.d.ts.map +0 -1
- package/esm/oas/markdown/markdown-types.d.ts.map +0 -1
- package/esm/oas/mediaType/MediaType.d.ts.map +0 -1
- package/esm/oas/number/Number.d.ts.map +0 -1
- package/esm/oas/number/number-types.d.ts.map +0 -1
- package/esm/oas/object/Object.d.ts.map +0 -1
- package/esm/oas/operation/Operation.d.ts.map +0 -1
- package/esm/oas/parameter/Parameter.d.ts.map +0 -1
- package/esm/oas/parameter/parameter-types.d.ts.map +0 -1
- package/esm/oas/pathItem/PathItem.d.ts.map +0 -1
- package/esm/oas/ref/Ref.d.ts.map +0 -1
- package/esm/oas/ref/ref-types.d.ts.map +0 -1
- package/esm/oas/requestBody/RequestBody.d.ts.map +0 -1
- package/esm/oas/response/Response.d.ts.map +0 -1
- package/esm/oas/response/toPrimaryResponseCode.d.ts.map +0 -1
- package/esm/oas/schema/Schema.d.ts.map +0 -1
- package/esm/oas/schemaPath/traverseSchema.d.ts.map +0 -1
- package/esm/oas/securityRequirement/SecurityRequirement.d.ts.map +0 -1
- package/esm/oas/securitySchemes/SecurityScheme.d.ts.map +0 -1
- package/esm/oas/securitySchemes/security-scheme-types.d.ts.map +0 -1
- package/esm/oas/server/Server.d.ts.map +0 -1
- package/esm/oas/serverVariable/ServerVariable.d.ts.map +0 -1
- package/esm/oas/string/String.d.ts.map +0 -1
- package/esm/oas/string/string-types.d.ts.map +0 -1
- package/esm/oas/tag/Tag.d.ts.map +0 -1
- package/esm/oas/tag/tag-types.d.ts.map +0 -1
- package/esm/oas/union/Union.d.ts.map +0 -1
- package/esm/oas/unknown/Unknown.d.ts.map +0 -1
- package/esm/oas/unknown/unknown-types.d.ts.map +0 -1
- package/esm/oas/void/Void.d.ts.map +0 -1
- package/esm/oas/webhook/Webhook.d.ts.map +0 -1
- package/esm/parse/toOasDialect.d.ts.map +0 -1
- package/esm/parse/v3-0/_helpers/parseDefault.d.ts.map +0 -1
- package/esm/parse/v3-0/_helpers/parseEnum.d.ts.map +0 -1
- package/esm/parse/v3-0/_helpers/parseExample.d.ts.map +0 -1
- package/esm/parse/v3-0/_helpers/parseNullable.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/cross-product.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/is-equal.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-required.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/merge.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/esm/parse/v3-0/_merge-all-of/types.d.ts.map +0 -1
- package/esm/parse/v3-0/array/toArray.d.ts.map +0 -1
- package/esm/parse/v3-0/boolean/toBoolean.d.ts.map +0 -1
- package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/contact/toContactV3.d.ts.map +0 -1
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/example/toExamplesV3.d.ts.map +0 -1
- package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/esm/parse/v3-0/header/toHeadersV3.d.ts.map +0 -1
- package/esm/parse/v3-0/info/toInfoV3.d.ts.map +0 -1
- package/esm/parse/v3-0/integer/toInteger.d.ts.map +0 -1
- package/esm/parse/v3-0/license/toLicenseV3.d.ts.map +0 -1
- package/esm/parse/v3-0/link/toLinksV3.d.ts.map +0 -1
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/esm/parse/v3-0/number/toNumber.d.ts.map +0 -1
- package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/esm/parse/v3-0/object/toObject.d.ts.map +0 -1
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/parameter/toParameterV3.d.ts.map +0 -1
- package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts.map +0 -1
- package/esm/parse/v3-0/ref/toRefV31.d.ts.map +0 -1
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/esm/parse/v3-0/response/toResponseV3.d.ts.map +0 -1
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +0 -1
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/esm/parse/v3-0/server/toServerV3.d.ts.map +0 -1
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/string/toString.d.ts.map +0 -1
- package/esm/parse/v3-0/tag/toTagsV3.d.ts.map +0 -1
- package/esm/parse/v3-0/union/toUnion.d.ts.map +0 -1
- package/esm/parse/v3-0/unknown/toUnknown.d.ts.map +0 -1
- package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts.map +0 -1
- package/esm/parse/v3-1/_helpers/parseDefault.d.ts.map +0 -1
- package/esm/parse/v3-1/_helpers/parseEnum.d.ts.map +0 -1
- package/esm/parse/v3-1/_helpers/parseExample.d.ts.map +0 -1
- package/esm/parse/v3-1/_helpers/parseNullable.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/cross-product.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/is-equal.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-required.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/merge.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/esm/parse/v3-1/_merge-all-of/types.d.ts.map +0 -1
- package/esm/parse/v3-1/array/toArray.d.ts.map +0 -1
- package/esm/parse/v3-1/boolean/toBoolean.d.ts.map +0 -1
- package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/contact/toContactV3.d.ts.map +0 -1
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/example/toExamplesV3.d.ts.map +0 -1
- package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/esm/parse/v3-1/header/toHeadersV3.d.ts.map +0 -1
- package/esm/parse/v3-1/info/toInfoV3.d.ts.map +0 -1
- package/esm/parse/v3-1/integer/toInteger.d.ts.map +0 -1
- package/esm/parse/v3-1/license/toLicenseV3.d.ts.map +0 -1
- package/esm/parse/v3-1/link/toLinksV3.d.ts.map +0 -1
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/esm/parse/v3-1/number/toNumber.d.ts.map +0 -1
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/esm/parse/v3-1/object/toObject.d.ts.map +0 -1
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/parameter/toParameterV3.d.ts.map +0 -1
- package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts.map +0 -1
- package/esm/parse/v3-1/ref/toRefV31.d.ts.map +0 -1
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/esm/parse/v3-1/response/toResponseV3.d.ts.map +0 -1
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +0 -1
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/esm/parse/v3-1/server/toServerV3.d.ts.map +0 -1
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/string/toString.d.ts.map +0 -1
- package/esm/parse/v3-1/tag/toTagsV3.d.ts.map +0 -1
- package/esm/parse/v3-1/union/toUnion.d.ts.map +0 -1
- package/esm/parse/v3-1/unknown/toUnknown.d.ts.map +0 -1
- package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts.map +0 -1
- package/esm/run/toArtifacts.d.ts.map +0 -1
- package/esm/run/toEnrichmentDefaults.d.ts.map +0 -1
- package/esm/run/toInspection.d.ts.map +0 -1
- package/esm/run/toSupportedSubjects.d.ts.map +0 -1
- package/esm/types/AttributionState.d.ts.map +0 -1
- package/esm/types/Brand.d.ts.map +0 -1
- package/esm/types/DenoJson.d.ts.map +0 -1
- package/esm/types/EnrichmentDefaults.d.ts.map +0 -1
- package/esm/types/EnrichmentRequest.d.ts.map +0 -1
- package/esm/types/Enrichments.d.ts.map +0 -1
- package/esm/types/GeneratorType.d.ts.map +0 -1
- package/esm/types/JsonPointer.d.ts.map +0 -1
- package/esm/types/Logger.d.ts.map +0 -1
- package/esm/types/Manifest.d.ts.map +0 -1
- package/esm/types/Method.d.ts.map +0 -1
- package/esm/types/Modifiers.d.ts.map +0 -1
- package/esm/types/ModuleExport.d.ts.map +0 -1
- package/esm/types/ModuleSelect.d.ts.map +0 -1
- package/esm/types/OasBase.d.ts.map +0 -1
- package/esm/types/Preview.d.ts.map +0 -1
- package/esm/types/RefName.d.ts.map +0 -1
- package/esm/types/Results.d.ts.map +0 -1
- package/esm/types/SchemaPath.d.ts.map +0 -1
- package/esm/types/Settings.d.ts.map +0 -1
- package/esm/types/SkmtcDocument.d.ts.map +0 -1
- package/esm/types/SupportedSubjects.d.ts.map +0 -1
- package/esm/types/TypeSystem.d.ts.map +0 -1
- package/esm/types/Variant.d.ts.map +0 -1
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.shims.d.ts.map +0 -1
- package/script/anchors/CaptureSink.d.ts.map +0 -1
- package/script/anchors/ParserAdapter.d.ts.map +0 -1
- package/script/anchors/attribute.d.ts.map +0 -1
- package/script/anchors/buildSidecar.d.ts.map +0 -1
- package/script/anchors/generationMap.d.ts.map +0 -1
- package/script/anchors/postPass.d.ts.map +0 -1
- package/script/anchors/sidecar.d.ts.map +0 -1
- package/script/anchors/types.d.ts.map +0 -1
- package/script/app/validate.d.ts.map +0 -1
- package/script/context/CoreContext.d.ts.map +0 -1
- package/script/context/GenerateContext.d.ts.map +0 -1
- package/script/context/ParseContext.d.ts.map +0 -1
- package/script/context/ParseIssue.d.ts.map +0 -1
- package/script/context/RenderContext.d.ts.map +0 -1
- package/script/context/ResultsHandler.d.ts.map +0 -1
- package/script/context/StackTrail.d.ts.map +0 -1
- package/script/context/generateTypes.d.ts.map +0 -1
- package/script/context/parseTypes.d.ts.map +0 -1
- package/script/context/tryParseAt.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.24/exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_config.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/_state.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/critical.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/debug.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/error.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/formatters.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/info.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/levels.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/logger.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/setup.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/log/0.224.14/warn.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/assert_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/_common/normalize_string.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/posix/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.6/windows/normalize.d.ts.map +0 -1
- package/script/dsl/CodeFileBase.d.ts.map +0 -1
- package/script/dsl/ContentSettings.d.ts.map +0 -1
- package/script/dsl/CustomValue.d.ts.map +0 -1
- package/script/dsl/Definition.d.ts.map +0 -1
- package/script/dsl/FileBase.d.ts.map +0 -1
- package/script/dsl/GeneratedValue.d.ts.map +0 -1
- package/script/dsl/GeneratedValueList.d.ts.map +0 -1
- package/script/dsl/GeneratorKeys.d.ts.map +0 -1
- package/script/dsl/IdentifierBase.d.ts.map +0 -1
- package/script/dsl/IdentifierType.d.ts.map +0 -1
- package/script/dsl/ImportBase.d.ts.map +0 -1
- package/script/dsl/Inserted.d.ts.map +0 -1
- package/script/dsl/JsonFile.d.ts.map +0 -1
- package/script/dsl/Lang.d.ts.map +0 -1
- package/script/dsl/MarkdownFile.d.ts.map +0 -1
- package/script/dsl/ReExportBase.d.ts.map +0 -1
- package/script/dsl/SnippetBase.d.ts.map +0 -1
- package/script/dsl/Stringable.d.ts.map +0 -1
- package/script/dsl/constants.d.ts.map +0 -1
- package/script/dsl/model/ModelDriver.d.ts.map +0 -1
- package/script/dsl/model/toModelEntry.d.ts.map +0 -1
- package/script/dsl/model/toModelProjectionBase.d.ts.map +0 -1
- package/script/dsl/model/types.d.ts.map +0 -1
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +0 -1
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +0 -1
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +0 -1
- package/script/dsl/operation/gql/types.d.ts.map +0 -1
- package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +0 -1
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +0 -1
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +0 -1
- package/script/dsl/operation/oas/types.d.ts.map +0 -1
- package/script/dsl/webhook/WebhookDriver.d.ts.map +0 -1
- package/script/dsl/webhook/toWebhookEntry.d.ts.map +0 -1
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +0 -1
- package/script/dsl/webhook/types.d.ts.map +0 -1
- package/script/enrichments/EnrichmentAudit.d.ts.map +0 -1
- package/script/enrichments/EnrichmentWarning.d.ts.map +0 -1
- package/script/enrichments/findUnknownKeys.d.ts.map +0 -1
- package/script/enrichments/parseEnrichmentUmbrella.d.ts.map +0 -1
- package/script/enrichments/readEnrichments.d.ts.map +0 -1
- package/script/enrichments/toEnrichmentDescriptor.d.ts.map +0 -1
- package/script/enrichments/valibotShape.d.ts.map +0 -1
- package/script/enrichments/validateConfig.d.ts.map +0 -1
- package/script/gql/_helpers/recordAppliedDirectives.d.ts.map +0 -1
- package/script/gql/_helpers/unwrapType.d.ts.map +0 -1
- package/script/gql/argument/GqlArgument.d.ts.map +0 -1
- package/script/gql/document/GqlDocument.d.ts.map +0 -1
- package/script/gql/document/parseGqlDocument.d.ts.map +0 -1
- package/script/gql/enum/toEnumType.d.ts.map +0 -1
- package/script/gql/field/toFieldSchema.d.ts.map +0 -1
- package/script/gql/input/toInputType.d.ts.map +0 -1
- package/script/gql/interface/toInterfaceUnion.d.ts.map +0 -1
- package/script/gql/object/toObjectType.d.ts.map +0 -1
- package/script/gql/operation/GqlOperation.d.ts.map +0 -1
- package/script/gql/operation/synthesizeArgsObject.d.ts.map +0 -1
- package/script/gql/operation/toRootField.d.ts.map +0 -1
- package/script/gql/registry/GqlRegistry.d.ts.map +0 -1
- package/script/gql/rootType/GqlRootTypes.d.ts.map +0 -1
- package/script/gql/scalar/toScalarType.d.ts.map +0 -1
- package/script/gql/union/toUnionType.d.ts.map +0 -1
- package/script/helpers/ResultsLog.d.ts.map +0 -1
- package/script/helpers/applyGeneratedSuffix.d.ts.map +0 -1
- package/script/helpers/collateExamples.d.ts.map +0 -1
- package/script/helpers/formatNumber.d.ts.map +0 -1
- package/script/helpers/isEmpty.d.ts.map +0 -1
- package/script/helpers/isGeneratorName.d.ts.map +0 -1
- package/script/helpers/isImported.d.ts.map +0 -1
- package/script/helpers/naming.d.ts.map +0 -1
- package/script/helpers/nearestKey.d.ts.map +0 -1
- package/script/helpers/parseModuleName.d.ts.map +0 -1
- package/script/helpers/refFns.d.ts.map +0 -1
- package/script/helpers/strings.d.ts.map +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts.map +0 -1
- package/script/helpers/toVariantList.d.ts.map +0 -1
- package/script/helpers/withVariant.d.ts.map +0 -1
- package/script/mod.d.ts.map +0 -1
- package/script/oas/array/Array.d.ts.map +0 -1
- package/script/oas/array/array-types.d.ts.map +0 -1
- package/script/oas/boolean/Boolean.d.ts.map +0 -1
- package/script/oas/boolean/boolean-types.d.ts.map +0 -1
- package/script/oas/components/Components.d.ts.map +0 -1
- package/script/oas/contact/Contact.d.ts.map +0 -1
- package/script/oas/contact/contact-types.d.ts.map +0 -1
- package/script/oas/discriminator/Discriminator.d.ts.map +0 -1
- package/script/oas/discriminator/discriminator-types.d.ts.map +0 -1
- package/script/oas/document/Document.d.ts.map +0 -1
- package/script/oas/example/Example.d.ts.map +0 -1
- package/script/oas/example/example-types.d.ts.map +0 -1
- package/script/oas/externalDocs/ExternalDocs.d.ts.map +0 -1
- package/script/oas/externalDocs/externalDocsTypes.d.ts.map +0 -1
- package/script/oas/header/Header.d.ts.map +0 -1
- package/script/oas/info/Info.d.ts.map +0 -1
- package/script/oas/info/info-types.d.ts.map +0 -1
- package/script/oas/integer/Integer.d.ts.map +0 -1
- package/script/oas/integer/integer-types.d.ts.map +0 -1
- package/script/oas/license/License.d.ts.map +0 -1
- package/script/oas/license/license-types.d.ts.map +0 -1
- package/script/oas/link/Link.d.ts.map +0 -1
- package/script/oas/markdown/markdown-types.d.ts.map +0 -1
- package/script/oas/mediaType/MediaType.d.ts.map +0 -1
- package/script/oas/number/Number.d.ts.map +0 -1
- package/script/oas/number/number-types.d.ts.map +0 -1
- package/script/oas/object/Object.d.ts.map +0 -1
- package/script/oas/operation/Operation.d.ts.map +0 -1
- package/script/oas/parameter/Parameter.d.ts.map +0 -1
- package/script/oas/parameter/parameter-types.d.ts.map +0 -1
- package/script/oas/pathItem/PathItem.d.ts.map +0 -1
- package/script/oas/ref/Ref.d.ts.map +0 -1
- package/script/oas/ref/ref-types.d.ts.map +0 -1
- package/script/oas/requestBody/RequestBody.d.ts.map +0 -1
- package/script/oas/response/Response.d.ts.map +0 -1
- package/script/oas/response/toPrimaryResponseCode.d.ts.map +0 -1
- package/script/oas/schema/Schema.d.ts.map +0 -1
- package/script/oas/schemaPath/traverseSchema.d.ts.map +0 -1
- package/script/oas/securityRequirement/SecurityRequirement.d.ts.map +0 -1
- package/script/oas/securitySchemes/SecurityScheme.d.ts.map +0 -1
- package/script/oas/securitySchemes/security-scheme-types.d.ts.map +0 -1
- package/script/oas/server/Server.d.ts.map +0 -1
- package/script/oas/serverVariable/ServerVariable.d.ts.map +0 -1
- package/script/oas/string/String.d.ts.map +0 -1
- package/script/oas/string/string-types.d.ts.map +0 -1
- package/script/oas/tag/Tag.d.ts.map +0 -1
- package/script/oas/tag/tag-types.d.ts.map +0 -1
- package/script/oas/union/Union.d.ts.map +0 -1
- package/script/oas/unknown/Unknown.d.ts.map +0 -1
- package/script/oas/unknown/unknown-types.d.ts.map +0 -1
- package/script/oas/void/Void.d.ts.map +0 -1
- package/script/oas/webhook/Webhook.d.ts.map +0 -1
- package/script/parse/toOasDialect.d.ts.map +0 -1
- package/script/parse/v3-0/_helpers/parseDefault.d.ts.map +0 -1
- package/script/parse/v3-0/_helpers/parseEnum.d.ts.map +0 -1
- package/script/parse/v3-0/_helpers/parseExample.d.ts.map +0 -1
- package/script/parse/v3-0/_helpers/parseNullable.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/cross-product.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/is-equal.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-required.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/merge.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/script/parse/v3-0/_merge-all-of/types.d.ts.map +0 -1
- package/script/parse/v3-0/array/toArray.d.ts.map +0 -1
- package/script/parse/v3-0/boolean/toBoolean.d.ts.map +0 -1
- package/script/parse/v3-0/components/toComponentsV3.d.ts.map +0 -1
- package/script/parse/v3-0/contact/toContactV3.d.ts.map +0 -1
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/script/parse/v3-0/example/toExamplesV3.d.ts.map +0 -1
- package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/script/parse/v3-0/header/toHeadersV3.d.ts.map +0 -1
- package/script/parse/v3-0/info/toInfoV3.d.ts.map +0 -1
- package/script/parse/v3-0/integer/toInteger.d.ts.map +0 -1
- package/script/parse/v3-0/license/toLicenseV3.d.ts.map +0 -1
- package/script/parse/v3-0/link/toLinksV3.d.ts.map +0 -1
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/script/parse/v3-0/number/toNumber.d.ts.map +0 -1
- package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/script/parse/v3-0/object/toObject.d.ts.map +0 -1
- package/script/parse/v3-0/operation/toOperationsV3.d.ts.map +0 -1
- package/script/parse/v3-0/parameter/toParameterV3.d.ts.map +0 -1
- package/script/parse/v3-0/pathItem/toPathItemV3.d.ts.map +0 -1
- package/script/parse/v3-0/ref/toRefV31.d.ts.map +0 -1
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/script/parse/v3-0/response/toResponseV3.d.ts.map +0 -1
- package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +0 -1
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/script/parse/v3-0/server/toServerV3.d.ts.map +0 -1
- package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/script/parse/v3-0/string/toString.d.ts.map +0 -1
- package/script/parse/v3-0/tag/toTagsV3.d.ts.map +0 -1
- package/script/parse/v3-0/union/toUnion.d.ts.map +0 -1
- package/script/parse/v3-0/unknown/toUnknown.d.ts.map +0 -1
- package/script/parse/v3-0/webhook/toWebhooksV3.d.ts.map +0 -1
- package/script/parse/v3-1/_helpers/parseDefault.d.ts.map +0 -1
- package/script/parse/v3-1/_helpers/parseEnum.d.ts.map +0 -1
- package/script/parse/v3-1/_helpers/parseExample.d.ts.map +0 -1
- package/script/parse/v3-1/_helpers/parseNullable.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/cross-product.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/is-equal.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-required.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/merge.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/script/parse/v3-1/_merge-all-of/types.d.ts.map +0 -1
- package/script/parse/v3-1/array/toArray.d.ts.map +0 -1
- package/script/parse/v3-1/boolean/toBoolean.d.ts.map +0 -1
- package/script/parse/v3-1/components/toComponentsV3.d.ts.map +0 -1
- package/script/parse/v3-1/contact/toContactV3.d.ts.map +0 -1
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/script/parse/v3-1/example/toExamplesV3.d.ts.map +0 -1
- package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/script/parse/v3-1/header/toHeadersV3.d.ts.map +0 -1
- package/script/parse/v3-1/info/toInfoV3.d.ts.map +0 -1
- package/script/parse/v3-1/integer/toInteger.d.ts.map +0 -1
- package/script/parse/v3-1/license/toLicenseV3.d.ts.map +0 -1
- package/script/parse/v3-1/link/toLinksV3.d.ts.map +0 -1
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/script/parse/v3-1/number/toNumber.d.ts.map +0 -1
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/script/parse/v3-1/object/toObject.d.ts.map +0 -1
- package/script/parse/v3-1/operation/toOperationsV3.d.ts.map +0 -1
- package/script/parse/v3-1/parameter/toParameterV3.d.ts.map +0 -1
- package/script/parse/v3-1/pathItem/toPathItemV3.d.ts.map +0 -1
- package/script/parse/v3-1/ref/toRefV31.d.ts.map +0 -1
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/script/parse/v3-1/response/toResponseV3.d.ts.map +0 -1
- package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +0 -1
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/script/parse/v3-1/server/toServerV3.d.ts.map +0 -1
- package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/script/parse/v3-1/string/toString.d.ts.map +0 -1
- package/script/parse/v3-1/tag/toTagsV3.d.ts.map +0 -1
- package/script/parse/v3-1/union/toUnion.d.ts.map +0 -1
- package/script/parse/v3-1/unknown/toUnknown.d.ts.map +0 -1
- package/script/parse/v3-1/webhook/toWebhooksV3.d.ts.map +0 -1
- package/script/run/toArtifacts.d.ts.map +0 -1
- package/script/run/toEnrichmentDefaults.d.ts.map +0 -1
- package/script/run/toInspection.d.ts.map +0 -1
- package/script/run/toSupportedSubjects.d.ts.map +0 -1
- package/script/types/AttributionState.d.ts.map +0 -1
- package/script/types/Brand.d.ts.map +0 -1
- package/script/types/DenoJson.d.ts.map +0 -1
- package/script/types/EnrichmentDefaults.d.ts.map +0 -1
- package/script/types/EnrichmentRequest.d.ts.map +0 -1
- package/script/types/Enrichments.d.ts.map +0 -1
- package/script/types/GeneratorType.d.ts.map +0 -1
- package/script/types/JsonPointer.d.ts.map +0 -1
- package/script/types/Logger.d.ts.map +0 -1
- package/script/types/Manifest.d.ts.map +0 -1
- package/script/types/Method.d.ts.map +0 -1
- package/script/types/Modifiers.d.ts.map +0 -1
- package/script/types/ModuleExport.d.ts.map +0 -1
- package/script/types/ModuleSelect.d.ts.map +0 -1
- package/script/types/OasBase.d.ts.map +0 -1
- package/script/types/Preview.d.ts.map +0 -1
- package/script/types/RefName.d.ts.map +0 -1
- package/script/types/Results.d.ts.map +0 -1
- package/script/types/SchemaPath.d.ts.map +0 -1
- package/script/types/Settings.d.ts.map +0 -1
- package/script/types/SkmtcDocument.d.ts.map +0 -1
- package/script/types/SupportedSubjects.d.ts.map +0 -1
- package/script/types/TypeSystem.d.ts.map +0 -1
- package/script/types/Variant.d.ts.map +0 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { readProjectionOptions } from '../../types/ProjectionOptions.js';
|
|
2
|
+
import { toPeerInsertOptions } from '../../types/InsertOptions.js';
|
|
1
3
|
import { toModelGeneratorKey } from '../GeneratorKeys.js';
|
|
2
4
|
import { DEFAULT_VARIANT } from '../../types/Variant.js';
|
|
3
5
|
import { parseEnrichmentUmbrella } from '../../enrichments/parseEnrichmentUmbrella.js';
|
|
@@ -44,34 +46,39 @@ export const toModelProjectionBase = (base, config) => {
|
|
|
44
46
|
writable: true,
|
|
45
47
|
value: void 0
|
|
46
48
|
});
|
|
49
|
+
/** The caller's options. */
|
|
50
|
+
Object.defineProperty(this, "options", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
configurable: true,
|
|
53
|
+
writable: true,
|
|
54
|
+
value: void 0
|
|
55
|
+
});
|
|
47
56
|
this.refName = args.refName;
|
|
48
57
|
this.settings = args.settings;
|
|
58
|
+
this.options = readProjectionOptions(args);
|
|
49
59
|
}
|
|
50
60
|
/**
|
|
51
61
|
* Insert a related model and return its `Inserted` reference. The
|
|
52
62
|
* inserted model is exported to this projection's own `exportPath`
|
|
53
|
-
* unless `noExport` is set.
|
|
63
|
+
* unless `noExport` is set. `{ options }` is required when the peer
|
|
64
|
+
* declares options and refused when it does not.
|
|
54
65
|
*/
|
|
55
|
-
insertModel(projection, refName,
|
|
66
|
+
insertModel(projection, refName, ...rest) {
|
|
56
67
|
return this.context.insertModel(projection, refName, {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
variant: options.variant
|
|
68
|
+
...toPeerInsertOptions(rest),
|
|
69
|
+
destinationPath: this.settings.exportPath
|
|
60
70
|
});
|
|
61
71
|
}
|
|
62
72
|
/**
|
|
63
73
|
* Insert a related model with reference normalization. If `schema` is a
|
|
64
74
|
* `$ref`, the referenced name is used; otherwise `fallbackName` applies.
|
|
65
75
|
*/
|
|
66
|
-
insertNormalizedModel(projection, { schema, fallbackName },
|
|
76
|
+
insertNormalizedModel(projection, { schema, fallbackName }, ...rest) {
|
|
67
77
|
return this.context.insertNormalizedModel(projection, {
|
|
68
78
|
schema,
|
|
69
79
|
fallbackName,
|
|
70
80
|
destinationPath: this.settings.exportPath
|
|
71
|
-
},
|
|
72
|
-
noExport: options.noExport,
|
|
73
|
-
variant: options.variant
|
|
74
|
-
});
|
|
81
|
+
}, ...rest);
|
|
75
82
|
}
|
|
76
83
|
},
|
|
77
84
|
Object.defineProperty(_a, "id", {
|
package/esm/dsl/model/types.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type { IdentifierType } from '../IdentifierType.js';
|
|
|
6
6
|
import type { IdentifierBase } from '../IdentifierBase.js';
|
|
7
7
|
import type { GeneratedValue } from '../GeneratedValue.js';
|
|
8
8
|
import type { SchemaToValueFn } from '../../types/TypeSystem.js';
|
|
9
|
+
import type { ProjectionOptionsArg } from '../../types/ProjectionOptions.js';
|
|
9
10
|
/**
|
|
10
11
|
* External constructor signature for a model projection class.
|
|
11
12
|
*
|
|
@@ -13,13 +14,13 @@ import type { SchemaToValueFn } from '../../types/TypeSystem.js';
|
|
|
13
14
|
* runtime base class ({@link ModelProjectionBase}) injects `generatorKey`
|
|
14
15
|
* before calling `super()`.
|
|
15
16
|
*/
|
|
16
|
-
export type ModelProjectionConstructorArgs<EnrichmentType = undefined> = {
|
|
17
|
+
export type ModelProjectionConstructorArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
17
18
|
context: GenerateContextType;
|
|
18
19
|
refName: RefName;
|
|
19
20
|
settings: ContentSettings<EnrichmentType>;
|
|
20
21
|
destinationPath: string;
|
|
21
22
|
rootRef?: RefName;
|
|
22
|
-
}
|
|
23
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
23
24
|
export type WithTransformModel = {
|
|
24
25
|
transformModel: (refName: RefName) => void;
|
|
25
26
|
};
|
|
@@ -67,33 +68,34 @@ export type ToModelMappingArgs = {
|
|
|
67
68
|
variant: string;
|
|
68
69
|
};
|
|
69
70
|
/**
|
|
70
|
-
* Arguments for a model projection's `toIdentifierName`
|
|
71
|
-
*
|
|
71
|
+
* Arguments for a model projection's `toIdentifierName`. Fold `options` into the name when the output
|
|
72
|
+
* depends on them: definitions are cached by name and export path.
|
|
72
73
|
*/
|
|
73
|
-
export type ToModelIdentifierNameArgs<EnrichmentType = undefined> = {
|
|
74
|
+
export type ToModelIdentifierNameArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
74
75
|
refName: RefName;
|
|
75
76
|
enrichments: EnrichmentType;
|
|
76
77
|
/** Model variant the identifier should disambiguate (see {@link Variant}) */
|
|
77
78
|
variant: string;
|
|
78
|
-
}
|
|
79
|
-
export type ToModelExportPathArgs<EnrichmentType = undefined> = {
|
|
79
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
80
|
+
export type ToModelExportPathArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
80
81
|
refName: RefName;
|
|
81
82
|
enrichments: EnrichmentType;
|
|
82
83
|
/** Model variant the export path should disambiguate (see {@link Variant}) */
|
|
83
84
|
variant: string;
|
|
84
|
-
}
|
|
85
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
85
86
|
/**
|
|
86
87
|
* Static structural type of a model projection class.
|
|
87
88
|
*
|
|
88
89
|
* Captures both the instance side (`new(...) => V`) and the static side
|
|
89
90
|
* (`id`, `toIdentifierName`, `toIdentifierType`, `toExportPath`,
|
|
90
91
|
* `toEnrichments`, `schemaToValueFn`). Passed as a type parameter to
|
|
91
|
-
* `context.insertModel(...)`.
|
|
92
|
+
* `context.insertModel(...)`. `ProjectionOptions` is the caller options the
|
|
93
|
+
* class declares; the Drivers infer it from the constructor and statics.
|
|
92
94
|
*/
|
|
93
|
-
export type ModelProjection<V extends GeneratedValue, EnrichmentType = undefined> = {
|
|
95
|
+
export type ModelProjection<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
94
96
|
prototype: V;
|
|
95
97
|
} & {
|
|
96
|
-
new ({ context, refName, settings, destinationPath, rootRef }: ModelProjectionConstructorArgs<EnrichmentType>): V;
|
|
98
|
+
new ({ context, refName, settings, destinationPath, rootRef, options }: ModelProjectionConstructorArgs<EnrichmentType, ProjectionOptions>): V;
|
|
97
99
|
id: string;
|
|
98
100
|
type: 'model';
|
|
99
101
|
/**
|
|
@@ -104,7 +106,7 @@ export type ModelProjection<V extends GeneratedValue, EnrichmentType = undefined
|
|
|
104
106
|
*/
|
|
105
107
|
lang: Lang;
|
|
106
108
|
/** Pure: the cache-key name. */
|
|
107
|
-
toIdentifierName: (args: ToModelIdentifierNameArgs<EnrichmentType>) => string;
|
|
109
|
+
toIdentifierName: (args: ToModelIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
108
110
|
/**
|
|
109
111
|
* Context-aware, overridable: the non-`name` parts of the identifier
|
|
110
112
|
* (`type` / `typeName` / `exported`), derived from the schema. The engine
|
|
@@ -112,7 +114,7 @@ export type ModelProjection<V extends GeneratedValue, EnrichmentType = undefined
|
|
|
112
114
|
* ...toIdentifierType(refName, context) })`.
|
|
113
115
|
*/
|
|
114
116
|
toIdentifierType: (refName: RefName, context: GenerateContextType) => IdentifierType;
|
|
115
|
-
toExportPath: (args: ToModelExportPathArgs<EnrichmentType>) => string;
|
|
117
|
+
toExportPath: (args: ToModelExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
116
118
|
toEnrichments: ({ refName, context, variant }: ToModelEnrichmentsArgs) => EnrichmentType;
|
|
117
119
|
/**
|
|
118
120
|
* Family-level capability predicate, surfaced as a static by
|
|
@@ -130,7 +132,7 @@ export type ModelProjection<V extends GeneratedValue, EnrichmentType = undefined
|
|
|
130
132
|
* takes the plain {@link ModelProjection}, so a generator that never
|
|
131
133
|
* inserts inline schemas declares neither.
|
|
132
134
|
*/
|
|
133
|
-
export type NormalizedModelProjection<V extends GeneratedValue, EnrichmentType = undefined> = ModelProjection<V, EnrichmentType> & {
|
|
135
|
+
export type NormalizedModelProjection<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> = ModelProjection<V, EnrichmentType, ProjectionOptions> & {
|
|
134
136
|
/** Builds the inline schema's value (the Definition body). */
|
|
135
137
|
schemaToValueFn: SchemaToValueFn;
|
|
136
138
|
/**
|
|
@@ -140,4 +142,3 @@ export type NormalizedModelProjection<V extends GeneratedValue, EnrichmentType =
|
|
|
140
142
|
*/
|
|
141
143
|
createIdentifier: (name: string) => IdentifierBase;
|
|
142
144
|
};
|
|
143
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -3,22 +3,14 @@ import type { GqlOperation } from '../../../gql/operation/GqlOperation.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, InsertGqlOperationArgs } from '../../../context/generateTypes.js';
|
|
7
|
+
/**
|
|
8
|
+
* The `insertOperation` call plus the context. The Driver defaults
|
|
9
|
+
* `variant` to `'main'` and `noExport` to `false`, and reads the caller's
|
|
10
|
+
* options once for the identity statics and the constructor.
|
|
11
|
+
*/
|
|
12
|
+
type CreateGqlOperationArgs<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> = InsertGqlOperationArgs<V, EnrichmentType, ProjectionOptions> & {
|
|
8
13
|
context: GenerateContextType;
|
|
9
|
-
projection: GqlOperationProjection<V, EnrichmentType>;
|
|
10
|
-
operation: GqlOperation;
|
|
11
|
-
destinationPath?: string;
|
|
12
|
-
noExport?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Target variant of the projection. The Driver resolves the
|
|
15
|
-
* peer's enrichment for this variant, asserts the variant exists
|
|
16
|
-
* (or is the default `'main'` which is always permitted), and
|
|
17
|
-
* threads it into the 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 GraphQL operation insertion lifecycle.
|
|
@@ -29,16 +21,18 @@ type CreateGqlOperationArgs<V extends GeneratedValue, EnrichmentType = undefined
|
|
|
29
21
|
* cache hit exists, registers the new definition, and stitches an import
|
|
30
22
|
* into `destinationPath` if it differs from the projection's `exportPath`.
|
|
31
23
|
*/
|
|
32
|
-
export declare class GqlOperationDriver<V extends GeneratedValue, EnrichmentType = undefined> {
|
|
24
|
+
export declare class GqlOperationDriver<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> {
|
|
33
25
|
context: GenerateContextType;
|
|
34
|
-
projection: GqlOperationProjection<V, EnrichmentType>;
|
|
26
|
+
projection: GqlOperationProjection<V, EnrichmentType, ProjectionOptions>;
|
|
35
27
|
operation: GqlOperation;
|
|
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 `insertOperation`. */
|
|
34
|
+
options: ProjectionOptions;
|
|
35
|
+
constructor(args: CreateGqlOperationArgs<V, EnrichmentType, ProjectionOptions>);
|
|
42
36
|
private apply;
|
|
43
37
|
/**
|
|
44
38
|
* Ensure the file at `path` exists, creating it on first write through
|
|
@@ -51,4 +45,3 @@ export declare class GqlOperationDriver<V extends GeneratedValue, EnrichmentType
|
|
|
51
45
|
private affirmDefinition;
|
|
52
46
|
}
|
|
53
47
|
export {};
|
|
54
|
-
//# sourceMappingURL=GqlOperationDriver.d.ts.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { normalize } from '../../../deps/jsr.io/@std/path/1.1.6/normalize.js';
|
|
2
2
|
import { toGqlOperationGeneratorKey } from '../../GeneratorKeys.js';
|
|
3
3
|
import { DEFAULT_VARIANT } from '../../../types/Variant.js';
|
|
4
|
+
import { readProjectionOptions, toValueOptions } from '../../../types/ProjectionOptions.js';
|
|
5
|
+
import isEqual from 'lodash-es/isEqual.js';
|
|
4
6
|
/**
|
|
5
7
|
* Driver for the GraphQL operation insertion lifecycle.
|
|
6
8
|
*
|
|
@@ -11,7 +13,7 @@ import { DEFAULT_VARIANT } from '../../../types/Variant.js';
|
|
|
11
13
|
* into `destinationPath` if it differs from the projection's `exportPath`.
|
|
12
14
|
*/
|
|
13
15
|
export class GqlOperationDriver {
|
|
14
|
-
constructor(
|
|
16
|
+
constructor(args) {
|
|
15
17
|
Object.defineProperty(this, "context", {
|
|
16
18
|
enumerable: true,
|
|
17
19
|
configurable: true,
|
|
@@ -60,12 +62,21 @@ export class GqlOperationDriver {
|
|
|
60
62
|
writable: true,
|
|
61
63
|
value: void 0
|
|
62
64
|
});
|
|
65
|
+
/** The caller's options, as passed to `insertOperation`. */
|
|
66
|
+
Object.defineProperty(this, "options", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
configurable: true,
|
|
69
|
+
writable: true,
|
|
70
|
+
value: void 0
|
|
71
|
+
});
|
|
72
|
+
const { context, projection, operation, destinationPath, noExport = false, variant = DEFAULT_VARIANT } = args;
|
|
63
73
|
this.context = context;
|
|
64
74
|
this.projection = projection;
|
|
65
75
|
this.operation = operation;
|
|
66
76
|
this.destinationPath = destinationPath;
|
|
67
77
|
this.noExport = noExport;
|
|
68
78
|
this.variant = variant;
|
|
79
|
+
this.options = readProjectionOptions(args);
|
|
69
80
|
assertPeerVariantExists({
|
|
70
81
|
context,
|
|
71
82
|
generatorId: projection.id,
|
|
@@ -76,7 +87,8 @@ export class GqlOperationDriver {
|
|
|
76
87
|
this.settings = this.context.toOperationContentSettings({
|
|
77
88
|
operation,
|
|
78
89
|
projection,
|
|
79
|
-
variant
|
|
90
|
+
variant,
|
|
91
|
+
options: this.options
|
|
80
92
|
});
|
|
81
93
|
this.definition = this.apply({ destinationPath });
|
|
82
94
|
}
|
|
@@ -122,7 +134,8 @@ export class GqlOperationDriver {
|
|
|
122
134
|
const value = new this.projection({
|
|
123
135
|
context: this.context,
|
|
124
136
|
operation: this.operation,
|
|
125
|
-
settings: this.settings
|
|
137
|
+
settings: this.settings,
|
|
138
|
+
options: this.options
|
|
126
139
|
});
|
|
127
140
|
const definition = this.projection.lang.toDefinition({
|
|
128
141
|
context: this.context,
|
|
@@ -149,7 +162,16 @@ export class GqlOperationDriver {
|
|
|
149
162
|
if (currentKey !== definition.generatorKey) {
|
|
150
163
|
throw new Error(`Registered definition mismatch: '${definition.identifier.name}' in file '${exportPath}'. Cached key '${definition.generatorKey}' does not match new key '${currentKey}'`);
|
|
151
164
|
}
|
|
152
|
-
|
|
165
|
+
if (!(definition.value instanceof this.projection)) {
|
|
166
|
+
return false;
|
|
167
|
+
}
|
|
168
|
+
// Options are identity, like the variant, but cannot ride the key: a hit
|
|
169
|
+
// is checked against the options its value was built with.
|
|
170
|
+
const cachedOptions = toValueOptions(definition.value);
|
|
171
|
+
if (!isEqual(cachedOptions, this.options)) {
|
|
172
|
+
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.`);
|
|
173
|
+
}
|
|
174
|
+
return true;
|
|
153
175
|
}
|
|
154
176
|
}
|
|
155
177
|
/**
|
|
@@ -46,4 +46,3 @@ export type GqlOperationEntry<EnrichmentType = undefined> = {
|
|
|
46
46
|
* @returns Configured operation generator entry ready for pipeline integration
|
|
47
47
|
*/
|
|
48
48
|
export declare const toGqlOperationEntry: <EnrichmentType = undefined>({ id, transform, toEnrichmentSchema, isSupported, supportsVariant, toPreviewModule, toEnrichmentRequest }: ToGqlOperationConfigArgs<EnrichmentType>) => GqlOperationEntry<EnrichmentType>;
|
|
49
|
-
//# sourceMappingURL=toGqlOperationEntry.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 { GqlOperation } from '../../../gql/operation/GqlOperation.js';
|
|
4
6
|
import type { ContentSettings } from '../../ContentSettings.js';
|
|
5
7
|
import type { LangSnippetConstructor } from '../../Lang.js';
|
|
@@ -21,10 +23,10 @@ import type * as v from 'valibot';
|
|
|
21
23
|
* `toIdentifierType`'s return tightens to that language's `type` vocabulary —
|
|
22
24
|
* no recast.
|
|
23
25
|
*/
|
|
24
|
-
export type GqlOperationProjectionBaseConfig<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType> = {
|
|
26
|
+
export type GqlOperationProjectionBaseConfig<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined> = {
|
|
25
27
|
id: string;
|
|
26
28
|
/** Pure: the cache-key name (the cache-check path runs this). */
|
|
27
|
-
toIdentifierName: (args: ToGqlOperationIdentifierNameArgs<EnrichmentType>) => string;
|
|
29
|
+
toIdentifierName: (args: ToGqlOperationIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
28
30
|
/**
|
|
29
31
|
* Context-aware, overridable: the non-`name` parts of the identifier,
|
|
30
32
|
* derived from the operation/schema. Runs only on cache-miss. Returns this
|
|
@@ -32,7 +34,7 @@ export type GqlOperationProjectionBaseConfig<EnrichmentType = undefined, IdType
|
|
|
32
34
|
* default); the tightening rides the type argument.
|
|
33
35
|
*/
|
|
34
36
|
toIdentifierType: (operation: GqlOperation, context: GenerateContextType) => IdType;
|
|
35
|
-
toExportPath: (args: ToGqlOperationExportPathArgs<EnrichmentType>) => string;
|
|
37
|
+
toExportPath: (args: ToGqlOperationExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
36
38
|
/**
|
|
37
39
|
* Required composite schema for the `{ subject, generator, stack }`
|
|
38
40
|
* enrichment umbrella. Required (not optional) is load-bearing: it is what
|
|
@@ -78,36 +80,38 @@ type ToEnrichmentsArgs = {
|
|
|
78
80
|
* `GqlOperationProjectionBase` lives here now, because the base class is no
|
|
79
81
|
* longer statically known.
|
|
80
82
|
*/
|
|
81
|
-
export declare const toGqlOperationProjectionBase: <EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType>(base: LangSnippetConstructor, config: GqlOperationProjectionBaseConfig<EnrichmentType, IdType>) => {
|
|
82
|
-
new (args: GqlOperationProjectionConstructorArgs<EnrichmentType>): {
|
|
83
|
+
export declare const toGqlOperationProjectionBase: <EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined>(base: LangSnippetConstructor, config: GqlOperationProjectionBaseConfig<EnrichmentType, IdType, ProjectionOptions>) => {
|
|
84
|
+
new (args: GqlOperationProjectionConstructorArgs<EnrichmentType, ProjectionOptions>): {
|
|
83
85
|
settings: ContentSettings<EnrichmentType>;
|
|
84
86
|
operation: GqlOperation;
|
|
87
|
+
/** The caller's options. */
|
|
88
|
+
options: ProjectionOptions;
|
|
85
89
|
/**
|
|
86
90
|
* Insert a related operation. The inserted operation is exported to this
|
|
87
91
|
* projection's own `exportPath` unless `noExport` is set.
|
|
88
92
|
*
|
|
89
|
-
* Pass `{ variant }` to target a specific variant on the peer
|
|
90
|
-
* to
|
|
91
|
-
*
|
|
92
|
-
* the peer's `'main'` variant — the safe choice for variants-unaware
|
|
93
|
-
* peers and the standard pattern for cross-package composition.
|
|
93
|
+
* Pass `{ variant }` to target a specific variant on the peer; omitting
|
|
94
|
+
* it defaults to the peer's `'main'` variant. `{ options }` is required
|
|
95
|
+
* when the peer declares options and refused when it does not.
|
|
94
96
|
*/
|
|
95
|
-
insertOperation<V extends GeneratedValue, PeerEnrichmentType = undefined>(projection: GqlOperationProjection<V, PeerEnrichmentType>, operation: GqlOperation,
|
|
97
|
+
insertOperation<V extends GeneratedValue, PeerEnrichmentType = undefined, PeerProjectionOptions = undefined>(projection: GqlOperationProjection<V, PeerEnrichmentType, PeerProjectionOptions>, operation: GqlOperation, ...rest: ProjectionOptionsRest<PeerInsertOptions<PeerProjectionOptions>, PeerProjectionOptions>): Inserted<V, PeerEnrichmentType>;
|
|
96
98
|
/**
|
|
97
99
|
* Insert a related model into this projection's export file.
|
|
98
100
|
*
|
|
99
101
|
* Pass `{ variant }` to target a specific variant on the peer model
|
|
100
|
-
* 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.
|
|
101
105
|
*/
|
|
102
|
-
insertModel<V extends GeneratedValue, PeerEnrichmentType_1 = undefined>(projection: ModelProjection<V, PeerEnrichmentType_1>, refName: RefName,
|
|
106
|
+
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>;
|
|
103
107
|
/**
|
|
104
108
|
* Insert a related model with reference normalization. Useful for
|
|
105
109
|
* schemas that may be either a `$ref` or a concrete object.
|
|
106
110
|
*
|
|
107
|
-
* `{ variant }`
|
|
108
|
-
* schemas, bake
|
|
111
|
+
* `{ variant }` and `{ options }` flow through the `$ref` branch only;
|
|
112
|
+
* for inline schemas, bake what distinguishes them into `fallbackName`.
|
|
109
113
|
*/
|
|
110
|
-
insertNormalizedModel<V extends GeneratedValue, Schema extends OasSchema | OasRef<"schema"> | OasVoid, PeerEnrichmentType_2 = undefined>(projection: NormalizedModelProjection<V, PeerEnrichmentType_2>, { schema, fallbackName }: Omit<InsertNormalizedModelArgs<Schema>, "destinationPath">,
|
|
114
|
+
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>;
|
|
111
115
|
context: GenerateContextType;
|
|
112
116
|
skipped: boolean;
|
|
113
117
|
generatorKey: import("../../GeneratorKeys.js").GeneratorKey | undefined;
|
|
@@ -115,9 +119,9 @@ export declare const toGqlOperationProjectionBase: <EnrichmentType = undefined,
|
|
|
115
119
|
};
|
|
116
120
|
id: string;
|
|
117
121
|
type: "gqlOperation";
|
|
118
|
-
toIdentifierName: (args: ToGqlOperationIdentifierNameArgs<EnrichmentType>) => string;
|
|
122
|
+
toIdentifierName: (args: ToGqlOperationIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
119
123
|
toIdentifierType: (operation: GqlOperation, context: GenerateContextType) => IdType;
|
|
120
|
-
toExportPath: (args: ToGqlOperationExportPathArgs<EnrichmentType>) => string;
|
|
124
|
+
toExportPath: (args: ToGqlOperationExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
121
125
|
isSupported: (args: {
|
|
122
126
|
operation: GqlOperation;
|
|
123
127
|
context: GenerateContextType;
|
|
@@ -126,4 +130,3 @@ export declare const toGqlOperationProjectionBase: <EnrichmentType = undefined,
|
|
|
126
130
|
lang: import("../../Lang.js").Lang;
|
|
127
131
|
};
|
|
128
132
|
export {};
|
|
129
|
-
//# sourceMappingURL=toGqlOperationProjectionBase.d.ts.map
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { readProjectionOptions } from '../../../types/ProjectionOptions.js';
|
|
2
|
+
import { toPeerInsertOptions } from '../../../types/InsertOptions.js';
|
|
1
3
|
import { toGqlOperationGeneratorKey } from '../../GeneratorKeys.js';
|
|
2
4
|
import { DEFAULT_VARIANT } from '../../../types/Variant.js';
|
|
3
5
|
import { parseEnrichmentUmbrella } from '../../../enrichments/parseEnrichmentUmbrella.js';
|
|
@@ -46,57 +48,60 @@ export const toGqlOperationProjectionBase = (base, config) => {
|
|
|
46
48
|
writable: true,
|
|
47
49
|
value: void 0
|
|
48
50
|
});
|
|
51
|
+
/** The caller's options. */
|
|
52
|
+
Object.defineProperty(this, "options", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
configurable: true,
|
|
55
|
+
writable: true,
|
|
56
|
+
value: void 0
|
|
57
|
+
});
|
|
49
58
|
this.operation = args.operation;
|
|
50
59
|
this.settings = args.settings;
|
|
60
|
+
this.options = readProjectionOptions(args);
|
|
51
61
|
}
|
|
52
62
|
/**
|
|
53
63
|
* Insert a related operation. The inserted operation is exported to this
|
|
54
64
|
* projection's own `exportPath` unless `noExport` is set.
|
|
55
65
|
*
|
|
56
|
-
* Pass `{ variant }` to target a specific variant on the peer
|
|
57
|
-
* to
|
|
58
|
-
*
|
|
59
|
-
* the peer's `'main'` variant — the safe choice for variants-unaware
|
|
60
|
-
* peers and the standard pattern for cross-package composition.
|
|
66
|
+
* Pass `{ variant }` to target a specific variant on the peer; omitting
|
|
67
|
+
* it defaults to the peer's `'main'` variant. `{ options }` is required
|
|
68
|
+
* when the peer declares options and refused when it does not.
|
|
61
69
|
*/
|
|
62
|
-
insertOperation(projection, operation,
|
|
70
|
+
insertOperation(projection, operation, ...rest) {
|
|
63
71
|
return this.context.insertOperation({
|
|
64
72
|
projection,
|
|
65
73
|
operation,
|
|
66
74
|
destinationPath: this.settings.exportPath,
|
|
67
|
-
|
|
68
|
-
variant: options.variant
|
|
75
|
+
...toPeerInsertOptions(rest)
|
|
69
76
|
});
|
|
70
77
|
}
|
|
71
78
|
/**
|
|
72
79
|
* Insert a related model into this projection's export file.
|
|
73
80
|
*
|
|
74
81
|
* Pass `{ variant }` to target a specific variant on the peer model
|
|
75
|
-
* projection
|
|
82
|
+
* projection; omitting it defaults to the peer's `'main'` variant.
|
|
83
|
+
* `{ options }` is required when the peer declares options and refused
|
|
84
|
+
* when it does not.
|
|
76
85
|
*/
|
|
77
|
-
insertModel(projection, refName,
|
|
86
|
+
insertModel(projection, refName, ...rest) {
|
|
78
87
|
return this.context.insertModel(projection, refName, {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
variant: options.variant
|
|
88
|
+
...toPeerInsertOptions(rest),
|
|
89
|
+
destinationPath: this.settings.exportPath
|
|
82
90
|
});
|
|
83
91
|
}
|
|
84
92
|
/**
|
|
85
93
|
* Insert a related model with reference normalization. Useful for
|
|
86
94
|
* schemas that may be either a `$ref` or a concrete object.
|
|
87
95
|
*
|
|
88
|
-
* `{ variant }`
|
|
89
|
-
* schemas, bake
|
|
96
|
+
* `{ variant }` and `{ options }` flow through the `$ref` branch only;
|
|
97
|
+
* for inline schemas, bake what distinguishes them into `fallbackName`.
|
|
90
98
|
*/
|
|
91
|
-
insertNormalizedModel(projection, { schema, fallbackName },
|
|
99
|
+
insertNormalizedModel(projection, { schema, fallbackName }, ...rest) {
|
|
92
100
|
return this.context.insertNormalizedModel(projection, {
|
|
93
101
|
schema,
|
|
94
102
|
fallbackName,
|
|
95
103
|
destinationPath: this.settings.exportPath
|
|
96
|
-
},
|
|
97
|
-
noExport: options.noExport,
|
|
98
|
-
variant: options.variant
|
|
99
|
-
});
|
|
104
|
+
}, ...rest);
|
|
100
105
|
}
|
|
101
106
|
},
|
|
102
107
|
Object.defineProperty(_a, "id", {
|
|
@@ -4,17 +4,18 @@ 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 { ProjectionOptionsArg } from '../../../types/ProjectionOptions.js';
|
|
7
8
|
/**
|
|
8
9
|
* External constructor signature for a GraphQL operation projection class.
|
|
9
10
|
*
|
|
10
11
|
* The pipeline calls `new SomeProjection(args)` with this shape; the
|
|
11
12
|
* runtime base class injects `generatorKey` before calling `super()`.
|
|
12
13
|
*/
|
|
13
|
-
export type GqlOperationProjectionConstructorArgs<EnrichmentType = undefined> = {
|
|
14
|
+
export type GqlOperationProjectionConstructorArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
14
15
|
context: GenerateContextType;
|
|
15
16
|
settings: ContentSettings<EnrichmentType>;
|
|
16
17
|
operation: GqlOperation;
|
|
17
|
-
}
|
|
18
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
18
19
|
export type TransformGqlOperationArgs = {
|
|
19
20
|
context: GenerateContextType;
|
|
20
21
|
operation: GqlOperation;
|
|
@@ -54,33 +55,34 @@ export type ToGqlOperationMappingArgs = {
|
|
|
54
55
|
variant: string;
|
|
55
56
|
};
|
|
56
57
|
/**
|
|
57
|
-
* Arguments for a GraphQL operation projection's `toIdentifierName`
|
|
58
|
-
*
|
|
58
|
+
* Arguments for a GraphQL operation projection's `toIdentifierName`. Fold `options` into the name when the output
|
|
59
|
+
* depends on them: definitions are cached by name and export path.
|
|
59
60
|
*/
|
|
60
|
-
export type ToGqlOperationIdentifierNameArgs<EnrichmentType = undefined> = {
|
|
61
|
+
export type ToGqlOperationIdentifierNameArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
61
62
|
operation: GqlOperation;
|
|
62
63
|
enrichments: EnrichmentType;
|
|
63
64
|
/** Operation variant the identifier should disambiguate (see {@link Variant}) */
|
|
64
65
|
variant: string;
|
|
65
|
-
}
|
|
66
|
-
export type ToGqlOperationExportPathArgs<EnrichmentType = undefined> = {
|
|
66
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
67
|
+
export type ToGqlOperationExportPathArgs<EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
67
68
|
operation: GqlOperation;
|
|
68
69
|
enrichments: EnrichmentType;
|
|
69
70
|
/** Operation variant the export path should disambiguate (see {@link Variant}) */
|
|
70
71
|
variant: string;
|
|
71
|
-
}
|
|
72
|
+
} & ProjectionOptionsArg<ProjectionOptions>;
|
|
72
73
|
/**
|
|
73
74
|
* Static structural type of a GraphQL operation projection class.
|
|
74
75
|
*
|
|
75
76
|
* Captures both the instance side (`new(...) => V`) and the static side
|
|
76
77
|
* (`id`, `toIdentifierName`, `toIdentifierType`, `toExportPath`,
|
|
77
78
|
* `toEnrichments`). Passed as a type parameter to
|
|
78
|
-
* `context.insertOperation(...)`.
|
|
79
|
+
* `context.insertOperation(...)`. `ProjectionOptions` is the caller options
|
|
80
|
+
* the class declares; the Drivers infer it from the constructor and statics.
|
|
79
81
|
*/
|
|
80
|
-
export type GqlOperationProjection<V extends GeneratedValue, EnrichmentType = undefined> = {
|
|
82
|
+
export type GqlOperationProjection<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> = {
|
|
81
83
|
prototype: V;
|
|
82
84
|
} & {
|
|
83
|
-
new ({ context, settings, operation }: GqlOperationProjectionConstructorArgs<EnrichmentType>): V;
|
|
85
|
+
new ({ context, settings, operation, options }: GqlOperationProjectionConstructorArgs<EnrichmentType, ProjectionOptions>): V;
|
|
84
86
|
id: string;
|
|
85
87
|
type: 'gqlOperation';
|
|
86
88
|
/**
|
|
@@ -91,7 +93,7 @@ export type GqlOperationProjection<V extends GeneratedValue, EnrichmentType = un
|
|
|
91
93
|
*/
|
|
92
94
|
lang: Lang;
|
|
93
95
|
/** Pure: the cache-key name. */
|
|
94
|
-
toIdentifierName: (args: ToGqlOperationIdentifierNameArgs<EnrichmentType>) => string;
|
|
96
|
+
toIdentifierName: (args: ToGqlOperationIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
95
97
|
/**
|
|
96
98
|
* Context-aware, overridable: the non-`name` parts of the identifier,
|
|
97
99
|
* derived from the operation/schema. The engine assembles
|
|
@@ -99,7 +101,7 @@ export type GqlOperationProjection<V extends GeneratedValue, EnrichmentType = un
|
|
|
99
101
|
* ...toIdentifierType(operation, context) })`.
|
|
100
102
|
*/
|
|
101
103
|
toIdentifierType: (operation: GqlOperation, context: GenerateContextType) => IdentifierType;
|
|
102
|
-
toExportPath: (args: ToGqlOperationExportPathArgs<EnrichmentType>) => string;
|
|
104
|
+
toExportPath: (args: ToGqlOperationExportPathArgs<EnrichmentType, ProjectionOptions>) => string;
|
|
103
105
|
toEnrichments: ({ operation, context }: ToGqlOperationEnrichmentsArgs) => EnrichmentType;
|
|
104
106
|
/**
|
|
105
107
|
* Family-level capability predicate, surfaced as a static by
|
|
@@ -111,4 +113,3 @@ export type GqlOperationProjection<V extends GeneratedValue, EnrichmentType = un
|
|
|
111
113
|
*/
|
|
112
114
|
isSupported?: (args: IsSupportedGqlOperationArgs) => boolean;
|
|
113
115
|
} & Function;
|
|
114
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -3,22 +3,14 @@ import type { OasOperation } from '../../../oas/operation/Operation.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, InsertOasOperationArgs } from '../../../context/generateTypes.js';
|
|
7
|
+
/**
|
|
8
|
+
* The `insertOperation` call plus the context. The Driver defaults
|
|
9
|
+
* `variant` to `'main'` and `noExport` to `false`, and reads the caller's
|
|
10
|
+
* options once for the identity statics and the constructor.
|
|
11
|
+
*/
|
|
12
|
+
type CreateOperationArgs<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> = InsertOasOperationArgs<V, EnrichmentType, ProjectionOptions> & {
|
|
8
13
|
context: GenerateContextType;
|
|
9
|
-
projection: OasOperationProjection<V, EnrichmentType>;
|
|
10
|
-
operation: OasOperation;
|
|
11
|
-
destinationPath?: string;
|
|
12
|
-
noExport?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Target variant of the projection. The Driver resolves the
|
|
15
|
-
* peer's enrichment for this variant, asserts the variant exists
|
|
16
|
-
* (or is the default `'main'` which is always permitted), and
|
|
17
|
-
* threads it into the 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 OAS operation insertion lifecycle.
|
|
@@ -29,16 +21,19 @@ type CreateOperationArgs<V extends GeneratedValue, EnrichmentType = undefined> =
|
|
|
29
21
|
* definition, and stitches an import into `destinationPath` if it differs
|
|
30
22
|
* from the projection's `exportPath`.
|
|
31
23
|
*/
|
|
32
|
-
export declare class OasOperationDriver<V extends GeneratedValue, EnrichmentType = undefined> {
|
|
24
|
+
export declare class OasOperationDriver<V extends GeneratedValue, EnrichmentType = undefined, ProjectionOptions = undefined> {
|
|
25
|
+
#private;
|
|
33
26
|
context: GenerateContextType;
|
|
34
|
-
projection: OasOperationProjection<V, EnrichmentType>;
|
|
27
|
+
projection: OasOperationProjection<V, EnrichmentType, ProjectionOptions>;
|
|
35
28
|
operation: OasOperation;
|
|
36
29
|
settings: ContentSettings<EnrichmentType>;
|
|
37
30
|
destinationPath?: string;
|
|
38
31
|
definition: GeneratedDefinition<V>;
|
|
39
|
-
noExport
|
|
32
|
+
noExport: boolean;
|
|
40
33
|
variant: string;
|
|
41
|
-
|
|
34
|
+
/** The caller's options, as passed to `insertOperation`. */
|
|
35
|
+
options: ProjectionOptions;
|
|
36
|
+
constructor(args: CreateOperationArgs<V, EnrichmentType, ProjectionOptions>);
|
|
42
37
|
private apply;
|
|
43
38
|
/**
|
|
44
39
|
* Ensure the file at `path` exists, creating it on first write through
|
|
@@ -51,4 +46,3 @@ export declare class OasOperationDriver<V extends GeneratedValue, EnrichmentType
|
|
|
51
46
|
private affirmDefinition;
|
|
52
47
|
}
|
|
53
48
|
export {};
|
|
54
|
-
//# sourceMappingURL=OasOperationDriver.d.ts.map
|