@skmtc/core 0.16.3 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/esm/anchors/buildSidecar.js +1 -1
- package/esm/anchors/postPass.d.ts +1 -1
- package/esm/anchors/postPass.js +1 -1
- package/esm/anchors/sidecar.d.ts +2 -2
- package/esm/anchors/sidecar.js +1 -1
- package/esm/context/CoreContext.d.ts +7 -1
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/CoreContext.js +17 -11
- package/esm/context/GenerateContext.d.ts +28 -7
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +164 -86
- package/esm/context/ParseContext.d.ts +16 -0
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/ParseContext.js +16 -0
- package/esm/context/ParseIssue.d.ts +1 -1
- package/esm/context/RenderContext.d.ts +2 -6
- package/esm/context/RenderContext.d.ts.map +1 -1
- package/esm/context/RenderContext.js +4 -14
- package/esm/context/generateTypes.d.ts +35 -8
- package/esm/context/generateTypes.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/fs/1.0.23 → esm/deps/jsr.io/@std/fs/1.0.24}/exists.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.14/_os.js +14 -0
- package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/posix/join.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/posix/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/windows/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/windows/join.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/windows/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.js +1 -1
- package/esm/dsl/CodeFileBase.d.ts +57 -24
- package/esm/dsl/CodeFileBase.d.ts.map +1 -1
- package/esm/dsl/CodeFileBase.js +35 -53
- package/esm/dsl/FileBase.d.ts +21 -25
- package/esm/dsl/FileBase.d.ts.map +1 -1
- package/esm/dsl/FileBase.js +20 -29
- package/esm/dsl/GeneratorKeys.d.ts +19 -19
- package/esm/dsl/GeneratorKeys.d.ts.map +1 -1
- package/esm/dsl/GeneratorKeys.js +6 -5
- package/esm/dsl/IdentifierBase.d.ts +19 -5
- package/esm/dsl/IdentifierBase.d.ts.map +1 -1
- package/esm/dsl/IdentifierBase.js +21 -5
- package/esm/dsl/IdentifierType.d.ts +8 -14
- package/esm/dsl/IdentifierType.d.ts.map +1 -1
- package/esm/dsl/Lang.d.ts +18 -38
- package/esm/dsl/Lang.d.ts.map +1 -1
- package/esm/dsl/MarkdownFile.d.ts +55 -0
- package/esm/dsl/MarkdownFile.d.ts.map +1 -0
- package/esm/dsl/MarkdownFile.js +58 -0
- package/esm/dsl/model/ModelDriver.d.ts +3 -1
- package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
- package/esm/dsl/model/ModelDriver.js +29 -2
- package/esm/dsl/model/toModelEntry.d.ts +24 -14
- package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
- package/esm/dsl/model/toModelEntry.js +7 -3
- package/esm/dsl/model/toModelProjectionBase.d.ts +31 -18
- package/esm/dsl/model/toModelProjectionBase.d.ts.map +1 -1
- package/esm/dsl/model/toModelProjectionBase.js +3 -3
- package/esm/dsl/model/types.d.ts +23 -27
- package/esm/dsl/model/types.d.ts.map +1 -1
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +3 -1
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -1
- package/esm/dsl/operation/gql/GqlOperationDriver.js +12 -9
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +20 -15
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -1
- package/esm/dsl/operation/gql/toGqlOperationEntry.js +3 -25
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +11 -10
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -1
- package/esm/dsl/operation/gql/types.d.ts +1 -28
- package/esm/dsl/operation/gql/types.d.ts.map +1 -1
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts +3 -1
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -1
- package/esm/dsl/operation/oas/OasOperationDriver.js +12 -9
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +21 -17
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -1
- package/esm/dsl/operation/oas/toOasOperationEntry.js +3 -32
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +11 -10
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -1
- package/esm/dsl/operation/oas/types.d.ts +1 -38
- package/esm/dsl/operation/oas/types.d.ts.map +1 -1
- package/esm/dsl/webhook/WebhookDriver.d.ts +3 -1
- package/esm/dsl/webhook/WebhookDriver.d.ts.map +1 -1
- package/esm/dsl/webhook/WebhookDriver.js +12 -9
- package/esm/dsl/webhook/toWebhookEntry.d.ts +21 -16
- package/esm/dsl/webhook/toWebhookEntry.d.ts.map +1 -1
- package/esm/dsl/webhook/toWebhookEntry.js +3 -32
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +11 -10
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -1
- package/esm/dsl/webhook/types.d.ts +1 -36
- package/esm/dsl/webhook/types.d.ts.map +1 -1
- package/esm/enrichments/toEnrichmentDescriptor.d.ts +72 -27
- package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +1 -1
- package/esm/enrichments/toEnrichmentDescriptor.js +57 -31
- package/esm/enrichments/validateConfig.d.ts +60 -0
- package/esm/enrichments/validateConfig.d.ts.map +1 -0
- package/esm/enrichments/validateConfig.js +176 -0
- package/esm/helpers/isImported.js +1 -1
- package/esm/helpers/toResolvedArtifactPath.js +1 -1
- package/esm/mod.d.ts +8 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +8 -1
- package/esm/oas/array/Array.d.ts +2 -0
- package/esm/oas/array/Array.d.ts.map +1 -1
- package/esm/oas/array/Array.js +4 -0
- package/esm/oas/boolean/Boolean.d.ts +3 -1
- package/esm/oas/boolean/Boolean.d.ts.map +1 -1
- package/esm/oas/boolean/Boolean.js +4 -0
- package/esm/oas/components/Components.d.ts +5 -0
- package/esm/oas/components/Components.d.ts.map +1 -1
- package/esm/oas/components/Components.js +6 -1
- package/esm/oas/integer/Integer.d.ts +3 -1
- package/esm/oas/integer/Integer.d.ts.map +1 -1
- package/esm/oas/integer/Integer.js +4 -0
- package/esm/oas/link/Link.d.ts +68 -0
- package/esm/oas/link/Link.d.ts.map +1 -0
- package/esm/oas/link/Link.js +107 -0
- package/esm/oas/number/Number.d.ts +3 -1
- package/esm/oas/number/Number.d.ts.map +1 -1
- package/esm/oas/number/Number.js +4 -0
- package/esm/oas/object/Object.d.ts +9 -0
- package/esm/oas/object/Object.d.ts.map +1 -1
- package/esm/oas/object/Object.js +14 -0
- package/esm/oas/operation/Operation.d.ts +15 -0
- package/esm/oas/operation/Operation.d.ts.map +1 -1
- package/esm/oas/operation/Operation.js +33 -0
- package/esm/oas/ref/Ref.d.ts +23 -1
- package/esm/oas/ref/Ref.d.ts.map +1 -1
- package/esm/oas/ref/Ref.js +32 -0
- package/esm/oas/ref/ref-types.d.ts +18 -1
- package/esm/oas/ref/ref-types.d.ts.map +1 -1
- package/esm/oas/ref/ref-types.js +12 -1
- package/esm/oas/response/Response.d.ts +4 -0
- package/esm/oas/response/Response.d.ts.map +1 -1
- package/esm/oas/response/Response.js +7 -0
- package/esm/oas/schemaPath/traverseSchema.d.ts +31 -0
- package/esm/oas/schemaPath/traverseSchema.d.ts.map +1 -0
- package/esm/oas/schemaPath/traverseSchema.js +113 -0
- package/esm/oas/string/String.d.ts +3 -1
- package/esm/oas/string/String.d.ts.map +1 -1
- package/esm/oas/string/String.js +4 -0
- package/esm/oas/union/Union.d.ts +9 -0
- package/esm/oas/union/Union.d.ts.map +1 -1
- package/esm/oas/union/Union.js +14 -0
- 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 +4 -0
- package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -1
- package/esm/parse/v3-0/_merge-all-of/decompose-union.js +8 -12
- package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -1
- package/esm/parse/v3-0/_merge-all-of/merge-union.js +0 -8
- package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +1 -1
- package/esm/parse/v3-0/components/toComponentsV3.js +3 -1
- package/esm/parse/v3-0/link/toLinksV3.d.ts +17 -0
- package/esm/parse/v3-0/link/toLinksV3.d.ts.map +1 -0
- package/esm/parse/v3-0/link/toLinksV3.js +40 -0
- package/esm/parse/v3-0/object/toObject.d.ts.map +1 -1
- package/esm/parse/v3-0/object/toObject.js +3 -1
- package/esm/parse/v3-0/response/toResponseV3.d.ts.map +1 -1
- package/esm/parse/v3-0/response/toResponseV3.js +4 -1
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/parse/v3-0/schema/toSchemasV3.js +8 -0
- package/esm/parse/v3-0/union/toUnion.d.ts.map +1 -1
- package/esm/parse/v3-0/union/toUnion.js +3 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -1
- package/esm/parse/v3-1/_merge-all-of/decompose-union.js +8 -12
- package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -1
- package/esm/parse/v3-1/_merge-all-of/merge-union.js +0 -8
- package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +1 -1
- package/esm/parse/v3-1/components/toComponentsV3.js +3 -1
- package/esm/parse/v3-1/link/toLinksV3.d.ts +17 -0
- package/esm/parse/v3-1/link/toLinksV3.d.ts.map +1 -0
- package/esm/parse/v3-1/link/toLinksV3.js +40 -0
- package/esm/parse/v3-1/object/toObject.d.ts.map +1 -1
- package/esm/parse/v3-1/object/toObject.js +3 -1
- package/esm/parse/v3-1/response/toResponseV3.d.ts.map +1 -1
- package/esm/parse/v3-1/response/toResponseV3.js +4 -1
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/parse/v3-1/schema/toSchemasV3.js +8 -0
- package/esm/parse/v3-1/union/toUnion.d.ts.map +1 -1
- package/esm/parse/v3-1/union/toUnion.js +3 -1
- package/esm/run/toArtifacts.d.ts +8 -1
- package/esm/run/toArtifacts.d.ts.map +1 -1
- package/esm/run/toArtifacts.js +5 -5
- package/esm/run/toInspection.d.ts +8 -0
- package/esm/run/toInspection.d.ts.map +1 -0
- package/esm/run/toInspection.js +78 -0
- package/esm/types/Enrichments.d.ts +19 -8
- package/esm/types/Enrichments.d.ts.map +1 -1
- package/esm/types/Enrichments.js +4 -3
- package/esm/types/GeneratorType.d.ts +5 -5
- package/esm/types/GeneratorType.d.ts.map +1 -1
- package/esm/types/Manifest.d.ts +1 -2
- package/esm/types/Manifest.d.ts.map +1 -1
- package/esm/types/Manifest.js +1 -2
- package/esm/types/ModuleSelect.d.ts +81 -0
- package/esm/types/ModuleSelect.d.ts.map +1 -0
- package/esm/types/ModuleSelect.js +63 -0
- package/esm/types/Preview.d.ts +4 -27
- package/esm/types/Preview.d.ts.map +1 -1
- package/esm/types/Preview.js +4 -25
- package/esm/types/SchemaPath.d.ts +17 -0
- package/esm/types/SchemaPath.d.ts.map +1 -0
- package/esm/types/SchemaPath.js +9 -0
- package/esm/types/Settings.d.ts +24 -3
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/Settings.js +20 -13
- package/esm/types/SkmtcDocument.d.ts +1 -1
- package/esm/types/SupportedSubjects.d.ts +1 -1
- package/package.json +1 -1
- package/script/anchors/buildSidecar.js +1 -1
- package/script/anchors/postPass.d.ts +1 -1
- package/script/anchors/postPass.js +1 -1
- package/script/anchors/sidecar.d.ts +2 -2
- package/script/anchors/sidecar.js +1 -1
- package/script/context/CoreContext.d.ts +7 -1
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/CoreContext.js +17 -11
- package/script/context/GenerateContext.d.ts +28 -7
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +164 -86
- package/script/context/ParseContext.d.ts +16 -0
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/ParseContext.js +16 -0
- package/script/context/ParseIssue.d.ts +1 -1
- package/script/context/RenderContext.d.ts +2 -6
- package/script/context/RenderContext.d.ts.map +1 -1
- package/script/context/RenderContext.js +4 -14
- package/script/context/generateTypes.d.ts +35 -8
- package/script/context/generateTypes.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/fs/1.0.23 → script/deps/jsr.io/@std/fs/1.0.24}/exists.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.js +7 -5
- package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.js +2 -2
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.js +2 -2
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/posix/join.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/posix/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/windows/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/windows/join.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/windows/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.js +1 -1
- package/script/dsl/CodeFileBase.d.ts +57 -24
- package/script/dsl/CodeFileBase.d.ts.map +1 -1
- package/script/dsl/CodeFileBase.js +37 -54
- package/script/dsl/FileBase.d.ts +21 -25
- package/script/dsl/FileBase.d.ts.map +1 -1
- package/script/dsl/FileBase.js +20 -29
- package/script/dsl/GeneratorKeys.d.ts +19 -19
- package/script/dsl/GeneratorKeys.d.ts.map +1 -1
- package/script/dsl/GeneratorKeys.js +6 -5
- package/script/dsl/IdentifierBase.d.ts +19 -5
- package/script/dsl/IdentifierBase.d.ts.map +1 -1
- package/script/dsl/IdentifierBase.js +21 -5
- package/script/dsl/IdentifierType.d.ts +8 -14
- package/script/dsl/IdentifierType.d.ts.map +1 -1
- package/script/dsl/Lang.d.ts +18 -38
- package/script/dsl/Lang.d.ts.map +1 -1
- package/script/dsl/MarkdownFile.d.ts +55 -0
- package/script/dsl/MarkdownFile.d.ts.map +1 -0
- package/script/dsl/MarkdownFile.js +62 -0
- package/script/dsl/model/ModelDriver.d.ts +3 -1
- package/script/dsl/model/ModelDriver.d.ts.map +1 -1
- package/script/dsl/model/ModelDriver.js +29 -2
- package/script/dsl/model/toModelEntry.d.ts +24 -14
- package/script/dsl/model/toModelEntry.d.ts.map +1 -1
- package/script/dsl/model/toModelEntry.js +7 -3
- package/script/dsl/model/toModelProjectionBase.d.ts +31 -18
- package/script/dsl/model/toModelProjectionBase.d.ts.map +1 -1
- package/script/dsl/model/toModelProjectionBase.js +3 -3
- package/script/dsl/model/types.d.ts +23 -27
- package/script/dsl/model/types.d.ts.map +1 -1
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts +3 -1
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -1
- package/script/dsl/operation/gql/GqlOperationDriver.js +12 -9
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +20 -15
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -1
- package/script/dsl/operation/gql/toGqlOperationEntry.js +3 -61
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +11 -10
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -1
- package/script/dsl/operation/gql/types.d.ts +1 -28
- package/script/dsl/operation/gql/types.d.ts.map +1 -1
- package/script/dsl/operation/oas/OasOperationDriver.d.ts +3 -1
- package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -1
- package/script/dsl/operation/oas/OasOperationDriver.js +12 -9
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts +21 -17
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -1
- package/script/dsl/operation/oas/toOasOperationEntry.js +3 -68
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +11 -10
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -1
- package/script/dsl/operation/oas/types.d.ts +1 -38
- package/script/dsl/operation/oas/types.d.ts.map +1 -1
- package/script/dsl/webhook/WebhookDriver.d.ts +3 -1
- package/script/dsl/webhook/WebhookDriver.d.ts.map +1 -1
- package/script/dsl/webhook/WebhookDriver.js +12 -9
- package/script/dsl/webhook/toWebhookEntry.d.ts +21 -16
- package/script/dsl/webhook/toWebhookEntry.d.ts.map +1 -1
- package/script/dsl/webhook/toWebhookEntry.js +3 -68
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts +11 -10
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -1
- package/script/dsl/webhook/types.d.ts +1 -36
- package/script/dsl/webhook/types.d.ts.map +1 -1
- package/script/enrichments/toEnrichmentDescriptor.d.ts +72 -27
- package/script/enrichments/toEnrichmentDescriptor.d.ts.map +1 -1
- package/script/enrichments/toEnrichmentDescriptor.js +57 -31
- package/script/enrichments/validateConfig.d.ts +60 -0
- package/script/enrichments/validateConfig.d.ts.map +1 -0
- package/script/enrichments/validateConfig.js +213 -0
- package/script/helpers/isImported.js +1 -1
- package/script/helpers/toResolvedArtifactPath.js +1 -1
- package/script/mod.d.ts +8 -1
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +8 -1
- package/script/oas/array/Array.d.ts +2 -0
- package/script/oas/array/Array.d.ts.map +1 -1
- package/script/oas/array/Array.js +4 -0
- package/script/oas/boolean/Boolean.d.ts +3 -1
- package/script/oas/boolean/Boolean.d.ts.map +1 -1
- package/script/oas/boolean/Boolean.js +4 -0
- package/script/oas/components/Components.d.ts +5 -0
- package/script/oas/components/Components.d.ts.map +1 -1
- package/script/oas/components/Components.js +6 -1
- package/script/oas/integer/Integer.d.ts +3 -1
- package/script/oas/integer/Integer.d.ts.map +1 -1
- package/script/oas/integer/Integer.js +4 -0
- package/script/oas/link/Link.d.ts +68 -0
- package/script/oas/link/Link.d.ts.map +1 -0
- package/script/oas/link/Link.js +111 -0
- package/script/oas/number/Number.d.ts +3 -1
- package/script/oas/number/Number.d.ts.map +1 -1
- package/script/oas/number/Number.js +4 -0
- package/script/oas/object/Object.d.ts +9 -0
- package/script/oas/object/Object.d.ts.map +1 -1
- package/script/oas/object/Object.js +14 -0
- package/script/oas/operation/Operation.d.ts +15 -0
- package/script/oas/operation/Operation.d.ts.map +1 -1
- package/script/oas/operation/Operation.js +33 -0
- package/script/oas/ref/Ref.d.ts +23 -1
- package/script/oas/ref/Ref.d.ts.map +1 -1
- package/script/oas/ref/Ref.js +32 -0
- package/script/oas/ref/ref-types.d.ts +18 -1
- package/script/oas/ref/ref-types.d.ts.map +1 -1
- package/script/oas/ref/ref-types.js +13 -2
- package/script/oas/response/Response.d.ts +4 -0
- package/script/oas/response/Response.d.ts.map +1 -1
- package/script/oas/response/Response.js +7 -0
- package/script/oas/schemaPath/traverseSchema.d.ts +31 -0
- package/script/oas/schemaPath/traverseSchema.d.ts.map +1 -0
- package/script/oas/schemaPath/traverseSchema.js +117 -0
- package/script/oas/string/String.d.ts +3 -1
- package/script/oas/string/String.d.ts.map +1 -1
- package/script/oas/string/String.js +4 -0
- package/script/oas/union/Union.d.ts +9 -0
- package/script/oas/union/Union.d.ts.map +1 -1
- package/script/oas/union/Union.js +14 -0
- 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 +4 -0
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -1
- package/script/parse/v3-0/_merge-all-of/decompose-union.js +8 -12
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -1
- package/script/parse/v3-0/_merge-all-of/merge-union.js +0 -8
- package/script/parse/v3-0/components/toComponentsV3.d.ts.map +1 -1
- package/script/parse/v3-0/components/toComponentsV3.js +3 -1
- package/script/parse/v3-0/link/toLinksV3.d.ts +17 -0
- package/script/parse/v3-0/link/toLinksV3.d.ts.map +1 -0
- package/script/parse/v3-0/link/toLinksV3.js +44 -0
- package/script/parse/v3-0/object/toObject.d.ts.map +1 -1
- package/script/parse/v3-0/object/toObject.js +3 -1
- package/script/parse/v3-0/response/toResponseV3.d.ts.map +1 -1
- package/script/parse/v3-0/response/toResponseV3.js +4 -1
- package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -1
- package/script/parse/v3-0/schema/toSchemasV3.js +8 -0
- package/script/parse/v3-0/union/toUnion.d.ts.map +1 -1
- package/script/parse/v3-0/union/toUnion.js +3 -1
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -1
- package/script/parse/v3-1/_merge-all-of/decompose-union.js +8 -12
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -1
- package/script/parse/v3-1/_merge-all-of/merge-union.js +0 -8
- package/script/parse/v3-1/components/toComponentsV3.d.ts.map +1 -1
- package/script/parse/v3-1/components/toComponentsV3.js +3 -1
- package/script/parse/v3-1/link/toLinksV3.d.ts +17 -0
- package/script/parse/v3-1/link/toLinksV3.d.ts.map +1 -0
- package/script/parse/v3-1/link/toLinksV3.js +44 -0
- package/script/parse/v3-1/object/toObject.d.ts.map +1 -1
- package/script/parse/v3-1/object/toObject.js +3 -1
- package/script/parse/v3-1/response/toResponseV3.d.ts.map +1 -1
- package/script/parse/v3-1/response/toResponseV3.js +4 -1
- package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -1
- package/script/parse/v3-1/schema/toSchemasV3.js +8 -0
- package/script/parse/v3-1/union/toUnion.d.ts.map +1 -1
- package/script/parse/v3-1/union/toUnion.js +3 -1
- package/script/run/toArtifacts.d.ts +8 -1
- package/script/run/toArtifacts.d.ts.map +1 -1
- package/script/run/toArtifacts.js +5 -5
- package/script/run/toInspection.d.ts +8 -0
- package/script/run/toInspection.d.ts.map +1 -0
- package/script/run/toInspection.js +82 -0
- package/script/types/Enrichments.d.ts +19 -8
- package/script/types/Enrichments.d.ts.map +1 -1
- package/script/types/Enrichments.js +5 -4
- package/script/types/GeneratorType.d.ts +5 -5
- package/script/types/GeneratorType.d.ts.map +1 -1
- package/script/types/Manifest.d.ts +1 -2
- package/script/types/Manifest.d.ts.map +1 -1
- package/script/types/Manifest.js +0 -1
- package/script/types/ModuleSelect.d.ts +81 -0
- package/script/types/ModuleSelect.d.ts.map +1 -0
- package/script/types/ModuleSelect.js +101 -0
- package/script/types/Preview.d.ts +4 -27
- package/script/types/Preview.d.ts.map +1 -1
- package/script/types/Preview.js +5 -26
- package/script/types/SchemaPath.d.ts +17 -0
- package/script/types/SchemaPath.d.ts.map +1 -0
- package/script/types/{AccessorPath.js → SchemaPath.js} +7 -7
- package/script/types/Settings.d.ts +24 -3
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/Settings.js +17 -10
- package/script/types/SkmtcDocument.d.ts +1 -1
- package/script/types/SupportedSubjects.d.ts +1 -1
- package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.13/_os.js +0 -12
- package/esm/types/AccessorPath.d.ts +0 -17
- package/esm/types/AccessorPath.d.ts.map +0 -1
- package/esm/types/AccessorPath.js +0 -9
- package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +0 -1
- package/script/types/AccessorPath.d.ts +0 -17
- package/script/types/AccessorPath.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.d.ts +0 -0
- /package/script/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.d.ts +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cycle-safe, depth-bounded serializer for the engine's live `inspectedFiles`
|
|
3
|
+
* graph — turns the real `File` / `Definition` / `Snippet` instances (with their
|
|
4
|
+
* Maps and Sets) into plain JSON a debugger UI or `skmtc inspect` can render
|
|
5
|
+
* generically, without the rendered text hiding the structure.
|
|
6
|
+
*
|
|
7
|
+
* Walks own enumerable properties (the leaf `toString` is non-enumerable, so it
|
|
8
|
+
* never appears), tags each instance with `__class`, and converts Maps/Sets to
|
|
9
|
+
* plain data. Omits `context` (the shared graph that would explode the output),
|
|
10
|
+
* `stackTrail`, and `captureSink` — pure noise on every node.
|
|
11
|
+
*
|
|
12
|
+
* Opt-in via `toArtifacts({ inspect: true })`; the pipeline is otherwise
|
|
13
|
+
* untouched.
|
|
14
|
+
*/
|
|
15
|
+
const OMIT_KEYS = new Set(['context', 'stackTrail', 'captureSink']);
|
|
16
|
+
const MAX_DEPTH = 8;
|
|
17
|
+
const MAX_STRING = 400;
|
|
18
|
+
const className = (value) => value.constructor?.name ?? 'Object';
|
|
19
|
+
const walk = (value, depth, seen) => {
|
|
20
|
+
if (value === null || value === undefined) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
if (typeof value === 'string') {
|
|
24
|
+
return value.length > MAX_STRING ? `${value.slice(0, MAX_STRING)}…` : value;
|
|
25
|
+
}
|
|
26
|
+
if (typeof value === 'number' || typeof value === 'boolean') {
|
|
27
|
+
return value;
|
|
28
|
+
}
|
|
29
|
+
if (typeof value === 'function') {
|
|
30
|
+
return `[Function ${value.name || 'anonymous'}]`;
|
|
31
|
+
}
|
|
32
|
+
if (typeof value !== 'object') {
|
|
33
|
+
return String(value);
|
|
34
|
+
}
|
|
35
|
+
if (seen.has(value)) {
|
|
36
|
+
return '[Circular]';
|
|
37
|
+
}
|
|
38
|
+
if (depth >= MAX_DEPTH) {
|
|
39
|
+
return `[${className(value)} …]`;
|
|
40
|
+
}
|
|
41
|
+
seen.add(value);
|
|
42
|
+
try {
|
|
43
|
+
if (value instanceof Map) {
|
|
44
|
+
const out = { __class: 'Map' };
|
|
45
|
+
for (const [key, val] of value) {
|
|
46
|
+
out[String(key)] = walk(val, depth + 1, seen);
|
|
47
|
+
}
|
|
48
|
+
return out;
|
|
49
|
+
}
|
|
50
|
+
if (value instanceof Set) {
|
|
51
|
+
return { __class: 'Set', values: [...value].map(item => walk(item, depth + 1, seen)) };
|
|
52
|
+
}
|
|
53
|
+
if (Array.isArray(value)) {
|
|
54
|
+
return value.map(item => walk(item, depth + 1, seen));
|
|
55
|
+
}
|
|
56
|
+
const out = {};
|
|
57
|
+
const cls = className(value);
|
|
58
|
+
if (cls !== 'Object') {
|
|
59
|
+
out.__class = cls;
|
|
60
|
+
}
|
|
61
|
+
for (const key of Object.keys(value)) {
|
|
62
|
+
if (OMIT_KEYS.has(key)) {
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
out[key] = walk(Reflect.get(value, key), depth + 1, seen);
|
|
66
|
+
}
|
|
67
|
+
return out;
|
|
68
|
+
}
|
|
69
|
+
finally {
|
|
70
|
+
seen.delete(value);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Serialize the live `inspectedFiles` map into a cycle-safe, depth-bounded plain
|
|
75
|
+
* JSON tree — the real object graph, not the rendered text. Consumed by
|
|
76
|
+
* `skmtc inspect` and the VS Code debugger views.
|
|
77
|
+
*/
|
|
78
|
+
export const toInspection = (files) => walk(files, 0, new Set());
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - **Models** are keyed by name (component schema name in OAS;
|
|
8
8
|
* registry-named type in GraphQL).
|
|
9
9
|
* - **OAS operations** are keyed by HTTP path → method.
|
|
10
|
-
* - **GraphQL operations** are keyed by root
|
|
10
|
+
* - **GraphQL operations** are keyed by root type → field name.
|
|
11
11
|
*
|
|
12
12
|
* The leaf at the bottom of each hierarchy is opaque to core — its
|
|
13
13
|
* shape is owned by the generator that consumes it. Each generator
|
|
@@ -59,14 +59,25 @@ export type EnrichmentLeaf = unknown;
|
|
|
59
59
|
export type ModelEnrichments = Record<string, EnrichmentLeaf>;
|
|
60
60
|
export declare const modelEnrichments: v.GenericSchema<ModelEnrichments>;
|
|
61
61
|
/**
|
|
62
|
-
* OAS
|
|
62
|
+
* OAS operation enrichments: HTTP method (`get`, `post`, ...) → leaf payload.
|
|
63
|
+
* One entry per operation defined at a path; the leaf is opaque to core.
|
|
63
64
|
*/
|
|
64
|
-
export type
|
|
65
|
-
export declare const
|
|
65
|
+
export type OasOperationEnrichments = Record<string, EnrichmentLeaf>;
|
|
66
|
+
export declare const oasOperationEnrichments: v.GenericSchema<OasOperationEnrichments>;
|
|
66
67
|
/**
|
|
67
|
-
* OAS
|
|
68
|
+
* OAS webhook enrichments: HTTP method (`get`, `post`, ...) → leaf payload.
|
|
69
|
+
* Structurally identical to {@link OasOperationEnrichments} — an OpenAPI 3.1
|
|
70
|
+
* webhook is a path-item keyed by method, the same shape as an operation — but
|
|
71
|
+
* named distinctly so a webhook generator's slot reads as webhook-scoped (the
|
|
72
|
+
* `webhook` subject type) rather than operation-scoped. The leaf is opaque to
|
|
73
|
+
* core.
|
|
68
74
|
*/
|
|
69
|
-
export type
|
|
75
|
+
export type OasWebhookEnrichments = Record<string, EnrichmentLeaf>;
|
|
76
|
+
export declare const oasWebhookEnrichments: v.GenericSchema<OasWebhookEnrichments>;
|
|
77
|
+
/**
|
|
78
|
+
* OAS path enrichments: path template → operation enrichments.
|
|
79
|
+
*/
|
|
80
|
+
export type OasPathEnrichments = Record<string, OasOperationEnrichments>;
|
|
70
81
|
export declare const oasPathEnrichments: v.GenericSchema<OasPathEnrichments>;
|
|
71
82
|
/**
|
|
72
83
|
* GraphQL field enrichments: root field name → leaf payload.
|
|
@@ -74,7 +85,7 @@ export declare const oasPathEnrichments: v.GenericSchema<OasPathEnrichments>;
|
|
|
74
85
|
export type GqlFieldEnrichments = Record<string, EnrichmentLeaf>;
|
|
75
86
|
export declare const gqlFieldEnrichments: v.GenericSchema<GqlFieldEnrichments>;
|
|
76
87
|
/**
|
|
77
|
-
* GraphQL root-
|
|
88
|
+
* GraphQL root-type enrichments: `query` / `mutation` / `subscription`
|
|
78
89
|
* → field enrichments.
|
|
79
90
|
*/
|
|
80
91
|
export type GqlRootKindEnrichments = Record<string, GqlFieldEnrichments>;
|
|
@@ -107,7 +118,7 @@ export declare const isReservedEnrichmentKey: (key: string) => boolean;
|
|
|
107
118
|
* Top-level enrichments: generator id → hierarchy, plus the reserved
|
|
108
119
|
* `_stack` key (stack-scoped leaf). Each generator's slot is one of
|
|
109
120
|
* three structurally-distinct hierarchies depending on the generator's
|
|
110
|
-
* entry
|
|
121
|
+
* entry type:
|
|
111
122
|
* - `ModelEnrichments` for `toModelEntry`
|
|
112
123
|
* - `OasPathEnrichments` for `toOasOperationEntry`
|
|
113
124
|
* - `GqlRootKindEnrichments` for `toGqlOperationEntry`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Enrichments.d.ts","sourceRoot":"","sources":["../../src/types/Enrichments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAA;AAEpC;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAE7D,eAAO,MAAM,gBAAgB,EAAE,CAAC,CAAC,aAAa,CAAC,gBAAgB,CAAqC,CAAA;AAEpG
|
|
1
|
+
{"version":3,"file":"Enrichments.d.ts","sourceRoot":"","sources":["../../src/types/Enrichments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAA;AAEpC;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAE7D,eAAO,MAAM,gBAAgB,EAAE,CAAC,CAAC,aAAa,CAAC,gBAAgB,CAAqC,CAAA;AAEpG;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,CA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gB,GAAG;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,WAAW,CAAC,OAAO,GAAG,SAAS,EAAE,SAAS,GAAG,SAAS,EAAE,KAAK,GAAG,SAAS,IAAI;IACvF,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,KAAK,CAAA;CACb,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,aAAa,CAAC,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,CAK5F,CAAA;AAEJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
package/esm/types/Enrichments.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - **Models** are keyed by name (component schema name in OAS;
|
|
8
8
|
* registry-named type in GraphQL).
|
|
9
9
|
* - **OAS operations** are keyed by HTTP path → method.
|
|
10
|
-
* - **GraphQL operations** are keyed by root
|
|
10
|
+
* - **GraphQL operations** are keyed by root type → field name.
|
|
11
11
|
*
|
|
12
12
|
* The leaf at the bottom of each hierarchy is opaque to core — its
|
|
13
13
|
* shape is owned by the generator that consumes it. Each generator
|
|
@@ -45,8 +45,9 @@
|
|
|
45
45
|
import "../_dnt.polyfills.js";
|
|
46
46
|
import * as v from 'valibot';
|
|
47
47
|
export const modelEnrichments = v.record(v.string(), v.unknown());
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
48
|
+
export const oasOperationEnrichments = v.record(v.string(), v.unknown());
|
|
49
|
+
export const oasWebhookEnrichments = v.record(v.string(), v.unknown());
|
|
50
|
+
export const oasPathEnrichments = v.record(v.string(), oasOperationEnrichments);
|
|
50
51
|
export const gqlFieldEnrichments = v.record(v.string(), v.unknown());
|
|
51
52
|
export const gqlRootKindEnrichments = v.record(v.string(), gqlFieldEnrichments);
|
|
52
53
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
1
|
+
import type { OasOperationEntry } from '../dsl/operation/oas/toOasOperationEntry.js';
|
|
2
|
+
import type { WebhookEntry } from '../dsl/webhook/toWebhookEntry.js';
|
|
3
|
+
import type { GqlOperationEntry } from '../dsl/operation/gql/toGqlOperationEntry.js';
|
|
4
|
+
import type { ModelEntry } from '../dsl/model/toModelEntry.js';
|
|
5
5
|
/**
|
|
6
6
|
* Discriminated union of every generator configuration the dispatcher
|
|
7
7
|
* recognizes. The `type` field discriminates the variant — `'oasOperation'`
|
|
@@ -48,7 +48,7 @@ import type { ModelConfig } from '../dsl/model/types.js';
|
|
|
48
48
|
* // modelEntry.type === 'model'
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
|
-
export type GeneratorConfig<EnrichmentType = undefined> =
|
|
51
|
+
export type GeneratorConfig<EnrichmentType = undefined> = OasOperationEntry<EnrichmentType> | WebhookEntry<EnrichmentType> | GqlOperationEntry<EnrichmentType> | ModelEntry<EnrichmentType>;
|
|
52
52
|
/**
|
|
53
53
|
* A name → generator-config map. Keys are arbitrary generator
|
|
54
54
|
* identifiers (the same string a caller might pass to `--skip` etc.);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneratorType.d.ts","sourceRoot":"","sources":["../../src/types/GeneratorType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"GeneratorType.d.ts","sourceRoot":"","sources":["../../src/types/GeneratorType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAM,MAAM,eAAe,CAAC,cAAc,GAAG,SAAS,IAClD,iBAAiB,CAAC,cAAc,CAAC,GACjC,YAAY,CAAC,cAAc,CAAC,GAC5B,iBAAiB,CAAC,cAAc,CAAC,GACjC,UAAU,CAAC,cAAc,CAAC,CAAA;AAE9B;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,sBAAsB,CAAC,cAAc,GAAG,SAAS,IAAI,MAAM,CACrE,MAAM,EACN,eAAe,CAAC,cAAc,CAAC,CAChC,CAAA"}
|
package/esm/types/Manifest.d.ts
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
*/
|
|
73
73
|
import "../_dnt.polyfills.js";
|
|
74
74
|
import { type ResultsItem } from './Results.js';
|
|
75
|
-
import { type Preview
|
|
75
|
+
import { type Preview } from './Preview.js';
|
|
76
76
|
import type { ParseIssue } from '../context/ParseIssue.js';
|
|
77
77
|
import * as v from 'valibot';
|
|
78
78
|
export type ManifestEntry = {
|
|
@@ -93,7 +93,6 @@ export type ManifestContent = {
|
|
|
93
93
|
region?: string;
|
|
94
94
|
files: Record<string, ManifestEntry>;
|
|
95
95
|
previews: Record<string, Preview>;
|
|
96
|
-
mappings?: Record<string, Mapping>;
|
|
97
96
|
results: ResultsItem;
|
|
98
97
|
/**
|
|
99
98
|
* Issues recorded during the parse phase — both protocol-agnostic
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Manifest.d.ts","sourceRoot":"","sources":["../../src/types/Manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,O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;IACH,WAAW,EAAE,UAAU,EAAE,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,aAAa,CAAC,eAAe,CAW3D,CAAA"}
|
package/esm/types/Manifest.js
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
*/
|
|
73
73
|
import "../_dnt.polyfills.js";
|
|
74
74
|
import { resultsItem } from './Results.js';
|
|
75
|
-
import { preview
|
|
75
|
+
import { preview } from './Preview.js';
|
|
76
76
|
import { oasIssueType } from '../context/generateTypes.js';
|
|
77
77
|
import { gqlIssueType } from '../context/ParseIssue.js';
|
|
78
78
|
import * as v from 'valibot';
|
|
@@ -149,7 +149,6 @@ export const manifestContent = v.object({
|
|
|
149
149
|
region: v.optional(v.string()),
|
|
150
150
|
files: v.record(v.string(), manifestEntry),
|
|
151
151
|
previews: v.record(v.string(), preview),
|
|
152
|
-
mappings: v.optional(v.record(v.string(), mapping)),
|
|
153
152
|
results: resultsItem,
|
|
154
153
|
parseIssues: v.array(parseIssue),
|
|
155
154
|
startAt: v.number(),
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { type ModuleExport } from './ModuleExport.js';
|
|
3
|
+
import { type SchemaPath } from './SchemaPath.js';
|
|
4
|
+
/**
|
|
5
|
+
* One field binding: WHERE in the subject's data shape the field lives
|
|
6
|
+
* (`schemaPath`) and — optionally — WHICH consumer component renders it
|
|
7
|
+
* (`module`). The two are one unit by construction, asymmetrically:
|
|
8
|
+
* a component can never be stored without the path that gives it a type
|
|
9
|
+
* (which is what lets the editor's type-aware matcher verify the pair
|
|
10
|
+
* before it is ever written), while a path WITHOUT a component is the
|
|
11
|
+
* everyday "use the generator's default rendering" state — it's how
|
|
12
|
+
* schema-seeded fields start out, and how label/order overrides are
|
|
13
|
+
* expressed for fields that need no custom input.
|
|
14
|
+
*
|
|
15
|
+
* Stored in `client.json` under the literal key `moduleSelect`:
|
|
16
|
+
*
|
|
17
|
+
* ```jsonc
|
|
18
|
+
* {
|
|
19
|
+
* "moduleSelect": {
|
|
20
|
+
* "schemaPath": ["RequestBody", "officeIds"],
|
|
21
|
+
* "module": { "exportName": "OfficesMultiSelectField", "exportPath": "@/inputs/OfficesMultiSelectField.generated.tsx" }
|
|
22
|
+
* },
|
|
23
|
+
* "label": "Offices"
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export type ModuleSelect = {
|
|
28
|
+
/** Path into the subject's data shape: a target token (`RequestBody` /
|
|
29
|
+
* `SuccessResponse` / `Model`) followed by property names. */
|
|
30
|
+
schemaPath: SchemaPath;
|
|
31
|
+
/** The consumer component bound to that field; absent = the generator's
|
|
32
|
+
* default rendering for the field's type. */
|
|
33
|
+
module?: ModuleExport;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The standard lens/input module type: a candidate module fits a field when
|
|
37
|
+
* it accepts `{ lens: Lens<Normalize<FieldType>> }` (react-hook-form lenses).
|
|
38
|
+
* `__SlotNormalize` mirrors what generated form code does with
|
|
39
|
+
* `lens.focus(path).defined()` — optional/nullable wrappers are stripped on
|
|
40
|
+
* primitives and made recursively optional on objects — so an optional
|
|
41
|
+
* `string | undefined` field still matches a `Lens<string>` input.
|
|
42
|
+
*
|
|
43
|
+
* Pass as `moduleSelect(lensInputModuleType)`. Generators with a custom
|
|
44
|
+
* binding (e.g. a table cell renderer taking `{ value: F }`) declare their
|
|
45
|
+
* own `export type XModule<F> = …` source instead.
|
|
46
|
+
*/
|
|
47
|
+
export declare const lensInputModuleType: string;
|
|
48
|
+
/**
|
|
49
|
+
* Declare a `moduleSelect` enrichment field: the `{ schemaPath, module? }`
|
|
50
|
+
* binding validated as one value. The enrichment editor renders it as a
|
|
51
|
+
* single composite control (path picker + type-matched component picker,
|
|
52
|
+
* the component gated on the path), and `toEnrichmentDescriptor` projects
|
|
53
|
+
* it as `type: 'moduleSelect'` carrying the declared `moduleType`.
|
|
54
|
+
*
|
|
55
|
+
* `moduleType` is the TypeScript source of the contract a chosen module
|
|
56
|
+
* must satisfy for the field — a single `export type XModule<F> = …` the
|
|
57
|
+
* editor's matcher checks candidates against
|
|
58
|
+
* (`typeof Candidate extends XModule<FieldType>`). It is a required part of
|
|
59
|
+
* the declaration, so the contract is always explicit — there is no hidden
|
|
60
|
+
* editor-side default. For the common lens/input case pass
|
|
61
|
+
* {@link lensInputModuleType}; only generators with a genuinely custom
|
|
62
|
+
* binding write their own source.
|
|
63
|
+
*
|
|
64
|
+
* ```ts
|
|
65
|
+
* import { lensInputModuleType, moduleSelect } from '@skmtc/core'
|
|
66
|
+
*
|
|
67
|
+
* export const formFieldItem = v.object({
|
|
68
|
+
* moduleSelect: v.optional(v.pipe(moduleSelect(lensInputModuleType), v.title('Input'))),
|
|
69
|
+
* label: v.optional(v.string())
|
|
70
|
+
* })
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare const moduleSelect: (moduleType: string) => v.GenericSchema<ModuleSelect>;
|
|
74
|
+
/**
|
|
75
|
+
* The module type a schema was declared with, or `undefined` when the schema
|
|
76
|
+
* is not a {@link moduleSelect}. Callers pass the schema as observed at
|
|
77
|
+
* runtime (the descriptor walker's structural view), so the parameter is
|
|
78
|
+
* deliberately `unknown`.
|
|
79
|
+
*/
|
|
80
|
+
export declare const moduleTypeOf: (schema: unknown) => string | undefined;
|
|
81
|
+
//# sourceMappingURL=ModuleSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModuleSelect.d.ts","sourceRoot":"","sources":["../../src/types/ModuleSelect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;mEAC+D;IAC/D,UAAU,EAAE,UAAU,CAAA;IACtB;kDAC8C;IAC9C,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAGkD,CAAA;AAOpF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,YAAY,GAAI,YAAY,MAAM,KAAG,CAAC,CAAC,aAAa,CAAC,YAAY,CAO7E,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,OAAO,KAAG,MAAM,GAAG,SAC6B,CAAA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { moduleExport } from './ModuleExport.js';
|
|
3
|
+
import { schemaPath } from './SchemaPath.js';
|
|
4
|
+
/**
|
|
5
|
+
* The standard lens/input module type: a candidate module fits a field when
|
|
6
|
+
* it accepts `{ lens: Lens<Normalize<FieldType>> }` (react-hook-form lenses).
|
|
7
|
+
* `__SlotNormalize` mirrors what generated form code does with
|
|
8
|
+
* `lens.focus(path).defined()` — optional/nullable wrappers are stripped on
|
|
9
|
+
* primitives and made recursively optional on objects — so an optional
|
|
10
|
+
* `string | undefined` field still matches a `Lens<string>` input.
|
|
11
|
+
*
|
|
12
|
+
* Pass as `moduleSelect(lensInputModuleType)`. Generators with a custom
|
|
13
|
+
* binding (e.g. a table cell renderer taking `{ value: F }`) declare their
|
|
14
|
+
* own `export type XModule<F> = …` source instead.
|
|
15
|
+
*/
|
|
16
|
+
export const lensInputModuleType = `import type { Lens } from '@hookform/lenses'
|
|
17
|
+
type __SlotPrimitive = string | number | boolean | bigint | symbol | null | undefined | Date
|
|
18
|
+
type __SlotNormalize<T> = [T] extends [__SlotPrimitive] ? NonNullable<T> : T extends ReadonlyArray<infer U> ? Array<__SlotNormalize<U>> : { [K in keyof T]?: __SlotNormalize<NonNullable<T[K]>> }
|
|
19
|
+
export type InputModule<F> = (props: { lens: Lens<__SlotNormalize<F>> }) => unknown`;
|
|
20
|
+
// Factory-created schemas can't be reference-compared to a singleton (unlike
|
|
21
|
+
// `moduleExport`), so the descriptor walker recognises them — and reads their
|
|
22
|
+
// declared module type — through this registry.
|
|
23
|
+
const moduleTypes = new WeakMap();
|
|
24
|
+
/**
|
|
25
|
+
* Declare a `moduleSelect` enrichment field: the `{ schemaPath, module? }`
|
|
26
|
+
* binding validated as one value. The enrichment editor renders it as a
|
|
27
|
+
* single composite control (path picker + type-matched component picker,
|
|
28
|
+
* the component gated on the path), and `toEnrichmentDescriptor` projects
|
|
29
|
+
* it as `type: 'moduleSelect'` carrying the declared `moduleType`.
|
|
30
|
+
*
|
|
31
|
+
* `moduleType` is the TypeScript source of the contract a chosen module
|
|
32
|
+
* must satisfy for the field — a single `export type XModule<F> = …` the
|
|
33
|
+
* editor's matcher checks candidates against
|
|
34
|
+
* (`typeof Candidate extends XModule<FieldType>`). It is a required part of
|
|
35
|
+
* the declaration, so the contract is always explicit — there is no hidden
|
|
36
|
+
* editor-side default. For the common lens/input case pass
|
|
37
|
+
* {@link lensInputModuleType}; only generators with a genuinely custom
|
|
38
|
+
* binding write their own source.
|
|
39
|
+
*
|
|
40
|
+
* ```ts
|
|
41
|
+
* import { lensInputModuleType, moduleSelect } from '@skmtc/core'
|
|
42
|
+
*
|
|
43
|
+
* export const formFieldItem = v.object({
|
|
44
|
+
* moduleSelect: v.optional(v.pipe(moduleSelect(lensInputModuleType), v.title('Input'))),
|
|
45
|
+
* label: v.optional(v.string())
|
|
46
|
+
* })
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export const moduleSelect = (moduleType) => {
|
|
50
|
+
const schema = v.object({
|
|
51
|
+
schemaPath,
|
|
52
|
+
module: v.optional(moduleExport)
|
|
53
|
+
});
|
|
54
|
+
moduleTypes.set(schema, moduleType);
|
|
55
|
+
return schema;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* The module type a schema was declared with, or `undefined` when the schema
|
|
59
|
+
* is not a {@link moduleSelect}. Callers pass the schema as observed at
|
|
60
|
+
* runtime (the descriptor walker's structural view), so the parameter is
|
|
61
|
+
* deliberately `unknown`.
|
|
62
|
+
*/
|
|
63
|
+
export const moduleTypeOf = (schema) => typeof schema === 'object' && schema !== null ? moduleTypes.get(schema) : undefined;
|
package/esm/types/Preview.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @fileoverview Preview
|
|
2
|
+
* @fileoverview Preview System for SKMTC Core
|
|
3
3
|
*
|
|
4
|
-
* Types and Valibot schemas for the preview
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* descriptor so tooling can trace generated code back to its origin in the
|
|
4
|
+
* Types and Valibot schemas for the preview system. Generators may emit a
|
|
5
|
+
* {@link PreviewModule} per operation or model; the dispatcher pairs each
|
|
6
|
+
* module with a `*Source` descriptor so tooling can trace generated code back to its origin in the
|
|
8
7
|
* source schema.
|
|
9
8
|
*
|
|
10
9
|
* ## Source descriptors
|
|
@@ -117,19 +116,10 @@ export type PreviewModule = {
|
|
|
117
116
|
name: string;
|
|
118
117
|
exportPath: string;
|
|
119
118
|
};
|
|
120
|
-
export type MappingModule = {
|
|
121
|
-
name: string;
|
|
122
|
-
exportPath: string;
|
|
123
|
-
schema: string;
|
|
124
|
-
};
|
|
125
119
|
export type Preview = {
|
|
126
120
|
module: PreviewModule;
|
|
127
121
|
source: OasOperationSource | WebhookSource | GqlOperationSource | ModelSource;
|
|
128
122
|
};
|
|
129
|
-
export type Mapping = {
|
|
130
|
-
module: MappingModule;
|
|
131
|
-
source: OasOperationSource | WebhookSource | GqlOperationSource | ModelSource;
|
|
132
|
-
};
|
|
133
123
|
/**
|
|
134
124
|
* Valibot schema for validating OAS operation source objects.
|
|
135
125
|
*
|
|
@@ -184,23 +174,10 @@ export declare const modelSource: v.ObjectSchema<{
|
|
|
184
174
|
* Validates preview module structures: name, export path, and group.
|
|
185
175
|
*/
|
|
186
176
|
export declare const previewModule: v.GenericSchema<PreviewModule>;
|
|
187
|
-
/**
|
|
188
|
-
* Valibot schema for validating mapping module objects.
|
|
189
|
-
*
|
|
190
|
-
* Validates mapping module structures: name, export path, group, item type
|
|
191
|
-
* (`'input'` | `'formatter'`), and schema reference.
|
|
192
|
-
*/
|
|
193
|
-
export declare const mappingModule: v.GenericSchema<MappingModule>;
|
|
194
177
|
/**
|
|
195
178
|
* Valibot schema for validating preview objects.
|
|
196
179
|
*
|
|
197
180
|
* Validates complete preview structures including module and source information.
|
|
198
181
|
*/
|
|
199
182
|
export declare const preview: v.GenericSchema<Preview>;
|
|
200
|
-
/**
|
|
201
|
-
* Valibot schema for validating mapping objects.
|
|
202
|
-
*
|
|
203
|
-
* Validates complete mapping structures including module and source information.
|
|
204
|
-
*/
|
|
205
|
-
export declare const mapping: v.GenericSchema<Mapping>;
|
|
206
183
|
//# sourceMappingURL=Preview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../src/types/Preview.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../src/types/Preview.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,EAAU,KAAK,MAAM,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,cAAc,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB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ACtC;IACE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;IAClD,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;IAC/C,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;IAC3C,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;CAC5C,EACD,SAAS,CAMT,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,aAAa,CAAC,aAAa,CAGvD,CAAA;AAQF;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,CAG3C,CAAA"}
|
package/esm/types/Preview.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @fileoverview Preview
|
|
2
|
+
* @fileoverview Preview System for SKMTC Core
|
|
3
3
|
*
|
|
4
|
-
* Types and Valibot schemas for the preview
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* descriptor so tooling can trace generated code back to its origin in the
|
|
4
|
+
* Types and Valibot schemas for the preview system. Generators may emit a
|
|
5
|
+
* {@link PreviewModule} per operation or model; the dispatcher pairs each
|
|
6
|
+
* module with a `*Source` descriptor so tooling can trace generated code back to its origin in the
|
|
8
7
|
* source schema.
|
|
9
8
|
*
|
|
10
9
|
* ## Source descriptors
|
|
@@ -117,17 +116,6 @@ export const previewModule = v.object({
|
|
|
117
116
|
name: v.string(),
|
|
118
117
|
exportPath: v.string()
|
|
119
118
|
});
|
|
120
|
-
/**
|
|
121
|
-
* Valibot schema for validating mapping module objects.
|
|
122
|
-
*
|
|
123
|
-
* Validates mapping module structures: name, export path, group, item type
|
|
124
|
-
* (`'input'` | `'formatter'`), and schema reference.
|
|
125
|
-
*/
|
|
126
|
-
export const mappingModule = v.object({
|
|
127
|
-
name: v.string(),
|
|
128
|
-
exportPath: v.string(),
|
|
129
|
-
schema: v.string()
|
|
130
|
-
});
|
|
131
119
|
const source = v.variant('type', [oasOperationSource, gqlOperationSource, modelSource]);
|
|
132
120
|
/**
|
|
133
121
|
* Valibot schema for validating preview objects.
|
|
@@ -138,12 +126,3 @@ export const preview = v.object({
|
|
|
138
126
|
module: previewModule,
|
|
139
127
|
source: source
|
|
140
128
|
});
|
|
141
|
-
/**
|
|
142
|
-
* Valibot schema for validating mapping objects.
|
|
143
|
-
*
|
|
144
|
-
* Validates complete mapping structures including module and source information.
|
|
145
|
-
*/
|
|
146
|
-
export const mapping = v.object({
|
|
147
|
-
module: mappingModule,
|
|
148
|
-
source: source
|
|
149
|
-
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
/**
|
|
3
|
+
* A path of property names into a parsed schema document — e.g.
|
|
4
|
+
* `['customer', 'primaryAddress', 'type']` to reach the nested
|
|
5
|
+
* `type` property. Generators that overlay per-field enrichments
|
|
6
|
+
* key those overlays by schema path.
|
|
7
|
+
*/
|
|
8
|
+
export type SchemaPath = string[];
|
|
9
|
+
/**
|
|
10
|
+
* Canonical Valibot schema for an `SchemaPath`. There is deliberately no
|
|
11
|
+
* standalone path-picker widget: a path is declared together with its
|
|
12
|
+
* component binding as one `moduleSelect` field (this schema is the
|
|
13
|
+
* `schemaPath` half of that pair). Used standalone it renders as a generic
|
|
14
|
+
* array of strings.
|
|
15
|
+
*/
|
|
16
|
+
export declare const schemaPath: v.GenericSchema<SchemaPath>;
|
|
17
|
+
//# sourceMappingURL=SchemaPath.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchemaPath.d.ts","sourceRoot":"","sources":["../../src/types/SchemaPath.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,EAAE,CAAA;AAEjC;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,CAAC,CAAC,aAAa,CAAC,UAAU,CAAuB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
/**
|
|
3
|
+
* Canonical Valibot schema for an `SchemaPath`. There is deliberately no
|
|
4
|
+
* standalone path-picker widget: a path is declared together with its
|
|
5
|
+
* component binding as one `moduleSelect` field (this schema is the
|
|
6
|
+
* `schemaPath` half of that pair). Used standalone it renders as a generic
|
|
7
|
+
* array of strings.
|
|
8
|
+
*/
|
|
9
|
+
export const schemaPath = v.array(v.string());
|
package/esm/types/Settings.d.ts
CHANGED
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
* @module Settings
|
|
50
50
|
*/
|
|
51
51
|
import "../_dnt.polyfills.js";
|
|
52
|
-
import { type GeneratorEnrichments } from
|
|
53
|
-
import * as v from
|
|
54
|
-
import { type Method } from
|
|
52
|
+
import { type GeneratorEnrichments } from "./Enrichments.js";
|
|
53
|
+
import * as v from "valibot";
|
|
54
|
+
import { type Method } from "./Method.js";
|
|
55
55
|
/**
|
|
56
56
|
* Valibot schema for {@link ModulePackage}.
|
|
57
57
|
*
|
|
@@ -430,6 +430,13 @@ export type ClientSettings = {
|
|
|
430
430
|
* in v1. See {@link AnchorsSettings}.
|
|
431
431
|
*/
|
|
432
432
|
anchors?: AnchorsSettings;
|
|
433
|
+
/**
|
|
434
|
+
* Preview input-matcher discovery directories (project-root relative, e.g.
|
|
435
|
+
* `src/fields`, `src/inputs`). A preview/hub concern: the generation engine
|
|
436
|
+
* ignores it. Declared here so the CLI preserves it when reading `client.json`
|
|
437
|
+
* and carries it through `skmtc push` to the hub.
|
|
438
|
+
*/
|
|
439
|
+
inputDirs?: string[];
|
|
433
440
|
};
|
|
434
441
|
/**
|
|
435
442
|
* Configuration for SKMTC client with optional project identification.
|
|
@@ -442,6 +449,20 @@ export type SkmtcClientConfig = {
|
|
|
442
449
|
serverUrl?: string;
|
|
443
450
|
/** Optional project identifier for organizational contexts */
|
|
444
451
|
projectKey?: string;
|
|
452
|
+
/**
|
|
453
|
+
* skmtc-hub push destination in `@<account>/<slug>` form (the account may be
|
|
454
|
+
* a user or an org) — the `skmtc push` target, analogous to a git remote.
|
|
455
|
+
* Ignored by `skmtc generate`; consumed only by `skmtc push`.
|
|
456
|
+
*/
|
|
457
|
+
project?: string;
|
|
458
|
+
/**
|
|
459
|
+
* skmtc-hub API binding in `@<account>/<slug>` form — the registered schema
|
|
460
|
+
* this project's `source` maps to on the hub, analogous to a git remote.
|
|
461
|
+
* Recorded by `skmtc project create` (the schema-register write-back) so a
|
|
462
|
+
* re-run versions the same API instead of creating a duplicate. Ignored by
|
|
463
|
+
* `skmtc generate`.
|
|
464
|
+
*/
|
|
465
|
+
api?: string;
|
|
445
466
|
/** Optional schema path or url for OpenAPI schema */
|
|
446
467
|
source?: string;
|
|
447
468
|
/** Client settings for customizing generation behavior */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,
|
|
1
|
+
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,KAAK,MAAM,EAAU,MAAM,aAAa,CAAC;AAUlD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,EAAE,CAAC,C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