@skmtc/core 0.0.300 → 0.0.301
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/context/CoreContext.d.ts +2 -2
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/CoreContext.js +3 -3
- package/esm/context/GenerateContext.d.ts +2 -2
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +1 -1
- package/esm/context/ParseContext.d.ts +12 -5
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/ParseContext.js +17 -10
- package/esm/context/StackTrail.d.ts +3 -3
- package/esm/context/StackTrail.d.ts.map +1 -1
- package/esm/context/StackTrail.js +9 -1
- package/esm/helpers/tracer.d.ts +7 -0
- package/esm/helpers/tracer.d.ts.map +1 -0
- package/esm/helpers/tracer.js +6 -0
- package/esm/oas/array/Array.d.ts +2 -8
- package/esm/oas/array/Array.d.ts.map +1 -1
- package/esm/oas/array/Array.js +2 -4
- package/esm/oas/array/toArray.d.ts +3 -5
- package/esm/oas/array/toArray.d.ts.map +1 -1
- package/esm/oas/array/toArray.js +5 -7
- package/esm/oas/boolean/Boolean.d.ts +2 -8
- package/esm/oas/boolean/Boolean.d.ts.map +1 -1
- package/esm/oas/boolean/Boolean.js +2 -4
- package/esm/oas/boolean/toBoolean.d.ts +3 -5
- package/esm/oas/boolean/toBoolean.d.ts.map +1 -1
- package/esm/oas/boolean/toBoolean.js +3 -2
- package/esm/oas/components/Components.d.ts +2 -8
- package/esm/oas/components/Components.d.ts.map +1 -1
- package/esm/oas/components/Components.js +2 -4
- package/esm/oas/components/toComponentsV3.d.ts +3 -5
- package/esm/oas/components/toComponentsV3.d.ts.map +1 -1
- package/esm/oas/components/toComponentsV3.js +10 -22
- package/esm/oas/discriminator/Discriminator.d.ts +2 -8
- package/esm/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/esm/oas/discriminator/Discriminator.js +2 -4
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts +3 -5
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/esm/oas/discriminator/toDiscriminatorV3.js +3 -2
- package/esm/oas/document/Document.d.ts +2 -8
- package/esm/oas/document/Document.d.ts.map +1 -1
- package/esm/oas/document/Document.js +2 -4
- package/esm/oas/document/toDocumentV3.d.ts +3 -5
- package/esm/oas/document/toDocumentV3.d.ts.map +1 -1
- package/esm/oas/document/toDocumentV3.js +8 -14
- package/esm/oas/example/Example.d.ts +2 -8
- package/esm/oas/example/Example.d.ts.map +1 -1
- package/esm/oas/example/Example.js +2 -4
- package/esm/oas/example/toExamplesV3.d.ts +6 -11
- package/esm/oas/example/toExamplesV3.d.ts.map +1 -1
- package/esm/oas/example/toExamplesV3.js +18 -17
- package/esm/oas/header/Header.d.ts +2 -8
- package/esm/oas/header/Header.d.ts.map +1 -1
- package/esm/oas/header/Header.js +2 -4
- package/esm/oas/header/toHeadersV3.d.ts +3 -5
- package/esm/oas/header/toHeadersV3.d.ts.map +1 -1
- package/esm/oas/header/toHeadersV3.js +9 -12
- package/esm/oas/info/Info.d.ts +2 -8
- package/esm/oas/info/Info.d.ts.map +1 -1
- package/esm/oas/info/Info.js +2 -4
- package/esm/oas/info/toInfoV3.d.ts +3 -5
- package/esm/oas/info/toInfoV3.d.ts.map +1 -1
- package/esm/oas/info/toInfoV3.js +3 -2
- package/esm/oas/integer/Integer.d.ts +2 -8
- package/esm/oas/integer/Integer.d.ts.map +1 -1
- package/esm/oas/integer/Integer.js +2 -4
- package/esm/oas/integer/toInteger.d.ts +3 -5
- package/esm/oas/integer/toInteger.d.ts.map +1 -1
- package/esm/oas/integer/toInteger.js +3 -2
- package/esm/oas/intersection/Intersection.d.ts +2 -8
- package/esm/oas/intersection/Intersection.d.ts.map +1 -1
- package/esm/oas/intersection/Intersection.js +2 -4
- package/esm/oas/intersection/toIntersection.d.ts +3 -5
- package/esm/oas/intersection/toIntersection.d.ts.map +1 -1
- package/esm/oas/intersection/toIntersection.js +6 -12
- package/esm/oas/mediaType/MediaType.d.ts +2 -8
- package/esm/oas/mediaType/MediaType.d.ts.map +1 -1
- package/esm/oas/mediaType/MediaType.js +2 -4
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts +7 -11
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/esm/oas/mediaType/toMediaTypeItemV3.js +17 -19
- package/esm/oas/number/Number.d.ts +2 -8
- package/esm/oas/number/Number.d.ts.map +1 -1
- package/esm/oas/number/Number.js +2 -4
- package/esm/oas/number/toNumber.d.ts +3 -5
- package/esm/oas/number/toNumber.d.ts.map +1 -1
- package/esm/oas/number/toNumber.js +3 -2
- package/esm/oas/object/Object.d.ts +5 -11
- package/esm/oas/object/Object.d.ts.map +1 -1
- package/esm/oas/object/Object.js +9 -21
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts +3 -5
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -1
- package/esm/oas/object/toAdditionalPropertiesV3.js +2 -6
- package/esm/oas/object/toObject.d.ts +3 -5
- package/esm/oas/object/toObject.d.ts.map +1 -1
- package/esm/oas/object/toObject.js +7 -10
- package/esm/oas/operation/Operation.d.ts +6 -11
- package/esm/oas/operation/Operation.d.ts.map +1 -1
- package/esm/oas/operation/Operation.js +9 -11
- package/esm/oas/operation/toOperationsV3.d.ts +5 -8
- package/esm/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/esm/oas/operation/toOperationsV3.js +42 -53
- package/esm/oas/parameter/Parameter.d.ts +2 -8
- package/esm/oas/parameter/Parameter.d.ts.map +1 -1
- package/esm/oas/parameter/Parameter.js +3 -5
- package/esm/oas/parameter/toParameterV3.d.ts +7 -11
- package/esm/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/esm/oas/parameter/toParameterV3.js +18 -24
- package/esm/oas/pathItem/PathItem.d.ts +2 -8
- package/esm/oas/pathItem/PathItem.d.ts.map +1 -1
- package/esm/oas/pathItem/PathItem.js +2 -4
- package/esm/oas/pathItem/toPathItemV3.d.ts +3 -5
- package/esm/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/esm/oas/pathItem/toPathItemV3.js +5 -7
- package/esm/oas/ref/Ref.d.ts +5 -10
- package/esm/oas/ref/Ref.d.ts.map +1 -1
- package/esm/oas/ref/Ref.js +9 -21
- package/esm/oas/ref/toRefV31.d.ts +3 -5
- package/esm/oas/ref/toRefV31.d.ts.map +1 -1
- package/esm/oas/ref/toRefV31.js +3 -2
- package/esm/oas/requestBody/RequestBody.d.ts +2 -8
- package/esm/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/esm/oas/requestBody/RequestBody.js +2 -4
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts +5 -8
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/esm/oas/requestBody/toRequestBodiesV3.js +9 -18
- package/esm/oas/response/Response.d.ts +2 -8
- package/esm/oas/response/Response.d.ts.map +1 -1
- package/esm/oas/response/Response.js +2 -4
- package/esm/oas/response/toResponseV3.d.ts +7 -11
- package/esm/oas/response/toResponseV3.d.ts.map +1 -1
- package/esm/oas/response/toResponseV3.js +11 -13
- package/esm/oas/schema/toSchemasV3.d.ts +9 -14
- package/esm/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/oas/schema/toSchemasV3.js +22 -24
- package/esm/oas/string/String.d.ts +2 -8
- package/esm/oas/string/String.d.ts.map +1 -1
- package/esm/oas/string/String.js +2 -4
- package/esm/oas/string/toString.d.ts +3 -5
- package/esm/oas/string/toString.d.ts.map +1 -1
- package/esm/oas/string/toString.js +3 -2
- package/esm/oas/tag/Tag.d.ts +2 -8
- package/esm/oas/tag/Tag.d.ts.map +1 -1
- package/esm/oas/tag/Tag.js +2 -4
- package/esm/oas/tag/toTagsV3.d.ts +8 -5
- package/esm/oas/tag/toTagsV3.d.ts.map +1 -1
- package/esm/oas/tag/toTagsV3.js +11 -9
- package/esm/oas/union/Union.d.ts +2 -8
- package/esm/oas/union/Union.d.ts.map +1 -1
- package/esm/oas/union/Union.js +2 -4
- package/esm/oas/union/toUnion.d.ts +3 -5
- package/esm/oas/union/toUnion.d.ts.map +1 -1
- package/esm/oas/union/toUnion.js +6 -12
- package/esm/oas/unknown/Unknown.d.ts +2 -8
- package/esm/oas/unknown/Unknown.d.ts.map +1 -1
- package/esm/oas/unknown/Unknown.js +2 -4
- package/esm/oas/unknown/toUnknown.d.ts +3 -5
- package/esm/oas/unknown/toUnknown.d.ts.map +1 -1
- package/esm/oas/unknown/toUnknown.js +3 -2
- package/esm/oas/void/Void.d.ts +3 -9
- package/esm/oas/void/Void.d.ts.map +1 -1
- package/esm/oas/void/Void.js +4 -10
- package/esm/typescript/ReactRouterPathParams.d.ts.map +1 -1
- package/esm/typescript/ReactRouterPathParams.js +3 -1
- package/package.json +1 -1
- package/script/context/CoreContext.d.ts +2 -2
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/CoreContext.js +3 -3
- package/script/context/GenerateContext.d.ts +2 -2
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +1 -1
- package/script/context/ParseContext.d.ts +12 -5
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/ParseContext.js +17 -10
- package/script/context/StackTrail.d.ts +3 -3
- package/script/context/StackTrail.d.ts.map +1 -1
- package/script/context/StackTrail.js +9 -1
- package/script/helpers/tracer.d.ts +7 -0
- package/script/helpers/tracer.d.ts.map +1 -0
- package/script/helpers/tracer.js +10 -0
- package/script/oas/array/Array.d.ts +2 -8
- package/script/oas/array/Array.d.ts.map +1 -1
- package/script/oas/array/Array.js +2 -4
- package/script/oas/array/toArray.d.ts +3 -5
- package/script/oas/array/toArray.d.ts.map +1 -1
- package/script/oas/array/toArray.js +5 -7
- package/script/oas/boolean/Boolean.d.ts +2 -8
- package/script/oas/boolean/Boolean.d.ts.map +1 -1
- package/script/oas/boolean/Boolean.js +2 -4
- package/script/oas/boolean/toBoolean.d.ts +3 -5
- package/script/oas/boolean/toBoolean.d.ts.map +1 -1
- package/script/oas/boolean/toBoolean.js +3 -2
- package/script/oas/components/Components.d.ts +2 -8
- package/script/oas/components/Components.d.ts.map +1 -1
- package/script/oas/components/Components.js +2 -4
- package/script/oas/components/toComponentsV3.d.ts +3 -5
- package/script/oas/components/toComponentsV3.d.ts.map +1 -1
- package/script/oas/components/toComponentsV3.js +10 -22
- package/script/oas/discriminator/Discriminator.d.ts +2 -8
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/script/oas/discriminator/Discriminator.js +2 -4
- package/script/oas/discriminator/toDiscriminatorV3.d.ts +3 -5
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/script/oas/discriminator/toDiscriminatorV3.js +3 -2
- package/script/oas/document/Document.d.ts +2 -8
- package/script/oas/document/Document.d.ts.map +1 -1
- package/script/oas/document/Document.js +2 -4
- package/script/oas/document/toDocumentV3.d.ts +3 -5
- package/script/oas/document/toDocumentV3.d.ts.map +1 -1
- package/script/oas/document/toDocumentV3.js +8 -14
- package/script/oas/example/Example.d.ts +2 -8
- package/script/oas/example/Example.d.ts.map +1 -1
- package/script/oas/example/Example.js +2 -4
- package/script/oas/example/toExamplesV3.d.ts +6 -11
- package/script/oas/example/toExamplesV3.d.ts.map +1 -1
- package/script/oas/example/toExamplesV3.js +18 -17
- package/script/oas/header/Header.d.ts +2 -8
- package/script/oas/header/Header.d.ts.map +1 -1
- package/script/oas/header/Header.js +2 -4
- package/script/oas/header/toHeadersV3.d.ts +3 -5
- package/script/oas/header/toHeadersV3.d.ts.map +1 -1
- package/script/oas/header/toHeadersV3.js +9 -12
- package/script/oas/info/Info.d.ts +2 -8
- package/script/oas/info/Info.d.ts.map +1 -1
- package/script/oas/info/Info.js +2 -4
- package/script/oas/info/toInfoV3.d.ts +3 -5
- package/script/oas/info/toInfoV3.d.ts.map +1 -1
- package/script/oas/info/toInfoV3.js +3 -2
- package/script/oas/integer/Integer.d.ts +2 -8
- package/script/oas/integer/Integer.d.ts.map +1 -1
- package/script/oas/integer/Integer.js +2 -4
- package/script/oas/integer/toInteger.d.ts +3 -5
- package/script/oas/integer/toInteger.d.ts.map +1 -1
- package/script/oas/integer/toInteger.js +3 -2
- package/script/oas/intersection/Intersection.d.ts +2 -8
- package/script/oas/intersection/Intersection.d.ts.map +1 -1
- package/script/oas/intersection/Intersection.js +2 -4
- package/script/oas/intersection/toIntersection.d.ts +3 -5
- package/script/oas/intersection/toIntersection.d.ts.map +1 -1
- package/script/oas/intersection/toIntersection.js +6 -12
- package/script/oas/mediaType/MediaType.d.ts +2 -8
- package/script/oas/mediaType/MediaType.d.ts.map +1 -1
- package/script/oas/mediaType/MediaType.js +2 -4
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts +7 -11
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/script/oas/mediaType/toMediaTypeItemV3.js +17 -19
- package/script/oas/number/Number.d.ts +2 -8
- package/script/oas/number/Number.d.ts.map +1 -1
- package/script/oas/number/Number.js +2 -4
- package/script/oas/number/toNumber.d.ts +3 -5
- package/script/oas/number/toNumber.d.ts.map +1 -1
- package/script/oas/number/toNumber.js +3 -2
- package/script/oas/object/Object.d.ts +5 -11
- package/script/oas/object/Object.d.ts.map +1 -1
- package/script/oas/object/Object.js +9 -21
- package/script/oas/object/toAdditionalPropertiesV3.d.ts +3 -5
- package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -1
- package/script/oas/object/toAdditionalPropertiesV3.js +2 -6
- package/script/oas/object/toObject.d.ts +3 -5
- package/script/oas/object/toObject.d.ts.map +1 -1
- package/script/oas/object/toObject.js +7 -10
- package/script/oas/operation/Operation.d.ts +6 -11
- package/script/oas/operation/Operation.d.ts.map +1 -1
- package/script/oas/operation/Operation.js +9 -11
- package/script/oas/operation/toOperationsV3.d.ts +5 -8
- package/script/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/script/oas/operation/toOperationsV3.js +42 -53
- package/script/oas/parameter/Parameter.d.ts +2 -8
- package/script/oas/parameter/Parameter.d.ts.map +1 -1
- package/script/oas/parameter/Parameter.js +3 -5
- package/script/oas/parameter/toParameterV3.d.ts +7 -11
- package/script/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/script/oas/parameter/toParameterV3.js +18 -24
- package/script/oas/pathItem/PathItem.d.ts +2 -8
- package/script/oas/pathItem/PathItem.d.ts.map +1 -1
- package/script/oas/pathItem/PathItem.js +2 -4
- package/script/oas/pathItem/toPathItemV3.d.ts +3 -5
- package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/script/oas/pathItem/toPathItemV3.js +5 -7
- package/script/oas/ref/Ref.d.ts +5 -10
- package/script/oas/ref/Ref.d.ts.map +1 -1
- package/script/oas/ref/Ref.js +9 -21
- package/script/oas/ref/toRefV31.d.ts +3 -5
- package/script/oas/ref/toRefV31.d.ts.map +1 -1
- package/script/oas/ref/toRefV31.js +3 -2
- package/script/oas/requestBody/RequestBody.d.ts +2 -8
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/script/oas/requestBody/RequestBody.js +2 -4
- package/script/oas/requestBody/toRequestBodiesV3.d.ts +5 -8
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/script/oas/requestBody/toRequestBodiesV3.js +9 -18
- package/script/oas/response/Response.d.ts +2 -8
- package/script/oas/response/Response.d.ts.map +1 -1
- package/script/oas/response/Response.js +2 -4
- package/script/oas/response/toResponseV3.d.ts +7 -11
- package/script/oas/response/toResponseV3.d.ts.map +1 -1
- package/script/oas/response/toResponseV3.js +11 -13
- package/script/oas/schema/toSchemasV3.d.ts +9 -14
- package/script/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/script/oas/schema/toSchemasV3.js +22 -24
- package/script/oas/string/String.d.ts +2 -8
- package/script/oas/string/String.d.ts.map +1 -1
- package/script/oas/string/String.js +2 -4
- package/script/oas/string/toString.d.ts +3 -5
- package/script/oas/string/toString.d.ts.map +1 -1
- package/script/oas/string/toString.js +3 -2
- package/script/oas/tag/Tag.d.ts +2 -8
- package/script/oas/tag/Tag.d.ts.map +1 -1
- package/script/oas/tag/Tag.js +2 -4
- package/script/oas/tag/toTagsV3.d.ts +8 -5
- package/script/oas/tag/toTagsV3.d.ts.map +1 -1
- package/script/oas/tag/toTagsV3.js +13 -10
- package/script/oas/union/Union.d.ts +2 -8
- package/script/oas/union/Union.d.ts.map +1 -1
- package/script/oas/union/Union.js +2 -4
- package/script/oas/union/toUnion.d.ts +3 -5
- package/script/oas/union/toUnion.d.ts.map +1 -1
- package/script/oas/union/toUnion.js +6 -12
- package/script/oas/unknown/Unknown.d.ts +2 -8
- package/script/oas/unknown/Unknown.d.ts.map +1 -1
- package/script/oas/unknown/Unknown.js +2 -4
- package/script/oas/unknown/toUnknown.d.ts +3 -5
- package/script/oas/unknown/toUnknown.d.ts.map +1 -1
- package/script/oas/unknown/toUnknown.js +3 -2
- package/script/oas/void/Void.d.ts +3 -9
- package/script/oas/void/Void.d.ts.map +1 -1
- package/script/oas/void/Void.js +4 -10
- package/script/typescript/ReactRouterPathParams.d.ts.map +1 -1
- package/script/typescript/ReactRouterPathParams.js +3 -1
- package/esm/dsl/OasBase.d.ts +0 -15
- package/esm/dsl/OasBase.d.ts.map +0 -1
- package/esm/dsl/OasBase.js +0 -28
- package/script/dsl/OasBase.d.ts +0 -15
- package/script/dsl/OasBase.d.ts.map +0 -1
- package/script/dsl/OasBase.js +0 -32
|
@@ -1,31 +1,26 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ParseContext } from '../../context/ParseContext.js';
|
|
2
2
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
3
|
-
import type { Trail } from '../../context/Trail.js';
|
|
4
3
|
import type { OasSchema } from './Schema.js';
|
|
5
4
|
import type { OasRef } from '../ref/Ref.js';
|
|
6
5
|
type ToSchemasV3Args = {
|
|
7
6
|
schemas: Record<string, OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject>;
|
|
8
|
-
|
|
9
|
-
context: CoreContext;
|
|
7
|
+
context: ParseContext;
|
|
10
8
|
};
|
|
11
|
-
export declare const toSchemasV3: ({ schemas,
|
|
9
|
+
export declare const toSchemasV3: ({ schemas, context }: ToSchemasV3Args) => Record<string, OasSchema | OasRef<"schema">>;
|
|
12
10
|
type ToOptionalSchemasV3Args = {
|
|
13
11
|
schemas: Record<string, OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject> | undefined;
|
|
14
|
-
|
|
15
|
-
context: CoreContext;
|
|
12
|
+
context: ParseContext;
|
|
16
13
|
};
|
|
17
|
-
export declare const toOptionalSchemasV3: ({ schemas,
|
|
14
|
+
export declare const toOptionalSchemasV3: ({ schemas, context }: ToOptionalSchemasV3Args) => Record<string, OasSchema | OasRef<"schema">> | undefined;
|
|
18
15
|
type ToSchemaV3Args = {
|
|
19
16
|
schema: OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject;
|
|
20
|
-
|
|
21
|
-
context: CoreContext;
|
|
17
|
+
context: ParseContext;
|
|
22
18
|
};
|
|
23
|
-
export declare const toSchemaV3: ({ schema,
|
|
19
|
+
export declare const toSchemaV3: ({ schema, context }: ToSchemaV3Args) => OasSchema | OasRef<"schema">;
|
|
24
20
|
type ToOptionalSchemaV3Args = {
|
|
25
21
|
schema: OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject | undefined;
|
|
26
|
-
|
|
27
|
-
context: CoreContext;
|
|
22
|
+
context: ParseContext;
|
|
28
23
|
};
|
|
29
|
-
export declare const toOptionalSchemaV3: ({ schema,
|
|
24
|
+
export declare const toOptionalSchemaV3: ({ schema, context }: ToOptionalSchemaV3Args) => OasSchema | OasRef<"schema"> | undefined;
|
|
30
25
|
export {};
|
|
31
26
|
//# sourceMappingURL=toSchemasV3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toSchemasV3.d.ts","sourceRoot":"","sources":["../../../src/oas/schema/toSchemasV3.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toSchemasV3.d.ts","sourceRoot":"","sources":["../../../src/oas/schema/toSchemasV3.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAEjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAY3C,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,YAAY,CAAC,CAAA;IAC3E,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,yBAGrB,eAAe,KAAG,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAM/D,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,OAAO,EACH,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,YAAY,CAAC,GAClE,SAAS,CAAA;IACb,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,mBAAmB,yBAG7B,uBAAuB,KACtB,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,GAC5C,SAMH,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,YAAY,CAAA;IAC1D,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,UAAU,wBAGpB,cAAc,KAAG,SAAS,GAAG,MAAM,CAAC,QAAQ,CA+C9C,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,MAAM,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,YAAY,GAAG,SAAS,CAAA;IACtE,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,kBAAkB,wBAG5B,sBAAsB,KAAG,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,SAM1D,CAAA"}
|
|
@@ -13,25 +13,23 @@ const toString_js_1 = require("../string/toString.js");
|
|
|
13
13
|
const toUnknown_js_1 = require("../unknown/toUnknown.js");
|
|
14
14
|
const toUnion_js_1 = require("../union/toUnion.js");
|
|
15
15
|
const toIntersection_js_1 = require("../intersection/toIntersection.js");
|
|
16
|
-
const
|
|
16
|
+
const tracer_js_1 = require("../../helpers/tracer.js");
|
|
17
|
+
const toSchemasV3 = ({ schemas, context }) => {
|
|
17
18
|
return Object.fromEntries(Object.entries(schemas).map(([key, schema]) => {
|
|
18
|
-
return [
|
|
19
|
-
key,
|
|
20
|
-
(0, exports.toSchemaV3)({ schema, trail: trail.addSchemaRef(key), context })
|
|
21
|
-
];
|
|
19
|
+
return [key, (0, tracer_js_1.tracer)(context, key, () => (0, exports.toSchemaV3)({ schema, context }))];
|
|
22
20
|
}));
|
|
23
21
|
};
|
|
24
22
|
exports.toSchemasV3 = toSchemasV3;
|
|
25
|
-
const toOptionalSchemasV3 = ({ schemas,
|
|
23
|
+
const toOptionalSchemasV3 = ({ schemas, context }) => {
|
|
26
24
|
if (!schemas) {
|
|
27
25
|
return undefined;
|
|
28
26
|
}
|
|
29
|
-
return (0, exports.toSchemasV3)({ schemas,
|
|
27
|
+
return (0, exports.toSchemasV3)({ schemas, context });
|
|
30
28
|
};
|
|
31
29
|
exports.toOptionalSchemasV3 = toOptionalSchemasV3;
|
|
32
|
-
const toSchemaV3 = ({ schema,
|
|
30
|
+
const toSchemaV3 = ({ schema, context }) => {
|
|
33
31
|
if ((0, refFns_js_1.isRef)(schema)) {
|
|
34
|
-
return (0, toRefV31_js_1.toRefV31)({ ref: schema, refType: 'schema',
|
|
32
|
+
return (0, toRefV31_js_1.toRefV31)({ ref: schema, refType: 'schema', context });
|
|
35
33
|
}
|
|
36
34
|
// Workaround for dodgy Reapit schema
|
|
37
35
|
if (schema.type !== 'array' &&
|
|
@@ -42,35 +40,35 @@ const toSchemaV3 = ({ schema, trail, context }) => {
|
|
|
42
40
|
return (0, ts_pattern_1.match)(schema)
|
|
43
41
|
.with({ oneOf: ts_pattern_1.P.array() }, ({ oneOf: members, ...value }) => {
|
|
44
42
|
if (members.length === 1) {
|
|
45
|
-
return (0, exports.toSchemaV3)({ schema: members[0],
|
|
43
|
+
return (0, exports.toSchemaV3)({ schema: members[0], context });
|
|
46
44
|
}
|
|
47
|
-
return (0, toUnion_js_1.toUnion)({ value, members,
|
|
45
|
+
return (0, toUnion_js_1.toUnion)({ value, members, context });
|
|
48
46
|
})
|
|
49
47
|
.with({ anyOf: ts_pattern_1.P.array() }, ({ anyOf: members, ...value }) => {
|
|
50
48
|
if (members.length === 1) {
|
|
51
|
-
return (0, exports.toSchemaV3)({ schema: members[0],
|
|
49
|
+
return (0, exports.toSchemaV3)({ schema: members[0], context });
|
|
52
50
|
}
|
|
53
|
-
return (0, toUnion_js_1.toUnion)({ value, members,
|
|
51
|
+
return (0, tracer_js_1.tracer)(context, 'anyOf', () => (0, toUnion_js_1.toUnion)({ value, members, context }));
|
|
54
52
|
})
|
|
55
53
|
.with({ allOf: ts_pattern_1.P.array() }, ({ allOf: members, ...value }) => {
|
|
56
54
|
if (members.length === 1) {
|
|
57
|
-
return (0, exports.toSchemaV3)({ schema: members[0],
|
|
55
|
+
return (0, exports.toSchemaV3)({ schema: members[0], context });
|
|
58
56
|
}
|
|
59
|
-
return (0, toIntersection_js_1.toIntersection)({ value, members,
|
|
57
|
+
return (0, tracer_js_1.tracer)(context, 'allOf', () => (0, toIntersection_js_1.toIntersection)({ value, members, context }));
|
|
60
58
|
})
|
|
61
|
-
.with({ type: 'object' }, value => (0, toObject_js_1.toObject)({ value,
|
|
62
|
-
.with({ type: 'array' }, value => (0, toArray_js_1.toArray)({ value,
|
|
63
|
-
.with({ type: 'integer' }, value => (0, toInteger_js_1.toInteger)({ value,
|
|
64
|
-
.with({ type: 'number' }, value => (0, toNumber_js_1.toNumber)({ value,
|
|
65
|
-
.with({ type: 'boolean' }, value => (0, toBoolean_js_1.toBoolean)({ value,
|
|
66
|
-
.with({ type: 'string' }, value => (0, toString_js_1.toString)({ value,
|
|
67
|
-
.otherwise(value => (0, toUnknown_js_1.toUnknown)({ value,
|
|
59
|
+
.with({ type: 'object' }, value => (0, toObject_js_1.toObject)({ value, context }))
|
|
60
|
+
.with({ type: 'array' }, value => (0, toArray_js_1.toArray)({ value, context }))
|
|
61
|
+
.with({ type: 'integer' }, value => (0, toInteger_js_1.toInteger)({ value, context }))
|
|
62
|
+
.with({ type: 'number' }, value => (0, toNumber_js_1.toNumber)({ value, context }))
|
|
63
|
+
.with({ type: 'boolean' }, value => (0, toBoolean_js_1.toBoolean)({ value, context }))
|
|
64
|
+
.with({ type: 'string' }, value => (0, toString_js_1.toString)({ value, context }))
|
|
65
|
+
.otherwise(value => (0, toUnknown_js_1.toUnknown)({ value, context }));
|
|
68
66
|
};
|
|
69
67
|
exports.toSchemaV3 = toSchemaV3;
|
|
70
|
-
const toOptionalSchemaV3 = ({ schema,
|
|
68
|
+
const toOptionalSchemaV3 = ({ schema, context }) => {
|
|
71
69
|
if (!schema) {
|
|
72
70
|
return undefined;
|
|
73
71
|
}
|
|
74
|
-
return (0, exports.toSchemaV3)({ schema,
|
|
72
|
+
return (0, exports.toSchemaV3)({ schema, context });
|
|
75
73
|
};
|
|
76
74
|
exports.toOptionalSchemaV3 = toOptionalSchemaV3;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { OasBase } from '../../dsl/OasBase.js';
|
|
2
|
-
import type { Trail } from '../../context/Trail.js';
|
|
3
|
-
import type { CoreContext } from '../../context/CoreContext.js';
|
|
4
1
|
import type { OasRef } from '../ref/Ref.js';
|
|
5
2
|
export type StringFields = {
|
|
6
3
|
title?: string;
|
|
@@ -11,15 +8,12 @@ export type StringFields = {
|
|
|
11
8
|
};
|
|
12
9
|
type ToStringV3Args = {
|
|
13
10
|
fields: StringFields;
|
|
14
|
-
trail: Trail;
|
|
15
|
-
skipped: Record<string, unknown>;
|
|
16
|
-
context: CoreContext;
|
|
17
11
|
};
|
|
18
|
-
export declare class OasString
|
|
12
|
+
export declare class OasString {
|
|
19
13
|
#private;
|
|
20
14
|
oasType: 'schema';
|
|
21
15
|
type: 'string';
|
|
22
|
-
constructor({ fields
|
|
16
|
+
constructor({ fields }: ToStringV3Args);
|
|
23
17
|
get title(): string | undefined;
|
|
24
18
|
get description(): string | undefined;
|
|
25
19
|
get nullable(): boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"String.d.ts","sourceRoot":"","sources":["../../../src/oas/string/String.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"String.d.ts","sourceRoot":"","sources":["../../../src/oas/string/String.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,YAAY,CAAA;CACrB,CAAA;AAED,qBAAa,SAAS;;IACpB,OAAO,EAAE,QAAQ,CAAW;IAC5B,IAAI,EAAE,QAAQ,CAAW;gBAGb,EAAE,MAAM,EAAE,EAAE,cAAc;IAItC,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,IAAI,QAAQ,IAAI,OAAO,GAAG,SAAS,CAElC;IAED,KAAK,IAAI,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC;IAIjC,OAAO,IAAI,SAAS;IAIpB,WAAW,IAAI,SAAS;IAIxB,IAAI,MAAM,IAAI,MAAM,GAAG,SAAS,CAE/B;IAMD,IAAI,KAAK,IAAI,MAAM,EAAE,GAAG,SAAS,CAEhC;CACF"}
|
|
@@ -13,10 +13,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
13
13
|
var _OasString_fields;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.OasString = void 0;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
constructor({ fields, trail, skipped, context }) {
|
|
19
|
-
super({ trail, skipped, context });
|
|
16
|
+
class OasString {
|
|
17
|
+
constructor({ fields }) {
|
|
20
18
|
Object.defineProperty(this, "oasType", {
|
|
21
19
|
enumerable: true,
|
|
22
20
|
configurable: true,
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
3
|
-
import type { CoreContext } from '../../context/CoreContext.js';
|
|
2
|
+
import type { ParseContext } from '../../context/ParseContext.js';
|
|
4
3
|
import { OasString } from './String.js';
|
|
5
4
|
type ToStringArgs = {
|
|
6
5
|
value: OpenAPIV3.NonArraySchemaObject;
|
|
7
|
-
|
|
8
|
-
context: CoreContext;
|
|
6
|
+
context: ParseContext;
|
|
9
7
|
};
|
|
10
|
-
export declare const toString: ({ value,
|
|
8
|
+
export declare const toString: ({ value, context }: ToStringArgs) => OasString;
|
|
11
9
|
export {};
|
|
12
10
|
//# sourceMappingURL=toString.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toString.d.ts","sourceRoot":"","sources":["../../../src/oas/string/toString.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toString.d.ts","sourceRoot":"","sources":["../../../src/oas/string/toString.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAqB,SAAS,EAAE,MAAM,aAAa,CAAA;AAE1D,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,SAAS,CAAC,oBAAoB,CAAA;IACrC,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,QAAQ,uBAAwB,YAAY,KAAG,SAoB3D,CAAA"}
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.toString = void 0;
|
|
4
4
|
const String_js_1 = require("./String.js");
|
|
5
|
-
const toString = ({ value,
|
|
5
|
+
const toString = ({ value, context }) => {
|
|
6
6
|
const { type: _type, title, description, enum: enums, nullable, ...skipped } = value;
|
|
7
|
+
context.logSkippedFields(skipped);
|
|
7
8
|
const fields = {
|
|
8
9
|
title,
|
|
9
10
|
description,
|
|
10
11
|
enums,
|
|
11
12
|
nullable
|
|
12
13
|
};
|
|
13
|
-
return new String_js_1.OasString({ fields
|
|
14
|
+
return new String_js_1.OasString({ fields });
|
|
14
15
|
};
|
|
15
16
|
exports.toString = toString;
|
package/script/oas/tag/Tag.d.ts
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import { OasBase } from '../../dsl/OasBase.js';
|
|
2
|
-
import type { Trail } from '../../context/Trail.js';
|
|
3
|
-
import type { CoreContext } from '../../context/CoreContext.js';
|
|
4
1
|
export type TagFields = {
|
|
5
2
|
name: string;
|
|
6
3
|
description: string | undefined;
|
|
7
4
|
};
|
|
8
5
|
type ToTagV3Args = {
|
|
9
6
|
fields: TagFields;
|
|
10
|
-
trail: Trail;
|
|
11
|
-
skipped: Record<string, unknown>;
|
|
12
|
-
context: CoreContext;
|
|
13
7
|
};
|
|
14
|
-
export declare class OasTag
|
|
8
|
+
export declare class OasTag {
|
|
15
9
|
#private;
|
|
16
10
|
oasType: 'tag';
|
|
17
|
-
constructor({ fields
|
|
11
|
+
constructor({ fields }: ToTagV3Args);
|
|
18
12
|
get name(): string;
|
|
19
13
|
get description(): string | undefined;
|
|
20
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/oas/tag/Tag.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/oas/tag/Tag.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;CAChC,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,qBAAa,MAAM;;IACjB,OAAO,EAAE,KAAK,CAAQ;gBAGV,EAAE,MAAM,EAAE,EAAE,WAAW;IAInC,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;CACF"}
|
package/script/oas/tag/Tag.js
CHANGED
|
@@ -13,10 +13,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
13
13
|
var _OasTag_fields;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.OasTag = void 0;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
constructor({ fields, trail, skipped, context }) {
|
|
19
|
-
super({ trail, skipped, context });
|
|
16
|
+
class OasTag {
|
|
17
|
+
constructor({ fields }) {
|
|
20
18
|
Object.defineProperty(this, "oasType", {
|
|
21
19
|
enumerable: true,
|
|
22
20
|
configurable: true,
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
3
|
-
import type { Trail } from '../../context/Trail.js';
|
|
2
|
+
import type { ParseContext } from '../../context/ParseContext.js';
|
|
4
3
|
import { OasTag } from './Tag.js';
|
|
5
4
|
type ToTagsV3Args = {
|
|
6
5
|
tags: OpenAPIV3.TagObject[] | undefined;
|
|
7
|
-
|
|
8
|
-
context: CoreContext;
|
|
6
|
+
context: ParseContext;
|
|
9
7
|
};
|
|
10
|
-
export declare const toTagsV3: ({ tags,
|
|
8
|
+
export declare const toTagsV3: ({ tags, context }: ToTagsV3Args) => OasTag[] | undefined;
|
|
9
|
+
type ToTagV3Args = {
|
|
10
|
+
tag: OpenAPIV3.TagObject;
|
|
11
|
+
context: ParseContext;
|
|
12
|
+
};
|
|
13
|
+
export declare const toTagV3: ({ tag, context }: ToTagV3Args) => OasTag;
|
|
11
14
|
export {};
|
|
12
15
|
//# sourceMappingURL=toTagsV3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toTagsV3.d.ts","sourceRoot":"","sources":["../../../src/oas/tag/toTagsV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toTagsV3.d.ts","sourceRoot":"","sources":["../../../src/oas/tag/toTagsV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAGjC,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,SAAS,CAAC,SAAS,EAAE,GAAG,SAAS,CAAA;IACvC,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,QAAQ,sBAGlB,YAAY,KAAG,MAAM,EAAE,GAAG,SAM5B,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,SAAS,CAAC,SAAS,CAAA;IACxB,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,OAAO,qBAAsB,WAAW,KAAG,MAWvD,CAAA"}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toTagsV3 = void 0;
|
|
3
|
+
exports.toTagV3 = exports.toTagsV3 = void 0;
|
|
4
4
|
const Tag_js_1 = require("./Tag.js");
|
|
5
|
-
const toTagsV3 = ({ tags,
|
|
5
|
+
const toTagsV3 = ({ tags, context }) => {
|
|
6
6
|
if (!tags) {
|
|
7
7
|
return undefined;
|
|
8
8
|
}
|
|
9
|
-
return tags.map(tag => {
|
|
10
|
-
const { name, description, ...skipped } = tag;
|
|
11
|
-
const fields = {
|
|
12
|
-
name,
|
|
13
|
-
description
|
|
14
|
-
};
|
|
15
|
-
return new Tag_js_1.OasTag({ fields, trail, context, skipped });
|
|
16
|
-
});
|
|
9
|
+
return tags.map(tag => (0, exports.toTagV3)({ tag, context }));
|
|
17
10
|
};
|
|
18
11
|
exports.toTagsV3 = toTagsV3;
|
|
12
|
+
const toTagV3 = ({ tag, context }) => {
|
|
13
|
+
const { name, description, ...skipped } = tag;
|
|
14
|
+
context.logSkippedFields(skipped);
|
|
15
|
+
const fields = {
|
|
16
|
+
name,
|
|
17
|
+
description
|
|
18
|
+
};
|
|
19
|
+
return new Tag_js_1.OasTag({ fields });
|
|
20
|
+
};
|
|
21
|
+
exports.toTagV3 = toTagV3;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { OasBase } from '../../dsl/OasBase.js';
|
|
2
|
-
import type { Trail } from '../../context/Trail.js';
|
|
3
|
-
import type { CoreContext } from '../../context/CoreContext.js';
|
|
4
1
|
import type { OasDiscriminator } from '../discriminator/Discriminator.js';
|
|
5
2
|
import type { OasSchema } from '../schema/Schema.js';
|
|
6
3
|
import type { OasRef } from '../ref/Ref.js';
|
|
@@ -13,15 +10,12 @@ export type UnionFields = {
|
|
|
13
10
|
};
|
|
14
11
|
type ToUnionV3Args = {
|
|
15
12
|
fields: UnionFields;
|
|
16
|
-
trail: Trail;
|
|
17
|
-
skipped: Record<string, unknown>;
|
|
18
|
-
context: CoreContext;
|
|
19
13
|
};
|
|
20
|
-
export declare class OasUnion
|
|
14
|
+
export declare class OasUnion {
|
|
21
15
|
#private;
|
|
22
16
|
oasType: 'schema';
|
|
23
17
|
type: 'union';
|
|
24
|
-
constructor({ fields
|
|
18
|
+
constructor({ fields }: ToUnionV3Args);
|
|
25
19
|
get title(): string | undefined;
|
|
26
20
|
get description(): string | undefined;
|
|
27
21
|
get discriminator(): OasDiscriminator | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Union.d.ts","sourceRoot":"","sources":["../../../src/oas/union/Union.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Union.d.ts","sourceRoot":"","sources":["../../../src/oas/union/Union.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,gBAAgB,CAAA;IAChC,OAAO,EAAE,CAAC,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAA;CAC1C,CAAA;AAED,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,WAAW,CAAA;CACpB,CAAA;AAED,qBAAa,QAAQ;;IACnB,OAAO,EAAE,QAAQ,CAAW;IAC5B,IAAI,EAAE,OAAO,CAAU;gBAGX,EAAE,MAAM,EAAE,EAAE,aAAa;IAIrC,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,IAAI,aAAa,IAAI,gBAAgB,GAAG,SAAS,CAEhD;IAED,IAAI,OAAO,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAE9C;IAED,IAAI,QAAQ,IAAI,OAAO,GAAG,SAAS,CAElC;IAED,KAAK,IAAI,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC;IAIjC,OAAO,IAAI,QAAQ;IAInB,WAAW,IAAI,QAAQ;CAGxB"}
|
|
@@ -13,10 +13,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
13
13
|
var _OasUnion_fields;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.OasUnion = void 0;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
constructor({ fields, trail, skipped, context }) {
|
|
19
|
-
super({ trail, skipped, context });
|
|
16
|
+
class OasUnion {
|
|
17
|
+
constructor({ fields }) {
|
|
20
18
|
Object.defineProperty(this, "oasType", {
|
|
21
19
|
enumerable: true,
|
|
22
20
|
configurable: true,
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
3
|
-
import type { CoreContext } from '../../context/CoreContext.js';
|
|
2
|
+
import type { ParseContext } from '../../context/ParseContext.js';
|
|
4
3
|
import { OasUnion } from './Union.js';
|
|
5
4
|
type ToUnionArgs = {
|
|
6
5
|
value: OpenAPIV3.SchemaObject;
|
|
7
6
|
members: (OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject)[];
|
|
8
|
-
|
|
9
|
-
context: CoreContext;
|
|
7
|
+
context: ParseContext;
|
|
10
8
|
};
|
|
11
|
-
export declare const toUnion: ({ value, members,
|
|
9
|
+
export declare const toUnion: ({ value, members, context }: ToUnionArgs) => OasUnion;
|
|
12
10
|
export {};
|
|
13
11
|
//# sourceMappingURL=toUnion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toUnion.d.ts","sourceRoot":"","sources":["../../../src/oas/union/toUnion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toUnion.d.ts","sourceRoot":"","sources":["../../../src/oas/union/toUnion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAoB,QAAQ,EAAE,MAAM,YAAY,CAAA;AAKvD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,CAAC,YAAY,CAAA;IAC7B,OAAO,EAAE,CAAC,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,YAAY,CAAC,EAAE,CAAA;IAC/D,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,OAAO,gCAAiC,WAAW,KAAG,QAkBlE,CAAA"}
|
|
@@ -4,23 +4,17 @@ exports.toUnion = void 0;
|
|
|
4
4
|
const Union_js_1 = require("./Union.js");
|
|
5
5
|
const toDiscriminatorV3_js_1 = require("../discriminator/toDiscriminatorV3.js");
|
|
6
6
|
const toSchemasV3_js_1 = require("../schema/toSchemasV3.js");
|
|
7
|
-
const
|
|
7
|
+
const tracer_js_1 = require("../../helpers/tracer.js");
|
|
8
|
+
const toUnion = ({ value, members, context }) => {
|
|
8
9
|
const { discriminator, title, description, nullable, ...skipped } = value;
|
|
10
|
+
context.logSkippedFields(skipped);
|
|
9
11
|
const fields = {
|
|
10
12
|
title,
|
|
11
13
|
description,
|
|
12
14
|
nullable,
|
|
13
|
-
discriminator: (0, toDiscriminatorV3_js_1.toDiscriminatorV3)({
|
|
14
|
-
|
|
15
|
-
trail: trail.add('oneOf').add('discriminator'),
|
|
16
|
-
context
|
|
17
|
-
}),
|
|
18
|
-
members: members.map((item, index) => (0, toSchemasV3_js_1.toSchemaV3)({
|
|
19
|
-
schema: item,
|
|
20
|
-
trail: trail.add('oneOf').add(`${index}`),
|
|
21
|
-
context
|
|
22
|
-
}))
|
|
15
|
+
discriminator: (0, tracer_js_1.tracer)(context, 'discriminator', () => (0, toDiscriminatorV3_js_1.toDiscriminatorV3)({ discriminator, context })),
|
|
16
|
+
members: members.map((schema, index) => (0, tracer_js_1.tracer)(context, index, () => (0, toSchemasV3_js_1.toSchemaV3)({ schema, context })))
|
|
23
17
|
};
|
|
24
|
-
return new Union_js_1.OasUnion({ fields
|
|
18
|
+
return new Union_js_1.OasUnion({ fields });
|
|
25
19
|
};
|
|
26
20
|
exports.toUnion = toUnion;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { OasBase } from '../../dsl/OasBase.js';
|
|
2
|
-
import type { Trail } from '../../context/Trail.js';
|
|
3
|
-
import type { CoreContext } from '../../context/CoreContext.js';
|
|
4
1
|
import type { OasRef } from '../ref/Ref.js';
|
|
5
2
|
export type UnknownFields = {
|
|
6
3
|
title?: string;
|
|
@@ -8,15 +5,12 @@ export type UnknownFields = {
|
|
|
8
5
|
};
|
|
9
6
|
type ToUnknownV3Args = {
|
|
10
7
|
fields: UnknownFields;
|
|
11
|
-
trail: Trail;
|
|
12
|
-
skipped: Record<string, unknown>;
|
|
13
|
-
context: CoreContext;
|
|
14
8
|
};
|
|
15
|
-
export declare class OasUnknown
|
|
9
|
+
export declare class OasUnknown {
|
|
16
10
|
#private;
|
|
17
11
|
oasType: 'schema';
|
|
18
12
|
type: 'unknown';
|
|
19
|
-
constructor({ fields
|
|
13
|
+
constructor({ fields }: ToUnknownV3Args);
|
|
20
14
|
get title(): string | undefined;
|
|
21
15
|
get description(): string | undefined;
|
|
22
16
|
isRef(): this is OasRef<'schema'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Unknown.d.ts","sourceRoot":"","sources":["../../../src/oas/unknown/Unknown.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Unknown.d.ts","sourceRoot":"","sources":["../../../src/oas/unknown/Unknown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,MAAM,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,qBAAa,UAAU;;IACrB,OAAO,EAAE,QAAQ,CAAW;IAC5B,IAAI,EAAE,SAAS,CAAY;gBAGf,EAAE,MAAM,EAAE,EAAE,eAAe;IAIvC,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,KAAK,IAAI,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC;IAIjC,OAAO,IAAI,UAAU;IAIrB,WAAW,IAAI,UAAU;CAG1B"}
|
|
@@ -13,10 +13,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
13
13
|
var _OasUnknown_fields;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.OasUnknown = void 0;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
constructor({ fields, trail, skipped, context }) {
|
|
19
|
-
super({ trail, skipped, context });
|
|
16
|
+
class OasUnknown {
|
|
17
|
+
constructor({ fields }) {
|
|
20
18
|
Object.defineProperty(this, "oasType", {
|
|
21
19
|
enumerable: true,
|
|
22
20
|
configurable: true,
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
3
|
-
import type { CoreContext } from '../../context/CoreContext.js';
|
|
2
|
+
import type { ParseContext } from '../../context/ParseContext.js';
|
|
4
3
|
import { OasUnknown } from './Unknown.js';
|
|
5
4
|
type ToUnknownArgs = {
|
|
6
5
|
value: OpenAPIV3.NonArraySchemaObject;
|
|
7
|
-
|
|
8
|
-
context: CoreContext;
|
|
6
|
+
context: ParseContext;
|
|
9
7
|
};
|
|
10
|
-
export declare const toUnknown: ({ value,
|
|
8
|
+
export declare const toUnknown: ({ value, context }: ToUnknownArgs) => OasUnknown;
|
|
11
9
|
export {};
|
|
12
10
|
//# sourceMappingURL=toUnknown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toUnknown.d.ts","sourceRoot":"","sources":["../../../src/oas/unknown/toUnknown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toUnknown.d.ts","sourceRoot":"","sources":["../../../src/oas/unknown/toUnknown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAsB,UAAU,EAAE,MAAM,cAAc,CAAA;AAE7D,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,SAAS,CAAC,oBAAoB,CAAA;IAErC,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,SAAS,uBAAwB,aAAa,KAAG,UAW7D,CAAA"}
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.toUnknown = void 0;
|
|
4
4
|
const Unknown_js_1 = require("./Unknown.js");
|
|
5
|
-
const toUnknown = ({ value,
|
|
5
|
+
const toUnknown = ({ value, context }) => {
|
|
6
6
|
const { type: _type, title, description, ...skipped } = value;
|
|
7
|
+
context.logSkippedFields(skipped);
|
|
7
8
|
const fields = {
|
|
8
9
|
title,
|
|
9
10
|
description
|
|
10
11
|
};
|
|
11
|
-
return new Unknown_js_1.OasUnknown({ fields
|
|
12
|
+
return new Unknown_js_1.OasUnknown({ fields });
|
|
12
13
|
};
|
|
13
14
|
exports.toUnknown = toUnknown;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { OasBase } from '../../dsl/OasBase.js';
|
|
2
|
-
import { Trail } from '../../context/Trail.js';
|
|
3
|
-
import type { CoreContext } from '../../context/CoreContext.js';
|
|
4
1
|
import type { OasRef } from '../ref/Ref.js';
|
|
5
2
|
export type VoidFields = {
|
|
6
3
|
title?: string;
|
|
@@ -8,16 +5,13 @@ export type VoidFields = {
|
|
|
8
5
|
};
|
|
9
6
|
type ToVoidV3Args = {
|
|
10
7
|
fields: VoidFields;
|
|
11
|
-
trail: Trail;
|
|
12
|
-
skipped: Record<string, unknown>;
|
|
13
|
-
context: CoreContext;
|
|
14
8
|
};
|
|
15
|
-
export declare class OasVoid
|
|
9
|
+
export declare class OasVoid {
|
|
16
10
|
#private;
|
|
17
11
|
oasType: 'schema';
|
|
18
12
|
type: 'void';
|
|
19
|
-
constructor({ fields
|
|
20
|
-
static empty(
|
|
13
|
+
constructor({ fields }: ToVoidV3Args);
|
|
14
|
+
static empty(): OasVoid;
|
|
21
15
|
get title(): string | undefined;
|
|
22
16
|
get description(): string | undefined;
|
|
23
17
|
isRef(): this is OasRef<'schema'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Void.d.ts","sourceRoot":"","sources":["../../../src/oas/void/Void.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Void.d.ts","sourceRoot":"","sources":["../../../src/oas/void/Void.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,KAAK,YAAY,GAAG;IAClB,MAAM,EAAE,UAAU,CAAA;CACnB,CAAA;AAED,qBAAa,OAAO;;IAClB,OAAO,EAAE,QAAQ,CAAW;IAC5B,IAAI,EAAE,MAAM,CAAS;gBAGT,EAAE,MAAM,EAAE,EAAE,YAAY;IAIpC,MAAM,CAAC,KAAK,IAAI,OAAO;IAMvB,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,KAAK,IAAI,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC;IAIjC,OAAO,IAAI,OAAO;IAIlB,WAAW,IAAI,OAAO;CAGvB"}
|
package/script/oas/void/Void.js
CHANGED
|
@@ -13,11 +13,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
13
13
|
var _OasVoid_fields;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.OasVoid = void 0;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class OasVoid extends OasBase_js_1.OasBase {
|
|
19
|
-
constructor({ fields, trail, skipped, context }) {
|
|
20
|
-
super({ trail, skipped, context });
|
|
16
|
+
class OasVoid {
|
|
17
|
+
constructor({ fields }) {
|
|
21
18
|
Object.defineProperty(this, "oasType", {
|
|
22
19
|
enumerable: true,
|
|
23
20
|
configurable: true,
|
|
@@ -33,12 +30,9 @@ class OasVoid extends OasBase_js_1.OasBase {
|
|
|
33
30
|
_OasVoid_fields.set(this, void 0);
|
|
34
31
|
__classPrivateFieldSet(this, _OasVoid_fields, fields, "f");
|
|
35
32
|
}
|
|
36
|
-
static empty(
|
|
33
|
+
static empty() {
|
|
37
34
|
return new OasVoid({
|
|
38
|
-
fields: {}
|
|
39
|
-
trail: new Trail_js_1.Trail(),
|
|
40
|
-
context,
|
|
41
|
-
skipped: {}
|
|
35
|
+
fields: {}
|
|
42
36
|
});
|
|
43
37
|
}
|
|
44
38
|
get title() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactRouterPathParams.d.ts","sourceRoot":"","sources":["../../src/typescript/ReactRouterPathParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,WAAW,CAAA;IACpB,YAAY,EAAE,YAAY,CAAA;IAC1B,SAAS,EAAE,YAAY,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,SAAS,EAAE,MAAM,CAAK;IAEtB,YAAY,EAAE,MAAM,CAAK;IAEzB,SAAS,EAAE,MAAM,CAAK;IAEtB,KAAK,EAAE,MAAM,EAAE,CAAA;gBAEH,EACV,OAAO,EACP,SAAS,EACT,YAAY,EACZ,eAAe,EAChB,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"ReactRouterPathParams.d.ts","sourceRoot":"","sources":["../../src/typescript/ReactRouterPathParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,WAAW,CAAA;IACpB,YAAY,EAAE,YAAY,CAAA;IAC1B,SAAS,EAAE,YAAY,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,SAAS,EAAE,MAAM,CAAK;IAEtB,YAAY,EAAE,MAAM,CAAK;IAEzB,SAAS,EAAE,MAAM,CAAK;IAEtB,KAAK,EAAE,MAAM,EAAE,CAAA;gBAEH,EACV,OAAO,EACP,SAAS,EACT,YAAY,EACZ,eAAe,EAChB,EAAE,UAAU;IA0Bb,QAAQ,IAAI,MAAM;CAGnB"}
|
|
@@ -29,7 +29,9 @@ class ReactRouterPathParams extends ValueBase_js_1.ValueBase {
|
|
|
29
29
|
writable: true,
|
|
30
30
|
value: void 0
|
|
31
31
|
});
|
|
32
|
-
const names = operation
|
|
32
|
+
const names = operation
|
|
33
|
+
.toParams(context.schemaModel, ['path'])
|
|
34
|
+
.map(param => param.name);
|
|
33
35
|
this.names = names;
|
|
34
36
|
if (names.length > 0) {
|
|
35
37
|
this.getParams = `const { ${names.join(', ')} } = useParams()`;
|
package/esm/dsl/OasBase.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Trail } from '../context/Trail.js';
|
|
2
|
-
import type { CoreContext } from '../context/CoreContext.js';
|
|
3
|
-
type OasBaseArgs = {
|
|
4
|
-
trail: Trail;
|
|
5
|
-
skipped: Record<string, unknown>;
|
|
6
|
-
context: CoreContext;
|
|
7
|
-
};
|
|
8
|
-
export declare class OasBase {
|
|
9
|
-
trail: Trail;
|
|
10
|
-
context: CoreContext;
|
|
11
|
-
constructor({ trail, context, skipped }: OasBaseArgs);
|
|
12
|
-
logSkippedFields(skipped: Record<string, unknown>): void;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=OasBase.d.ts.map
|