@skmtc/core 0.0.983 → 0.16.1
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 +65 -32
- package/esm/_dnt.polyfills.d.ts +7 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -0
- package/esm/anchors/CaptureSink.d.ts +83 -0
- package/esm/anchors/CaptureSink.d.ts.map +1 -0
- package/esm/anchors/CaptureSink.js +188 -0
- package/esm/anchors/ParserAdapter.d.ts +76 -0
- package/esm/anchors/ParserAdapter.d.ts.map +1 -0
- package/esm/anchors/ParserAdapter.js +19 -0
- package/esm/anchors/attribute.d.ts +25 -0
- package/esm/anchors/attribute.d.ts.map +1 -0
- package/esm/anchors/attribute.js +84 -0
- package/esm/anchors/buildSidecar.d.ts +54 -0
- package/esm/anchors/buildSidecar.d.ts.map +1 -0
- package/esm/anchors/buildSidecar.js +104 -0
- package/esm/anchors/generationMap.d.ts +67 -0
- package/esm/anchors/generationMap.d.ts.map +1 -0
- package/esm/anchors/generationMap.js +97 -0
- package/esm/anchors/postPass.d.ts +87 -0
- package/esm/anchors/postPass.d.ts.map +1 -0
- package/esm/anchors/postPass.js +77 -0
- package/esm/anchors/sidecar.d.ts +89 -0
- package/esm/anchors/sidecar.d.ts.map +1 -0
- package/esm/anchors/sidecar.js +99 -0
- package/esm/anchors/types.d.ts +51 -0
- package/esm/anchors/types.d.ts.map +1 -0
- package/esm/anchors/types.js +9 -0
- package/esm/app/validate.d.ts +1 -0
- package/esm/app/validate.d.ts.map +1 -1
- package/esm/app/validate.js +1 -0
- package/esm/context/CoreContext.d.ts +75 -39
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/CoreContext.js +184 -53
- package/esm/context/GenerateContext.d.ts +154 -115
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +884 -255
- package/esm/context/ParseContext.d.ts +165 -107
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/ParseContext.js +399 -116
- package/esm/context/ParseIssue.d.ts +80 -0
- package/esm/context/ParseIssue.d.ts.map +1 -0
- package/esm/context/ParseIssue.js +33 -0
- package/esm/context/RenderContext.d.ts +46 -24
- package/esm/context/RenderContext.d.ts.map +1 -1
- package/esm/context/RenderContext.js +140 -37
- package/esm/context/StackTrail.d.ts +68 -0
- package/esm/context/StackTrail.d.ts.map +1 -1
- package/esm/context/StackTrail.js +84 -0
- package/esm/context/generateTypes.d.ts +253 -70
- package/esm/context/generateTypes.d.ts.map +1 -1
- package/esm/context/generateTypes.js +33 -1
- package/esm/context/parseTypes.d.ts +148 -49
- package/esm/context/parseTypes.d.ts.map +1 -1
- package/esm/context/parseTypes.js +17 -0
- package/esm/context/tryParseAt.d.ts +70 -0
- package/esm/context/tryParseAt.d.ts.map +1 -0
- package/esm/context/tryParseAt.js +53 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.js +903 -0
- package/esm/deps/jsr.io/@std/fs/1.0.23/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.23/exists.js +271 -0
- package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.13/_os.js +12 -0
- package/esm/deps/jsr.io/@std/internal/1.0.13/os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.13/os.js +5 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/types.js +15 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.js +61 -0
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
- package/esm/dsl/CodeFileBase.d.ts +38 -0
- package/esm/dsl/CodeFileBase.d.ts.map +1 -0
- package/esm/dsl/CodeFileBase.js +60 -0
- package/esm/dsl/ContentSettings.d.ts +44 -20
- package/esm/dsl/ContentSettings.d.ts.map +1 -1
- package/esm/dsl/ContentSettings.js +35 -17
- package/esm/dsl/CustomValue.d.ts +3 -2
- package/esm/dsl/CustomValue.d.ts.map +1 -1
- package/esm/dsl/CustomValue.js +3 -2
- package/esm/dsl/Definition.d.ts +32 -200
- package/esm/dsl/Definition.d.ts.map +1 -1
- package/esm/dsl/Definition.js +16 -212
- package/esm/dsl/FileBase.d.ts +42 -0
- package/esm/dsl/FileBase.d.ts.map +1 -0
- package/esm/dsl/FileBase.js +53 -0
- package/esm/dsl/GeneratedValue.d.ts +2 -2
- package/esm/dsl/GeneratedValue.d.ts.map +1 -1
- package/esm/dsl/GeneratorKeys.d.ts +266 -73
- package/esm/dsl/GeneratorKeys.d.ts.map +1 -1
- package/esm/dsl/GeneratorKeys.js +199 -67
- package/esm/dsl/IdentifierBase.d.ts +55 -0
- package/esm/dsl/IdentifierBase.d.ts.map +1 -0
- package/esm/dsl/IdentifierBase.js +64 -0
- package/esm/dsl/IdentifierType.d.ts +31 -0
- package/esm/dsl/IdentifierType.d.ts.map +1 -0
- package/esm/dsl/IdentifierType.js +1 -0
- package/esm/dsl/ImportBase.d.ts +40 -0
- package/esm/dsl/ImportBase.d.ts.map +1 -0
- package/esm/dsl/ImportBase.js +24 -0
- package/esm/dsl/Inserted.d.ts +10 -10
- package/esm/dsl/Inserted.d.ts.map +1 -1
- package/esm/dsl/Inserted.js +8 -8
- package/esm/dsl/JsonFile.d.ts +2 -3
- package/esm/dsl/JsonFile.d.ts.map +1 -1
- package/esm/dsl/JsonFile.js +3 -9
- package/esm/dsl/Lang.d.ts +136 -0
- package/esm/dsl/Lang.d.ts.map +1 -0
- package/esm/dsl/Lang.js +1 -0
- package/esm/dsl/ReExportBase.d.ts +42 -0
- package/esm/dsl/ReExportBase.d.ts.map +1 -0
- package/esm/dsl/ReExportBase.js +27 -0
- package/esm/dsl/SnippetBase.d.ts +86 -0
- package/esm/dsl/SnippetBase.d.ts.map +1 -0
- package/esm/dsl/SnippetBase.js +113 -0
- package/esm/dsl/Stringable.d.ts +1 -0
- package/esm/dsl/Stringable.d.ts.map +1 -1
- package/esm/dsl/Stringable.js +9 -1
- package/esm/dsl/model/ModelDriver.d.ts +23 -58
- package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
- package/esm/dsl/model/ModelDriver.js +86 -77
- package/esm/dsl/model/toModelEntry.d.ts +17 -23
- package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
- package/esm/dsl/model/toModelEntry.js +7 -14
- package/esm/dsl/model/toModelProjectionBase.d.ts +125 -0
- package/esm/dsl/model/toModelProjectionBase.d.ts.map +1 -0
- package/esm/dsl/model/toModelProjectionBase.js +146 -0
- package/esm/dsl/model/types.d.ts +87 -54
- package/esm/dsl/model/types.d.ts.map +1 -1
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +52 -0
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -0
- package/esm/dsl/operation/gql/GqlOperationDriver.js +203 -0
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +44 -0
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -0
- package/esm/dsl/operation/gql/toGqlOperationEntry.js +45 -0
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +128 -0
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -0
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.js +160 -0
- package/esm/dsl/operation/gql/types.d.ts +141 -0
- package/esm/dsl/operation/gql/types.d.ts.map +1 -0
- package/esm/dsl/operation/gql/types.js +1 -0
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts +52 -0
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -0
- package/esm/dsl/operation/oas/OasOperationDriver.js +220 -0
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +70 -0
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -0
- package/esm/dsl/operation/oas/toOasOperationEntry.js +68 -0
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +144 -0
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -0
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.js +177 -0
- package/esm/dsl/operation/oas/types.d.ts +151 -0
- package/esm/dsl/operation/oas/types.d.ts.map +1 -0
- package/esm/dsl/operation/oas/types.js +1 -0
- package/esm/dsl/webhook/WebhookDriver.d.ts +50 -0
- package/esm/dsl/webhook/WebhookDriver.d.ts.map +1 -0
- package/esm/dsl/webhook/WebhookDriver.js +190 -0
- package/esm/dsl/webhook/toWebhookEntry.d.ts +58 -0
- package/esm/dsl/webhook/toWebhookEntry.d.ts.map +1 -0
- package/esm/dsl/webhook/toWebhookEntry.js +64 -0
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +125 -0
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -0
- package/esm/dsl/webhook/toWebhookProjectionBase.js +160 -0
- package/esm/dsl/webhook/types.d.ts +149 -0
- package/esm/dsl/webhook/types.d.ts.map +1 -0
- package/esm/dsl/webhook/types.js +1 -0
- package/esm/enrichments/readEnrichments.d.ts +69 -0
- package/esm/enrichments/readEnrichments.d.ts.map +1 -0
- package/esm/enrichments/readEnrichments.js +59 -0
- package/esm/enrichments/toEnrichmentDescriptor.d.ts +97 -0
- package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +1 -0
- package/esm/enrichments/toEnrichmentDescriptor.js +157 -0
- package/esm/gql/_helpers/recordAppliedDirectives.d.ts +25 -0
- package/esm/gql/_helpers/recordAppliedDirectives.d.ts.map +1 -0
- package/esm/gql/_helpers/recordAppliedDirectives.js +37 -0
- package/esm/gql/_helpers/unwrapType.d.ts +39 -0
- package/esm/gql/_helpers/unwrapType.d.ts.map +1 -0
- package/esm/gql/_helpers/unwrapType.js +47 -0
- package/esm/gql/argument/GqlArgument.d.ts +55 -0
- package/esm/gql/argument/GqlArgument.d.ts.map +1 -0
- package/esm/gql/argument/GqlArgument.js +83 -0
- package/esm/gql/document/GqlDocument.d.ts +93 -0
- package/esm/gql/document/GqlDocument.d.ts.map +1 -0
- package/esm/gql/document/GqlDocument.js +170 -0
- package/esm/gql/document/parseGqlDocument.d.ts +33 -0
- package/esm/gql/document/parseGqlDocument.d.ts.map +1 -0
- package/esm/gql/document/parseGqlDocument.js +185 -0
- package/esm/gql/enum/toEnumType.d.ts +29 -0
- package/esm/gql/enum/toEnumType.d.ts.map +1 -0
- package/esm/gql/enum/toEnumType.js +22 -0
- package/esm/gql/field/toFieldSchema.d.ts +38 -0
- package/esm/gql/field/toFieldSchema.d.ts.map +1 -0
- package/esm/gql/field/toFieldSchema.js +83 -0
- package/esm/gql/input/toInputType.d.ts +28 -0
- package/esm/gql/input/toInputType.d.ts.map +1 -0
- package/esm/gql/input/toInputType.js +46 -0
- package/esm/gql/interface/toInterfaceUnion.d.ts +28 -0
- package/esm/gql/interface/toInterfaceUnion.d.ts.map +1 -0
- package/esm/gql/interface/toInterfaceUnion.js +34 -0
- package/esm/gql/object/toObjectType.d.ts +23 -0
- package/esm/gql/object/toObjectType.d.ts.map +1 -0
- package/esm/gql/object/toObjectType.js +62 -0
- package/esm/gql/operation/GqlOperation.d.ts +63 -0
- package/esm/gql/operation/GqlOperation.d.ts.map +1 -0
- package/esm/gql/operation/GqlOperation.js +90 -0
- package/esm/gql/operation/synthesizeArgsObject.d.ts +22 -0
- package/esm/gql/operation/synthesizeArgsObject.d.ts.map +1 -0
- package/esm/gql/operation/synthesizeArgsObject.js +37 -0
- package/esm/gql/operation/toRootField.d.ts +26 -0
- package/esm/gql/operation/toRootField.d.ts.map +1 -0
- package/esm/gql/operation/toRootField.js +51 -0
- package/esm/gql/registry/GqlRegistry.d.ts +70 -0
- package/esm/gql/registry/GqlRegistry.d.ts.map +1 -0
- package/esm/gql/registry/GqlRegistry.js +76 -0
- package/esm/gql/rootType/GqlRootTypes.d.ts +15 -0
- package/esm/gql/rootType/GqlRootTypes.d.ts.map +1 -0
- package/esm/gql/rootType/GqlRootTypes.js +1 -0
- package/esm/gql/scalar/toScalarType.d.ts +33 -0
- package/esm/gql/scalar/toScalarType.d.ts.map +1 -0
- package/esm/gql/scalar/toScalarType.js +43 -0
- package/esm/gql/union/toUnionType.d.ts +24 -0
- package/esm/gql/union/toUnionType.d.ts.map +1 -0
- package/esm/gql/union/toUnionType.js +29 -0
- package/esm/helpers/collateExamples.d.ts +1 -0
- package/esm/helpers/collateExamples.d.ts.map +1 -1
- package/esm/helpers/collateExamples.js +1 -0
- package/esm/helpers/formatNumber.d.ts +1 -0
- package/esm/helpers/formatNumber.d.ts.map +1 -1
- package/esm/helpers/formatNumber.js +1 -0
- package/esm/helpers/isEmpty.d.ts +1 -0
- package/esm/helpers/isEmpty.d.ts.map +1 -1
- package/esm/helpers/isEmpty.js +1 -0
- package/esm/helpers/isImported.js +1 -1
- package/esm/helpers/refFns.d.ts +2 -1
- package/esm/helpers/refFns.d.ts.map +1 -1
- package/esm/helpers/refFns.js +1 -0
- package/esm/helpers/strings.d.ts +1 -0
- package/esm/helpers/strings.d.ts.map +1 -1
- package/esm/helpers/strings.js +1 -0
- package/esm/helpers/toResolvedArtifactPath.d.ts +1 -0
- package/esm/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/esm/helpers/toResolvedArtifactPath.js +2 -1
- package/esm/helpers/toVariantList.d.ts +32 -0
- package/esm/helpers/toVariantList.d.ts.map +1 -0
- package/esm/helpers/toVariantList.js +31 -0
- package/esm/helpers/withVariant.d.ts +20 -0
- package/esm/helpers/withVariant.d.ts.map +1 -0
- package/esm/helpers/withVariant.js +27 -0
- package/esm/mod.d.ts +58 -37
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +61 -37
- package/esm/oas/array/Array.d.ts +5 -2
- package/esm/oas/array/Array.d.ts.map +1 -1
- package/esm/oas/array/Array.js +5 -2
- package/esm/oas/boolean/Boolean.d.ts +8 -2
- package/esm/oas/boolean/Boolean.d.ts.map +1 -1
- package/esm/oas/boolean/Boolean.js +8 -2
- package/esm/oas/components/Components.d.ts +1 -0
- package/esm/oas/components/Components.d.ts.map +1 -1
- package/esm/oas/components/Components.js +1 -0
- package/esm/oas/discriminator/Discriminator.d.ts +1 -0
- package/esm/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/esm/oas/discriminator/Discriminator.js +1 -0
- package/esm/oas/document/Document.d.ts +56 -2
- package/esm/oas/document/Document.d.ts.map +1 -1
- package/esm/oas/document/Document.js +61 -1
- package/esm/oas/info/Info.d.ts +1 -0
- package/esm/oas/info/Info.d.ts.map +1 -1
- package/esm/oas/info/Info.js +1 -0
- package/esm/oas/integer/Integer.d.ts +5 -2
- package/esm/oas/integer/Integer.d.ts.map +1 -1
- package/esm/oas/integer/Integer.js +5 -2
- package/esm/oas/mediaType/MediaType.d.ts +4 -2
- package/esm/oas/mediaType/MediaType.d.ts.map +1 -1
- package/esm/oas/mediaType/MediaType.js +4 -2
- package/esm/oas/number/Number.d.ts +5 -2
- package/esm/oas/number/Number.d.ts.map +1 -1
- package/esm/oas/number/Number.js +5 -2
- package/esm/oas/object/Object.d.ts +5 -2
- package/esm/oas/object/Object.d.ts.map +1 -1
- package/esm/oas/object/Object.js +5 -2
- package/esm/oas/operation/Operation.d.ts +5 -2
- package/esm/oas/operation/Operation.d.ts.map +1 -1
- package/esm/oas/operation/Operation.js +5 -2
- package/esm/oas/parameter/Parameter.d.ts +5 -2
- package/esm/oas/parameter/Parameter.d.ts.map +1 -1
- package/esm/oas/parameter/Parameter.js +5 -2
- package/esm/oas/ref/Ref.d.ts +37 -6
- package/esm/oas/ref/Ref.d.ts.map +1 -1
- package/esm/oas/ref/Ref.js +67 -40
- package/esm/oas/requestBody/RequestBody.d.ts +5 -2
- package/esm/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/esm/oas/requestBody/RequestBody.js +5 -2
- package/esm/oas/response/Response.d.ts +5 -2
- package/esm/oas/response/Response.d.ts.map +1 -1
- package/esm/oas/response/Response.js +5 -2
- package/esm/oas/schema/Schema.d.ts +1 -0
- package/esm/oas/schema/Schema.d.ts.map +1 -1
- package/esm/oas/schema/Schema.js +1 -1
- package/esm/oas/server/Server.d.ts +1 -0
- package/esm/oas/server/Server.d.ts.map +1 -1
- package/esm/oas/server/Server.js +1 -0
- package/esm/oas/string/String.d.ts +5 -2
- package/esm/oas/string/String.d.ts.map +1 -1
- package/esm/oas/string/String.js +5 -2
- package/esm/oas/tag/Tag.d.ts +4 -0
- package/esm/oas/tag/Tag.d.ts.map +1 -1
- package/esm/oas/tag/Tag.js +4 -0
- package/esm/oas/tag/tag-types.d.ts +2 -0
- package/esm/oas/tag/tag-types.d.ts.map +1 -1
- package/esm/oas/tag/tag-types.js +3 -2
- package/esm/oas/union/Union.d.ts +4 -2
- package/esm/oas/union/Union.d.ts.map +1 -1
- package/esm/oas/union/Union.js +4 -2
- package/esm/oas/unknown/Unknown.d.ts +5 -2
- package/esm/oas/unknown/Unknown.d.ts.map +1 -1
- package/esm/oas/unknown/Unknown.js +5 -2
- package/esm/oas/void/Void.d.ts +6 -3
- package/esm/oas/void/Void.d.ts.map +1 -1
- package/esm/oas/void/Void.js +6 -3
- package/esm/oas/webhook/Webhook.d.ts +109 -0
- package/esm/oas/webhook/Webhook.d.ts.map +1 -0
- package/esm/oas/webhook/Webhook.js +166 -0
- package/esm/parse/toOasDialect.d.ts +26 -0
- package/esm/parse/toOasDialect.d.ts.map +1 -0
- package/esm/parse/toOasDialect.js +22 -0
- package/esm/parse/v3-0/_helpers/parseDefault.d.ts +44 -0
- package/esm/parse/v3-0/_helpers/parseDefault.d.ts.map +1 -0
- package/esm/parse/v3-0/_helpers/parseDefault.js +39 -0
- package/esm/parse/v3-0/_helpers/parseEnum.d.ts +14 -0
- package/esm/parse/v3-0/_helpers/parseEnum.d.ts.map +1 -0
- package/esm/parse/v3-0/_helpers/parseEnum.js +23 -0
- package/esm/parse/v3-0/_helpers/parseExample.d.ts +42 -0
- package/esm/parse/v3-0/_helpers/parseExample.d.ts.map +1 -0
- package/esm/parse/v3-0/_helpers/parseExample.js +37 -0
- package/esm/parse/v3-0/_helpers/parseNullable.d.ts +142 -0
- package/esm/parse/v3-0/_helpers/parseNullable.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/cross-product.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/decompose-union.js +73 -0
- package/esm/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/is-equal.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-required.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-union.js +61 -0
- package/esm/parse/v3-0/_merge-all-of/merge.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge.js +155 -0
- package/esm/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/nullable-merge.js +12 -0
- package/esm/parse/v3-0/_merge-all-of/types.d.ts.map +1 -0
- package/esm/parse/v3-0/array/toArray.d.ts +81 -0
- package/esm/parse/v3-0/array/toArray.d.ts.map +1 -0
- package/esm/parse/v3-0/array/toArray.js +165 -0
- package/esm/parse/v3-0/boolean/toBoolean.d.ts +79 -0
- package/esm/parse/v3-0/boolean/toBoolean.d.ts.map +1 -0
- package/esm/parse/v3-0/boolean/toBoolean.js +139 -0
- package/esm/parse/v3-0/components/toComponentsV3.d.ts +11 -0
- package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/components/toComponentsV3.js +39 -0
- package/esm/parse/v3-0/contact/toContactV3.d.ts +6 -0
- package/esm/parse/v3-0/contact/toContactV3.d.ts.map +1 -0
- package/esm/parse/v3-0/contact/toContactV3.js +18 -0
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +11 -0
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.js +20 -0
- package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts +14 -0
- package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/document/toDocumentFieldsV3.js +32 -0
- package/esm/parse/v3-0/example/toExamplesV3.d.ts +68 -0
- package/esm/parse/v3-0/example/toExamplesV3.d.ts.map +1 -0
- package/esm/parse/v3-0/example/toExamplesV3.js +89 -0
- package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts +11 -0
- package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/esm/parse/v3-0/externalDocs/toExternalDocs.js +15 -0
- package/esm/parse/v3-0/header/toHeadersV3.d.ts +17 -0
- package/esm/parse/v3-0/header/toHeadersV3.d.ts.map +1 -0
- package/esm/parse/v3-0/header/toHeadersV3.js +47 -0
- package/esm/parse/v3-0/info/toInfoV3.d.ts +11 -0
- package/esm/parse/v3-0/info/toInfoV3.d.ts.map +1 -0
- package/esm/parse/v3-0/info/toInfoV3.js +23 -0
- package/esm/parse/v3-0/integer/toInteger.d.ts +22 -0
- package/esm/parse/v3-0/integer/toInteger.d.ts.map +1 -0
- package/esm/parse/v3-0/integer/toInteger.js +112 -0
- package/esm/parse/v3-0/license/toLicenseV3.d.ts +6 -0
- package/esm/parse/v3-0/license/toLicenseV3.d.ts.map +1 -0
- package/esm/parse/v3-0/license/toLicenseV3.js +17 -0
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +315 -0
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.js +314 -0
- package/esm/parse/v3-0/number/toNumber.d.ts +11 -0
- package/esm/parse/v3-0/number/toNumber.d.ts.map +1 -0
- package/esm/parse/v3-0/number/toNumber.js +112 -0
- package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +12 -0
- package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/esm/parse/v3-0/object/toObject.d.ts +11 -0
- package/esm/parse/v3-0/object/toObject.d.ts.map +1 -0
- package/esm/parse/v3-0/object/toObject.js +88 -0
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts +26 -0
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/operation/toOperationsV3.js +113 -0
- package/esm/parse/v3-0/parameter/toParameterV3.d.ts +40 -0
- package/esm/parse/v3-0/parameter/toParameterV3.d.ts.map +1 -0
- package/esm/parse/v3-0/parameter/toParameterV3.js +112 -0
- package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts +11 -0
- package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts.map +1 -0
- package/esm/parse/v3-0/pathItem/toPathItemV3.js +18 -0
- package/esm/parse/v3-0/ref/toRefV31.d.ts +20 -0
- package/esm/parse/v3-0/ref/toRefV31.d.ts.map +1 -0
- package/esm/parse/v3-0/ref/toRefV31.js +10 -0
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +19 -0
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.js +44 -0
- package/esm/parse/v3-0/response/toResponseV3.d.ts +24 -0
- package/esm/parse/v3-0/response/toResponseV3.d.ts.map +1 -0
- package/esm/parse/v3-0/response/toResponseV3.js +52 -0
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts +30 -0
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -0
- package/esm/parse/v3-0/schema/toSchemasV3.js +296 -0
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +10 -0
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.js +9 -0
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +18 -0
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.js +105 -0
- package/esm/parse/v3-0/server/toServerV3.d.ts +23 -0
- package/esm/parse/v3-0/server/toServerV3.d.ts.map +1 -0
- package/esm/parse/v3-0/server/toServerV3.js +30 -0
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts +23 -0
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +1 -0
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.js +30 -0
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.js +25 -0
- package/esm/parse/v3-0/string/toString.d.ts +147 -0
- package/esm/parse/v3-0/string/toString.d.ts.map +1 -0
- package/esm/parse/v3-0/string/toString.js +218 -0
- package/esm/parse/v3-0/tag/toTagsV3.d.ts +17 -0
- package/esm/parse/v3-0/tag/toTagsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/tag/toTagsV3.js +27 -0
- package/esm/parse/v3-0/union/toUnion.d.ts +13 -0
- package/esm/parse/v3-0/union/toUnion.d.ts.map +1 -0
- package/esm/parse/v3-0/union/toUnion.js +66 -0
- package/esm/parse/v3-0/unknown/toUnknown.d.ts +11 -0
- package/esm/parse/v3-0/unknown/toUnknown.d.ts.map +1 -0
- package/esm/parse/v3-0/unknown/toUnknown.js +19 -0
- package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts +49 -0
- package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts.map +1 -0
- package/esm/parse/v3-0/webhook/toWebhooksV3.js +130 -0
- package/esm/parse/v3-1/_helpers/parseDefault.d.ts +44 -0
- package/esm/parse/v3-1/_helpers/parseDefault.d.ts.map +1 -0
- package/esm/parse/v3-1/_helpers/parseDefault.js +39 -0
- package/esm/parse/v3-1/_helpers/parseEnum.d.ts +14 -0
- package/esm/parse/v3-1/_helpers/parseEnum.d.ts.map +1 -0
- package/esm/parse/v3-1/_helpers/parseEnum.js +23 -0
- package/esm/parse/v3-1/_helpers/parseExample.d.ts +42 -0
- package/esm/parse/v3-1/_helpers/parseExample.d.ts.map +1 -0
- package/esm/parse/v3-1/_helpers/parseExample.js +37 -0
- package/esm/parse/v3-1/_helpers/parseNullable.d.ts +142 -0
- package/esm/parse/v3-1/_helpers/parseNullable.d.ts.map +1 -0
- package/esm/parse/v3-1/_helpers/parseNullable.js +140 -0
- package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.js +9 -0
- package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.js +5 -0
- package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.js +11 -0
- package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.js +5 -0
- package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.js +11 -0
- package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.js +5 -0
- package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.js +5 -0
- package/esm/parse/v3-1/_merge-all-of/cross-product.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/cross-product.js +3 -0
- package/esm/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/decompose-intersection.js +27 -0
- package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/decompose-union.js +73 -0
- package/esm/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/generic-merge.js +12 -0
- package/esm/parse/v3-1/_merge-all-of/is-equal.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/is-equal.js +19 -0
- package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.js +44 -0
- package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.js +7 -0
- package/esm/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-enum-values.js +32 -0
- package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.js +41 -0
- package/esm/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-intersection.js +16 -0
- package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.js +41 -0
- package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.js +28 -0
- package/esm/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-properties.js +25 -0
- package/esm/parse/v3-1/_merge-all-of/merge-required.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-required.js +10 -0
- package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.js +55 -0
- package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-union.js +61 -0
- package/esm/parse/v3-1/_merge-all-of/merge.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge.js +155 -0
- package/esm/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/nullable-merge.js +12 -0
- package/esm/parse/v3-1/_merge-all-of/types.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/types.js +2 -0
- package/esm/parse/v3-1/array/toArray.d.ts +81 -0
- package/esm/parse/v3-1/array/toArray.d.ts.map +1 -0
- package/esm/parse/v3-1/array/toArray.js +165 -0
- package/esm/parse/v3-1/boolean/toBoolean.d.ts +79 -0
- package/esm/parse/v3-1/boolean/toBoolean.d.ts.map +1 -0
- package/esm/parse/v3-1/boolean/toBoolean.js +139 -0
- package/esm/parse/v3-1/components/toComponentsV3.d.ts +11 -0
- package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/components/toComponentsV3.js +39 -0
- package/esm/parse/v3-1/contact/toContactV3.d.ts +6 -0
- package/esm/parse/v3-1/contact/toContactV3.d.ts.map +1 -0
- package/esm/parse/v3-1/contact/toContactV3.js +18 -0
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +11 -0
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.js +20 -0
- package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts +15 -0
- package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/document/toDocumentFieldsV3.js +32 -0
- package/esm/parse/v3-1/example/toExamplesV3.d.ts +68 -0
- package/esm/parse/v3-1/example/toExamplesV3.d.ts.map +1 -0
- package/esm/parse/v3-1/example/toExamplesV3.js +89 -0
- package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts +11 -0
- package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/esm/parse/v3-1/externalDocs/toExternalDocs.js +15 -0
- package/esm/parse/v3-1/header/toHeadersV3.d.ts +17 -0
- package/esm/parse/v3-1/header/toHeadersV3.d.ts.map +1 -0
- package/esm/parse/v3-1/header/toHeadersV3.js +47 -0
- package/esm/parse/v3-1/info/toInfoV3.d.ts +11 -0
- package/esm/parse/v3-1/info/toInfoV3.d.ts.map +1 -0
- package/esm/parse/v3-1/info/toInfoV3.js +23 -0
- package/esm/parse/v3-1/integer/toInteger.d.ts +22 -0
- package/esm/parse/v3-1/integer/toInteger.d.ts.map +1 -0
- package/esm/parse/v3-1/integer/toInteger.js +112 -0
- package/esm/parse/v3-1/license/toLicenseV3.d.ts +6 -0
- package/esm/parse/v3-1/license/toLicenseV3.d.ts.map +1 -0
- package/esm/parse/v3-1/license/toLicenseV3.js +17 -0
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +315 -0
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.js +314 -0
- package/esm/parse/v3-1/number/toNumber.d.ts +11 -0
- package/esm/parse/v3-1/number/toNumber.d.ts.map +1 -0
- package/esm/parse/v3-1/number/toNumber.js +112 -0
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +12 -0
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.js +10 -0
- package/esm/parse/v3-1/object/toObject.d.ts +11 -0
- package/esm/parse/v3-1/object/toObject.d.ts.map +1 -0
- package/esm/parse/v3-1/object/toObject.js +88 -0
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts +26 -0
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/operation/toOperationsV3.js +116 -0
- package/esm/parse/v3-1/parameter/toParameterV3.d.ts +40 -0
- package/esm/parse/v3-1/parameter/toParameterV3.d.ts.map +1 -0
- package/esm/parse/v3-1/parameter/toParameterV3.js +112 -0
- package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts +11 -0
- package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts.map +1 -0
- package/esm/parse/v3-1/pathItem/toPathItemV3.js +18 -0
- package/esm/parse/v3-1/ref/toRefV31.d.ts +20 -0
- package/esm/parse/v3-1/ref/toRefV31.d.ts.map +1 -0
- package/esm/parse/v3-1/ref/toRefV31.js +10 -0
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +19 -0
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.js +44 -0
- package/esm/parse/v3-1/response/toResponseV3.d.ts +24 -0
- package/esm/parse/v3-1/response/toResponseV3.d.ts.map +1 -0
- package/esm/parse/v3-1/response/toResponseV3.js +52 -0
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts +30 -0
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -0
- package/esm/parse/v3-1/schema/toSchemasV3.js +478 -0
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +10 -0
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.js +9 -0
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +18 -0
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.js +105 -0
- package/esm/parse/v3-1/server/toServerV3.d.ts +23 -0
- package/esm/parse/v3-1/server/toServerV3.d.ts.map +1 -0
- package/esm/parse/v3-1/server/toServerV3.js +30 -0
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts +23 -0
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +1 -0
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.js +30 -0
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.js +25 -0
- package/esm/parse/v3-1/string/toString.d.ts +147 -0
- package/esm/parse/v3-1/string/toString.d.ts.map +1 -0
- package/esm/parse/v3-1/string/toString.js +218 -0
- package/esm/parse/v3-1/tag/toTagsV3.d.ts +17 -0
- package/esm/parse/v3-1/tag/toTagsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/tag/toTagsV3.js +27 -0
- package/esm/parse/v3-1/union/toUnion.d.ts +13 -0
- package/esm/parse/v3-1/union/toUnion.d.ts.map +1 -0
- package/esm/parse/v3-1/union/toUnion.js +66 -0
- package/esm/parse/v3-1/unknown/toUnknown.d.ts +11 -0
- package/esm/parse/v3-1/unknown/toUnknown.d.ts.map +1 -0
- package/esm/parse/v3-1/unknown/toUnknown.js +19 -0
- package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts +49 -0
- package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts.map +1 -0
- package/esm/parse/v3-1/webhook/toWebhooksV3.js +130 -0
- package/esm/run/toArtifacts.d.ts +20 -25
- package/esm/run/toArtifacts.d.ts.map +1 -1
- package/esm/run/toArtifacts.js +9 -27
- package/esm/run/toEnrichmentDefaults.d.ts +51 -0
- package/esm/run/toEnrichmentDefaults.d.ts.map +1 -0
- package/esm/run/toEnrichmentDefaults.js +24 -0
- package/esm/run/toSupportedSubjects.d.ts +48 -0
- package/esm/run/toSupportedSubjects.d.ts.map +1 -0
- package/esm/run/toSupportedSubjects.js +21 -0
- package/esm/types/AccessorPath.d.ts +17 -0
- package/esm/types/AccessorPath.d.ts.map +1 -0
- package/esm/types/AccessorPath.js +9 -0
- package/esm/types/AttributionState.d.ts +51 -0
- package/esm/types/AttributionState.d.ts.map +1 -0
- package/esm/types/AttributionState.js +20 -0
- package/esm/types/Brand.d.ts +3 -2
- package/esm/types/Brand.d.ts.map +1 -1
- package/esm/types/Brand.js +10 -1
- package/esm/types/DenoJson.d.ts +1 -0
- package/esm/types/DenoJson.d.ts.map +1 -1
- package/esm/types/DenoJson.js +1 -0
- package/esm/types/EnrichmentDefaults.d.ts +33 -0
- package/esm/types/EnrichmentDefaults.d.ts.map +1 -0
- package/esm/types/EnrichmentDefaults.js +21 -0
- package/esm/types/EnrichmentRequest.d.ts +1 -0
- package/esm/types/EnrichmentRequest.d.ts.map +1 -1
- package/esm/types/EnrichmentRequest.js +1 -1
- package/esm/types/Enrichments.d.ts +136 -175
- package/esm/types/Enrichments.d.ts.map +1 -1
- package/esm/types/Enrichments.js +100 -134
- package/esm/types/GeneratorType.d.ts +45 -107
- package/esm/types/GeneratorType.d.ts.map +1 -1
- package/esm/types/JsonPointer.d.ts +92 -0
- package/esm/types/JsonPointer.d.ts.map +1 -0
- package/esm/types/JsonPointer.js +112 -0
- package/esm/types/Manifest.d.ts +11 -2
- package/esm/types/Manifest.d.ts.map +1 -1
- package/esm/types/Manifest.js +49 -2
- package/esm/types/Method.d.ts +1 -0
- package/esm/types/Method.d.ts.map +1 -1
- package/esm/types/Method.js +1 -0
- package/esm/types/ModuleExport.d.ts +1 -0
- package/esm/types/ModuleExport.d.ts.map +1 -1
- package/esm/types/ModuleExport.js +1 -0
- package/esm/types/OasBase.d.ts +40 -0
- package/esm/types/OasBase.d.ts.map +1 -0
- package/esm/types/OasBase.js +48 -0
- package/esm/types/Preview.d.ts +100 -66
- package/esm/types/Preview.d.ts.map +1 -1
- package/esm/types/Preview.js +67 -65
- package/esm/types/RefName.d.ts +3 -2
- package/esm/types/RefName.d.ts.map +1 -1
- package/esm/types/RefName.js +1 -1
- package/esm/types/Results.d.ts +1 -0
- package/esm/types/Results.d.ts.map +1 -1
- package/esm/types/Results.js +1 -0
- package/esm/types/Settings.d.ts +236 -25
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/Settings.js +71 -7
- package/esm/types/SkmtcDocument.d.ts +81 -0
- package/esm/types/SkmtcDocument.d.ts.map +1 -0
- package/esm/types/SkmtcDocument.js +18 -0
- package/esm/types/SupportedSubjects.d.ts +41 -0
- package/esm/types/SupportedSubjects.d.ts.map +1 -0
- package/esm/types/SupportedSubjects.js +10 -0
- package/esm/types/TypeSystem.d.ts +1 -0
- package/esm/types/TypeSystem.d.ts.map +1 -1
- package/esm/types/TypeSystem.js +1 -1
- package/esm/types/Variant.d.ts +65 -0
- package/esm/types/Variant.d.ts.map +1 -0
- package/esm/types/Variant.js +55 -0
- package/package.json +6 -7
- package/script/_dnt.polyfills.d.ts +7 -0
- package/script/_dnt.polyfills.d.ts.map +1 -0
- package/script/anchors/CaptureSink.d.ts +83 -0
- package/script/anchors/CaptureSink.d.ts.map +1 -0
- package/script/anchors/CaptureSink.js +192 -0
- package/script/anchors/ParserAdapter.d.ts +76 -0
- package/script/anchors/ParserAdapter.d.ts.map +1 -0
- package/script/anchors/ParserAdapter.js +20 -0
- package/script/anchors/attribute.d.ts +25 -0
- package/script/anchors/attribute.d.ts.map +1 -0
- package/script/anchors/attribute.js +88 -0
- package/script/anchors/buildSidecar.d.ts +54 -0
- package/script/anchors/buildSidecar.d.ts.map +1 -0
- package/script/anchors/buildSidecar.js +108 -0
- package/script/anchors/generationMap.d.ts +67 -0
- package/script/anchors/generationMap.d.ts.map +1 -0
- package/script/anchors/generationMap.js +136 -0
- package/script/anchors/postPass.d.ts +87 -0
- package/script/anchors/postPass.d.ts.map +1 -0
- package/script/anchors/postPass.js +81 -0
- package/script/anchors/sidecar.d.ts +89 -0
- package/script/anchors/sidecar.d.ts.map +1 -0
- package/script/anchors/sidecar.js +136 -0
- package/script/anchors/types.d.ts +51 -0
- package/script/anchors/types.d.ts.map +1 -0
- package/script/anchors/types.js +10 -0
- package/script/app/validate.d.ts +1 -0
- package/script/app/validate.d.ts.map +1 -1
- package/script/app/validate.js +1 -0
- package/script/context/CoreContext.d.ts +75 -39
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/CoreContext.js +184 -53
- package/script/context/GenerateContext.d.ts +154 -115
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +888 -257
- package/script/context/ParseContext.d.ts +165 -107
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/ParseContext.js +399 -116
- package/script/context/ParseIssue.d.ts +80 -0
- package/script/context/ParseIssue.d.ts.map +1 -0
- package/script/context/ParseIssue.js +69 -0
- package/script/context/RenderContext.d.ts +46 -24
- package/script/context/RenderContext.d.ts.map +1 -1
- package/script/context/RenderContext.js +140 -37
- package/script/context/StackTrail.d.ts +68 -0
- package/script/context/StackTrail.d.ts.map +1 -1
- package/script/context/StackTrail.js +84 -0
- package/script/context/generateTypes.d.ts +253 -70
- package/script/context/generateTypes.d.ts.map +1 -1
- package/script/context/generateTypes.js +67 -0
- package/script/context/parseTypes.d.ts +148 -49
- package/script/context/parseTypes.d.ts.map +1 -1
- package/script/context/parseTypes.js +17 -0
- package/script/context/tryParseAt.d.ts +70 -0
- package/script/context/tryParseAt.d.ts.map +1 -0
- package/script/context/tryParseAt.js +57 -0
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.js +986 -0
- package/script/deps/jsr.io/@std/fs/1.0.23/exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.23/exists.js +308 -0
- package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.13/_os.js +48 -0
- package/script/deps/jsr.io/@std/internal/1.0.13/os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.13/os.js +8 -0
- package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/io/0.225.3/types.js +18 -0
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.js +65 -0
- package/script/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
- package/script/deps/jsr.io/@std/log/0.224.14/file_handler.js +1 -1
- package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/normalize.js +35 -0
- package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
- package/script/dsl/CodeFileBase.d.ts +38 -0
- package/script/dsl/CodeFileBase.d.ts.map +1 -0
- package/script/dsl/CodeFileBase.js +64 -0
- package/script/dsl/ContentSettings.d.ts +44 -20
- package/script/dsl/ContentSettings.d.ts.map +1 -1
- package/script/dsl/ContentSettings.js +35 -17
- package/script/dsl/CustomValue.d.ts +3 -2
- package/script/dsl/CustomValue.d.ts.map +1 -1
- package/script/dsl/CustomValue.js +3 -2
- package/script/dsl/Definition.d.ts +32 -200
- package/script/dsl/Definition.d.ts.map +1 -1
- package/script/dsl/Definition.js +18 -214
- package/script/dsl/FileBase.d.ts +42 -0
- package/script/dsl/FileBase.d.ts.map +1 -0
- package/script/dsl/FileBase.js +57 -0
- package/script/dsl/GeneratedValue.d.ts +2 -2
- package/script/dsl/GeneratedValue.d.ts.map +1 -1
- package/script/dsl/GeneratorKeys.d.ts +266 -73
- package/script/dsl/GeneratorKeys.d.ts.map +1 -1
- package/script/dsl/GeneratorKeys.js +207 -71
- package/script/dsl/IdentifierBase.d.ts +55 -0
- package/script/dsl/IdentifierBase.d.ts.map +1 -0
- package/script/dsl/IdentifierBase.js +68 -0
- package/script/dsl/IdentifierType.d.ts +31 -0
- package/script/dsl/IdentifierType.d.ts.map +1 -0
- package/script/dsl/IdentifierType.js +2 -0
- package/script/dsl/ImportBase.d.ts +40 -0
- package/script/dsl/ImportBase.d.ts.map +1 -0
- package/script/dsl/ImportBase.js +28 -0
- package/script/dsl/Inserted.d.ts +10 -10
- package/script/dsl/Inserted.d.ts.map +1 -1
- package/script/dsl/Inserted.js +8 -8
- package/script/dsl/JsonFile.d.ts +2 -3
- package/script/dsl/JsonFile.d.ts.map +1 -1
- package/script/dsl/JsonFile.js +3 -9
- package/script/dsl/Lang.d.ts +136 -0
- package/script/dsl/Lang.d.ts.map +1 -0
- package/script/dsl/Lang.js +2 -0
- package/script/dsl/ReExportBase.d.ts +42 -0
- package/script/dsl/ReExportBase.d.ts.map +1 -0
- package/script/dsl/ReExportBase.js +31 -0
- package/script/dsl/SnippetBase.d.ts +86 -0
- package/script/dsl/SnippetBase.d.ts.map +1 -0
- package/script/dsl/SnippetBase.js +117 -0
- package/script/dsl/Stringable.d.ts +1 -0
- package/script/dsl/Stringable.d.ts.map +1 -1
- package/script/dsl/Stringable.js +9 -0
- package/script/dsl/model/ModelDriver.d.ts +23 -58
- package/script/dsl/model/ModelDriver.d.ts.map +1 -1
- package/script/dsl/model/ModelDriver.js +89 -77
- package/script/dsl/model/toModelEntry.d.ts +17 -23
- package/script/dsl/model/toModelEntry.d.ts.map +1 -1
- package/script/dsl/model/toModelEntry.js +7 -14
- package/script/dsl/model/toModelProjectionBase.d.ts +125 -0
- package/script/dsl/model/toModelProjectionBase.d.ts.map +1 -0
- package/script/dsl/model/toModelProjectionBase.js +186 -0
- package/script/dsl/model/types.d.ts +87 -54
- package/script/dsl/model/types.d.ts.map +1 -1
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts +52 -0
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -0
- package/script/dsl/operation/gql/GqlOperationDriver.js +210 -0
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +44 -0
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -0
- package/script/dsl/operation/gql/toGqlOperationEntry.js +85 -0
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +128 -0
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -0
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.js +200 -0
- package/script/dsl/operation/gql/types.d.ts +141 -0
- package/script/dsl/operation/gql/types.d.ts.map +1 -0
- package/script/dsl/operation/gql/types.js +2 -0
- package/script/dsl/operation/oas/OasOperationDriver.d.ts +52 -0
- package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -0
- package/script/dsl/operation/oas/OasOperationDriver.js +227 -0
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts +70 -0
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -0
- package/script/dsl/operation/oas/toOasOperationEntry.js +108 -0
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +144 -0
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -0
- package/script/dsl/operation/oas/toOasOperationProjectionBase.js +217 -0
- package/script/dsl/operation/oas/types.d.ts +151 -0
- package/script/dsl/operation/oas/types.d.ts.map +1 -0
- package/script/dsl/operation/oas/types.js +2 -0
- package/script/dsl/webhook/WebhookDriver.d.ts +50 -0
- package/script/dsl/webhook/WebhookDriver.d.ts.map +1 -0
- package/script/dsl/webhook/WebhookDriver.js +197 -0
- package/script/dsl/webhook/toWebhookEntry.d.ts +58 -0
- package/script/dsl/webhook/toWebhookEntry.d.ts.map +1 -0
- package/script/dsl/webhook/toWebhookEntry.js +104 -0
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts +125 -0
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -0
- package/script/dsl/webhook/toWebhookProjectionBase.js +200 -0
- package/script/dsl/webhook/types.d.ts +149 -0
- package/script/dsl/webhook/types.d.ts.map +1 -0
- package/script/dsl/webhook/types.js +2 -0
- package/script/enrichments/readEnrichments.d.ts +69 -0
- package/script/enrichments/readEnrichments.d.ts.map +1 -0
- package/script/enrichments/readEnrichments.js +97 -0
- package/script/enrichments/toEnrichmentDescriptor.d.ts +97 -0
- package/script/enrichments/toEnrichmentDescriptor.d.ts.map +1 -0
- package/script/enrichments/toEnrichmentDescriptor.js +162 -0
- package/script/gql/_helpers/recordAppliedDirectives.d.ts +25 -0
- package/script/gql/_helpers/recordAppliedDirectives.d.ts.map +1 -0
- package/script/gql/_helpers/recordAppliedDirectives.js +41 -0
- package/script/gql/_helpers/unwrapType.d.ts +39 -0
- package/script/gql/_helpers/unwrapType.d.ts.map +1 -0
- package/script/gql/_helpers/unwrapType.js +51 -0
- package/script/gql/argument/GqlArgument.d.ts +55 -0
- package/script/gql/argument/GqlArgument.d.ts.map +1 -0
- package/script/gql/argument/GqlArgument.js +87 -0
- package/script/gql/document/GqlDocument.d.ts +93 -0
- package/script/gql/document/GqlDocument.d.ts.map +1 -0
- package/script/gql/document/GqlDocument.js +174 -0
- package/script/gql/document/parseGqlDocument.d.ts +33 -0
- package/script/gql/document/parseGqlDocument.d.ts.map +1 -0
- package/script/gql/document/parseGqlDocument.js +189 -0
- package/script/gql/enum/toEnumType.d.ts +29 -0
- package/script/gql/enum/toEnumType.d.ts.map +1 -0
- package/script/gql/enum/toEnumType.js +26 -0
- package/script/gql/field/toFieldSchema.d.ts +38 -0
- package/script/gql/field/toFieldSchema.d.ts.map +1 -0
- package/script/gql/field/toFieldSchema.js +87 -0
- package/script/gql/input/toInputType.d.ts +28 -0
- package/script/gql/input/toInputType.d.ts.map +1 -0
- package/script/gql/input/toInputType.js +50 -0
- package/script/gql/interface/toInterfaceUnion.d.ts +28 -0
- package/script/gql/interface/toInterfaceUnion.d.ts.map +1 -0
- package/script/gql/interface/toInterfaceUnion.js +38 -0
- package/script/gql/object/toObjectType.d.ts +23 -0
- package/script/gql/object/toObjectType.d.ts.map +1 -0
- package/script/gql/object/toObjectType.js +66 -0
- package/script/gql/operation/GqlOperation.d.ts +63 -0
- package/script/gql/operation/GqlOperation.d.ts.map +1 -0
- package/script/gql/operation/GqlOperation.js +94 -0
- package/script/gql/operation/synthesizeArgsObject.d.ts +22 -0
- package/script/gql/operation/synthesizeArgsObject.d.ts.map +1 -0
- package/script/gql/operation/synthesizeArgsObject.js +41 -0
- package/script/gql/operation/toRootField.d.ts +26 -0
- package/script/gql/operation/toRootField.d.ts.map +1 -0
- package/script/gql/operation/toRootField.js +55 -0
- package/script/gql/registry/GqlRegistry.d.ts +70 -0
- package/script/gql/registry/GqlRegistry.d.ts.map +1 -0
- package/script/gql/registry/GqlRegistry.js +80 -0
- package/script/gql/rootType/GqlRootTypes.d.ts +15 -0
- package/script/gql/rootType/GqlRootTypes.d.ts.map +1 -0
- package/script/gql/rootType/GqlRootTypes.js +2 -0
- package/script/gql/scalar/toScalarType.d.ts +33 -0
- package/script/gql/scalar/toScalarType.d.ts.map +1 -0
- package/script/gql/scalar/toScalarType.js +47 -0
- package/script/gql/union/toUnionType.d.ts +24 -0
- package/script/gql/union/toUnionType.d.ts.map +1 -0
- package/script/gql/union/toUnionType.js +33 -0
- package/script/helpers/collateExamples.d.ts +1 -0
- package/script/helpers/collateExamples.d.ts.map +1 -1
- package/script/helpers/collateExamples.js +1 -0
- package/script/helpers/formatNumber.d.ts +1 -0
- package/script/helpers/formatNumber.d.ts.map +1 -1
- package/script/helpers/formatNumber.js +1 -0
- package/script/helpers/isEmpty.d.ts +1 -0
- package/script/helpers/isEmpty.d.ts.map +1 -1
- package/script/helpers/isEmpty.js +1 -0
- package/script/helpers/isImported.js +1 -1
- package/script/helpers/refFns.d.ts +2 -1
- package/script/helpers/refFns.d.ts.map +1 -1
- package/script/helpers/refFns.js +1 -0
- package/script/helpers/strings.d.ts +1 -0
- package/script/helpers/strings.d.ts.map +1 -1
- package/script/helpers/strings.js +1 -0
- package/script/helpers/toResolvedArtifactPath.d.ts +1 -0
- package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/script/helpers/toResolvedArtifactPath.js +4 -3
- package/script/helpers/toVariantList.d.ts +32 -0
- package/script/helpers/toVariantList.d.ts.map +1 -0
- package/script/helpers/toVariantList.js +35 -0
- package/script/helpers/withVariant.d.ts +20 -0
- package/script/helpers/withVariant.d.ts.map +1 -0
- package/script/helpers/withVariant.js +31 -0
- package/script/mod.d.ts +58 -37
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +76 -52
- package/script/oas/array/Array.d.ts +5 -2
- package/script/oas/array/Array.d.ts.map +1 -1
- package/script/oas/array/Array.js +5 -2
- package/script/oas/boolean/Boolean.d.ts +8 -2
- package/script/oas/boolean/Boolean.d.ts.map +1 -1
- package/script/oas/boolean/Boolean.js +8 -2
- package/script/oas/components/Components.d.ts +1 -0
- package/script/oas/components/Components.d.ts.map +1 -1
- package/script/oas/components/Components.js +1 -0
- package/script/oas/discriminator/Discriminator.d.ts +1 -0
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/script/oas/discriminator/Discriminator.js +1 -0
- package/script/oas/document/Document.d.ts +56 -2
- package/script/oas/document/Document.d.ts.map +1 -1
- package/script/oas/document/Document.js +61 -1
- package/script/oas/info/Info.d.ts +1 -0
- package/script/oas/info/Info.d.ts.map +1 -1
- package/script/oas/info/Info.js +1 -0
- package/script/oas/integer/Integer.d.ts +5 -2
- package/script/oas/integer/Integer.d.ts.map +1 -1
- package/script/oas/integer/Integer.js +5 -2
- package/script/oas/mediaType/MediaType.d.ts +4 -2
- package/script/oas/mediaType/MediaType.d.ts.map +1 -1
- package/script/oas/mediaType/MediaType.js +4 -2
- package/script/oas/number/Number.d.ts +5 -2
- package/script/oas/number/Number.d.ts.map +1 -1
- package/script/oas/number/Number.js +5 -2
- package/script/oas/object/Object.d.ts +5 -2
- package/script/oas/object/Object.d.ts.map +1 -1
- package/script/oas/object/Object.js +5 -2
- package/script/oas/operation/Operation.d.ts +5 -2
- package/script/oas/operation/Operation.d.ts.map +1 -1
- package/script/oas/operation/Operation.js +5 -2
- package/script/oas/parameter/Parameter.d.ts +5 -2
- package/script/oas/parameter/Parameter.d.ts.map +1 -1
- package/script/oas/parameter/Parameter.js +5 -2
- package/script/oas/ref/Ref.d.ts +37 -6
- package/script/oas/ref/Ref.d.ts.map +1 -1
- package/script/oas/ref/Ref.js +67 -40
- package/script/oas/requestBody/RequestBody.d.ts +5 -2
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/script/oas/requestBody/RequestBody.js +5 -2
- package/script/oas/response/Response.d.ts +5 -2
- package/script/oas/response/Response.d.ts.map +1 -1
- package/script/oas/response/Response.js +5 -2
- package/script/oas/schema/Schema.d.ts +1 -0
- package/script/oas/schema/Schema.d.ts.map +1 -1
- package/script/oas/schema/Schema.js +1 -0
- package/script/oas/server/Server.d.ts +1 -0
- package/script/oas/server/Server.d.ts.map +1 -1
- package/script/oas/server/Server.js +1 -0
- package/script/oas/string/String.d.ts +5 -2
- package/script/oas/string/String.d.ts.map +1 -1
- package/script/oas/string/String.js +5 -2
- package/script/oas/tag/Tag.d.ts +4 -0
- package/script/oas/tag/Tag.d.ts.map +1 -1
- package/script/oas/tag/Tag.js +4 -0
- package/script/oas/tag/tag-types.d.ts +2 -0
- package/script/oas/tag/tag-types.d.ts.map +1 -1
- package/script/oas/tag/tag-types.js +3 -2
- package/script/oas/union/Union.d.ts +4 -2
- package/script/oas/union/Union.d.ts.map +1 -1
- package/script/oas/union/Union.js +4 -2
- package/script/oas/unknown/Unknown.d.ts +5 -2
- package/script/oas/unknown/Unknown.d.ts.map +1 -1
- package/script/oas/unknown/Unknown.js +5 -2
- package/script/oas/void/Void.d.ts +6 -3
- package/script/oas/void/Void.d.ts.map +1 -1
- package/script/oas/void/Void.js +6 -3
- package/script/oas/webhook/Webhook.d.ts +109 -0
- package/script/oas/webhook/Webhook.d.ts.map +1 -0
- package/script/oas/webhook/Webhook.js +170 -0
- package/script/parse/toOasDialect.d.ts +26 -0
- package/script/parse/toOasDialect.d.ts.map +1 -0
- package/script/parse/toOasDialect.js +26 -0
- package/script/parse/v3-0/_helpers/parseDefault.d.ts +44 -0
- package/script/parse/v3-0/_helpers/parseDefault.d.ts.map +1 -0
- package/script/parse/v3-0/_helpers/parseDefault.js +43 -0
- package/script/parse/v3-0/_helpers/parseEnum.d.ts +14 -0
- package/script/parse/v3-0/_helpers/parseEnum.d.ts.map +1 -0
- package/script/parse/v3-0/_helpers/parseEnum.js +27 -0
- package/script/parse/v3-0/_helpers/parseExample.d.ts +42 -0
- package/script/parse/v3-0/_helpers/parseExample.d.ts.map +1 -0
- package/script/parse/v3-0/_helpers/parseExample.js +41 -0
- package/script/parse/v3-0/_helpers/parseNullable.d.ts +142 -0
- package/script/parse/v3-0/_helpers/parseNullable.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts +5 -0
- package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/cross-product.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/cross-product.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts +7 -0
- package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts +13 -0
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/decompose-union.js +77 -0
- package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/is-equal.d.ts +2 -0
- package/script/parse/v3-0/_merge-all-of/is-equal.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts +9 -0
- package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts +6 -0
- package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-required.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-required.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts +16 -0
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-union.js +66 -0
- package/script/parse/v3-0/_merge-all-of/merge.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/merge.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge.js +159 -0
- package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/nullable-merge.js +17 -0
- package/script/parse/v3-0/_merge-all-of/types.d.ts +15 -0
- package/script/parse/v3-0/_merge-all-of/types.d.ts.map +1 -0
- package/script/parse/v3-0/array/toArray.d.ts +81 -0
- package/script/parse/v3-0/array/toArray.d.ts.map +1 -0
- package/script/parse/v3-0/array/toArray.js +203 -0
- package/script/parse/v3-0/boolean/toBoolean.d.ts +79 -0
- package/script/parse/v3-0/boolean/toBoolean.d.ts.map +1 -0
- package/script/parse/v3-0/boolean/toBoolean.js +177 -0
- package/script/parse/v3-0/components/toComponentsV3.d.ts +11 -0
- package/script/parse/v3-0/components/toComponentsV3.d.ts.map +1 -0
- package/script/parse/v3-0/components/toComponentsV3.js +43 -0
- package/script/parse/v3-0/contact/toContactV3.d.ts +6 -0
- package/script/parse/v3-0/contact/toContactV3.d.ts.map +1 -0
- package/script/parse/v3-0/contact/toContactV3.js +22 -0
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +11 -0
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.js +24 -0
- package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts +14 -0
- package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/script/parse/v3-0/document/toDocumentFieldsV3.js +36 -0
- package/script/parse/v3-0/example/toExamplesV3.d.ts +68 -0
- package/script/parse/v3-0/example/toExamplesV3.d.ts.map +1 -0
- package/script/parse/v3-0/example/toExamplesV3.js +95 -0
- package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts +11 -0
- package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/script/parse/v3-0/externalDocs/toExternalDocs.js +52 -0
- package/script/parse/v3-0/header/toHeadersV3.d.ts +17 -0
- package/script/parse/v3-0/header/toHeadersV3.d.ts.map +1 -0
- package/script/parse/v3-0/header/toHeadersV3.js +51 -0
- package/script/parse/v3-0/info/toInfoV3.d.ts +11 -0
- package/script/parse/v3-0/info/toInfoV3.d.ts.map +1 -0
- package/script/parse/v3-0/info/toInfoV3.js +27 -0
- package/script/parse/v3-0/integer/toInteger.d.ts +22 -0
- package/script/parse/v3-0/integer/toInteger.d.ts.map +1 -0
- package/script/parse/v3-0/integer/toInteger.js +150 -0
- package/script/parse/v3-0/license/toLicenseV3.d.ts +6 -0
- package/script/parse/v3-0/license/toLicenseV3.d.ts.map +1 -0
- package/script/parse/v3-0/license/toLicenseV3.js +21 -0
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +315 -0
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.js +320 -0
- package/script/parse/v3-0/number/toNumber.d.ts +11 -0
- package/script/parse/v3-0/number/toNumber.d.ts.map +1 -0
- package/script/parse/v3-0/number/toNumber.js +149 -0
- package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +12 -0
- package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/script/parse/v3-0/object/toObject.d.ts +11 -0
- package/script/parse/v3-0/object/toObject.d.ts.map +1 -0
- package/script/parse/v3-0/object/toObject.js +92 -0
- package/script/parse/v3-0/operation/toOperationsV3.d.ts +26 -0
- package/script/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -0
- package/script/parse/v3-0/operation/toOperationsV3.js +118 -0
- package/script/parse/v3-0/parameter/toParameterV3.d.ts +40 -0
- package/script/parse/v3-0/parameter/toParameterV3.d.ts.map +1 -0
- package/script/parse/v3-0/parameter/toParameterV3.js +151 -0
- package/script/parse/v3-0/pathItem/toPathItemV3.d.ts +11 -0
- package/script/parse/v3-0/pathItem/toPathItemV3.d.ts.map +1 -0
- package/script/parse/v3-0/pathItem/toPathItemV3.js +22 -0
- package/script/parse/v3-0/ref/toRefV31.d.ts +20 -0
- package/script/parse/v3-0/ref/toRefV31.d.ts.map +1 -0
- package/script/parse/v3-0/ref/toRefV31.js +14 -0
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +19 -0
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.js +49 -0
- package/script/parse/v3-0/response/toResponseV3.d.ts +24 -0
- package/script/parse/v3-0/response/toResponseV3.d.ts.map +1 -0
- package/script/parse/v3-0/response/toResponseV3.js +58 -0
- package/script/parse/v3-0/schema/toSchemasV3.d.ts +30 -0
- package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -0
- package/script/parse/v3-0/schema/toSchemasV3.js +303 -0
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +10 -0
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.js +13 -0
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +18 -0
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.js +142 -0
- package/script/parse/v3-0/server/toServerV3.d.ts +23 -0
- package/script/parse/v3-0/server/toServerV3.d.ts.map +1 -0
- package/script/parse/v3-0/server/toServerV3.js +36 -0
- package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts +23 -0
- package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +1 -0
- package/script/parse/v3-0/serverVariable/toServerVariableV3.js +36 -0
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.js +30 -0
- package/script/parse/v3-0/string/toString.d.ts +147 -0
- package/script/parse/v3-0/string/toString.d.ts.map +1 -0
- package/script/parse/v3-0/string/toString.js +256 -0
- package/script/parse/v3-0/tag/toTagsV3.d.ts +17 -0
- package/script/parse/v3-0/tag/toTagsV3.d.ts.map +1 -0
- package/script/parse/v3-0/tag/toTagsV3.js +32 -0
- package/script/parse/v3-0/union/toUnion.d.ts +13 -0
- package/script/parse/v3-0/union/toUnion.d.ts.map +1 -0
- package/script/parse/v3-0/union/toUnion.js +70 -0
- package/script/parse/v3-0/unknown/toUnknown.d.ts +11 -0
- package/script/parse/v3-0/unknown/toUnknown.d.ts.map +1 -0
- package/script/parse/v3-0/unknown/toUnknown.js +23 -0
- package/script/parse/v3-0/webhook/toWebhooksV3.d.ts +49 -0
- package/script/parse/v3-0/webhook/toWebhooksV3.d.ts.map +1 -0
- package/script/parse/v3-0/webhook/toWebhooksV3.js +135 -0
- package/script/parse/v3-1/_helpers/parseDefault.d.ts +44 -0
- package/script/parse/v3-1/_helpers/parseDefault.d.ts.map +1 -0
- package/script/parse/v3-1/_helpers/parseDefault.js +43 -0
- package/script/parse/v3-1/_helpers/parseEnum.d.ts +14 -0
- package/script/parse/v3-1/_helpers/parseEnum.d.ts.map +1 -0
- package/script/parse/v3-1/_helpers/parseEnum.js +27 -0
- package/script/parse/v3-1/_helpers/parseExample.d.ts +42 -0
- package/script/parse/v3-1/_helpers/parseExample.d.ts.map +1 -0
- package/script/parse/v3-1/_helpers/parseExample.js +41 -0
- package/script/parse/v3-1/_helpers/parseNullable.d.ts +142 -0
- package/script/parse/v3-1/_helpers/parseNullable.d.ts.map +1 -0
- package/script/parse/v3-1/_helpers/parseNullable.js +144 -0
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.js +13 -0
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts +5 -0
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.js +9 -0
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.js +15 -0
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.js +9 -0
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.js +15 -0
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.js +9 -0
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.js +9 -0
- package/script/parse/v3-1/_merge-all-of/cross-product.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/cross-product.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/cross-product.js +7 -0
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts +7 -0
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.js +31 -0
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts +13 -0
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/decompose-union.js +77 -0
- package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/generic-merge.js +16 -0
- package/script/parse/v3-1/_merge-all-of/is-equal.d.ts +2 -0
- package/script/parse/v3-1/_merge-all-of/is-equal.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/is-equal.js +23 -0
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.js +80 -0
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.js +43 -0
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.js +68 -0
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.js +77 -0
- package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts +9 -0
- package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-intersection.js +20 -0
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.js +77 -0
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts +6 -0
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.js +65 -0
- package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-properties.js +29 -0
- package/script/parse/v3-1/_merge-all-of/merge-required.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-required.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-required.js +15 -0
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.js +91 -0
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts +16 -0
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-union.js +66 -0
- package/script/parse/v3-1/_merge-all-of/merge.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/merge.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge.js +159 -0
- package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/nullable-merge.js +17 -0
- package/script/parse/v3-1/_merge-all-of/types.d.ts +15 -0
- package/script/parse/v3-1/_merge-all-of/types.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/types.js +38 -0
- package/script/parse/v3-1/array/toArray.d.ts +81 -0
- package/script/parse/v3-1/array/toArray.d.ts.map +1 -0
- package/script/parse/v3-1/array/toArray.js +203 -0
- package/script/parse/v3-1/boolean/toBoolean.d.ts +79 -0
- package/script/parse/v3-1/boolean/toBoolean.d.ts.map +1 -0
- package/script/parse/v3-1/boolean/toBoolean.js +177 -0
- package/script/parse/v3-1/components/toComponentsV3.d.ts +11 -0
- package/script/parse/v3-1/components/toComponentsV3.d.ts.map +1 -0
- package/script/parse/v3-1/components/toComponentsV3.js +43 -0
- package/script/parse/v3-1/contact/toContactV3.d.ts +6 -0
- package/script/parse/v3-1/contact/toContactV3.d.ts.map +1 -0
- package/script/parse/v3-1/contact/toContactV3.js +22 -0
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +11 -0
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.js +24 -0
- package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts +15 -0
- package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/script/parse/v3-1/document/toDocumentFieldsV3.js +36 -0
- package/script/parse/v3-1/example/toExamplesV3.d.ts +68 -0
- package/script/parse/v3-1/example/toExamplesV3.d.ts.map +1 -0
- package/script/parse/v3-1/example/toExamplesV3.js +95 -0
- package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts +11 -0
- package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/script/parse/v3-1/externalDocs/toExternalDocs.js +52 -0
- package/script/parse/v3-1/header/toHeadersV3.d.ts +17 -0
- package/script/parse/v3-1/header/toHeadersV3.d.ts.map +1 -0
- package/script/parse/v3-1/header/toHeadersV3.js +51 -0
- package/script/parse/v3-1/info/toInfoV3.d.ts +11 -0
- package/script/parse/v3-1/info/toInfoV3.d.ts.map +1 -0
- package/script/parse/v3-1/info/toInfoV3.js +27 -0
- package/script/parse/v3-1/integer/toInteger.d.ts +22 -0
- package/script/parse/v3-1/integer/toInteger.d.ts.map +1 -0
- package/script/parse/v3-1/integer/toInteger.js +150 -0
- package/script/parse/v3-1/license/toLicenseV3.d.ts +6 -0
- package/script/parse/v3-1/license/toLicenseV3.d.ts.map +1 -0
- package/script/parse/v3-1/license/toLicenseV3.js +21 -0
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +315 -0
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.js +320 -0
- package/script/parse/v3-1/number/toNumber.d.ts +11 -0
- package/script/parse/v3-1/number/toNumber.d.ts.map +1 -0
- package/script/parse/v3-1/number/toNumber.js +149 -0
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +12 -0
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.js +14 -0
- package/script/parse/v3-1/object/toObject.d.ts +11 -0
- package/script/parse/v3-1/object/toObject.d.ts.map +1 -0
- package/script/parse/v3-1/object/toObject.js +92 -0
- package/script/parse/v3-1/operation/toOperationsV3.d.ts +26 -0
- package/script/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -0
- package/script/parse/v3-1/operation/toOperationsV3.js +121 -0
- package/script/parse/v3-1/parameter/toParameterV3.d.ts +40 -0
- package/script/parse/v3-1/parameter/toParameterV3.d.ts.map +1 -0
- package/script/parse/v3-1/parameter/toParameterV3.js +151 -0
- package/script/parse/v3-1/pathItem/toPathItemV3.d.ts +11 -0
- package/script/parse/v3-1/pathItem/toPathItemV3.d.ts.map +1 -0
- package/script/parse/v3-1/pathItem/toPathItemV3.js +22 -0
- package/script/parse/v3-1/ref/toRefV31.d.ts +20 -0
- package/script/parse/v3-1/ref/toRefV31.d.ts.map +1 -0
- package/script/parse/v3-1/ref/toRefV31.js +14 -0
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +19 -0
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.js +49 -0
- package/script/parse/v3-1/response/toResponseV3.d.ts +24 -0
- package/script/parse/v3-1/response/toResponseV3.d.ts.map +1 -0
- package/script/parse/v3-1/response/toResponseV3.js +58 -0
- package/script/parse/v3-1/schema/toSchemasV3.d.ts +30 -0
- package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -0
- package/script/parse/v3-1/schema/toSchemasV3.js +485 -0
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +10 -0
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.js +13 -0
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +18 -0
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.js +142 -0
- package/script/parse/v3-1/server/toServerV3.d.ts +23 -0
- package/script/parse/v3-1/server/toServerV3.d.ts.map +1 -0
- package/script/parse/v3-1/server/toServerV3.js +36 -0
- package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts +23 -0
- package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +1 -0
- package/script/parse/v3-1/serverVariable/toServerVariableV3.js +36 -0
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.js +30 -0
- package/script/parse/v3-1/string/toString.d.ts +147 -0
- package/script/parse/v3-1/string/toString.d.ts.map +1 -0
- package/script/parse/v3-1/string/toString.js +256 -0
- package/script/parse/v3-1/tag/toTagsV3.d.ts +17 -0
- package/script/parse/v3-1/tag/toTagsV3.d.ts.map +1 -0
- package/script/parse/v3-1/tag/toTagsV3.js +32 -0
- package/script/parse/v3-1/union/toUnion.d.ts +13 -0
- package/script/parse/v3-1/union/toUnion.d.ts.map +1 -0
- package/script/parse/v3-1/union/toUnion.js +70 -0
- package/script/parse/v3-1/unknown/toUnknown.d.ts +11 -0
- package/script/parse/v3-1/unknown/toUnknown.d.ts.map +1 -0
- package/script/parse/v3-1/unknown/toUnknown.js +23 -0
- package/script/parse/v3-1/webhook/toWebhooksV3.d.ts +49 -0
- package/script/parse/v3-1/webhook/toWebhooksV3.d.ts.map +1 -0
- package/script/parse/v3-1/webhook/toWebhooksV3.js +135 -0
- package/script/run/toArtifacts.d.ts +20 -25
- package/script/run/toArtifacts.d.ts.map +1 -1
- package/script/run/toArtifacts.js +9 -60
- package/script/run/toEnrichmentDefaults.d.ts +51 -0
- package/script/run/toEnrichmentDefaults.d.ts.map +1 -0
- package/script/run/toEnrichmentDefaults.js +28 -0
- package/script/run/toSupportedSubjects.d.ts +48 -0
- package/script/run/toSupportedSubjects.d.ts.map +1 -0
- package/script/run/toSupportedSubjects.js +25 -0
- package/script/types/AccessorPath.d.ts +17 -0
- package/script/types/AccessorPath.d.ts.map +1 -0
- package/script/types/AccessorPath.js +45 -0
- package/script/types/AttributionState.d.ts +51 -0
- package/script/types/AttributionState.d.ts.map +1 -0
- package/script/types/AttributionState.js +21 -0
- package/script/types/Brand.d.ts +3 -2
- package/script/types/Brand.d.ts.map +1 -1
- package/script/types/Brand.js +10 -0
- package/script/types/DenoJson.d.ts +1 -0
- package/script/types/DenoJson.d.ts.map +1 -1
- package/script/types/DenoJson.js +1 -0
- package/script/types/EnrichmentDefaults.d.ts +33 -0
- package/script/types/EnrichmentDefaults.d.ts.map +1 -0
- package/script/types/EnrichmentDefaults.js +22 -0
- package/script/types/EnrichmentRequest.d.ts +1 -0
- package/script/types/EnrichmentRequest.d.ts.map +1 -1
- package/script/types/EnrichmentRequest.js +2 -1
- package/script/types/Enrichments.d.ts +136 -175
- package/script/types/Enrichments.d.ts.map +1 -1
- package/script/types/Enrichments.js +105 -138
- package/script/types/GeneratorType.d.ts +45 -107
- package/script/types/GeneratorType.d.ts.map +1 -1
- package/script/types/JsonPointer.d.ts +92 -0
- package/script/types/JsonPointer.d.ts.map +1 -0
- package/script/types/JsonPointer.js +121 -0
- package/script/types/Manifest.d.ts +11 -2
- package/script/types/Manifest.d.ts.map +1 -1
- package/script/types/Manifest.js +84 -37
- package/script/types/Method.d.ts +1 -0
- package/script/types/Method.d.ts.map +1 -1
- package/script/types/Method.js +1 -0
- package/script/types/ModuleExport.d.ts +1 -0
- package/script/types/ModuleExport.d.ts.map +1 -1
- package/script/types/ModuleExport.js +1 -0
- package/script/types/OasBase.d.ts +40 -0
- package/script/types/OasBase.d.ts.map +1 -0
- package/script/types/OasBase.js +52 -0
- package/script/types/Preview.d.ts +100 -66
- package/script/types/Preview.d.ts.map +1 -1
- package/script/types/Preview.js +98 -96
- package/script/types/RefName.d.ts +3 -2
- package/script/types/RefName.d.ts.map +1 -1
- package/script/types/RefName.js +2 -1
- package/script/types/Results.d.ts +1 -0
- package/script/types/Results.d.ts.map +1 -1
- package/script/types/Results.js +36 -35
- package/script/types/Settings.d.ts +236 -25
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/Settings.js +106 -42
- package/script/types/SkmtcDocument.d.ts +81 -0
- package/script/types/SkmtcDocument.d.ts.map +1 -0
- package/script/types/SkmtcDocument.js +23 -0
- package/script/types/SupportedSubjects.d.ts +41 -0
- package/script/types/SupportedSubjects.d.ts.map +1 -0
- package/script/types/SupportedSubjects.js +11 -0
- package/script/types/TypeSystem.d.ts +1 -0
- package/script/types/TypeSystem.d.ts.map +1 -1
- package/script/types/TypeSystem.js +1 -0
- package/script/types/Variant.d.ts +65 -0
- package/script/types/Variant.d.ts.map +1 -0
- package/script/types/Variant.js +58 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts +0 -700
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.js +0 -903
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -271
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
- package/esm/deps/jsr.io/@std/io/0.225.2/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.2/types.js +0 -15
- package/esm/deps/jsr.io/@std/io/0.225.2/write_all.d.ts +0 -51
- package/esm/deps/jsr.io/@std/io/0.225.2/write_all.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.2/write_all.js +0 -61
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/join.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
- package/esm/dsl/ContentBase.d.ts +0 -131
- package/esm/dsl/ContentBase.d.ts.map +0 -1
- package/esm/dsl/ContentBase.js +0 -137
- package/esm/dsl/EntityType.d.ts +0 -89
- package/esm/dsl/EntityType.d.ts.map +0 -1
- package/esm/dsl/EntityType.js +0 -106
- package/esm/dsl/File.d.ts +0 -232
- package/esm/dsl/File.d.ts.map +0 -1
- package/esm/dsl/File.js +0 -288
- package/esm/dsl/Identifier.d.ts +0 -163
- package/esm/dsl/Identifier.d.ts.map +0 -1
- package/esm/dsl/Identifier.js +0 -200
- package/esm/dsl/Import.d.ts +0 -243
- package/esm/dsl/Import.d.ts.map +0 -1
- package/esm/dsl/Import.js +0 -265
- package/esm/dsl/model/ModelBase.d.ts +0 -285
- package/esm/dsl/model/ModelBase.d.ts.map +0 -1
- package/esm/dsl/model/ModelBase.js +0 -294
- package/esm/dsl/model/toModelBase.d.ts +0 -106
- package/esm/dsl/model/toModelBase.d.ts.map +0 -1
- package/esm/dsl/model/toModelBase.js +0 -105
- package/esm/dsl/operation/OperationBase.d.ts +0 -388
- package/esm/dsl/operation/OperationBase.d.ts.map +0 -1
- package/esm/dsl/operation/OperationBase.js +0 -407
- package/esm/dsl/operation/OperationDriver.d.ts +0 -111
- package/esm/dsl/operation/OperationDriver.d.ts.map +0 -1
- package/esm/dsl/operation/OperationDriver.js +0 -191
- package/esm/dsl/operation/toOperationBase.d.ts +0 -94
- package/esm/dsl/operation/toOperationBase.d.ts.map +0 -1
- package/esm/dsl/operation/toOperationBase.js +0 -99
- package/esm/dsl/operation/toOperationEntry.d.ts +0 -63
- package/esm/dsl/operation/toOperationEntry.d.ts.map +0 -1
- package/esm/dsl/operation/toOperationEntry.js +0 -53
- package/esm/dsl/operation/types.d.ts +0 -125
- package/esm/dsl/operation/types.d.ts.map +0 -1
- package/esm/helpers/protectedKeywords.d.ts +0 -2
- package/esm/helpers/protectedKeywords.d.ts.map +0 -1
- package/esm/helpers/protectedKeywords.js +0 -69
- package/esm/helpers/sanitizePropertyName.d.ts +0 -3
- package/esm/helpers/sanitizePropertyName.d.ts.map +0 -1
- package/esm/helpers/sanitizePropertyName.js +0 -14
- package/esm/helpers/tracer.d.ts +0 -127
- package/esm/helpers/tracer.d.ts.map +0 -1
- package/esm/helpers/tracer.js +0 -137
- package/esm/oas/_helpers/parseEnum.d.ts +0 -14
- package/esm/oas/_helpers/parseEnum.d.ts.map +0 -1
- package/esm/oas/_helpers/parseEnum.js +0 -23
- package/esm/oas/_helpers/parseNullable.d.ts +0 -142
- package/esm/oas/_helpers/parseNullable.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/cross-product.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/decompose-union.js +0 -52
- package/esm/oas/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/is-equal.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-required.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-union.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-union.js +0 -53
- package/esm/oas/_merge-all-of/merge.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge.js +0 -155
- package/esm/oas/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/nullable-merge.js +0 -12
- package/esm/oas/_merge-all-of/types.d.ts.map +0 -1
- package/esm/oas/array/toArray.d.ts +0 -81
- package/esm/oas/array/toArray.d.ts.map +0 -1
- package/esm/oas/array/toArray.js +0 -184
- package/esm/oas/boolean/toBoolean.d.ts +0 -79
- package/esm/oas/boolean/toBoolean.d.ts.map +0 -1
- package/esm/oas/boolean/toBoolean.js +0 -179
- package/esm/oas/components/toComponentsV3.d.ts +0 -12
- package/esm/oas/components/toComponentsV3.d.ts.map +0 -1
- package/esm/oas/components/toComponentsV3.js +0 -39
- package/esm/oas/contact/toContactV3.d.ts +0 -6
- package/esm/oas/contact/toContactV3.d.ts.map +0 -1
- package/esm/oas/contact/toContactV3.js +0 -18
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts +0 -12
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/esm/oas/discriminator/toDiscriminatorV3.js +0 -20
- package/esm/oas/document/toDocumentFieldsV3.d.ts +0 -12
- package/esm/oas/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/esm/oas/document/toDocumentFieldsV3.js +0 -30
- package/esm/oas/example/toExamplesV3.d.ts +0 -69
- package/esm/oas/example/toExamplesV3.d.ts.map +0 -1
- package/esm/oas/example/toExamplesV3.js +0 -89
- package/esm/oas/externalDocs/toExternalDocs.d.ts +0 -12
- package/esm/oas/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/esm/oas/externalDocs/toExternalDocs.js +0 -15
- package/esm/oas/header/toHeadersV3.d.ts +0 -13
- package/esm/oas/header/toHeadersV3.d.ts.map +0 -1
- package/esm/oas/header/toHeadersV3.js +0 -47
- package/esm/oas/info/toInfoV3.d.ts +0 -12
- package/esm/oas/info/toInfoV3.d.ts.map +0 -1
- package/esm/oas/info/toInfoV3.js +0 -23
- package/esm/oas/integer/toInteger.d.ts +0 -21
- package/esm/oas/integer/toInteger.d.ts.map +0 -1
- package/esm/oas/integer/toInteger.js +0 -117
- package/esm/oas/license/toLicenseV3.d.ts +0 -6
- package/esm/oas/license/toLicenseV3.d.ts.map +0 -1
- package/esm/oas/license/toLicenseV3.js +0 -17
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts +0 -316
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/esm/oas/mediaType/toMediaTypeItemV3.js +0 -314
- package/esm/oas/number/toNumber.d.ts +0 -12
- package/esm/oas/number/toNumber.d.ts.map +0 -1
- package/esm/oas/number/toNumber.js +0 -117
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts +0 -13
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/esm/oas/object/toObject.d.ts +0 -12
- package/esm/oas/object/toObject.d.ts.map +0 -1
- package/esm/oas/object/toObject.js +0 -93
- package/esm/oas/operation/toOperationsV3.d.ts +0 -26
- package/esm/oas/operation/toOperationsV3.d.ts.map +0 -1
- package/esm/oas/operation/toOperationsV3.js +0 -102
- package/esm/oas/parameter/toParameterV3.d.ts +0 -25
- package/esm/oas/parameter/toParameterV3.d.ts.map +0 -1
- package/esm/oas/parameter/toParameterV3.js +0 -115
- package/esm/oas/pathItem/toPathItemV3.d.ts +0 -12
- package/esm/oas/pathItem/toPathItemV3.d.ts.map +0 -1
- package/esm/oas/pathItem/toPathItemV3.js +0 -18
- package/esm/oas/ref/toRefV31.d.ts +0 -14
- package/esm/oas/ref/toRefV31.d.ts.map +0 -1
- package/esm/oas/ref/toRefV31.js +0 -13
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts +0 -20
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/esm/oas/requestBody/toRequestBodiesV3.js +0 -44
- package/esm/oas/response/toResponseV3.d.ts +0 -25
- package/esm/oas/response/toResponseV3.d.ts.map +0 -1
- package/esm/oas/response/toResponseV3.js +0 -53
- package/esm/oas/schema/toSchemasV3.d.ts +0 -31
- package/esm/oas/schema/toSchemasV3.d.ts.map +0 -1
- package/esm/oas/schema/toSchemasV3.js +0 -227
- package/esm/oas/securityRequirement/toSecurityRequirement.d.ts +0 -11
- package/esm/oas/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/esm/oas/securityRequirement/toSecurityRequirement.js +0 -9
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts +0 -13
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/esm/oas/securitySchemes/toSecuritySchemes.js +0 -89
- package/esm/oas/server/toServerV3.d.ts +0 -24
- package/esm/oas/server/toServerV3.d.ts.map +0 -1
- package/esm/oas/server/toServerV3.js +0 -30
- package/esm/oas/serverVariable/toServerVariableV3.d.ts +0 -24
- package/esm/oas/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/esm/oas/serverVariable/toServerVariableV3.js +0 -30
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -16
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.js +0 -25
- package/esm/oas/string/toString.d.ts +0 -147
- package/esm/oas/string/toString.d.ts.map +0 -1
- package/esm/oas/string/toString.js +0 -252
- package/esm/oas/tag/toTagsV3.d.ts +0 -18
- package/esm/oas/tag/toTagsV3.d.ts.map +0 -1
- package/esm/oas/tag/toTagsV3.js +0 -24
- package/esm/oas/union/toUnion.d.ts +0 -14
- package/esm/oas/union/toUnion.d.ts.map +0 -1
- package/esm/oas/union/toUnion.js +0 -32
- package/esm/oas/unknown/toUnknown.d.ts +0 -12
- package/esm/oas/unknown/toUnknown.d.ts.map +0 -1
- package/esm/oas/unknown/toUnknown.js +0 -19
- package/esm/types/PrettierConfig.d.ts +0 -101
- package/esm/types/PrettierConfig.d.ts.map +0 -1
- package/esm/types/PrettierConfig.js +0 -99
- package/esm/typescript/FunctionParameter.d.ts +0 -349
- package/esm/typescript/FunctionParameter.d.ts.map +0 -1
- package/esm/typescript/FunctionParameter.js +0 -457
- package/esm/typescript/List.d.ts +0 -362
- package/esm/typescript/List.d.ts.map +0 -1
- package/esm/typescript/List.js +0 -503
- package/esm/typescript/PathParams.d.ts +0 -218
- package/esm/typescript/PathParams.d.ts.map +0 -1
- package/esm/typescript/PathParams.js +0 -239
- package/esm/typescript/ReactRouterPathParams.d.ts +0 -210
- package/esm/typescript/ReactRouterPathParams.d.ts.map +0 -1
- package/esm/typescript/ReactRouterPathParams.js +0 -232
- package/esm/typescript/identifiers.d.ts +0 -162
- package/esm/typescript/identifiers.d.ts.map +0 -1
- package/esm/typescript/identifiers.js +0 -166
- package/esm/typescript/keyValues.d.ts +0 -128
- package/esm/typescript/keyValues.d.ts.map +0 -1
- package/esm/typescript/keyValues.js +0 -135
- package/esm/typescript/toPathParams.d.ts +0 -181
- package/esm/typescript/toPathParams.d.ts.map +0 -1
- package/esm/typescript/toPathParams.js +0 -182
- package/esm/typescript/toPathTemplate.d.ts +0 -116
- package/esm/typescript/toPathTemplate.d.ts.map +0 -1
- package/esm/typescript/toPathTemplate.js +0 -117
- package/esm/typescript/withDescription.d.ts +0 -123
- package/esm/typescript/withDescription.d.ts.map +0 -1
- package/esm/typescript/withDescription.js +0 -122
- package/script/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts +0 -700
- package/script/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fmt/1.0.8/colors.js +0 -986
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -308
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -48
- package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/os.js +0 -8
- package/script/deps/jsr.io/@std/io/0.225.2/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/io/0.225.2/types.js +0 -18
- package/script/deps/jsr.io/@std/io/0.225.2/write_all.d.ts +0 -51
- package/script/deps/jsr.io/@std/io/0.225.2/write_all.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/io/0.225.2/write_all.js +0 -65
- package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/join.js +0 -32
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -35
- package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
- package/script/dsl/ContentBase.d.ts +0 -131
- package/script/dsl/ContentBase.d.ts.map +0 -1
- package/script/dsl/ContentBase.js +0 -141
- package/script/dsl/EntityType.d.ts +0 -89
- package/script/dsl/EntityType.d.ts.map +0 -1
- package/script/dsl/EntityType.js +0 -110
- package/script/dsl/File.d.ts +0 -232
- package/script/dsl/File.d.ts.map +0 -1
- package/script/dsl/File.js +0 -293
- package/script/dsl/Identifier.d.ts +0 -163
- package/script/dsl/Identifier.d.ts.map +0 -1
- package/script/dsl/Identifier.js +0 -204
- package/script/dsl/Import.d.ts +0 -243
- package/script/dsl/Import.d.ts.map +0 -1
- package/script/dsl/Import.js +0 -270
- package/script/dsl/model/ModelBase.d.ts +0 -285
- package/script/dsl/model/ModelBase.d.ts.map +0 -1
- package/script/dsl/model/ModelBase.js +0 -298
- package/script/dsl/model/toModelBase.d.ts +0 -106
- package/script/dsl/model/toModelBase.d.ts.map +0 -1
- package/script/dsl/model/toModelBase.js +0 -145
- package/script/dsl/operation/OperationBase.d.ts +0 -388
- package/script/dsl/operation/OperationBase.d.ts.map +0 -1
- package/script/dsl/operation/OperationBase.js +0 -411
- package/script/dsl/operation/OperationDriver.d.ts +0 -111
- package/script/dsl/operation/OperationDriver.d.ts.map +0 -1
- package/script/dsl/operation/OperationDriver.js +0 -195
- package/script/dsl/operation/toOperationBase.d.ts +0 -94
- package/script/dsl/operation/toOperationBase.d.ts.map +0 -1
- package/script/dsl/operation/toOperationBase.js +0 -139
- package/script/dsl/operation/toOperationEntry.d.ts +0 -63
- package/script/dsl/operation/toOperationEntry.d.ts.map +0 -1
- package/script/dsl/operation/toOperationEntry.js +0 -93
- package/script/dsl/operation/types.d.ts +0 -125
- package/script/dsl/operation/types.d.ts.map +0 -1
- package/script/helpers/protectedKeywords.d.ts +0 -2
- package/script/helpers/protectedKeywords.d.ts.map +0 -1
- package/script/helpers/protectedKeywords.js +0 -72
- package/script/helpers/sanitizePropertyName.d.ts +0 -3
- package/script/helpers/sanitizePropertyName.d.ts.map +0 -1
- package/script/helpers/sanitizePropertyName.js +0 -18
- package/script/helpers/tracer.d.ts +0 -127
- package/script/helpers/tracer.d.ts.map +0 -1
- package/script/helpers/tracer.js +0 -141
- package/script/oas/_helpers/parseEnum.d.ts +0 -14
- package/script/oas/_helpers/parseEnum.d.ts.map +0 -1
- package/script/oas/_helpers/parseEnum.js +0 -27
- package/script/oas/_helpers/parseNullable.d.ts +0 -142
- package/script/oas/_helpers/parseNullable.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/cross-product.d.ts.map +0 -1
- package/script/oas/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/script/oas/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/script/oas/_merge-all-of/decompose-union.js +0 -56
- package/script/oas/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/script/oas/_merge-all-of/is-equal.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-required.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-union.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-union.js +0 -58
- package/script/oas/_merge-all-of/merge.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge.js +0 -159
- package/script/oas/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/script/oas/_merge-all-of/nullable-merge.js +0 -17
- package/script/oas/_merge-all-of/types.d.ts.map +0 -1
- package/script/oas/array/toArray.d.ts +0 -81
- package/script/oas/array/toArray.d.ts.map +0 -1
- package/script/oas/array/toArray.js +0 -222
- package/script/oas/boolean/toBoolean.d.ts +0 -79
- package/script/oas/boolean/toBoolean.d.ts.map +0 -1
- package/script/oas/boolean/toBoolean.js +0 -217
- package/script/oas/components/toComponentsV3.d.ts +0 -12
- package/script/oas/components/toComponentsV3.d.ts.map +0 -1
- package/script/oas/components/toComponentsV3.js +0 -43
- package/script/oas/contact/toContactV3.d.ts +0 -6
- package/script/oas/contact/toContactV3.d.ts.map +0 -1
- package/script/oas/contact/toContactV3.js +0 -22
- package/script/oas/discriminator/toDiscriminatorV3.d.ts +0 -12
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/script/oas/discriminator/toDiscriminatorV3.js +0 -24
- package/script/oas/document/toDocumentFieldsV3.d.ts +0 -12
- package/script/oas/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/script/oas/document/toDocumentFieldsV3.js +0 -34
- package/script/oas/example/toExamplesV3.d.ts +0 -69
- package/script/oas/example/toExamplesV3.d.ts.map +0 -1
- package/script/oas/example/toExamplesV3.js +0 -95
- package/script/oas/externalDocs/toExternalDocs.d.ts +0 -12
- package/script/oas/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/script/oas/externalDocs/toExternalDocs.js +0 -52
- package/script/oas/header/toHeadersV3.d.ts +0 -13
- package/script/oas/header/toHeadersV3.d.ts.map +0 -1
- package/script/oas/header/toHeadersV3.js +0 -51
- package/script/oas/info/toInfoV3.d.ts +0 -12
- package/script/oas/info/toInfoV3.d.ts.map +0 -1
- package/script/oas/info/toInfoV3.js +0 -27
- package/script/oas/integer/toInteger.d.ts +0 -21
- package/script/oas/integer/toInteger.d.ts.map +0 -1
- package/script/oas/integer/toInteger.js +0 -155
- package/script/oas/license/toLicenseV3.d.ts +0 -6
- package/script/oas/license/toLicenseV3.d.ts.map +0 -1
- package/script/oas/license/toLicenseV3.js +0 -21
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts +0 -316
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/script/oas/mediaType/toMediaTypeItemV3.js +0 -320
- package/script/oas/number/toNumber.d.ts +0 -12
- package/script/oas/number/toNumber.d.ts.map +0 -1
- package/script/oas/number/toNumber.js +0 -154
- package/script/oas/object/toAdditionalPropertiesV3.d.ts +0 -13
- package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/script/oas/object/toObject.d.ts +0 -12
- package/script/oas/object/toObject.d.ts.map +0 -1
- package/script/oas/object/toObject.js +0 -97
- package/script/oas/operation/toOperationsV3.d.ts +0 -26
- package/script/oas/operation/toOperationsV3.d.ts.map +0 -1
- package/script/oas/operation/toOperationsV3.js +0 -110
- package/script/oas/parameter/toParameterV3.d.ts +0 -25
- package/script/oas/parameter/toParameterV3.d.ts.map +0 -1
- package/script/oas/parameter/toParameterV3.js +0 -157
- package/script/oas/pathItem/toPathItemV3.d.ts +0 -12
- package/script/oas/pathItem/toPathItemV3.d.ts.map +0 -1
- package/script/oas/pathItem/toPathItemV3.js +0 -22
- package/script/oas/ref/toRefV31.d.ts +0 -14
- package/script/oas/ref/toRefV31.d.ts.map +0 -1
- package/script/oas/ref/toRefV31.js +0 -17
- package/script/oas/requestBody/toRequestBodiesV3.d.ts +0 -20
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/script/oas/requestBody/toRequestBodiesV3.js +0 -49
- package/script/oas/response/toResponseV3.d.ts +0 -25
- package/script/oas/response/toResponseV3.d.ts.map +0 -1
- package/script/oas/response/toResponseV3.js +0 -62
- package/script/oas/schema/toSchemasV3.d.ts +0 -31
- package/script/oas/schema/toSchemasV3.d.ts.map +0 -1
- package/script/oas/schema/toSchemasV3.js +0 -237
- package/script/oas/securityRequirement/toSecurityRequirement.d.ts +0 -11
- package/script/oas/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/script/oas/securityRequirement/toSecurityRequirement.js +0 -13
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts +0 -13
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/script/oas/securitySchemes/toSecuritySchemes.js +0 -126
- package/script/oas/server/toServerV3.d.ts +0 -24
- package/script/oas/server/toServerV3.d.ts.map +0 -1
- package/script/oas/server/toServerV3.js +0 -36
- package/script/oas/serverVariable/toServerVariableV3.d.ts +0 -24
- package/script/oas/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/script/oas/serverVariable/toServerVariableV3.js +0 -36
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -16
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +0 -30
- package/script/oas/string/toString.d.ts +0 -147
- package/script/oas/string/toString.d.ts.map +0 -1
- package/script/oas/string/toString.js +0 -290
- package/script/oas/tag/toTagsV3.d.ts +0 -18
- package/script/oas/tag/toTagsV3.d.ts.map +0 -1
- package/script/oas/tag/toTagsV3.js +0 -29
- package/script/oas/union/toUnion.d.ts +0 -14
- package/script/oas/union/toUnion.d.ts.map +0 -1
- package/script/oas/union/toUnion.js +0 -36
- package/script/oas/unknown/toUnknown.d.ts +0 -12
- package/script/oas/unknown/toUnknown.d.ts.map +0 -1
- package/script/oas/unknown/toUnknown.js +0 -23
- package/script/types/PrettierConfig.d.ts +0 -101
- package/script/types/PrettierConfig.d.ts.map +0 -1
- package/script/types/PrettierConfig.js +0 -135
- package/script/typescript/FunctionParameter.d.ts +0 -349
- package/script/typescript/FunctionParameter.d.ts.map +0 -1
- package/script/typescript/FunctionParameter.js +0 -461
- package/script/typescript/List.d.ts +0 -362
- package/script/typescript/List.d.ts.map +0 -1
- package/script/typescript/List.js +0 -509
- package/script/typescript/PathParams.d.ts +0 -218
- package/script/typescript/PathParams.d.ts.map +0 -1
- package/script/typescript/PathParams.js +0 -243
- package/script/typescript/ReactRouterPathParams.d.ts +0 -210
- package/script/typescript/ReactRouterPathParams.d.ts.map +0 -1
- package/script/typescript/ReactRouterPathParams.js +0 -236
- package/script/typescript/identifiers.d.ts +0 -162
- package/script/typescript/identifiers.d.ts.map +0 -1
- package/script/typescript/identifiers.js +0 -171
- package/script/typescript/keyValues.d.ts +0 -128
- package/script/typescript/keyValues.d.ts.map +0 -1
- package/script/typescript/keyValues.js +0 -139
- package/script/typescript/toPathParams.d.ts +0 -181
- package/script/typescript/toPathParams.d.ts.map +0 -1
- package/script/typescript/toPathParams.js +0 -186
- package/script/typescript/toPathTemplate.d.ts +0 -116
- package/script/typescript/toPathTemplate.d.ts.map +0 -1
- package/script/typescript/toPathTemplate.js +0 -121
- package/script/typescript/withDescription.d.ts +0 -123
- package/script/typescript/withDescription.d.ts.map +0 -1
- package/script/typescript/withDescription.js +0 -126
- /package/esm/{dsl/operation/types.js → _dnt.polyfills.js} +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.23}/exists.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
- /package/esm/{oas → parse/v3-0}/_helpers/parseNullable.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/cross-product.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/cross-product.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-union.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/generic-merge.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/generic-merge.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/is-equal.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/is-equal.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-intersection.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-intersection.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-properties.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-properties.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-required.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-required.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-union.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/nullable-merge.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/types.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/types.js +0 -0
- /package/esm/{oas → parse/v3-0}/object/toAdditionalPropertiesV3.js +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-at-least-one-type-match.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-enum-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-format-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-type-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/cross-product.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/decompose-intersection.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/decompose-union.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/generic-merge.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/is-equal.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-array-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-boolean-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-enum-values.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-integer-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-intersection.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-number-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-object-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-properties.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-required.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-string-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-union.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/nullable-merge.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/types.d.ts +0 -0
- /package/script/{dsl/operation/types.js → _dnt.polyfills.js} +0 -0
- /package/script/deps/jsr.io/@std/fs/{1.0.20 → 1.0.23}/exists.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
- /package/script/{oas → parse/v3-0}/_helpers/parseNullable.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/cross-product.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/generic-merge.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/is-equal.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-intersection.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-properties.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-required.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/types.js +0 -0
- /package/script/{oas → parse/v3-0}/object/toAdditionalPropertiesV3.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParseIssue.d.ts","sourceRoot":"","sources":["../../src/context/ParseIssue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,MAAM,YAAY,GACpB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,yBAAyB,GACzB,iBAAiB,GACjB,yBAAyB,GACzB,wBAAwB,CAAA;AAE5B;;;;;GAKG;AACH,eAAO,MAAM,YAAY,kYAQvB,CAAA;AAKF,MAAM,MAAM,UAAU,GAClB;IACE,QAAQ,EAAE,KAAK,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;IACd,IAAI,EAAE,YAAY,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,GACD;IACE,QAAQ,EAAE,KAAK,CAAA;IACf,KAAK,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,YAAY,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;CAChB,GACD;IACE,QAAQ,EAAE,KAAK,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;IACd,IAAI,EAAE,YAAY,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,GACD;IACE,QAAQ,EAAE,KAAK,CAAA;IACf,KAAK,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,YAAY,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unified discriminated union for parse-time issues across both OAS and
|
|
3
|
+
* GraphQL parsing. Each variant stands on its own — no shared base —
|
|
4
|
+
* so TypeScript narrows cleanly on `protocol` and `level`.
|
|
5
|
+
*
|
|
6
|
+
* `cause?: unknown` is only present on the error variants. Warnings are
|
|
7
|
+
* synthesized by the parser with all the information needed for the
|
|
8
|
+
* `message`; errors usually wrap a thrown `Error`, which we keep in
|
|
9
|
+
* `cause` for debugging without forcing renderers to know about it.
|
|
10
|
+
*
|
|
11
|
+
* `location` is the schema-level address of the issue: for OAS it's the
|
|
12
|
+
* stringified stack trail (e.g. `components.schemas.User.properties.email`);
|
|
13
|
+
* for GraphQL it's the schema-level address used by the GQL parser
|
|
14
|
+
* (e.g. `Query.getUser.return`).
|
|
15
|
+
*/
|
|
16
|
+
import * as v from 'valibot';
|
|
17
|
+
/**
|
|
18
|
+
* Valibot schema for {@link GqlIssueType}. Annotation deliberately
|
|
19
|
+
* omitted so the precise literal-union output type flows through to
|
|
20
|
+
* consumers; drift between this list and {@link GqlIssueType} is
|
|
21
|
+
* caught by the compile-time assertion below.
|
|
22
|
+
*/
|
|
23
|
+
export const gqlIssueType = v.union([
|
|
24
|
+
v.literal('NESTED_LIST_LOSSY'),
|
|
25
|
+
v.literal('UNKNOWN_TYPE_KIND'),
|
|
26
|
+
v.literal('DROPPED_DIRECTIVE'),
|
|
27
|
+
v.literal('SKIPPED_FIELD_ARGUMENTS'),
|
|
28
|
+
v.literal('SKIPPED_FEATURE'),
|
|
29
|
+
v.literal('INVALID_TYPE_DEFINITION'),
|
|
30
|
+
v.literal('INVALID_DEPENDENCY_REF')
|
|
31
|
+
]);
|
|
32
|
+
const _gqlIssueTypeDriftCheck = gqlIssueType;
|
|
33
|
+
void _gqlIssueTypeDriftCheck;
|
|
@@ -1,47 +1,71 @@
|
|
|
1
|
-
import type { PrettierConfigType } from '../types/PrettierConfig.js';
|
|
2
1
|
import type { FilesRenderResult, RenderResult } from './generateTypes.js';
|
|
3
|
-
import type {
|
|
2
|
+
import type { DefinitionBase } from '../dsl/Definition.js';
|
|
4
3
|
import type { PickArgs } from './generateTypes.js';
|
|
5
4
|
import type { ResultType } from '../types/Results.js';
|
|
6
5
|
import type * as log from '../deps/jsr.io/@std/log/0.224.14/mod.js';
|
|
7
6
|
import type { Logger } from '../types/Logger.js';
|
|
8
|
-
import {
|
|
7
|
+
import type { FileBase } from '../dsl/FileBase.js';
|
|
9
8
|
import type { Preview, Mapping } from '../types/Preview.js';
|
|
10
|
-
import type { JsonFile } from '../dsl/JsonFile.js';
|
|
11
9
|
import type { StackTrail } from './StackTrail.js';
|
|
10
|
+
import { type CaptureChannel } from '../anchors/CaptureSink.js';
|
|
11
|
+
import type { GenerationMapEntry } from '../anchors/generationMap.js';
|
|
12
|
+
import type { AttributionState } from '../types/AttributionState.js';
|
|
13
|
+
import type { Sidecar } from '../anchors/sidecar.js';
|
|
14
|
+
/**
|
|
15
|
+
* Result of the render phase: artifacts + file metadata + previews +
|
|
16
|
+
* mappings, plus the attribution sidecars / generation-map when the run
|
|
17
|
+
* configured `attribution.postPass`.
|
|
18
|
+
*/
|
|
19
|
+
type RenderPhaseResult = Omit<RenderResult, 'results'> & {
|
|
20
|
+
sidecars?: Record<string, Sidecar>;
|
|
21
|
+
generationMap?: GenerationMapEntry[];
|
|
22
|
+
};
|
|
12
23
|
/**
|
|
13
24
|
* Constructor arguments for {@link RenderContext}.
|
|
14
25
|
*/
|
|
15
26
|
type ConstructorArgs = {
|
|
16
27
|
/** Map of generated files to render */
|
|
17
|
-
files: Map<string,
|
|
28
|
+
files: Map<string, FileBase>;
|
|
18
29
|
/** Preview data for generated content */
|
|
19
|
-
previews: Record<string,
|
|
30
|
+
previews: Record<string, Preview>;
|
|
20
31
|
/** Mapping data for file relationships */
|
|
21
|
-
mappings: Record<string,
|
|
22
|
-
/** Optional formatter configuration (using Prettier format for compatibility) */
|
|
23
|
-
prettierConfig?: PrettierConfigType;
|
|
32
|
+
mappings: Record<string, Mapping>;
|
|
24
33
|
/** Base path for resolving file paths */
|
|
25
34
|
basePath: string | undefined;
|
|
26
35
|
/** Logger instance for debug information */
|
|
27
36
|
logger: log.Logger;
|
|
28
37
|
/** Function to capture result status */
|
|
29
38
|
captureCurrentResult: (result: ResultType, stackTrail: StackTrail) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Attribution (gen-maps) emission config. When `postPass` is set, the
|
|
41
|
+
* single render pass also captures the producer occurrence tree and
|
|
42
|
+
* emits sidecars + a generation map. Capture is skipped entirely when
|
|
43
|
+
* absent — plain render, the capture interval never opens.
|
|
44
|
+
*/
|
|
45
|
+
attribution?: AttributionState;
|
|
46
|
+
/**
|
|
47
|
+
* Shared attribution capture channel — the same object the run's
|
|
48
|
+
* `GenerateContext` holds, so snippets see the sink this context
|
|
49
|
+
* publishes during the capturing render. Wired by `CoreContext`.
|
|
50
|
+
*/
|
|
51
|
+
captureChannel?: CaptureChannel;
|
|
30
52
|
};
|
|
31
53
|
export declare class RenderContext {
|
|
32
54
|
#private;
|
|
33
55
|
/** Map of generated files to render */
|
|
34
|
-
files: Map<string,
|
|
56
|
+
files: Map<string, FileBase>;
|
|
35
57
|
/** Preview data for generated content */
|
|
36
|
-
previews: Record<string,
|
|
58
|
+
previews: Record<string, Preview>;
|
|
37
59
|
/** Mapping data for file relationships */
|
|
38
|
-
mappings: Record<string,
|
|
60
|
+
mappings: Record<string, Mapping>;
|
|
39
61
|
/** Base path for resolving file paths */
|
|
40
62
|
basePath: string | undefined;
|
|
41
63
|
/** Logger instance for debug information */
|
|
42
64
|
logger: Logger;
|
|
43
65
|
/** Function to capture result status */
|
|
44
66
|
captureCurrentResult: (result: ResultType, stackTrail: StackTrail) => void;
|
|
67
|
+
/** Attribution (gen-maps) emission config; see {@link ConstructorArgs}. */
|
|
68
|
+
attribution: AttributionState | undefined;
|
|
45
69
|
/**
|
|
46
70
|
* Creates a new RenderContext instance with the specified configuration.
|
|
47
71
|
*
|
|
@@ -50,13 +74,12 @@ export declare class RenderContext {
|
|
|
50
74
|
*
|
|
51
75
|
* @param args - Constructor arguments containing all required configuration
|
|
52
76
|
*/
|
|
53
|
-
constructor({ files, previews, mappings,
|
|
77
|
+
constructor({ files, previews, mappings, basePath, logger, captureCurrentResult, attribution, captureChannel }: ConstructorArgs);
|
|
54
78
|
/**
|
|
55
|
-
* Renders all files in the context to their final
|
|
79
|
+
* Renders all files in the context to their final form.
|
|
56
80
|
*
|
|
57
|
-
* This is the main rendering method that orchestrates the collation
|
|
58
|
-
*
|
|
59
|
-
* formatting (if configured), resolves paths, and produces the final
|
|
81
|
+
* This is the main rendering method that orchestrates the collation of
|
|
82
|
+
* all generated files. It resolves paths and produces the final
|
|
60
83
|
* artifacts ready for writing to the filesystem.
|
|
61
84
|
*
|
|
62
85
|
* @returns Promise resolving to render result containing artifacts, file metadata, previews, and mappings
|
|
@@ -67,7 +90,6 @@ export declare class RenderContext {
|
|
|
67
90
|
* files: generatedFiles,
|
|
68
91
|
* previews: previewData,
|
|
69
92
|
* mappings: mappingData,
|
|
70
|
-
* prettierConfig: { semi: false, singleQuote: true },
|
|
71
93
|
* basePath: './src/generated',
|
|
72
94
|
* stackTrail: traceStack,
|
|
73
95
|
* logger: logger,
|
|
@@ -82,16 +104,16 @@ export declare class RenderContext {
|
|
|
82
104
|
* });
|
|
83
105
|
* ```
|
|
84
106
|
*/
|
|
85
|
-
render(stackTrail: StackTrail):
|
|
107
|
+
render(stackTrail: StackTrail): RenderPhaseResult;
|
|
86
108
|
/**
|
|
87
109
|
* Collates all files in the context into a unified render result.
|
|
88
110
|
*
|
|
89
111
|
* This method processes each file in the context through the rendering pipeline,
|
|
90
|
-
* applying
|
|
91
|
-
*
|
|
112
|
+
* applying path resolution. It coordinates the parallel processing of all files
|
|
113
|
+
* and aggregates the results into a single output structure.
|
|
92
114
|
*
|
|
93
115
|
* The collation process includes:
|
|
94
|
-
* - File content rendering
|
|
116
|
+
* - File content rendering
|
|
95
117
|
* - Path resolution using base path configuration
|
|
96
118
|
* - Metadata calculation (line count, character count)
|
|
97
119
|
* - Result aggregation into artifacts and file metadata maps
|
|
@@ -132,7 +154,7 @@ export declare class RenderContext {
|
|
|
132
154
|
* const alsoSameFile = renderContext.getFile('/absolute/path/src/models/User.ts');
|
|
133
155
|
* ```
|
|
134
156
|
*/
|
|
135
|
-
getFile(filePath: string):
|
|
157
|
+
getFile(filePath: string): FileBase;
|
|
136
158
|
/**
|
|
137
159
|
* Picks a specific definition from a file in the context.
|
|
138
160
|
*
|
|
@@ -164,7 +186,7 @@ export declare class RenderContext {
|
|
|
164
186
|
* });
|
|
165
187
|
* ```
|
|
166
188
|
*/
|
|
167
|
-
pick({ name, exportPath }: PickArgs):
|
|
189
|
+
pick({ name, exportPath }: PickArgs): DefinitionBase | undefined;
|
|
168
190
|
}
|
|
169
191
|
export {};
|
|
170
192
|
//# sourceMappingURL=RenderContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderContext.d.ts","sourceRoot":"","sources":["../../src/context/RenderContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RenderContext.d.ts","sourceRoot":"","sources":["../../src/context/RenderContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,KAAK,KAAK,GAAG,MAAM,yCAAyC,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAEhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAE3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAG5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAgBpD;;;;GAIG;AACH,KAAK,iBAAiB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAAG;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,aAAa,CAAC,EAAE,kBAAkB,EAAE,CAAA;CACrC,CAAA;AAED;;GAEG;AACH,KAAK,eAAe,GAAG;IACrB,uCAAuC;IACvC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC5B,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,yCAAyC;IACzC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,4CAA4C;IAC5C,MAAM,EAAE,GAAG,CAAC,MAAM,CAAA;IAClB,wCAAwC;IACxC,oBAAoB,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,KAAK,IAAI,CAAA;IAC1E;;;;;OAKG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAA;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC,CAAA;AAsCD,qBAAa,aAAa;;IACxB,uCAAuC;IACvC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC5B,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,yCAAyC;IACzC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,oBAAoB,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,KAAK,IAAI,CAAA;IAC1E,2EAA2E;IAC3E,WAAW,EAAE,gBAAgB,GAAG,SAAS,CAAA;IAsBzC;;;;;;;OAOG;gBACS,EACV,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,oBAAoB,EACpB,WAAW,EACX,cAAc,EACf,EAAE,eAAe;IAWlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CAAC,UAAU,EAAE,UAAU,GAAG,iBAAiB;IAmEjD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,OAAO,CAAC,UAAU,EAAE,UAAU,GAAG,iBAAiB;IAuDlD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ;IAUnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,QAAQ,GAAG,cAAc,GAAG,SAAS;CAOjE"}
|
|
@@ -9,11 +9,14 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
9
9
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
10
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var _RenderContext_captureChannel, _RenderContext_sink, _RenderContext_captures;
|
|
13
13
|
import invariant from 'tiny-invariant';
|
|
14
|
-
import { normalize } from '../deps/jsr.io/@std/path/1.1.
|
|
14
|
+
import { normalize } from '../deps/jsr.io/@std/path/1.1.4/normalize.js';
|
|
15
15
|
import { toResolvedArtifactPath } from '../helpers/toResolvedArtifactPath.js';
|
|
16
|
-
import {
|
|
16
|
+
import { CodeFileBase } from '../dsl/CodeFileBase.js';
|
|
17
|
+
import { CaptureSink } from '../anchors/CaptureSink.js';
|
|
18
|
+
import { postPass } from '../anchors/postPass.js';
|
|
19
|
+
import { entriesForSidecar } from '../anchors/generationMap.js';
|
|
17
20
|
export class RenderContext {
|
|
18
21
|
/**
|
|
19
22
|
* Creates a new RenderContext instance with the specified configuration.
|
|
@@ -23,7 +26,7 @@ export class RenderContext {
|
|
|
23
26
|
*
|
|
24
27
|
* @param args - Constructor arguments containing all required configuration
|
|
25
28
|
*/
|
|
26
|
-
constructor({ files, previews, mappings,
|
|
29
|
+
constructor({ files, previews, mappings, basePath, logger, captureCurrentResult, attribution, captureChannel }) {
|
|
27
30
|
/** Map of generated files to render */
|
|
28
31
|
Object.defineProperty(this, "files", {
|
|
29
32
|
enumerable: true,
|
|
@@ -45,8 +48,6 @@ export class RenderContext {
|
|
|
45
48
|
writable: true,
|
|
46
49
|
value: void 0
|
|
47
50
|
});
|
|
48
|
-
/** Optional formatter configuration (using Prettier format for compatibility) */
|
|
49
|
-
_RenderContext_prettierConfig.set(this, void 0);
|
|
50
51
|
/** Base path for resolving file paths */
|
|
51
52
|
Object.defineProperty(this, "basePath", {
|
|
52
53
|
enumerable: true,
|
|
@@ -68,20 +69,55 @@ export class RenderContext {
|
|
|
68
69
|
writable: true,
|
|
69
70
|
value: void 0
|
|
70
71
|
});
|
|
72
|
+
/** Attribution (gen-maps) emission config; see {@link ConstructorArgs}. */
|
|
73
|
+
Object.defineProperty(this, "attribution", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
configurable: true,
|
|
76
|
+
writable: true,
|
|
77
|
+
value: void 0
|
|
78
|
+
});
|
|
79
|
+
/**
|
|
80
|
+
* Shared attribution capture channel — the same object the
|
|
81
|
+
* `GenerateContext` exposes to snippets as `captureSink`. `render` opens
|
|
82
|
+
* the capture interval by setting `channel.sink` and closes it in
|
|
83
|
+
* `finally`. Optional: a capturing render without a channel records no
|
|
84
|
+
* occurrences (snippets read their own context's channel).
|
|
85
|
+
*/
|
|
86
|
+
_RenderContext_captureChannel.set(this, void 0);
|
|
87
|
+
/**
|
|
88
|
+
* Active capture sink for the in-progress render pass, or `undefined`
|
|
89
|
+
* when rendering without attribution. `collate` checks this to decide
|
|
90
|
+
* whether to capture; set + cleared by `render`.
|
|
91
|
+
*/
|
|
92
|
+
_RenderContext_sink.set(this, void 0);
|
|
93
|
+
/**
|
|
94
|
+
* Per-file render output retained during a capturing render, consumed
|
|
95
|
+
* by `render` to build sidecars. Reset each capturing render.
|
|
96
|
+
*/
|
|
97
|
+
_RenderContext_captures.set(this, []
|
|
98
|
+
/**
|
|
99
|
+
* Creates a new RenderContext instance with the specified configuration.
|
|
100
|
+
*
|
|
101
|
+
* Initializes the rendering context with files to render, preview data,
|
|
102
|
+
* formatting configuration, and logging/tracing infrastructure.
|
|
103
|
+
*
|
|
104
|
+
* @param args - Constructor arguments containing all required configuration
|
|
105
|
+
*/
|
|
106
|
+
);
|
|
71
107
|
this.files = files;
|
|
72
108
|
this.previews = previews;
|
|
73
109
|
this.mappings = mappings;
|
|
74
|
-
__classPrivateFieldSet(this, _RenderContext_prettierConfig, prettierConfig, "f");
|
|
75
110
|
this.basePath = basePath;
|
|
76
111
|
this.logger = logger;
|
|
77
112
|
this.captureCurrentResult = captureCurrentResult;
|
|
113
|
+
this.attribution = attribution;
|
|
114
|
+
__classPrivateFieldSet(this, _RenderContext_captureChannel, captureChannel, "f");
|
|
78
115
|
}
|
|
79
116
|
/**
|
|
80
|
-
* Renders all files in the context to their final
|
|
117
|
+
* Renders all files in the context to their final form.
|
|
81
118
|
*
|
|
82
|
-
* This is the main rendering method that orchestrates the collation
|
|
83
|
-
*
|
|
84
|
-
* formatting (if configured), resolves paths, and produces the final
|
|
119
|
+
* This is the main rendering method that orchestrates the collation of
|
|
120
|
+
* all generated files. It resolves paths and produces the final
|
|
85
121
|
* artifacts ready for writing to the filesystem.
|
|
86
122
|
*
|
|
87
123
|
* @returns Promise resolving to render result containing artifacts, file metadata, previews, and mappings
|
|
@@ -92,7 +128,6 @@ export class RenderContext {
|
|
|
92
128
|
* files: generatedFiles,
|
|
93
129
|
* previews: previewData,
|
|
94
130
|
* mappings: mappingData,
|
|
95
|
-
* prettierConfig: { semi: false, singleQuote: true },
|
|
96
131
|
* basePath: './src/generated',
|
|
97
132
|
* stackTrail: traceStack,
|
|
98
133
|
* logger: logger,
|
|
@@ -108,24 +143,76 @@ export class RenderContext {
|
|
|
108
143
|
* ```
|
|
109
144
|
*/
|
|
110
145
|
render(stackTrail) {
|
|
111
|
-
const
|
|
112
|
-
|
|
146
|
+
const postPassConfig = this.attribution?.postPass;
|
|
147
|
+
// No emission configured → plain render, no capture: the capture
|
|
148
|
+
// interval never opens, so every snippet's `toString` wrapper takes
|
|
149
|
+
// the pass-through path.
|
|
150
|
+
if (!postPassConfig) {
|
|
151
|
+
const result = this.collate(stackTrail);
|
|
152
|
+
return {
|
|
153
|
+
artifacts: result.artifacts,
|
|
154
|
+
files: result.files,
|
|
155
|
+
previews: this.previews,
|
|
156
|
+
mappings: this.mappings
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
// Capturing render: open the capture interval by publishing a sink on
|
|
160
|
+
// the shared channel for the single `collate` walk, and close it in
|
|
161
|
+
// `finally`. Snippets' self-installed `toString` wrappers observe into
|
|
162
|
+
// the sink; `collate` routes each File's render through it.
|
|
163
|
+
const sink = new CaptureSink();
|
|
164
|
+
__classPrivateFieldSet(this, _RenderContext_sink, sink, "f");
|
|
165
|
+
__classPrivateFieldSet(this, _RenderContext_captures, [], "f");
|
|
166
|
+
if (__classPrivateFieldGet(this, _RenderContext_captureChannel, "f")) {
|
|
167
|
+
__classPrivateFieldGet(this, _RenderContext_captureChannel, "f").sink = sink;
|
|
168
|
+
}
|
|
169
|
+
let result;
|
|
170
|
+
try {
|
|
171
|
+
result = this.collate(stackTrail);
|
|
172
|
+
}
|
|
173
|
+
finally {
|
|
174
|
+
if (__classPrivateFieldGet(this, _RenderContext_captureChannel, "f")) {
|
|
175
|
+
__classPrivateFieldGet(this, _RenderContext_captureChannel, "f").sink = undefined;
|
|
176
|
+
}
|
|
177
|
+
__classPrivateFieldSet(this, _RenderContext_sink, undefined, "f");
|
|
178
|
+
}
|
|
179
|
+
// Build one sidecar per captured File from the spans the sink
|
|
180
|
+
// resolved (no re-render, no `toString`). Keyed by destination path,
|
|
181
|
+
// matching the file map. Accumulate the flat generation map.
|
|
182
|
+
const { parser, schemaSrc, generatorMeta } = postPassConfig;
|
|
183
|
+
const sidecars = {};
|
|
184
|
+
const generationMap = [];
|
|
185
|
+
for (const capture of __classPrivateFieldGet(this, _RenderContext_captures, "f")) {
|
|
186
|
+
const sidecar = postPass({
|
|
187
|
+
filePath: capture.filePath,
|
|
188
|
+
source: capture.source,
|
|
189
|
+
spans: capture.spans,
|
|
190
|
+
schemaSrc,
|
|
191
|
+
parser,
|
|
192
|
+
generatorMeta
|
|
193
|
+
});
|
|
194
|
+
sidecars[capture.destinationPath] = sidecar;
|
|
195
|
+
generationMap.push(...entriesForSidecar(sidecar));
|
|
196
|
+
}
|
|
197
|
+
__classPrivateFieldSet(this, _RenderContext_captures, [], "f");
|
|
198
|
+
return {
|
|
113
199
|
artifacts: result.artifacts,
|
|
114
200
|
files: result.files,
|
|
115
201
|
previews: this.previews,
|
|
116
|
-
mappings: this.mappings
|
|
202
|
+
mappings: this.mappings,
|
|
203
|
+
sidecars,
|
|
204
|
+
generationMap
|
|
117
205
|
};
|
|
118
|
-
return rendered;
|
|
119
206
|
}
|
|
120
207
|
/**
|
|
121
208
|
* Collates all files in the context into a unified render result.
|
|
122
209
|
*
|
|
123
210
|
* This method processes each file in the context through the rendering pipeline,
|
|
124
|
-
* applying
|
|
125
|
-
*
|
|
211
|
+
* applying path resolution. It coordinates the parallel processing of all files
|
|
212
|
+
* and aggregates the results into a single output structure.
|
|
126
213
|
*
|
|
127
214
|
* The collation process includes:
|
|
128
|
-
* - File content rendering
|
|
215
|
+
* - File content rendering
|
|
129
216
|
* - Path resolution using base path configuration
|
|
130
217
|
* - Metadata calculation (line count, character count)
|
|
131
218
|
* - Result aggregation into artifacts and file metadata maps
|
|
@@ -149,11 +236,29 @@ export class RenderContext {
|
|
|
149
236
|
const fileObjects = fileEntries
|
|
150
237
|
.map(([destinationPath, file]) => {
|
|
151
238
|
return stackTrail.trace(destinationPath, st => {
|
|
239
|
+
// When capturing, route a File's render through the sink so the
|
|
240
|
+
// occurrence tree + spans are recorded for this one render.
|
|
241
|
+
// JsonFile (and the non-capturing path) render plainly — the
|
|
242
|
+
// installed wrapper is inert while the sink is not in a
|
|
243
|
+
// `captureFile` call.
|
|
244
|
+
let content;
|
|
245
|
+
if (__classPrivateFieldGet(this, _RenderContext_sink, "f") && file instanceof CodeFileBase) {
|
|
246
|
+
const captured = __classPrivateFieldGet(this, _RenderContext_sink, "f").captureFile(() => file.toString());
|
|
247
|
+
content = captured.text;
|
|
248
|
+
__classPrivateFieldGet(this, _RenderContext_captures, "f").push({
|
|
249
|
+
destinationPath,
|
|
250
|
+
filePath: file.path,
|
|
251
|
+
source: captured.text,
|
|
252
|
+
spans: captured.spans
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
content = file.toString();
|
|
257
|
+
}
|
|
152
258
|
const renderedFile = renderFile({
|
|
153
|
-
content
|
|
259
|
+
content,
|
|
154
260
|
destinationPath,
|
|
155
|
-
basePath: this.basePath
|
|
156
|
-
prettierConfig: __classPrivateFieldGet(this, _RenderContext_prettierConfig, "f")
|
|
261
|
+
basePath: this.basePath
|
|
157
262
|
});
|
|
158
263
|
this.captureCurrentResult('success', st);
|
|
159
264
|
return renderedFile;
|
|
@@ -196,9 +301,9 @@ export class RenderContext {
|
|
|
196
301
|
* ```
|
|
197
302
|
*/
|
|
198
303
|
getFile(filePath) {
|
|
199
|
-
const
|
|
200
|
-
const currentFile = this.files.get(
|
|
201
|
-
invariant(currentFile, `File not found during render phase: ${
|
|
304
|
+
const normalizedPath = normalize(filePath);
|
|
305
|
+
const currentFile = this.files.get(normalizedPath);
|
|
306
|
+
invariant(currentFile, `File not found during render phase: ${normalizedPath}`);
|
|
202
307
|
return currentFile;
|
|
203
308
|
}
|
|
204
309
|
/**
|
|
@@ -234,35 +339,33 @@ export class RenderContext {
|
|
|
234
339
|
*/
|
|
235
340
|
pick({ name, exportPath }) {
|
|
236
341
|
const file = this.getFile(exportPath);
|
|
237
|
-
invariant(file instanceof
|
|
342
|
+
invariant(file instanceof CodeFileBase, `File at "${exportPath}" is not a code file`);
|
|
238
343
|
return file.definitions.get(name);
|
|
239
344
|
}
|
|
240
345
|
}
|
|
241
|
-
|
|
346
|
+
_RenderContext_captureChannel = new WeakMap(), _RenderContext_sink = new WeakMap(), _RenderContext_captures = new WeakMap();
|
|
242
347
|
/**
|
|
243
|
-
* Renders a single file with
|
|
348
|
+
* Renders a single file with metadata calculation.
|
|
244
349
|
*
|
|
245
350
|
* This function processes a single file through the rendering pipeline,
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
* the base path configuration.
|
|
351
|
+
* calculating file metadata such as line count and character count. It
|
|
352
|
+
* resolves the final path using the base path configuration.
|
|
249
353
|
*
|
|
250
354
|
* @param args - File rendering arguments
|
|
251
|
-
* @returns
|
|
355
|
+
* @returns A FileObject with content and metadata
|
|
252
356
|
*
|
|
253
357
|
* @example
|
|
254
358
|
* ```typescript
|
|
255
|
-
* const fileObject =
|
|
359
|
+
* const fileObject = renderFile({
|
|
256
360
|
* content: 'const x = 1;',
|
|
257
361
|
* destinationPath: 'utils.ts',
|
|
258
|
-
* basePath: './src'
|
|
259
|
-
* prettierConfig: { semi: false }
|
|
362
|
+
* basePath: './src'
|
|
260
363
|
* });
|
|
261
364
|
*
|
|
262
365
|
* console.log(fileObject.path); // './src/utils.ts'
|
|
263
|
-
* console.log(fileObject.content); // 'const x = 1'
|
|
366
|
+
* console.log(fileObject.content); // 'const x = 1;'
|
|
264
367
|
* console.log(fileObject.lines); // 1
|
|
265
|
-
* console.log(fileObject.characters); //
|
|
368
|
+
* console.log(fileObject.characters); // 12
|
|
266
369
|
* ```
|
|
267
370
|
*/
|
|
268
371
|
const renderFile = ({ content, destinationPath, basePath }) => {
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
import "../_dnt.polyfills.js";
|
|
2
|
+
import { type JsonPointer } from '../types/JsonPointer.js';
|
|
1
3
|
export declare class StackTrail {
|
|
2
4
|
#private;
|
|
3
5
|
constructor(stack?: string[]);
|
|
6
|
+
/**
|
|
7
|
+
* The canonical empty trail — used for nodes that were synthesized
|
|
8
|
+
* programmatically rather than parsed from a source document (they
|
|
9
|
+
* have no position). Distinct from any parsed position: no parsed
|
|
10
|
+
* `OasBase` node ever sits at the empty trail.
|
|
11
|
+
*/
|
|
12
|
+
static empty(): StackTrail;
|
|
13
|
+
/** True when the trail holds no frames (a synthetic / positionless node). */
|
|
14
|
+
isEmpty(): boolean;
|
|
4
15
|
/**
|
|
5
16
|
* Creates a shallow copy of the stack trail.
|
|
6
17
|
*
|
|
@@ -77,6 +88,63 @@ export declare class StackTrail {
|
|
|
77
88
|
* console.log(ref); // undefined
|
|
78
89
|
* ```
|
|
79
90
|
*/
|
|
91
|
+
/**
|
|
92
|
+
* Converts the trail to an RFC 6901 JSON Pointer (URI fragment form).
|
|
93
|
+
*
|
|
94
|
+
* Unlike {@link toStackRef}, this works for *any* visitor path — not
|
|
95
|
+
* just components-rooted references. Used by the gen-maps system to
|
|
96
|
+
* attach a `location` field to every parsed OAS schema, recording
|
|
97
|
+
* exactly where in the document the schema lives.
|
|
98
|
+
*
|
|
99
|
+
* Special characters in stack frames (`/`, `~`) are escaped per
|
|
100
|
+
* RFC 6901.
|
|
101
|
+
*
|
|
102
|
+
* @returns A JSON Pointer string starting with `#/`
|
|
103
|
+
*
|
|
104
|
+
* @example Components-rooted
|
|
105
|
+
* ```typescript
|
|
106
|
+
* const trail = new StackTrail(['components', 'schemas', 'User'])
|
|
107
|
+
* trail.toJsonPointer() // '#/components/schemas/User'
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @example Path-rooted (escapes slashes in path segments)
|
|
111
|
+
* ```typescript
|
|
112
|
+
* const trail = new StackTrail(['paths', '/users/{id}', 'get'])
|
|
113
|
+
* trail.toJsonPointer() // '#/paths/~1users~1{id}/get'
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
toJsonPointer(): JsonPointer;
|
|
117
|
+
/**
|
|
118
|
+
* The **document-relative** JSON Pointer for a parsed node, with the
|
|
119
|
+
* run's operational prefix stripped — the resolvable form used as a
|
|
120
|
+
* schema pointer in gen-maps.
|
|
121
|
+
*
|
|
122
|
+
* A parsed node's trail is seeded with operational frames before any
|
|
123
|
+
* document traversal: the worker pushes `[traceId, spanId]` and
|
|
124
|
+
* `CoreContext.toArtifacts` wraps each phase in `.trace('parse', …)` /
|
|
125
|
+
* `.trace('generate', …)` etc. The document path
|
|
126
|
+
* (`components/schemas/Pet/properties/name`) is appended on top. Unlike
|
|
127
|
+
* {@link toJsonPointer} — which serializes the *whole* trail and so does
|
|
128
|
+
* NOT resolve against the input document — this drops everything up to
|
|
129
|
+
* and including the phase frame, leaving only the document-relative path.
|
|
130
|
+
*
|
|
131
|
+
* Protocol-agnostic: the remaining frames are the input document's own
|
|
132
|
+
* keys (`components`, `paths`, … for OAS), never an `oas:`/`gql:` scheme.
|
|
133
|
+
*
|
|
134
|
+
* Falls back to the full trail when no phase frame is present (a trail
|
|
135
|
+
* seeded empty — e.g. in tests — is already document-relative). Returns
|
|
136
|
+
* `#/` (document root) for the empty trail.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* ```typescript
|
|
140
|
+
* new StackTrail(['trace-1', 'span-1', 'parse', 'components', 'schemas', 'Pet'])
|
|
141
|
+
* .toSchemaPointer() // '#/components/schemas/Pet'
|
|
142
|
+
*
|
|
143
|
+
* new StackTrail(['components', 'schemas', 'User']) // already doc-relative
|
|
144
|
+
* .toSchemaPointer() // '#/components/schemas/User'
|
|
145
|
+
* ```
|
|
146
|
+
*/
|
|
147
|
+
toSchemaPointer(): JsonPointer;
|
|
80
148
|
toStackRef(): string | undefined;
|
|
81
149
|
/**
|
|
82
150
|
* Removes frame(s) from the end of the trail.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackTrail.d.ts","sourceRoot":"","sources":["../../src/context/StackTrail.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StackTrail.d.ts","sourceRoot":"","sources":["../../src/context/StackTrail.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAEzE,qBAAa,UAAU;;gBAIT,KAAK,GAAE,MAAM,EAAO;IAIhC;;;;;OAKG;IACH,MAAM,CAAC,KAAK,IAAI,UAAU;IAI1B,6EAA6E;IAC7E,OAAO,IAAI,OAAO;IAIlB;;;;;;;;;;;;;;OAcG;IACH,KAAK,IAAI,UAAU;IAInB;;;;;;;;;;;OAWG;IACH,IAAI,UAAU,IAAI,MAAM,EAAE,CAEzB;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU;IAgB5C,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,CAAC,GAAG,CAAC;IAgB7C,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAgBhF;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,aAAa,IAAI,WAAW;IAI5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,eAAe,IAAI,WAAW;IAa9B,UAAU,IAAI,MAAM,GAAG,SAAS;IAkBhC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU;IAoB5C;;;;;;;;;;;;;;OAcG;IACH,MAAM,IAAI,MAAM;IAIhB;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,IAAI,MAAM;CAOnB"}
|