@skmtc/core 0.0.926 → 0.0.930
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/esm/app/validate.d.ts +0 -1
- package/esm/app/validate.d.ts.map +1 -1
- package/esm/app/validate.js +0 -1
- package/esm/context/CoreContext.d.ts +1 -1
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/CoreContext.js +7 -6
- package/esm/context/GenerateContext.d.ts +1 -1
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +4 -5
- package/esm/context/ParseContext.d.ts +1 -134
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/ParseContext.js +11 -157
- package/esm/context/RenderContext.d.ts +1 -6
- package/esm/context/RenderContext.d.ts.map +1 -1
- package/esm/context/RenderContext.js +9 -19
- package/esm/context/StackTrail.d.ts +0 -172
- package/esm/context/StackTrail.d.ts.map +1 -1
- package/esm/context/StackTrail.js +1 -195
- package/esm/dsl/Stringable.d.ts +0 -1
- package/esm/dsl/Stringable.d.ts.map +1 -1
- package/esm/dsl/Stringable.js +1 -76
- package/esm/dsl/model/toModelBase.d.ts +2 -3
- package/esm/dsl/model/toModelBase.d.ts.map +1 -1
- package/esm/dsl/model/toModelBase.js +1 -1
- package/esm/dsl/operation/toOperationBase.d.ts +2 -2
- package/esm/dsl/operation/toOperationBase.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationBase.js +1 -1
- package/esm/dsl/operation/toOperationEntry.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationEntry.js +1 -1
- package/esm/helpers/ResultsLog.js +1 -1
- package/esm/helpers/collateExamples.d.ts +0 -1
- package/esm/helpers/collateExamples.d.ts.map +1 -1
- package/esm/helpers/collateExamples.js +0 -1
- package/esm/helpers/formatNumber.d.ts +0 -1
- package/esm/helpers/formatNumber.d.ts.map +1 -1
- package/esm/helpers/formatNumber.js +0 -1
- package/esm/helpers/isEmpty.d.ts +0 -60
- package/esm/helpers/isEmpty.d.ts.map +1 -1
- package/esm/helpers/isEmpty.js +1 -61
- package/esm/helpers/naming.js +2 -2
- package/esm/helpers/refFns.d.ts +0 -1
- package/esm/helpers/refFns.d.ts.map +1 -1
- package/esm/helpers/refFns.js +0 -1
- package/esm/helpers/strings.d.ts +0 -1
- package/esm/helpers/strings.d.ts.map +1 -1
- package/esm/helpers/strings.js +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/esm/helpers/toResolvedArtifactPath.js +0 -1
- package/esm/helpers/tracer.d.ts +1 -2
- package/esm/helpers/tracer.d.ts.map +1 -1
- package/esm/helpers/tracer.js +1 -1
- package/esm/mod.d.ts +0 -13
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +0 -13
- package/esm/oas/_helpers/parseEnum.d.ts +8 -136
- package/esm/oas/_helpers/parseEnum.d.ts.map +1 -1
- package/esm/oas/_helpers/parseEnum.js +21 -119
- package/esm/oas/_helpers/parseNullable.d.ts.map +1 -1
- package/esm/oas/_helpers/parseNullable.js +16 -6
- package/esm/oas/_merge-all-of/merge-enum-values.js +1 -1
- package/esm/oas/array/Array.d.ts +18 -96
- package/esm/oas/array/Array.d.ts.map +1 -1
- package/esm/oas/array/Array.js +38 -102
- package/esm/oas/array/array-types.d.ts +6 -174
- package/esm/oas/array/array-types.d.ts.map +1 -1
- package/esm/oas/array/array-types.js +4 -76
- package/esm/oas/array/toArray.d.ts +0 -52
- package/esm/oas/array/toArray.d.ts.map +1 -1
- package/esm/oas/array/toArray.js +67 -72
- package/esm/oas/boolean/Boolean.d.ts +12 -133
- package/esm/oas/boolean/Boolean.d.ts.map +1 -1
- package/esm/oas/boolean/Boolean.js +28 -134
- package/esm/oas/boolean/boolean-types.d.ts +14 -1
- package/esm/oas/boolean/boolean-types.d.ts.map +1 -1
- package/esm/oas/boolean/boolean-types.js +4 -1
- package/esm/oas/boolean/toBoolean.d.ts.map +1 -1
- package/esm/oas/boolean/toBoolean.js +75 -19
- package/esm/oas/components/Components.d.ts +0 -2
- package/esm/oas/components/Components.d.ts.map +1 -1
- package/esm/oas/components/Components.js +0 -2
- package/esm/oas/components/toComponentsV3.d.ts.map +1 -1
- package/esm/oas/components/toComponentsV3.js +7 -9
- package/esm/oas/discriminator/Discriminator.d.ts +0 -1
- package/esm/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/esm/oas/discriminator/Discriminator.js +0 -1
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/esm/oas/discriminator/toDiscriminatorV3.js +4 -1
- package/esm/oas/document/Document.d.ts +5 -1
- package/esm/oas/document/Document.d.ts.map +1 -1
- package/esm/oas/document/Document.js +7 -1
- package/esm/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
- package/esm/oas/document/toDocumentFieldsV3.js +11 -8
- package/esm/oas/example/Example.d.ts +10 -85
- package/esm/oas/example/Example.d.ts.map +1 -1
- package/esm/oas/example/Example.js +35 -105
- package/esm/oas/example/toExamplesV3.d.ts +1 -1
- package/esm/oas/example/toExamplesV3.d.ts.map +1 -1
- package/esm/oas/example/toExamplesV3.js +13 -8
- package/esm/oas/externalDocs/ExternalDocs.d.ts +10 -0
- package/esm/oas/externalDocs/ExternalDocs.d.ts.map +1 -0
- package/esm/oas/externalDocs/ExternalDocs.js +18 -0
- package/esm/oas/externalDocs/externalDocsTypes.d.ts +7 -0
- package/esm/oas/externalDocs/externalDocsTypes.d.ts.map +1 -0
- package/esm/oas/externalDocs/externalDocsTypes.js +6 -0
- package/esm/oas/externalDocs/toExternalDocs.d.ts +10 -0
- package/esm/oas/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/esm/oas/externalDocs/toExternalDocs.js +15 -0
- package/esm/oas/header/Header.d.ts +6 -6
- package/esm/oas/header/Header.d.ts.map +1 -1
- package/esm/oas/header/toHeadersV3.d.ts.map +1 -1
- package/esm/oas/header/toHeadersV3.js +9 -5
- package/esm/oas/info/Info.d.ts +0 -1
- package/esm/oas/info/Info.d.ts.map +1 -1
- package/esm/oas/info/Info.js +0 -1
- package/esm/oas/integer/Integer.d.ts +18 -81
- package/esm/oas/integer/Integer.d.ts.map +1 -1
- package/esm/oas/integer/Integer.js +33 -82
- package/esm/oas/integer/integer-types.d.ts +21 -1
- package/esm/oas/integer/integer-types.d.ts.map +1 -1
- package/esm/oas/integer/integer-types.js +8 -2
- package/esm/oas/integer/toInteger.d.ts.map +1 -1
- package/esm/oas/integer/toInteger.js +66 -19
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/esm/oas/mediaType/toMediaTypeItemV3.js +9 -10
- package/esm/oas/number/Number.d.ts +18 -164
- package/esm/oas/number/Number.d.ts.map +1 -1
- package/esm/oas/number/Number.js +33 -165
- package/esm/oas/number/number-types.d.ts +22 -2
- package/esm/oas/number/number-types.d.ts.map +1 -1
- package/esm/oas/number/number-types.js +4 -1
- package/esm/oas/number/toNumber.d.ts +0 -62
- package/esm/oas/number/toNumber.d.ts.map +1 -1
- package/esm/oas/number/toNumber.js +66 -81
- package/esm/oas/object/Object.d.ts +0 -1
- package/esm/oas/object/Object.d.ts.map +1 -1
- package/esm/oas/object/Object.js +0 -1
- package/esm/oas/object/toObject.d.ts.map +1 -1
- package/esm/oas/object/toObject.js +38 -13
- package/esm/oas/operation/Operation.d.ts +9 -108
- package/esm/oas/operation/Operation.d.ts.map +1 -1
- package/esm/oas/operation/Operation.js +16 -108
- package/esm/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/esm/oas/operation/toOperationsV3.js +12 -7
- package/esm/oas/parameter/Parameter.d.ts +12 -13
- package/esm/oas/parameter/Parameter.d.ts.map +1 -1
- package/esm/oas/parameter/Parameter.js +0 -3
- package/esm/oas/parameter/parameter-types.d.ts +0 -20
- package/esm/oas/parameter/parameter-types.d.ts.map +1 -1
- package/esm/oas/parameter/parameter-types.js +0 -20
- package/esm/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/esm/oas/parameter/toParameterV3.js +14 -11
- package/esm/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/esm/oas/pathItem/toPathItemV3.js +2 -1
- package/esm/oas/ref/Ref.d.ts +0 -1
- package/esm/oas/ref/Ref.d.ts.map +1 -1
- package/esm/oas/ref/Ref.js +0 -1
- package/esm/oas/ref/toRefV31.d.ts.map +1 -1
- package/esm/oas/ref/toRefV31.js +4 -1
- package/esm/oas/requestBody/RequestBody.d.ts +0 -1
- package/esm/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/esm/oas/requestBody/RequestBody.js +0 -1
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/esm/oas/requestBody/toRequestBodiesV3.js +6 -2
- package/esm/oas/response/Response.d.ts +0 -1
- package/esm/oas/response/Response.d.ts.map +1 -1
- package/esm/oas/response/Response.js +0 -1
- package/esm/oas/response/toResponseV3.d.ts.map +1 -1
- package/esm/oas/response/toResponseV3.js +9 -8
- package/esm/oas/schema/Schema.d.ts +0 -1
- package/esm/oas/schema/Schema.d.ts.map +1 -1
- package/esm/oas/schema/Schema.js +1 -1
- package/esm/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/oas/schema/toSchemasV3.js +10 -16
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
- package/esm/oas/securitySchemes/toSecuritySchemes.js +22 -9
- package/esm/oas/server/Server.d.ts +0 -1
- package/esm/oas/server/Server.d.ts.map +1 -1
- package/esm/oas/server/Server.js +0 -1
- package/esm/oas/server/toServerV3.d.ts.map +1 -1
- package/esm/oas/server/toServerV3.js +2 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +1 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.js +17 -13
- package/esm/oas/string/String.d.ts +16 -88
- package/esm/oas/string/String.d.ts.map +1 -1
- package/esm/oas/string/String.js +33 -91
- package/esm/oas/string/string-types.d.ts +23 -80
- package/esm/oas/string/string-types.d.ts.map +1 -1
- package/esm/oas/string/string-types.js +6 -2
- package/esm/oas/string/toString.d.ts.map +1 -1
- package/esm/oas/string/toString.js +68 -18
- package/esm/oas/tag/Tag.d.ts +0 -1
- package/esm/oas/tag/Tag.d.ts.map +1 -1
- package/esm/oas/tag/Tag.js +0 -1
- package/esm/oas/union/toUnion.d.ts.map +1 -1
- package/esm/oas/union/toUnion.js +6 -2
- package/esm/oas/unknown/Unknown.d.ts +3 -1
- package/esm/oas/unknown/Unknown.d.ts.map +1 -1
- package/esm/oas/unknown/Unknown.js +8 -1
- package/esm/oas/unknown/toUnknown.js +1 -1
- package/esm/oas/void/Void.d.ts +0 -1
- package/esm/oas/void/Void.d.ts.map +1 -1
- package/esm/oas/void/Void.js +0 -1
- package/esm/types/Brand.d.ts +0 -1
- package/esm/types/Brand.d.ts.map +1 -1
- package/esm/types/Brand.js +1 -10
- package/esm/types/CustomValue.d.ts +0 -1
- package/esm/types/CustomValue.d.ts.map +1 -1
- package/esm/types/CustomValue.js +0 -1
- package/esm/types/DenoJson.d.ts +0 -1
- package/esm/types/DenoJson.d.ts.map +1 -1
- package/esm/types/DenoJson.js +0 -1
- package/esm/types/EnrichmentRequest.d.ts +0 -1
- package/esm/types/EnrichmentRequest.d.ts.map +1 -1
- package/esm/types/EnrichmentRequest.js +1 -1
- package/esm/types/Enrichments.d.ts +0 -1
- package/esm/types/Enrichments.d.ts.map +1 -1
- package/esm/types/Enrichments.js +0 -1
- package/esm/types/GeneratorKeys.d.ts +0 -1
- package/esm/types/GeneratorKeys.d.ts.map +1 -1
- package/esm/types/GeneratorKeys.js +0 -1
- package/esm/types/Manifest.d.ts +0 -1
- package/esm/types/Manifest.d.ts.map +1 -1
- package/esm/types/Manifest.js +0 -1
- package/esm/types/Method.d.ts +0 -165
- package/esm/types/Method.d.ts.map +1 -1
- package/esm/types/Method.js +1 -141
- package/esm/types/ModuleExport.d.ts +0 -1
- package/esm/types/ModuleExport.d.ts.map +1 -1
- package/esm/types/ModuleExport.js +0 -1
- package/esm/types/PrettierConfig.d.ts +0 -1
- package/esm/types/PrettierConfig.d.ts.map +1 -1
- package/esm/types/PrettierConfig.js +0 -1
- package/esm/types/Preview.d.ts +0 -1
- package/esm/types/Preview.d.ts.map +1 -1
- package/esm/types/Preview.js +0 -1
- package/esm/types/RefName.d.ts +0 -1
- package/esm/types/RefName.d.ts.map +1 -1
- package/esm/types/RefName.js +1 -1
- package/esm/types/Results.d.ts +0 -1
- package/esm/types/Results.d.ts.map +1 -1
- package/esm/types/Results.js +0 -1
- package/esm/types/Settings.d.ts +0 -1
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/Settings.js +0 -1
- package/esm/types/TypeSystem.d.ts +0 -1
- package/esm/types/TypeSystem.d.ts.map +1 -1
- package/esm/types/TypeSystem.js +1 -1
- package/package.json +1 -9
- package/script/app/validate.d.ts +0 -1
- package/script/app/validate.d.ts.map +1 -1
- package/script/app/validate.js +0 -1
- package/script/context/CoreContext.d.ts +1 -1
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/CoreContext.js +7 -6
- package/script/context/GenerateContext.d.ts +1 -1
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +4 -38
- package/script/context/ParseContext.d.ts +1 -134
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/ParseContext.js +12 -192
- package/script/context/RenderContext.d.ts +1 -6
- package/script/context/RenderContext.d.ts.map +1 -1
- package/script/context/RenderContext.js +9 -52
- package/script/context/StackTrail.d.ts +0 -172
- package/script/context/StackTrail.d.ts.map +1 -1
- package/script/context/StackTrail.js +1 -195
- package/script/dsl/Stringable.d.ts +0 -1
- package/script/dsl/Stringable.d.ts.map +1 -1
- package/script/dsl/Stringable.js +0 -76
- package/script/dsl/model/toModelBase.d.ts +2 -3
- package/script/dsl/model/toModelBase.d.ts.map +1 -1
- package/script/dsl/model/toModelBase.js +5 -2
- package/script/dsl/operation/toOperationBase.d.ts +2 -2
- package/script/dsl/operation/toOperationBase.d.ts.map +1 -1
- package/script/dsl/operation/toOperationBase.js +5 -2
- package/script/dsl/operation/toOperationEntry.d.ts.map +1 -1
- package/script/dsl/operation/toOperationEntry.js +5 -2
- package/script/helpers/ResultsLog.js +5 -2
- package/script/helpers/collateExamples.d.ts +0 -1
- package/script/helpers/collateExamples.d.ts.map +1 -1
- package/script/helpers/collateExamples.js +0 -1
- package/script/helpers/formatNumber.d.ts +0 -1
- package/script/helpers/formatNumber.d.ts.map +1 -1
- package/script/helpers/formatNumber.js +0 -1
- package/script/helpers/isEmpty.d.ts +0 -60
- package/script/helpers/isEmpty.d.ts.map +1 -1
- package/script/helpers/isEmpty.js +1 -61
- package/script/helpers/naming.js +1 -1
- package/script/helpers/refFns.d.ts +0 -1
- package/script/helpers/refFns.d.ts.map +1 -1
- package/script/helpers/refFns.js +0 -1
- package/script/helpers/strings.d.ts +0 -1
- package/script/helpers/strings.d.ts.map +1 -1
- package/script/helpers/strings.js +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/script/helpers/toResolvedArtifactPath.js +2 -3
- package/script/helpers/tracer.d.ts +1 -2
- package/script/helpers/tracer.d.ts.map +1 -1
- package/script/helpers/tracer.js +1 -1
- package/script/mod.d.ts +0 -13
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +15 -28
- package/script/oas/_helpers/parseEnum.d.ts +8 -136
- package/script/oas/_helpers/parseEnum.d.ts.map +1 -1
- package/script/oas/_helpers/parseEnum.js +21 -152
- package/script/oas/_helpers/parseNullable.d.ts.map +1 -1
- package/script/oas/_helpers/parseNullable.js +16 -39
- package/script/oas/_merge-all-of/merge-enum-values.js +1 -1
- package/script/oas/array/Array.d.ts +18 -96
- package/script/oas/array/Array.d.ts.map +1 -1
- package/script/oas/array/Array.js +38 -102
- package/script/oas/array/array-types.d.ts +6 -174
- package/script/oas/array/array-types.d.ts.map +1 -1
- package/script/oas/array/array-types.js +5 -77
- package/script/oas/array/toArray.d.ts +0 -52
- package/script/oas/array/toArray.d.ts.map +1 -1
- package/script/oas/array/toArray.js +67 -72
- package/script/oas/boolean/Boolean.d.ts +12 -133
- package/script/oas/boolean/Boolean.d.ts.map +1 -1
- package/script/oas/boolean/Boolean.js +28 -134
- package/script/oas/boolean/boolean-types.d.ts +14 -1
- package/script/oas/boolean/boolean-types.d.ts.map +1 -1
- package/script/oas/boolean/boolean-types.js +4 -1
- package/script/oas/boolean/toBoolean.d.ts.map +1 -1
- package/script/oas/boolean/toBoolean.js +75 -19
- package/script/oas/components/Components.d.ts +0 -2
- package/script/oas/components/Components.d.ts.map +1 -1
- package/script/oas/components/Components.js +0 -2
- package/script/oas/components/toComponentsV3.d.ts.map +1 -1
- package/script/oas/components/toComponentsV3.js +7 -9
- package/script/oas/discriminator/Discriminator.d.ts +0 -1
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/script/oas/discriminator/Discriminator.js +0 -1
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/script/oas/discriminator/toDiscriminatorV3.js +4 -1
- package/script/oas/document/Document.d.ts +5 -1
- package/script/oas/document/Document.d.ts.map +1 -1
- package/script/oas/document/Document.js +7 -1
- package/script/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
- package/script/oas/document/toDocumentFieldsV3.js +11 -8
- package/script/oas/example/Example.d.ts +10 -85
- package/script/oas/example/Example.d.ts.map +1 -1
- package/script/oas/example/Example.js +35 -105
- package/script/oas/example/toExamplesV3.d.ts +1 -1
- package/script/oas/example/toExamplesV3.d.ts.map +1 -1
- package/script/oas/example/toExamplesV3.js +13 -8
- package/script/oas/externalDocs/ExternalDocs.d.ts +10 -0
- package/script/oas/externalDocs/ExternalDocs.d.ts.map +1 -0
- package/script/oas/externalDocs/ExternalDocs.js +22 -0
- package/script/oas/externalDocs/externalDocsTypes.d.ts +7 -0
- package/script/oas/externalDocs/externalDocsTypes.d.ts.map +1 -0
- package/script/oas/{requestBody/requestBody-types.js → externalDocs/externalDocsTypes.js} +3 -6
- package/script/oas/externalDocs/toExternalDocs.d.ts +10 -0
- package/script/oas/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/script/oas/{response/response-types.js → externalDocs/toExternalDocs.js} +16 -11
- package/script/oas/header/Header.d.ts +6 -6
- package/script/oas/header/Header.d.ts.map +1 -1
- package/script/oas/header/toHeadersV3.d.ts.map +1 -1
- package/script/oas/header/toHeadersV3.js +9 -5
- package/script/oas/info/Info.d.ts +0 -1
- package/script/oas/info/Info.d.ts.map +1 -1
- package/script/oas/info/Info.js +0 -1
- package/script/oas/integer/Integer.d.ts +18 -81
- package/script/oas/integer/Integer.d.ts.map +1 -1
- package/script/oas/integer/Integer.js +33 -82
- package/script/oas/integer/integer-types.d.ts +21 -1
- package/script/oas/integer/integer-types.d.ts.map +1 -1
- package/script/oas/integer/integer-types.js +8 -2
- package/script/oas/integer/toInteger.d.ts.map +1 -1
- package/script/oas/integer/toInteger.js +65 -18
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/script/oas/mediaType/toMediaTypeItemV3.js +9 -10
- package/script/oas/number/Number.d.ts +18 -164
- package/script/oas/number/Number.d.ts.map +1 -1
- package/script/oas/number/Number.js +33 -165
- package/script/oas/number/number-types.d.ts +22 -2
- package/script/oas/number/number-types.d.ts.map +1 -1
- package/script/oas/number/number-types.js +4 -1
- package/script/oas/number/toNumber.d.ts +0 -62
- package/script/oas/number/toNumber.d.ts.map +1 -1
- package/script/oas/number/toNumber.js +66 -81
- package/script/oas/object/Object.d.ts +0 -1
- package/script/oas/object/Object.d.ts.map +1 -1
- package/script/oas/object/Object.js +0 -1
- package/script/oas/object/toObject.d.ts.map +1 -1
- package/script/oas/object/toObject.js +38 -46
- package/script/oas/operation/Operation.d.ts +9 -108
- package/script/oas/operation/Operation.d.ts.map +1 -1
- package/script/oas/operation/Operation.js +16 -108
- package/script/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/script/oas/operation/toOperationsV3.js +12 -7
- package/script/oas/parameter/Parameter.d.ts +12 -13
- package/script/oas/parameter/Parameter.d.ts.map +1 -1
- package/script/oas/parameter/Parameter.js +0 -3
- package/script/oas/parameter/parameter-types.d.ts +0 -20
- package/script/oas/parameter/parameter-types.d.ts.map +1 -1
- package/script/oas/parameter/parameter-types.js +1 -21
- package/script/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/script/oas/parameter/toParameterV3.js +14 -11
- package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/script/oas/pathItem/toPathItemV3.js +2 -1
- package/script/oas/ref/Ref.d.ts +0 -1
- package/script/oas/ref/Ref.d.ts.map +1 -1
- package/script/oas/ref/Ref.js +0 -1
- package/script/oas/ref/toRefV31.d.ts.map +1 -1
- package/script/oas/ref/toRefV31.js +4 -1
- package/script/oas/requestBody/RequestBody.d.ts +0 -1
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/script/oas/requestBody/RequestBody.js +0 -1
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/script/oas/requestBody/toRequestBodiesV3.js +6 -2
- package/script/oas/response/Response.d.ts +0 -1
- package/script/oas/response/Response.d.ts.map +1 -1
- package/script/oas/response/Response.js +0 -1
- package/script/oas/response/toResponseV3.d.ts.map +1 -1
- package/script/oas/response/toResponseV3.js +9 -8
- package/script/oas/schema/Schema.d.ts +0 -1
- package/script/oas/schema/Schema.d.ts.map +1 -1
- package/script/oas/schema/Schema.js +0 -1
- package/script/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/script/oas/schema/toSchemasV3.js +10 -16
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
- package/script/oas/securitySchemes/toSecuritySchemes.js +22 -9
- package/script/oas/server/Server.d.ts +0 -1
- package/script/oas/server/Server.d.ts.map +1 -1
- package/script/oas/server/Server.js +0 -1
- package/script/oas/server/toServerV3.d.ts.map +1 -1
- package/script/oas/server/toServerV3.js +2 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +1 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +17 -13
- package/script/oas/string/String.d.ts +16 -88
- package/script/oas/string/String.d.ts.map +1 -1
- package/script/oas/string/String.js +33 -91
- package/script/oas/string/string-types.d.ts +23 -80
- package/script/oas/string/string-types.d.ts.map +1 -1
- package/script/oas/string/string-types.js +6 -2
- package/script/oas/string/toString.d.ts.map +1 -1
- package/script/oas/string/toString.js +68 -18
- package/script/oas/tag/Tag.d.ts +0 -1
- package/script/oas/tag/Tag.d.ts.map +1 -1
- package/script/oas/tag/Tag.js +0 -1
- package/script/oas/union/toUnion.d.ts.map +1 -1
- package/script/oas/union/toUnion.js +6 -2
- package/script/oas/unknown/Unknown.d.ts +3 -1
- package/script/oas/unknown/Unknown.d.ts.map +1 -1
- package/script/oas/unknown/Unknown.js +8 -1
- package/script/oas/unknown/toUnknown.js +1 -1
- package/script/oas/void/Void.d.ts +0 -1
- package/script/oas/void/Void.d.ts.map +1 -1
- package/script/oas/void/Void.js +0 -1
- package/script/types/Brand.d.ts +0 -1
- package/script/types/Brand.d.ts.map +1 -1
- package/script/types/Brand.js +0 -10
- package/script/types/CustomValue.d.ts +0 -1
- package/script/types/CustomValue.d.ts.map +1 -1
- package/script/types/CustomValue.js +0 -1
- package/script/types/DenoJson.d.ts +0 -1
- package/script/types/DenoJson.d.ts.map +1 -1
- package/script/types/DenoJson.js +0 -1
- package/script/types/EnrichmentRequest.d.ts +0 -1
- package/script/types/EnrichmentRequest.d.ts.map +1 -1
- package/script/types/EnrichmentRequest.js +1 -2
- package/script/types/Enrichments.d.ts +0 -1
- package/script/types/Enrichments.d.ts.map +1 -1
- package/script/types/Enrichments.js +35 -36
- package/script/types/GeneratorKeys.d.ts +0 -1
- package/script/types/GeneratorKeys.d.ts.map +1 -1
- package/script/types/GeneratorKeys.js +2 -3
- package/script/types/Manifest.d.ts +0 -1
- package/script/types/Manifest.d.ts.map +1 -1
- package/script/types/Manifest.js +35 -36
- package/script/types/Method.d.ts +0 -165
- package/script/types/Method.d.ts.map +1 -1
- package/script/types/Method.js +1 -141
- package/script/types/ModuleExport.d.ts +0 -1
- package/script/types/ModuleExport.d.ts.map +1 -1
- package/script/types/ModuleExport.js +0 -1
- package/script/types/PrettierConfig.d.ts +0 -1
- package/script/types/PrettierConfig.d.ts.map +1 -1
- package/script/types/PrettierConfig.js +35 -36
- package/script/types/Preview.d.ts +0 -1
- package/script/types/Preview.d.ts.map +1 -1
- package/script/types/Preview.js +35 -36
- package/script/types/RefName.d.ts +0 -1
- package/script/types/RefName.d.ts.map +1 -1
- package/script/types/RefName.js +1 -2
- package/script/types/Results.d.ts +0 -1
- package/script/types/Results.d.ts.map +1 -1
- package/script/types/Results.js +35 -36
- package/script/types/Settings.d.ts +0 -1
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/Settings.js +35 -36
- package/script/types/TypeSystem.d.ts +0 -1
- package/script/types/TypeSystem.d.ts.map +1 -1
- package/script/types/TypeSystem.js +0 -1
- package/esm/_dnt.polyfills.d.ts +0 -12
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.polyfills.js +0 -15
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts +0 -33
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.js +0 -48
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts +0 -66
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.js +0 -1427
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts +0 -44
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.js +0 -117
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.js +0 -103
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.js +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.js +0 -96
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.js +0 -159
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.js +0 -22
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.js +0 -29
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.js +0 -19
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.js +0 -30
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.js +0 -9
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.js +0 -81
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.js +0 -20
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.js +0 -6
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts +0 -4
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.js +0 -13
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts +0 -76
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.js +0 -93
- package/esm/oas/_helpers/parseDefault.d.ts +0 -164
- package/esm/oas/_helpers/parseDefault.d.ts.map +0 -1
- package/esm/oas/_helpers/parseDefault.js +0 -144
- package/esm/oas/_helpers/parseExample.d.ts +0 -123
- package/esm/oas/_helpers/parseExample.d.ts.map +0 -1
- package/esm/oas/_helpers/parseExample.js +0 -103
- package/esm/oas/_helpers/parseFormat.d.ts +0 -169
- package/esm/oas/_helpers/parseFormat.d.ts.map +0 -1
- package/esm/oas/_helpers/parseFormat.js +0 -154
- package/esm/oas/components/components-types.d.ts +0 -19
- package/esm/oas/components/components-types.d.ts.map +0 -1
- package/esm/oas/components/components-types.js +0 -21
- package/esm/oas/document/document-types.d.ts +0 -16
- package/esm/oas/document/document-types.d.ts.map +0 -1
- package/esm/oas/document/document-types.js +0 -18
- package/esm/oas/header/header-types.d.ts +0 -50
- package/esm/oas/header/header-types.d.ts.map +0 -1
- package/esm/oas/header/header-types.js +0 -30
- package/esm/oas/mediaType/mediaType-types.d.ts +0 -29
- package/esm/oas/mediaType/mediaType-types.d.ts.map +0 -1
- package/esm/oas/mediaType/mediaType-types.js +0 -18
- package/esm/oas/object/object-types.d.ts +0 -19
- package/esm/oas/object/object-types.d.ts.map +0 -1
- package/esm/oas/object/object-types.js +0 -23
- package/esm/oas/operation/operation-types.d.ts +0 -273
- package/esm/oas/operation/operation-types.d.ts.map +0 -1
- package/esm/oas/operation/operation-types.js +0 -133
- package/esm/oas/pathItem/pathItem-types.d.ts +0 -12
- package/esm/oas/pathItem/pathItem-types.d.ts.map +0 -1
- package/esm/oas/pathItem/pathItem-types.js +0 -12
- package/esm/oas/requestBody/requestBody-types.d.ts +0 -10
- package/esm/oas/requestBody/requestBody-types.d.ts.map +0 -1
- package/esm/oas/requestBody/requestBody-types.js +0 -9
- package/esm/oas/response/response-types.d.ts +0 -12
- package/esm/oas/response/response-types.d.ts.map +0 -1
- package/esm/oas/response/response-types.js +0 -11
- package/esm/oas/schema/schema-types.d.ts +0 -12
- package/esm/oas/schema/schema-types.d.ts.map +0 -1
- package/esm/oas/schema/schema-types.js +0 -19
- package/esm/oas/union/union-types.d.ts +0 -34
- package/esm/oas/union/union-types.d.ts.map +0 -1
- package/esm/oas/union/union-types.js +0 -19
- package/esm/run/toV3JsonDocument.d.ts +0 -151
- package/esm/run/toV3JsonDocument.d.ts.map +0 -1
- package/esm/run/toV3JsonDocument.js +0 -172
- package/script/_dnt.polyfills.d.ts +0 -12
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.polyfills.js +0 -16
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts +0 -33
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.js +0 -55
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts +0 -66
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.js +0 -1431
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts +0 -44
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.js +0 -121
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.js +0 -106
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.js +0 -35
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.js +0 -99
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.js +0 -162
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.js +0 -17
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.js +0 -13
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.js +0 -25
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.js +0 -32
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.js +0 -22
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.js +0 -33
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.js +0 -13
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.js +0 -17
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.js +0 -12
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.js +0 -84
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.js +0 -23
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts +0 -32
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.js +0 -7
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts +0 -4
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.js +0 -18
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts +0 -76
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.js +0 -97
- package/script/oas/_helpers/parseDefault.d.ts +0 -164
- package/script/oas/_helpers/parseDefault.d.ts.map +0 -1
- package/script/oas/_helpers/parseDefault.js +0 -181
- package/script/oas/_helpers/parseExample.d.ts +0 -123
- package/script/oas/_helpers/parseExample.d.ts.map +0 -1
- package/script/oas/_helpers/parseExample.js +0 -140
- package/script/oas/_helpers/parseFormat.d.ts +0 -169
- package/script/oas/_helpers/parseFormat.d.ts.map +0 -1
- package/script/oas/_helpers/parseFormat.js +0 -191
- package/script/oas/components/components-types.d.ts +0 -19
- package/script/oas/components/components-types.d.ts.map +0 -1
- package/script/oas/components/components-types.js +0 -57
- package/script/oas/document/document-types.d.ts +0 -16
- package/script/oas/document/document-types.d.ts.map +0 -1
- package/script/oas/document/document-types.js +0 -54
- package/script/oas/header/header-types.d.ts +0 -50
- package/script/oas/header/header-types.d.ts.map +0 -1
- package/script/oas/header/header-types.js +0 -66
- package/script/oas/mediaType/mediaType-types.d.ts +0 -29
- package/script/oas/mediaType/mediaType-types.d.ts.map +0 -1
- package/script/oas/mediaType/mediaType-types.js +0 -54
- package/script/oas/object/object-types.d.ts +0 -19
- package/script/oas/object/object-types.d.ts.map +0 -1
- package/script/oas/object/object-types.js +0 -59
- package/script/oas/operation/operation-types.d.ts +0 -273
- package/script/oas/operation/operation-types.d.ts.map +0 -1
- package/script/oas/operation/operation-types.js +0 -169
- package/script/oas/pathItem/pathItem-types.d.ts +0 -12
- package/script/oas/pathItem/pathItem-types.d.ts.map +0 -1
- package/script/oas/pathItem/pathItem-types.js +0 -48
- package/script/oas/requestBody/requestBody-types.d.ts +0 -10
- package/script/oas/requestBody/requestBody-types.d.ts.map +0 -1
- package/script/oas/response/response-types.d.ts +0 -12
- package/script/oas/response/response-types.d.ts.map +0 -1
- package/script/oas/schema/schema-types.d.ts +0 -12
- package/script/oas/schema/schema-types.d.ts.map +0 -1
- package/script/oas/schema/schema-types.js +0 -55
- package/script/oas/union/union-types.d.ts +0 -34
- package/script/oas/union/union-types.d.ts.map +0 -1
- package/script/oas/union/union-types.js +0 -55
- package/script/run/toV3JsonDocument.d.ts +0 -151
- package/script/run/toV3JsonDocument.d.ts.map +0 -1
- package/script/run/toV3JsonDocument.js +0 -180
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.nil = void 0;
|
|
8
|
-
exports.nil = {
|
|
9
|
-
tag: "tag:yaml.org,2002:null",
|
|
10
|
-
kind: "scalar",
|
|
11
|
-
defaultStyle: "lowercase",
|
|
12
|
-
predicate: (object) => object === null,
|
|
13
|
-
construct: () => null,
|
|
14
|
-
resolve: (data) => {
|
|
15
|
-
return (data === "~" ||
|
|
16
|
-
data === "null" ||
|
|
17
|
-
data === "Null" ||
|
|
18
|
-
data === "NULL");
|
|
19
|
-
},
|
|
20
|
-
represent: {
|
|
21
|
-
lowercase: () => "null",
|
|
22
|
-
uppercase: () => "NULL",
|
|
23
|
-
camelcase: () => "Null",
|
|
24
|
-
},
|
|
25
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"omap.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/omap.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAiBxC,eAAO,MAAM,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,CAOjE,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.omap = void 0;
|
|
8
|
-
const _utils_js_1 = require("../_utils.js");
|
|
9
|
-
function resolveYamlOmap(data) {
|
|
10
|
-
const objectKeys = new Set();
|
|
11
|
-
for (const object of data) {
|
|
12
|
-
if (!(0, _utils_js_1.isPlainObject)(object))
|
|
13
|
-
return false;
|
|
14
|
-
const keys = Object.keys(object);
|
|
15
|
-
if (keys.length !== 1)
|
|
16
|
-
return false;
|
|
17
|
-
for (const key of keys) {
|
|
18
|
-
if (objectKeys.has(key))
|
|
19
|
-
return false;
|
|
20
|
-
objectKeys.add(key);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.omap = {
|
|
26
|
-
tag: "tag:yaml.org,2002:omap",
|
|
27
|
-
kind: "sequence",
|
|
28
|
-
resolve: resolveYamlOmap,
|
|
29
|
-
construct(data) {
|
|
30
|
-
return data;
|
|
31
|
-
},
|
|
32
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pairs.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,UAAU,CAQlC,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.pairs = void 0;
|
|
8
|
-
const _utils_js_1 = require("../_utils.js");
|
|
9
|
-
function resolveYamlPairs(data) {
|
|
10
|
-
if (data === null)
|
|
11
|
-
return true;
|
|
12
|
-
return data.every((it) => (0, _utils_js_1.isPlainObject)(it) && Object.keys(it).length === 1);
|
|
13
|
-
}
|
|
14
|
-
exports.pairs = {
|
|
15
|
-
tag: "tag:yaml.org,2002:pairs",
|
|
16
|
-
construct(data) {
|
|
17
|
-
// Converts an array of objects into an array of key-value pairs.
|
|
18
|
-
return data?.flatMap(Object.entries) ?? [];
|
|
19
|
-
},
|
|
20
|
-
kind: "sequence",
|
|
21
|
-
resolve: resolveYamlPairs,
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"regexp.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAIxC,eAAO,MAAM,MAAM,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAuBzC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported and adapted from js-yaml-js-types v1.0.0:
|
|
3
|
-
// https://github.com/nodeca/js-yaml-js-types/tree/ac537e7bbdd3c2cbbd9882ca3919c520c2dc022b
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.regexp = void 0;
|
|
8
|
-
const REGEXP = /^\/(?<regexp>[\s\S]+)\/(?<modifiers>[gismuy]*)$/;
|
|
9
|
-
exports.regexp = {
|
|
10
|
-
tag: "tag:yaml.org,2002:js/regexp",
|
|
11
|
-
kind: "scalar",
|
|
12
|
-
resolve(data) {
|
|
13
|
-
if (data === null || !data.length)
|
|
14
|
-
return false;
|
|
15
|
-
if (data.charAt(0) === "/") {
|
|
16
|
-
// Ensure regex is properly terminated
|
|
17
|
-
const groups = data.match(REGEXP)?.groups;
|
|
18
|
-
if (!groups)
|
|
19
|
-
return false;
|
|
20
|
-
// Check no duplicate modifiers
|
|
21
|
-
const modifiers = groups.modifiers ?? "";
|
|
22
|
-
if (new Set(modifiers).size < modifiers.length)
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
return true;
|
|
26
|
-
},
|
|
27
|
-
construct(data) {
|
|
28
|
-
const { regexp = data, modifiers = "" } = data.match(REGEXP)?.groups ?? {};
|
|
29
|
-
return new RegExp(regexp, modifiers);
|
|
30
|
-
},
|
|
31
|
-
predicate: (object) => object instanceof RegExp,
|
|
32
|
-
represent: (object) => object.toString(),
|
|
33
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"seq.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/seq.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,EAAE,CAK3C,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.seq = void 0;
|
|
8
|
-
exports.seq = {
|
|
9
|
-
tag: "tag:yaml.org,2002:seq",
|
|
10
|
-
kind: "sequence",
|
|
11
|
-
resolve: () => true,
|
|
12
|
-
construct: (data) => data !== null ? data : [],
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"set.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/set.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAS7D,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.set = void 0;
|
|
8
|
-
exports.set = {
|
|
9
|
-
tag: "tag:yaml.org,2002:set",
|
|
10
|
-
kind: "mapping",
|
|
11
|
-
construct: (data) => data !== null ? data : {},
|
|
12
|
-
resolve: (data) => {
|
|
13
|
-
if (data === null)
|
|
14
|
-
return true;
|
|
15
|
-
return Object.values(data).every((it) => it === null);
|
|
16
|
-
},
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"str.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/str.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAKtC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.str = void 0;
|
|
7
|
-
exports.str = {
|
|
8
|
-
tag: "tag:yaml.org,2002:str",
|
|
9
|
-
kind: "scalar",
|
|
10
|
-
resolve: () => true,
|
|
11
|
-
construct: (data) => data !== null ? data : "",
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"timestamp.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAsFxC,eAAO,MAAM,SAAS,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAS1C,CAAC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.timestamp = void 0;
|
|
8
|
-
const YAML_DATE_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])" + // [1] year
|
|
9
|
-
"-([0-9][0-9])" + // [2] month
|
|
10
|
-
"-([0-9][0-9])$");
|
|
11
|
-
const YAML_TIMESTAMP_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])" + // [1] year
|
|
12
|
-
"-([0-9][0-9]?)" + // [2] month
|
|
13
|
-
"-([0-9][0-9]?)" + // [3] day
|
|
14
|
-
"(?:[Tt]|[ \\t]+)" + // ...
|
|
15
|
-
"([0-9][0-9]?)" + // [4] hour
|
|
16
|
-
":([0-9][0-9])" + // [5] minute
|
|
17
|
-
":([0-9][0-9])" + // [6] second
|
|
18
|
-
"(?:\\.([0-9]*))?" + // [7] fraction
|
|
19
|
-
"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)" + // [8] tz [9] tz_sign [10] tz_hour
|
|
20
|
-
"(?::([0-9][0-9]))?))?$");
|
|
21
|
-
function resolveYamlTimestamp(data) {
|
|
22
|
-
if (data === null)
|
|
23
|
-
return false;
|
|
24
|
-
if (YAML_DATE_REGEXP.exec(data) !== null)
|
|
25
|
-
return true;
|
|
26
|
-
if (YAML_TIMESTAMP_REGEXP.exec(data) !== null)
|
|
27
|
-
return true;
|
|
28
|
-
return false;
|
|
29
|
-
}
|
|
30
|
-
function constructYamlTimestamp(data) {
|
|
31
|
-
let match = YAML_DATE_REGEXP.exec(data);
|
|
32
|
-
if (match === null)
|
|
33
|
-
match = YAML_TIMESTAMP_REGEXP.exec(data);
|
|
34
|
-
if (match === null) {
|
|
35
|
-
throw new Error("Cannot construct YAML timestamp: date resolve error");
|
|
36
|
-
}
|
|
37
|
-
// match: [1] year [2] month [3] day
|
|
38
|
-
const year = +match[1];
|
|
39
|
-
const month = +match[2] - 1; // JS month starts with 0
|
|
40
|
-
const day = +match[3];
|
|
41
|
-
if (!match[4]) {
|
|
42
|
-
// no hour
|
|
43
|
-
return new Date(Date.UTC(year, month, day));
|
|
44
|
-
}
|
|
45
|
-
// match: [4] hour [5] minute [6] second [7] fraction
|
|
46
|
-
const hour = +match[4];
|
|
47
|
-
const minute = +match[5];
|
|
48
|
-
const second = +match[6];
|
|
49
|
-
let fraction = 0;
|
|
50
|
-
if (match[7]) {
|
|
51
|
-
let partFraction = match[7].slice(0, 3);
|
|
52
|
-
while (partFraction.length < 3) {
|
|
53
|
-
// milli-seconds
|
|
54
|
-
partFraction += "0";
|
|
55
|
-
}
|
|
56
|
-
fraction = +partFraction;
|
|
57
|
-
}
|
|
58
|
-
// match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute
|
|
59
|
-
let delta = null;
|
|
60
|
-
if (match[9] && match[10]) {
|
|
61
|
-
const tzHour = +match[10];
|
|
62
|
-
const tzMinute = +(match[11] || 0);
|
|
63
|
-
delta = (tzHour * 60 + tzMinute) * 60000; // delta in milli-seconds
|
|
64
|
-
if (match[9] === "-")
|
|
65
|
-
delta = -delta;
|
|
66
|
-
}
|
|
67
|
-
const date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
|
|
68
|
-
if (delta)
|
|
69
|
-
date.setTime(date.getTime() - delta);
|
|
70
|
-
return date;
|
|
71
|
-
}
|
|
72
|
-
function representYamlTimestamp(date) {
|
|
73
|
-
return date.toISOString();
|
|
74
|
-
}
|
|
75
|
-
exports.timestamp = {
|
|
76
|
-
tag: "tag:yaml.org,2002:timestamp",
|
|
77
|
-
construct: constructYamlTimestamp,
|
|
78
|
-
predicate(object) {
|
|
79
|
-
return object instanceof Date;
|
|
80
|
-
},
|
|
81
|
-
kind: "scalar",
|
|
82
|
-
represent: representYamlTimestamp,
|
|
83
|
-
resolve: resolveYamlTimestamp,
|
|
84
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"undefined.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,aAAa,EAAE,IAAI,CAAC,QAAQ,EAAE,SAAS,CAenD,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported and adapted from js-yaml-js-types v1.0.0:
|
|
3
|
-
// https://github.com/nodeca/js-yaml-js-types/tree/ac537e7bbdd3c2cbbd9882ca3919c520c2dc022b
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.undefinedType = void 0;
|
|
8
|
-
exports.undefinedType = {
|
|
9
|
-
tag: "tag:yaml.org,2002:js/undefined",
|
|
10
|
-
kind: "scalar",
|
|
11
|
-
resolve() {
|
|
12
|
-
return true;
|
|
13
|
-
},
|
|
14
|
-
construct() {
|
|
15
|
-
return undefined;
|
|
16
|
-
},
|
|
17
|
-
predicate(object) {
|
|
18
|
-
return typeof object === "undefined";
|
|
19
|
-
},
|
|
20
|
-
represent() {
|
|
21
|
-
return "";
|
|
22
|
-
},
|
|
23
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The kind of YAML node.
|
|
3
|
-
*/
|
|
4
|
-
export type KindType = "sequence" | "scalar" | "mapping";
|
|
5
|
-
/**
|
|
6
|
-
* The style variation for `styles` option of {@linkcode stringify}
|
|
7
|
-
*/
|
|
8
|
-
export type StyleVariant = "lowercase" | "uppercase" | "camelcase" | "decimal" | "binary" | "octal" | "hexadecimal";
|
|
9
|
-
/**
|
|
10
|
-
* Function to convert data to a string for YAML serialization.
|
|
11
|
-
*/
|
|
12
|
-
export type RepresentFn<D> = (data: D, style?: StyleVariant) => string;
|
|
13
|
-
/**
|
|
14
|
-
* A type definition for a YAML node.
|
|
15
|
-
*/
|
|
16
|
-
export interface Type<K extends KindType, D = any> {
|
|
17
|
-
/** Tag to identify the type */
|
|
18
|
-
tag: string;
|
|
19
|
-
/** Kind of type */
|
|
20
|
-
kind: K;
|
|
21
|
-
/** Cast the type. Used to stringify */
|
|
22
|
-
predicate?: (data: unknown) => data is D;
|
|
23
|
-
/** Function to represent data. Used to stringify */
|
|
24
|
-
represent?: RepresentFn<D> | Record<string, RepresentFn<D>>;
|
|
25
|
-
/** Default style for the type. Used to stringify */
|
|
26
|
-
defaultStyle?: StyleVariant;
|
|
27
|
-
/** Function to test whether data can be resolved by this type. Used to parse */
|
|
28
|
-
resolve: (data: any) => boolean;
|
|
29
|
-
/** Function to construct data from string. Used to parse */
|
|
30
|
-
construct: (data: any) => D;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=_type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_type.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AACzD;;GAEG;AACH,MAAM,MAAM,YAAY,GACpB,WAAW,GACX,WAAW,GACX,WAAW,GACX,SAAS,GACT,QAAQ,GACR,OAAO,GACP,aAAa,CAAC;AAElB;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,KAAK,MAAM,CAAC;AAEvE;;GAEG;AAEH,MAAM,WAAW,IAAI,CAAC,CAAC,SAAS,QAAQ,EAAE,CAAC,GAAG,GAAG;IAC/C,+BAA+B;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,mBAAmB;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,uCAAuC;IACvC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,IAAI,CAAC,CAAC;IACzC,oDAAoD;IACpD,SAAS,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5D,oDAAoD;IACpD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,gFAAgF;IAEhF,OAAO,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC;IAChC,4DAA4D;IAE5D,SAAS,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC,CAAC;CAC7B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
// This module is browser compatible.
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_utils.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_utils.ts"],"names":[],"mappings":"AAKA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzE;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAEjD;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,MAAM,CAE/D"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.isObject = isObject;
|
|
8
|
-
exports.isNegativeZero = isNegativeZero;
|
|
9
|
-
exports.isPlainObject = isPlainObject;
|
|
10
|
-
function isObject(value) {
|
|
11
|
-
return value !== null && typeof value === "object";
|
|
12
|
-
}
|
|
13
|
-
function isNegativeZero(i) {
|
|
14
|
-
return i === 0 && Number.NEGATIVE_INFINITY === 1 / i;
|
|
15
|
-
}
|
|
16
|
-
function isPlainObject(object) {
|
|
17
|
-
return Object.prototype.toString.call(object) === "[object Object]";
|
|
18
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { type SchemaType } from "./_schema.js";
|
|
2
|
-
export type { SchemaType };
|
|
3
|
-
/** Options for {@linkcode parse}. */
|
|
4
|
-
export interface ParseOptions {
|
|
5
|
-
/**
|
|
6
|
-
* Name of the schema to use.
|
|
7
|
-
*
|
|
8
|
-
* @default {"default"}
|
|
9
|
-
*/
|
|
10
|
-
schema?: SchemaType;
|
|
11
|
-
/**
|
|
12
|
-
* If `true`, duplicate keys will overwrite previous values. Otherwise,
|
|
13
|
-
* duplicate keys will throw a {@linkcode SyntaxError}.
|
|
14
|
-
*
|
|
15
|
-
* @default {false}
|
|
16
|
-
*/
|
|
17
|
-
allowDuplicateKeys?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* If defined, a function to call on warning messages taking an
|
|
20
|
-
* {@linkcode Error} as its only argument.
|
|
21
|
-
*/
|
|
22
|
-
onWarning?(error: Error): void;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Parse and return a YAML string as a parsed YAML document object.
|
|
26
|
-
*
|
|
27
|
-
* Note: This does not support functions. Untrusted data is safe to parse.
|
|
28
|
-
*
|
|
29
|
-
* @example Usage
|
|
30
|
-
* ```ts
|
|
31
|
-
* import { parse } from "@std/yaml/parse";
|
|
32
|
-
* import { assertEquals } from "@std/assert";
|
|
33
|
-
*
|
|
34
|
-
* const data = parse(`
|
|
35
|
-
* id: 1
|
|
36
|
-
* name: Alice
|
|
37
|
-
* `);
|
|
38
|
-
*
|
|
39
|
-
* assertEquals(data, { id: 1, name: "Alice" });
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @throws {SyntaxError} Throws error on invalid YAML.
|
|
43
|
-
* @param content YAML string to parse.
|
|
44
|
-
* @param options Parsing options.
|
|
45
|
-
* @returns Parsed document.
|
|
46
|
-
*/
|
|
47
|
-
export declare function parse(content: string, options?: ParseOptions): unknown;
|
|
48
|
-
/**
|
|
49
|
-
* Same as {@linkcode parse}, but understands multi-document YAML sources, and
|
|
50
|
-
* returns multiple parsed YAML document objects.
|
|
51
|
-
*
|
|
52
|
-
* @example Usage
|
|
53
|
-
* ```ts
|
|
54
|
-
* import { parseAll } from "@std/yaml/parse";
|
|
55
|
-
* import { assertEquals } from "@std/assert";
|
|
56
|
-
*
|
|
57
|
-
* const data = parseAll(`
|
|
58
|
-
* ---
|
|
59
|
-
* id: 1
|
|
60
|
-
* name: Alice
|
|
61
|
-
* ---
|
|
62
|
-
* id: 2
|
|
63
|
-
* name: Bob
|
|
64
|
-
* ---
|
|
65
|
-
* id: 3
|
|
66
|
-
* name: Eve
|
|
67
|
-
* `);
|
|
68
|
-
* assertEquals(data, [ { id: 1, name: "Alice" }, { id: 2, name: "Bob" }, { id: 3, name: "Eve" }]);
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @param content YAML string to parse.
|
|
72
|
-
* @param options Parsing options.
|
|
73
|
-
* @returns Array of parsed documents.
|
|
74
|
-
*/
|
|
75
|
-
export declare function parseAll(content: string, options?: ParseOptions): unknown;
|
|
76
|
-
//# sourceMappingURL=parse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/parse.ts"],"names":[],"mappings":"AAQA,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE3D,YAAY,EAAE,UAAU,EAAE,CAAC;AAE3B,qCAAqC;AACrC,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,SAAS,CAAC,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAChC;AAmBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,KAAK,CACnB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,YAAiB,GACzB,OAAO,CAcT;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,CAO7E"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
// This module is browser compatible.
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.parse = parse;
|
|
9
|
-
exports.parseAll = parseAll;
|
|
10
|
-
const _chars_js_1 = require("./_chars.js");
|
|
11
|
-
const _loader_state_js_1 = require("./_loader_state.js");
|
|
12
|
-
const _schema_js_1 = require("./_schema.js");
|
|
13
|
-
function sanitizeInput(input) {
|
|
14
|
-
input = String(input);
|
|
15
|
-
if (input.length > 0) {
|
|
16
|
-
// Add trailing `\n` if not exists
|
|
17
|
-
if (!(0, _chars_js_1.isEOL)(input.charCodeAt(input.length - 1)))
|
|
18
|
-
input += "\n";
|
|
19
|
-
// Strip BOM
|
|
20
|
-
if (input.charCodeAt(0) === 0xfeff)
|
|
21
|
-
input = input.slice(1);
|
|
22
|
-
}
|
|
23
|
-
// Use 0 as string terminator. That significantly simplifies bounds check.
|
|
24
|
-
input += "\0";
|
|
25
|
-
return input;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Parse and return a YAML string as a parsed YAML document object.
|
|
29
|
-
*
|
|
30
|
-
* Note: This does not support functions. Untrusted data is safe to parse.
|
|
31
|
-
*
|
|
32
|
-
* @example Usage
|
|
33
|
-
* ```ts
|
|
34
|
-
* import { parse } from "@std/yaml/parse";
|
|
35
|
-
* import { assertEquals } from "@std/assert";
|
|
36
|
-
*
|
|
37
|
-
* const data = parse(`
|
|
38
|
-
* id: 1
|
|
39
|
-
* name: Alice
|
|
40
|
-
* `);
|
|
41
|
-
*
|
|
42
|
-
* assertEquals(data, { id: 1, name: "Alice" });
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @throws {SyntaxError} Throws error on invalid YAML.
|
|
46
|
-
* @param content YAML string to parse.
|
|
47
|
-
* @param options Parsing options.
|
|
48
|
-
* @returns Parsed document.
|
|
49
|
-
*/
|
|
50
|
-
function parse(content, options = {}) {
|
|
51
|
-
content = sanitizeInput(content);
|
|
52
|
-
const state = new _loader_state_js_1.LoaderState(content, {
|
|
53
|
-
...options,
|
|
54
|
-
schema: _schema_js_1.SCHEMA_MAP.get(options.schema),
|
|
55
|
-
});
|
|
56
|
-
const documentGenerator = state.readDocuments();
|
|
57
|
-
const document = documentGenerator.next().value;
|
|
58
|
-
if (!documentGenerator.next().done) {
|
|
59
|
-
throw new SyntaxError("Found more than 1 document in the stream: expected a single document");
|
|
60
|
-
}
|
|
61
|
-
return document ?? null;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Same as {@linkcode parse}, but understands multi-document YAML sources, and
|
|
65
|
-
* returns multiple parsed YAML document objects.
|
|
66
|
-
*
|
|
67
|
-
* @example Usage
|
|
68
|
-
* ```ts
|
|
69
|
-
* import { parseAll } from "@std/yaml/parse";
|
|
70
|
-
* import { assertEquals } from "@std/assert";
|
|
71
|
-
*
|
|
72
|
-
* const data = parseAll(`
|
|
73
|
-
* ---
|
|
74
|
-
* id: 1
|
|
75
|
-
* name: Alice
|
|
76
|
-
* ---
|
|
77
|
-
* id: 2
|
|
78
|
-
* name: Bob
|
|
79
|
-
* ---
|
|
80
|
-
* id: 3
|
|
81
|
-
* name: Eve
|
|
82
|
-
* `);
|
|
83
|
-
* assertEquals(data, [ { id: 1, name: "Alice" }, { id: 2, name: "Bob" }, { id: 3, name: "Eve" }]);
|
|
84
|
-
* ```
|
|
85
|
-
*
|
|
86
|
-
* @param content YAML string to parse.
|
|
87
|
-
* @param options Parsing options.
|
|
88
|
-
* @returns Array of parsed documents.
|
|
89
|
-
*/
|
|
90
|
-
function parseAll(content, options = {}) {
|
|
91
|
-
content = sanitizeInput(content);
|
|
92
|
-
const state = new _loader_state_js_1.LoaderState(content, {
|
|
93
|
-
...options,
|
|
94
|
-
schema: _schema_js_1.SCHEMA_MAP.get(options.schema),
|
|
95
|
-
});
|
|
96
|
-
return [...state.readDocuments()];
|
|
97
|
-
}
|