@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,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Assemble a {@link Sidecar} from resolved spans +
|
|
3
|
+
* attributions + landmark/path pairs.
|
|
4
|
+
*
|
|
5
|
+
* Pure function: no I/O, no parser, no global state. The AST landmark
|
|
6
|
+
* resolution step (plan §4.2) is *not* done here — the caller passes
|
|
7
|
+
* pre-resolved `(landmark, path)` pairs alongside each span. This
|
|
8
|
+
* separation is deliberate:
|
|
9
|
+
*
|
|
10
|
+
* - The sidecar shape + interning logic can be tested without a
|
|
11
|
+
* parser (`FakeParser` is enough).
|
|
12
|
+
* - When tsc / oxc adapters land (plan §8), they're swap-ins behind
|
|
13
|
+
* the `ParserAdapter` interface — no churn here.
|
|
14
|
+
*
|
|
15
|
+
* `writeSidecar` (Phase D) is the thin I/O wrapper. It stays separate
|
|
16
|
+
* so the pure builder can be exercised independently with a temp dir.
|
|
17
|
+
*/
|
|
18
|
+
import type { Span, Attribution } from './types.js';
|
|
19
|
+
import { type Sidecar, type RegistryEntry } from './sidecar.js';
|
|
20
|
+
/**
|
|
21
|
+
* One (span, attribution, landmark) triple — the input unit for
|
|
22
|
+
* `buildSidecar`. `landmark` is the top-level export name the span
|
|
23
|
+
* lives under (empty string when the span sits outside any landmark,
|
|
24
|
+
* which the builder treats as a skip). `path` is the AST child-index
|
|
25
|
+
* trail inside the landmark; empty path means "the landmark itself".
|
|
26
|
+
*/
|
|
27
|
+
export type ResolvedAnchor = {
|
|
28
|
+
span: Span;
|
|
29
|
+
attribution: Attribution;
|
|
30
|
+
landmark: string;
|
|
31
|
+
path: number[];
|
|
32
|
+
/**
|
|
33
|
+
* Generator metadata for the producer that owns this span. The
|
|
34
|
+
* `attribute()` step gives us only the generator id; the version +
|
|
35
|
+
* registry come from the CLI's view of `deno.json`/lockfile (Phase
|
|
36
|
+
* D plumbs this). For now callers pass it in; the builder takes
|
|
37
|
+
* whatever they hand over and pools it.
|
|
38
|
+
*/
|
|
39
|
+
generatorVersion: string;
|
|
40
|
+
registry: RegistryEntry;
|
|
41
|
+
};
|
|
42
|
+
export type BuildSidecarArgs = {
|
|
43
|
+
filePath: string;
|
|
44
|
+
schemaSrc: string;
|
|
45
|
+
parser: string;
|
|
46
|
+
anchors: ResolvedAnchor[];
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Assemble a Sidecar v2 from resolved anchors. Anchors with an empty
|
|
50
|
+
* `landmark` string are skipped — they sit outside any top-level
|
|
51
|
+
* export and have no useful re-resolution path (plan #25).
|
|
52
|
+
*/
|
|
53
|
+
export declare const buildSidecar: ({ filePath, schemaSrc, parser, anchors }: BuildSidecarArgs) => Sidecar;
|
|
54
|
+
//# sourceMappingURL=buildSidecar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildSidecar.d.ts","sourceRoot":"","sources":["../../src/anchors/buildSidecar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,aAAa,EAEnB,MAAM,cAAc,CAAA;AAErB;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,WAAW,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd;;;;;;OAMG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,aAAa,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,cAAc,EAAE,CAAA;CAC1B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,0CAK1B,gBAAgB,KAAG,OAgFrB,CAAA"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Assemble a {@link Sidecar} from resolved spans +
|
|
3
|
+
* attributions + landmark/path pairs.
|
|
4
|
+
*
|
|
5
|
+
* Pure function: no I/O, no parser, no global state. The AST landmark
|
|
6
|
+
* resolution step (plan §4.2) is *not* done here — the caller passes
|
|
7
|
+
* pre-resolved `(landmark, path)` pairs alongside each span. This
|
|
8
|
+
* separation is deliberate:
|
|
9
|
+
*
|
|
10
|
+
* - The sidecar shape + interning logic can be tested without a
|
|
11
|
+
* parser (`FakeParser` is enough).
|
|
12
|
+
* - When tsc / oxc adapters land (plan §8), they're swap-ins behind
|
|
13
|
+
* the `ParserAdapter` interface — no churn here.
|
|
14
|
+
*
|
|
15
|
+
* `writeSidecar` (Phase D) is the thin I/O wrapper. It stays separate
|
|
16
|
+
* so the pure builder can be exercised independently with a temp dir.
|
|
17
|
+
*/
|
|
18
|
+
import { emptySidecar } from './sidecar.js';
|
|
19
|
+
/**
|
|
20
|
+
* Assemble a Sidecar v2 from resolved anchors. Anchors with an empty
|
|
21
|
+
* `landmark` string are skipped — they sit outside any top-level
|
|
22
|
+
* export and have no useful re-resolution path (plan #25).
|
|
23
|
+
*/
|
|
24
|
+
export const buildSidecar = ({ filePath, schemaSrc, parser, anchors }) => {
|
|
25
|
+
const sidecar = emptySidecar(filePath, schemaSrc, parser);
|
|
26
|
+
// String-pool interning. Repeated values get the same index.
|
|
27
|
+
const stringPool = (pool) => {
|
|
28
|
+
const cache = new Map();
|
|
29
|
+
return (value) => {
|
|
30
|
+
const hit = cache.get(value);
|
|
31
|
+
if (hit !== undefined)
|
|
32
|
+
return hit;
|
|
33
|
+
const idx = pool.length;
|
|
34
|
+
pool.push(value);
|
|
35
|
+
cache.set(value, idx);
|
|
36
|
+
return idx;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
// Object pools key on a canonical string form so we don't double-
|
|
40
|
+
// intern entries that happen to be structurally equal but
|
|
41
|
+
// referentially distinct.
|
|
42
|
+
const internRegistry = (() => {
|
|
43
|
+
const cache = new Map();
|
|
44
|
+
return (entry) => {
|
|
45
|
+
const key = `${entry.kind}|${entry.host}`;
|
|
46
|
+
const hit = cache.get(key);
|
|
47
|
+
if (hit !== undefined)
|
|
48
|
+
return hit;
|
|
49
|
+
const idx = sidecar.R.length;
|
|
50
|
+
sidecar.R.push(entry);
|
|
51
|
+
cache.set(key, idx);
|
|
52
|
+
return idx;
|
|
53
|
+
};
|
|
54
|
+
})();
|
|
55
|
+
const internGenerator = (() => {
|
|
56
|
+
const cache = new Map();
|
|
57
|
+
return (entry) => {
|
|
58
|
+
const key = `${entry.name}|${entry.version}|${entry.r}`;
|
|
59
|
+
const hit = cache.get(key);
|
|
60
|
+
if (hit !== undefined)
|
|
61
|
+
return hit;
|
|
62
|
+
const idx = sidecar.G.length;
|
|
63
|
+
sidecar.G.push(entry);
|
|
64
|
+
cache.set(key, idx);
|
|
65
|
+
return idx;
|
|
66
|
+
};
|
|
67
|
+
})();
|
|
68
|
+
const internS = stringPool(sidecar.S);
|
|
69
|
+
const internV = stringPool(sidecar.V);
|
|
70
|
+
const internL = stringPool(sidecar.L);
|
|
71
|
+
const internP = stringPool(sidecar.P);
|
|
72
|
+
// Producer-name pool (`N`) + a parallel `An` array (one entry per
|
|
73
|
+
// emitted `A` row). Kept local then assigned, so the additive fields
|
|
74
|
+
// don't need non-null coercion on the optional sidecar shape.
|
|
75
|
+
const N = [];
|
|
76
|
+
const An = [];
|
|
77
|
+
const internN = stringPool(N);
|
|
78
|
+
for (const anchor of anchors) {
|
|
79
|
+
if (anchor.landmark === '') {
|
|
80
|
+
// Span outside any landmark. Skip — re-anchoring after
|
|
81
|
+
// reformatting wouldn't have anything stable to descend from.
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
const ri = internRegistry(anchor.registry);
|
|
85
|
+
const gi = internGenerator({
|
|
86
|
+
name: anchor.attribution.generatorId,
|
|
87
|
+
version: anchor.generatorVersion,
|
|
88
|
+
r: ri
|
|
89
|
+
});
|
|
90
|
+
// `schemaPointer` is `''` for spans with no schema location
|
|
91
|
+
// (generator-only producers); consumers treat the empty pool entry
|
|
92
|
+
// as "no schema pointer".
|
|
93
|
+
const si = internS(anchor.attribution.schemaPointer);
|
|
94
|
+
const vi = internV(anchor.attribution.variant);
|
|
95
|
+
const Li = internL(anchor.landmark);
|
|
96
|
+
const Pi = internP(anchor.path.join('.'));
|
|
97
|
+
sidecar.A.push([Li, Pi, gi, si, vi, anchor.span.from, anchor.span.to]);
|
|
98
|
+
// Parallel to the A row just pushed.
|
|
99
|
+
An.push(internN(anchor.attribution.producerName));
|
|
100
|
+
}
|
|
101
|
+
sidecar.N = N;
|
|
102
|
+
sidecar.An = An;
|
|
103
|
+
return sidecar;
|
|
104
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Generation map — per-Definition summary used for
|
|
3
|
+
* reverse queries: "which files came from refName User?", "which
|
|
4
|
+
* files did gen-zod produce?". Per plan §4.3.
|
|
5
|
+
*
|
|
6
|
+
* Lives at `.skmtc/<project>/.maps/_map.ndjson`, **wholly rewritten**
|
|
7
|
+
* per generation (no accumulation across runs; stale entries would
|
|
8
|
+
* mislead the viewer). The CLI handles disk I/O — this module emits
|
|
9
|
+
* the entries + an NDJSON helper.
|
|
10
|
+
*
|
|
11
|
+
* One entry per Definition (landmark), not per anchor. The landmark
|
|
12
|
+
* appears in the generation map; the per-Snippet anchors stay inside
|
|
13
|
+
* the sidecar itself.
|
|
14
|
+
*
|
|
15
|
+
* "Generation map" by analogy with source maps: each row pairs a
|
|
16
|
+
* generated artifact with the schema location + generator + variant
|
|
17
|
+
* it came from. Same pattern as a sourcemap, at Definition rather
|
|
18
|
+
* than byte granularity.
|
|
19
|
+
*/
|
|
20
|
+
import * as v from 'valibot';
|
|
21
|
+
import type { Sidecar } from './sidecar.js';
|
|
22
|
+
/**
|
|
23
|
+
* Single row in the generation map. Mirrors the documented shape in
|
|
24
|
+
* `plan.md` §4.3:
|
|
25
|
+
*
|
|
26
|
+
* - `f` — file path (relative to basePath)
|
|
27
|
+
* - `name` — Definition / landmark name
|
|
28
|
+
* - `g` — generator id (e.g. `@skmtc/gen-typescript`)
|
|
29
|
+
* - `s` — schema pointer or empty string
|
|
30
|
+
* - `v` — variant name (default `'main'`)
|
|
31
|
+
*/
|
|
32
|
+
export declare const generationMapEntry: v.ObjectSchema<{
|
|
33
|
+
readonly f: v.StringSchema<undefined>;
|
|
34
|
+
readonly name: v.StringSchema<undefined>;
|
|
35
|
+
readonly g: v.StringSchema<undefined>;
|
|
36
|
+
readonly s: v.StringSchema<undefined>;
|
|
37
|
+
readonly v: v.StringSchema<undefined>;
|
|
38
|
+
}, undefined>;
|
|
39
|
+
export type GenerationMapEntry = v.InferOutput<typeof generationMapEntry>;
|
|
40
|
+
/**
|
|
41
|
+
* Extract one generation-map entry per unique landmark in `sidecar`.
|
|
42
|
+
*
|
|
43
|
+
* For each landmark, picks the **outermost** anchor — the one whose
|
|
44
|
+
* AST path is empty (meaning the span is the landmark node itself).
|
|
45
|
+
* If no path-empty anchor exists for a landmark (rare; happens when
|
|
46
|
+
* the Definition's full text was reshaped between render and
|
|
47
|
+
* post-pass), falls back to the first anchor for that landmark in
|
|
48
|
+
* document order. This keeps the map populated rather than silently
|
|
49
|
+
* dropping a Definition that the user can see in the file.
|
|
50
|
+
*/
|
|
51
|
+
export declare const entriesForSidecar: (sidecar: Sidecar) => GenerationMapEntry[];
|
|
52
|
+
/**
|
|
53
|
+
* Convert generation-map entries to NDJSON (newline-delimited JSON).
|
|
54
|
+
* One row per line; trailing newline so concatenation between
|
|
55
|
+
* generations is boundary-safe.
|
|
56
|
+
*
|
|
57
|
+
* Pure: takes entries, returns a string. No I/O.
|
|
58
|
+
*/
|
|
59
|
+
export declare const toNdjson: (entries: readonly GenerationMapEntry[]) => string;
|
|
60
|
+
/**
|
|
61
|
+
* Parse a generation-map NDJSON file (typically read off disk by the
|
|
62
|
+
* viewer or by a `doctor` check). Invalid rows fail the valibot parse
|
|
63
|
+
* — the map is wholly rewritten per generation so a row being
|
|
64
|
+
* unparseable means the file is corrupt, not just stale.
|
|
65
|
+
*/
|
|
66
|
+
export declare const parseNdjson: (text: string) => GenerationMapEntry[];
|
|
67
|
+
//# sourceMappingURL=generationMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generationMap.d.ts","sourceRoot":"","sources":["../../src/anchors/generationMap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;;;;;;aAM7B,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEzE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,OAAO,KAAG,kBAAkB,EAgCtE,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,SAAS,SAAS,kBAAkB,EAAE,KAAG,MACiB,CAAA;AAEnF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,kBAAkB,EAI5D,CAAA"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Generation map — per-Definition summary used for
|
|
3
|
+
* reverse queries: "which files came from refName User?", "which
|
|
4
|
+
* files did gen-zod produce?". Per plan §4.3.
|
|
5
|
+
*
|
|
6
|
+
* Lives at `.skmtc/<project>/.maps/_map.ndjson`, **wholly rewritten**
|
|
7
|
+
* per generation (no accumulation across runs; stale entries would
|
|
8
|
+
* mislead the viewer). The CLI handles disk I/O — this module emits
|
|
9
|
+
* the entries + an NDJSON helper.
|
|
10
|
+
*
|
|
11
|
+
* One entry per Definition (landmark), not per anchor. The landmark
|
|
12
|
+
* appears in the generation map; the per-Snippet anchors stay inside
|
|
13
|
+
* the sidecar itself.
|
|
14
|
+
*
|
|
15
|
+
* "Generation map" by analogy with source maps: each row pairs a
|
|
16
|
+
* generated artifact with the schema location + generator + variant
|
|
17
|
+
* it came from. Same pattern as a sourcemap, at Definition rather
|
|
18
|
+
* than byte granularity.
|
|
19
|
+
*/
|
|
20
|
+
import * as v from 'valibot';
|
|
21
|
+
/**
|
|
22
|
+
* Single row in the generation map. Mirrors the documented shape in
|
|
23
|
+
* `plan.md` §4.3:
|
|
24
|
+
*
|
|
25
|
+
* - `f` — file path (relative to basePath)
|
|
26
|
+
* - `name` — Definition / landmark name
|
|
27
|
+
* - `g` — generator id (e.g. `@skmtc/gen-typescript`)
|
|
28
|
+
* - `s` — schema pointer or empty string
|
|
29
|
+
* - `v` — variant name (default `'main'`)
|
|
30
|
+
*/
|
|
31
|
+
export const generationMapEntry = v.object({
|
|
32
|
+
f: v.string(),
|
|
33
|
+
name: v.string(),
|
|
34
|
+
g: v.string(),
|
|
35
|
+
s: v.string(),
|
|
36
|
+
v: v.string()
|
|
37
|
+
});
|
|
38
|
+
/**
|
|
39
|
+
* Extract one generation-map entry per unique landmark in `sidecar`.
|
|
40
|
+
*
|
|
41
|
+
* For each landmark, picks the **outermost** anchor — the one whose
|
|
42
|
+
* AST path is empty (meaning the span is the landmark node itself).
|
|
43
|
+
* If no path-empty anchor exists for a landmark (rare; happens when
|
|
44
|
+
* the Definition's full text was reshaped between render and
|
|
45
|
+
* post-pass), falls back to the first anchor for that landmark in
|
|
46
|
+
* document order. This keeps the map populated rather than silently
|
|
47
|
+
* dropping a Definition that the user can see in the file.
|
|
48
|
+
*/
|
|
49
|
+
export const entriesForSidecar = (sidecar) => {
|
|
50
|
+
const seen = new Set();
|
|
51
|
+
const out = [];
|
|
52
|
+
for (const row of sidecar.A) {
|
|
53
|
+
const [Li, Pi, gi, si, vi] = row;
|
|
54
|
+
if (seen.has(Li))
|
|
55
|
+
continue;
|
|
56
|
+
// Prefer the path-empty row for this landmark if we find one in
|
|
57
|
+
// the remaining sequence; otherwise the first row for this Li
|
|
58
|
+
// already in front of us wins on the next iteration.
|
|
59
|
+
const pathStr = sidecar.P[Pi];
|
|
60
|
+
if (pathStr !== '') {
|
|
61
|
+
// Defer — keep scanning in case a path-empty row for the same
|
|
62
|
+
// landmark exists later.
|
|
63
|
+
const hasOuter = sidecar.A.some(([Lj, Pj]) => Lj === Li && sidecar.P[Pj] === '');
|
|
64
|
+
if (hasOuter)
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
67
|
+
seen.add(Li);
|
|
68
|
+
out.push({
|
|
69
|
+
f: sidecar.f,
|
|
70
|
+
name: sidecar.L[Li],
|
|
71
|
+
g: sidecar.G[gi]?.name ?? '',
|
|
72
|
+
s: sidecar.S[si] ?? '',
|
|
73
|
+
v: sidecar.V[vi] ?? 'main'
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
return out;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Convert generation-map entries to NDJSON (newline-delimited JSON).
|
|
80
|
+
* One row per line; trailing newline so concatenation between
|
|
81
|
+
* generations is boundary-safe.
|
|
82
|
+
*
|
|
83
|
+
* Pure: takes entries, returns a string. No I/O.
|
|
84
|
+
*/
|
|
85
|
+
export const toNdjson = (entries) => entries.length === 0 ? '' : entries.map(e => JSON.stringify(e)).join('\n') + '\n';
|
|
86
|
+
/**
|
|
87
|
+
* Parse a generation-map NDJSON file (typically read off disk by the
|
|
88
|
+
* viewer or by a `doctor` check). Invalid rows fail the valibot parse
|
|
89
|
+
* — the map is wholly rewritten per generation so a row being
|
|
90
|
+
* unparseable means the file is corrupt, not just stale.
|
|
91
|
+
*/
|
|
92
|
+
export const parseNdjson = (text) => {
|
|
93
|
+
if (text.length === 0)
|
|
94
|
+
return [];
|
|
95
|
+
const lines = text.split('\n').filter(line => line.length > 0);
|
|
96
|
+
return lines.map(line => v.parse(generationMapEntry, JSON.parse(line)));
|
|
97
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Tie the Phase B + C pieces together: take a rendered
|
|
3
|
+
* file's text + the spans the render-phase {@link CaptureSink} resolved,
|
|
4
|
+
* AST-resolve each span's landmark + path, and build the sidecar.
|
|
5
|
+
*
|
|
6
|
+
* Pure function over its inputs — no I/O, no global state, no `toString`,
|
|
7
|
+
* no pipeline hooks. The caller is `RenderContext` (folded in after the
|
|
8
|
+
* single capture render), running this once per File when the run supplies
|
|
9
|
+
* `attribution.postPass`. The CLI handles disk writes via a separate
|
|
10
|
+
* `writeSidecar` wrapper.
|
|
11
|
+
*/
|
|
12
|
+
import type { ParserAdapter } from './ParserAdapter.js';
|
|
13
|
+
import type { RegistryEntry } from './sidecar.js';
|
|
14
|
+
import type { Sidecar } from './sidecar.js';
|
|
15
|
+
import type { Span } from './types.js';
|
|
16
|
+
/**
|
|
17
|
+
* Lookup contract for per-generator metadata. Phase D's CLI builds
|
|
18
|
+
* this once from the project's lockfile + `deno.json` import map and
|
|
19
|
+
* passes it in. Generators not in the map fall back to `version: ''`
|
|
20
|
+
* + `registry: { host: 'jsr.io', kind: 'jsr' }` — the sidecar still
|
|
21
|
+
* builds, just with degraded provenance.
|
|
22
|
+
*/
|
|
23
|
+
export type GeneratorMetaLookup = (generatorId: string) => {
|
|
24
|
+
version: string;
|
|
25
|
+
registry: RegistryEntry;
|
|
26
|
+
};
|
|
27
|
+
export type PostPassArgs = {
|
|
28
|
+
/**
|
|
29
|
+
* The rendered file's path (the `File`'s own path, not the resolved
|
|
30
|
+
* artifact path). Used as the parser's source name and stamped on the
|
|
31
|
+
* sidecar.
|
|
32
|
+
*/
|
|
33
|
+
filePath: string;
|
|
34
|
+
/** The rendered file text (the single capture render's output). */
|
|
35
|
+
source: string;
|
|
36
|
+
/**
|
|
37
|
+
* Byte spans for every contributing Definition / Snippet, resolved by
|
|
38
|
+
* the render-phase {@link CaptureSink} from the occurrence tree. In
|
|
39
|
+
* document order (Definitions first, then inner Snippets depth-first).
|
|
40
|
+
*/
|
|
41
|
+
spans: Span[];
|
|
42
|
+
/**
|
|
43
|
+
* The schema source name (e.g. `'openapi.json'`). Carried on the
|
|
44
|
+
* sidecar's `src` field so re-anchor consumers know which schema
|
|
45
|
+
* the producer ran against.
|
|
46
|
+
*/
|
|
47
|
+
schemaSrc: string;
|
|
48
|
+
/**
|
|
49
|
+
* Parser adapter to resolve landmarks + paths. Optional — when
|
|
50
|
+
* omitted, the sidecar still emits byte ranges + attribution +
|
|
51
|
+
* generator/schema-pointer/variant pools, but the `L` (landmark)
|
|
52
|
+
* and `P` (AST path) pools stay empty and every `A` row's
|
|
53
|
+
* landmark/path indices point at the empty sentinels. The SPA
|
|
54
|
+
* handles this gracefully (skips re-anchor on formatter drift).
|
|
55
|
+
*
|
|
56
|
+
* Worker-side post-pass uses this mode because native parsers
|
|
57
|
+
* (oxc-parser's napi bindings, tsc's `source-map-support` chain)
|
|
58
|
+
* don't bundle cleanly into a Web Worker. Host-side post-pass
|
|
59
|
+
* with a real parser is a future addition.
|
|
60
|
+
*/
|
|
61
|
+
parser?: ParserAdapter;
|
|
62
|
+
/**
|
|
63
|
+
* Per-generator metadata lookup. Defaults to a stub that fills
|
|
64
|
+
* generator entries with empty version + `jsr.io` registry. The
|
|
65
|
+
* Phase D CLI wires in a real lookup.
|
|
66
|
+
*/
|
|
67
|
+
generatorMeta?: GeneratorMetaLookup;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Run the post-render attribution pass for one file and return the
|
|
71
|
+
* Sidecar. Workflow:
|
|
72
|
+
*
|
|
73
|
+
* 1. `spans` arrive pre-resolved from the render-phase `CaptureSink`
|
|
74
|
+
* (§3.3): byte ranges for each producer, in document order.
|
|
75
|
+
* 2. `attribute(span.producer)` — Phase B (§3.2): derives
|
|
76
|
+
* `{ generatorId, schemaPointer, variant, definitionName, producerName }`.
|
|
77
|
+
* 3. Parser ascends each span to its enclosing landmark; the
|
|
78
|
+
* `forEachChild`-indexed path is what makes the sidecar
|
|
79
|
+
* re-anchorable after a formatter pass.
|
|
80
|
+
* 4. `buildSidecar(...)` — Phase C (§4.1): pool + intern, emit the
|
|
81
|
+
* Sidecar v2 object.
|
|
82
|
+
*
|
|
83
|
+
* Returns the Sidecar; caller decides what to do with it (write to
|
|
84
|
+
* disk, attach to manifest, send over the wire).
|
|
85
|
+
*/
|
|
86
|
+
export declare const postPass: ({ filePath, source, spans, schemaSrc, parser, generatorMeta }: PostPassArgs) => Sidecar;
|
|
87
|
+
//# sourceMappingURL=postPass.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postPass.d.ts","sourceRoot":"","sources":["../../src/anchors/postPass.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,KAAK,EAAe,IAAI,EAAE,MAAM,YAAY,CAAA;AAInD;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,WAAW,EAAE,MAAM,KAAK;IACzD,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,aAAa,CAAA;CACxB,CAAA;AAOD,MAAM,MAAM,YAAY,GAAG;IACzB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,KAAK,EAAE,IAAI,EAAE,CAAA;IACb;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAA;CACpC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ,GAAI,+DAOtB,YAAY,KAAG,OA6CjB,CAAA"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Tie the Phase B + C pieces together: take a rendered
|
|
3
|
+
* file's text + the spans the render-phase {@link CaptureSink} resolved,
|
|
4
|
+
* AST-resolve each span's landmark + path, and build the sidecar.
|
|
5
|
+
*
|
|
6
|
+
* Pure function over its inputs — no I/O, no global state, no `toString`,
|
|
7
|
+
* no pipeline hooks. The caller is `RenderContext` (folded in after the
|
|
8
|
+
* single capture render), running this once per File when the run supplies
|
|
9
|
+
* `attribution.postPass`. The CLI handles disk writes via a separate
|
|
10
|
+
* `writeSidecar` wrapper.
|
|
11
|
+
*/
|
|
12
|
+
import { attribute } from './attribute.js';
|
|
13
|
+
import { buildSidecar } from './buildSidecar.js';
|
|
14
|
+
const defaultLookup = () => ({
|
|
15
|
+
version: '',
|
|
16
|
+
registry: { host: 'jsr.io', kind: 'jsr' }
|
|
17
|
+
});
|
|
18
|
+
/**
|
|
19
|
+
* Run the post-render attribution pass for one file and return the
|
|
20
|
+
* Sidecar. Workflow:
|
|
21
|
+
*
|
|
22
|
+
* 1. `spans` arrive pre-resolved from the render-phase `CaptureSink`
|
|
23
|
+
* (§3.3): byte ranges for each producer, in document order.
|
|
24
|
+
* 2. `attribute(span.producer)` — Phase B (§3.2): derives
|
|
25
|
+
* `{ generatorId, schemaPointer, variant, definitionName, producerName }`.
|
|
26
|
+
* 3. Parser ascends each span to its enclosing landmark; the
|
|
27
|
+
* `forEachChild`-indexed path is what makes the sidecar
|
|
28
|
+
* re-anchorable after a formatter pass.
|
|
29
|
+
* 4. `buildSidecar(...)` — Phase C (§4.1): pool + intern, emit the
|
|
30
|
+
* Sidecar v2 object.
|
|
31
|
+
*
|
|
32
|
+
* Returns the Sidecar; caller decides what to do with it (write to
|
|
33
|
+
* disk, attach to manifest, send over the wire).
|
|
34
|
+
*/
|
|
35
|
+
export const postPass = ({ filePath, source, spans, schemaSrc, parser, generatorMeta = defaultLookup }) => {
|
|
36
|
+
const parsedFile = parser?.parse(filePath, source);
|
|
37
|
+
const landmarks = parser && parsedFile ? parser.collectLandmarks(parsedFile) : undefined;
|
|
38
|
+
// No-parser fallback: track the most recent Definition we've
|
|
39
|
+
// crossed in document order. The spans emit each Definition's outer
|
|
40
|
+
// span before its inner Snippets, so this gives every inner span a
|
|
41
|
+
// stable landmark name even without AST analysis. Re-anchoring on
|
|
42
|
+
// formatter drift isn't possible without paths, but the SPA's
|
|
43
|
+
// hover/pin/related-artifact flows all work fine.
|
|
44
|
+
let currentDefinitionName = '';
|
|
45
|
+
const anchors = [];
|
|
46
|
+
for (const span of spans) {
|
|
47
|
+
const attr = attribute(span.producer);
|
|
48
|
+
if (attr.definitionName !== undefined)
|
|
49
|
+
currentDefinitionName = attr.definitionName;
|
|
50
|
+
const { landmark, path } = parser && parsedFile && landmarks
|
|
51
|
+
? (() => {
|
|
52
|
+
const node = parser.smallestEnclosing(parsedFile, span.from, span.to);
|
|
53
|
+
return parser.ascendToLandmark(node, landmarks);
|
|
54
|
+
})()
|
|
55
|
+
: { landmark: currentDefinitionName, path: [] };
|
|
56
|
+
const meta = generatorMeta(attr.generatorId);
|
|
57
|
+
anchors.push({
|
|
58
|
+
span,
|
|
59
|
+
attribution: attr,
|
|
60
|
+
landmark,
|
|
61
|
+
path,
|
|
62
|
+
generatorVersion: meta.version,
|
|
63
|
+
registry: meta.registry
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
// Wholly-skipped sidecars (no spans) shouldn't claim a parser id.
|
|
67
|
+
// Otherwise tag with the parser used, or `'none'` when AST step
|
|
68
|
+
// was skipped — re-anchor consumers warn on mismatch and can
|
|
69
|
+
// detect "this sidecar has no landmark data" without inspecting
|
|
70
|
+
// the L/P pools.
|
|
71
|
+
return buildSidecar({
|
|
72
|
+
filePath,
|
|
73
|
+
schemaSrc,
|
|
74
|
+
parser: parser?.id ?? 'none',
|
|
75
|
+
anchors
|
|
76
|
+
});
|
|
77
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Sidecar v2 — pooled, position-indexed attribution
|
|
3
|
+
* format. One sidecar per generated file. Lives at
|
|
4
|
+
* `<root>/.skmtc/<project>/.maps/<rel-to-basePath>.skm.json` (Phase D
|
|
5
|
+
* wires the path).
|
|
6
|
+
*
|
|
7
|
+
* Stable enough for round-trip via Valibot (see {@link sidecarSchema}).
|
|
8
|
+
* Format details: docs/notes/gen-maps/plan.md §4.1.
|
|
9
|
+
*/
|
|
10
|
+
import * as v from 'valibot';
|
|
11
|
+
/**
|
|
12
|
+
* Registry pool entry. References the JSR-protocol registry that
|
|
13
|
+
* hosts a generator's source — `jsr.io` for public, `jsr.skmtc.dev`
|
|
14
|
+
* for the SKMTC private registry, plus any future SKMTC-compatible
|
|
15
|
+
* hosts.
|
|
16
|
+
*/
|
|
17
|
+
export declare const registryEntry: v.ObjectSchema<{
|
|
18
|
+
readonly host: v.StringSchema<undefined>;
|
|
19
|
+
readonly kind: v.UnionSchema<[v.LiteralSchema<"jsr", undefined>, v.LiteralSchema<"jsr-private", undefined>], undefined>;
|
|
20
|
+
}, undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* Generator pool entry. `r` indexes into the registry pool so the
|
|
23
|
+
* viewer can build a URL without baking the registry host into every
|
|
24
|
+
* generator entry.
|
|
25
|
+
*/
|
|
26
|
+
export declare const generatorEntry: v.ObjectSchema<{
|
|
27
|
+
readonly name: v.StringSchema<undefined>;
|
|
28
|
+
readonly version: v.StringSchema<undefined>;
|
|
29
|
+
readonly r: v.NumberSchema<undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* One row in the anchor table. Tuple of pool indices + byte range:
|
|
33
|
+
*
|
|
34
|
+
* `[Li, Pi, gi, si, vi, fromByte, toByte]`
|
|
35
|
+
*
|
|
36
|
+
* Where `Li` = landmark, `Pi` = AST path, `gi` = generator,
|
|
37
|
+
* `si` = schema pointer, `vi` = variant. Each index is a non-negative
|
|
38
|
+
* integer; pools are flat string arrays (or objects for `R` / `G`).
|
|
39
|
+
*/
|
|
40
|
+
export declare const anchorRow: v.TupleSchema<[v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>], undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Sidecar v2. JSON document carried alongside each generated file.
|
|
43
|
+
*
|
|
44
|
+
* - `v` is the format version. Phase 0 froze v2; format evolution
|
|
45
|
+
* bumps this number and ships an adapter in the viewer.
|
|
46
|
+
* - `f` is the file path (relative to `basePath`), `src` is the
|
|
47
|
+
* schema source the producer ran against.
|
|
48
|
+
* - `parser` is `"<id>@<version>"` (e.g. `"tsc@5.6.3"`); consumers
|
|
49
|
+
* that re-anchor a reformatted file warn on mismatch.
|
|
50
|
+
* - `R`, `G`, `S`, `V`, `L`, `P` are pools. `A` is the anchor table
|
|
51
|
+
* keyed into them.
|
|
52
|
+
* - `N` is the producer-name pool (each producer's own class name);
|
|
53
|
+
* `An` is parallel to `A` — `An[i]` indexes into `N` for `A[i]`'s
|
|
54
|
+
* producer. Both are optional + additive (the `A` tuple stays at 7),
|
|
55
|
+
* so v2 consumers that don't know about them are unaffected.
|
|
56
|
+
*/
|
|
57
|
+
export declare const sidecarSchema: v.ObjectSchema<{
|
|
58
|
+
readonly v: v.LiteralSchema<2, undefined>;
|
|
59
|
+
readonly f: v.StringSchema<undefined>;
|
|
60
|
+
readonly src: v.StringSchema<undefined>;
|
|
61
|
+
readonly parser: v.StringSchema<undefined>;
|
|
62
|
+
readonly R: v.ArraySchema<v.ObjectSchema<{
|
|
63
|
+
readonly host: v.StringSchema<undefined>;
|
|
64
|
+
readonly kind: v.UnionSchema<[v.LiteralSchema<"jsr", undefined>, v.LiteralSchema<"jsr-private", undefined>], undefined>;
|
|
65
|
+
}, undefined>, undefined>;
|
|
66
|
+
readonly G: v.ArraySchema<v.ObjectSchema<{
|
|
67
|
+
readonly name: v.StringSchema<undefined>;
|
|
68
|
+
readonly version: v.StringSchema<undefined>;
|
|
69
|
+
readonly r: v.NumberSchema<undefined>;
|
|
70
|
+
}, undefined>, undefined>;
|
|
71
|
+
readonly S: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
72
|
+
readonly V: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
73
|
+
readonly L: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
74
|
+
readonly P: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
75
|
+
readonly A: v.ArraySchema<v.TupleSchema<[v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
76
|
+
readonly N: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
77
|
+
readonly An: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
78
|
+
}, undefined>;
|
|
79
|
+
export type Sidecar = v.InferOutput<typeof sidecarSchema>;
|
|
80
|
+
export type RegistryEntry = v.InferOutput<typeof registryEntry>;
|
|
81
|
+
export type GeneratorEntry = v.InferOutput<typeof generatorEntry>;
|
|
82
|
+
export type AnchorRow = v.InferOutput<typeof anchorRow>;
|
|
83
|
+
/**
|
|
84
|
+
* Empty sidecar with the given file/source/parser metadata. Anchor
|
|
85
|
+
* pools start empty and grow via `intern`-style appends during
|
|
86
|
+
* `buildSidecar`.
|
|
87
|
+
*/
|
|
88
|
+
export declare const emptySidecar: (filePath: string, schemaSrc: string, parser: string) => Sidecar;
|
|
89
|
+
//# sourceMappingURL=sidecar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidecar.d.ts","sourceRoot":"","sources":["../../src/anchors/sidecar.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;aAGxB,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;aAIzB,CAAA;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,yNAQpB,CAAA;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;aAcxB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAA;AACzD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAA;AAC/D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,cAAc,CAAC,CAAA;AACjE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvD;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,UAAU,MAAM,EAAE,WAAW,MAAM,EAAE,QAAQ,MAAM,KAAG,OAcjF,CAAA"}
|