@skmtc/core 0.16.2 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/context/GenerateContext.d.ts +3 -3
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +45 -32
- package/esm/context/ParseContext.d.ts +16 -0
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/ParseContext.js +26 -0
- package/esm/context/ParseIssue.d.ts +24 -4
- package/esm/context/ParseIssue.d.ts.map +1 -1
- package/esm/context/ParseIssue.js +12 -4
- package/esm/context/parseTypes.d.ts +23 -1
- package/esm/context/parseTypes.d.ts.map +1 -1
- package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
- package/esm/dsl/model/ModelDriver.js +29 -0
- package/esm/dsl/model/toModelEntry.d.ts +9 -3
- package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
- package/esm/dsl/model/toModelEntry.js +29 -1
- package/esm/dsl/model/toModelProjectionBase.d.ts +16 -3
- 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 +46 -0
- package/esm/dsl/model/types.d.ts.map +1 -1
- package/esm/dsl/operation/gql/types.d.ts +6 -1
- package/esm/dsl/operation/gql/types.d.ts.map +1 -1
- package/esm/dsl/operation/oas/types.d.ts +6 -1
- package/esm/dsl/operation/oas/types.d.ts.map +1 -1
- 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/mod.d.ts +1 -0
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -0
- package/esm/oas/operation/Operation.d.ts.map +1 -1
- package/esm/oas/operation/Operation.js +2 -11
- package/esm/oas/response/toPrimaryResponseCode.d.ts +19 -0
- package/esm/oas/response/toPrimaryResponseCode.d.ts.map +1 -0
- package/esm/oas/response/toPrimaryResponseCode.js +33 -0
- package/esm/oas/webhook/Webhook.d.ts.map +1 -1
- package/esm/oas/webhook/Webhook.js +2 -11
- 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/integer/toInteger.js +4 -1
- package/esm/parse/v3-0/number/toNumber.js +4 -1
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -1
- package/esm/parse/v3-0/operation/toOperationsV3.js +5 -1
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/parse/v3-0/schema/toSchemasV3.js +35 -1
- package/esm/parse/v3-0/string/toString.d.ts.map +1 -1
- package/esm/parse/v3-0/string/toString.js +4 -11
- 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/integer/toInteger.js +4 -1
- package/esm/parse/v3-1/number/toNumber.js +4 -1
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -1
- package/esm/parse/v3-1/operation/toOperationsV3.js +5 -1
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/parse/v3-1/schema/toSchemasV3.js +34 -7
- package/esm/parse/v3-1/string/toString.d.ts.map +1 -1
- package/esm/parse/v3-1/string/toString.js +4 -11
- package/esm/types/Manifest.d.ts.map +1 -1
- package/esm/types/Manifest.js +14 -0
- package/esm/types/Settings.d.ts +16 -3
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/Settings.js +19 -13
- package/package.json +1 -1
- package/script/context/GenerateContext.d.ts +3 -3
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +45 -32
- package/script/context/ParseContext.d.ts +16 -0
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/ParseContext.js +26 -0
- package/script/context/ParseIssue.d.ts +24 -4
- package/script/context/ParseIssue.d.ts.map +1 -1
- package/script/context/ParseIssue.js +12 -4
- package/script/context/parseTypes.d.ts +23 -1
- package/script/context/parseTypes.d.ts.map +1 -1
- package/script/dsl/model/ModelDriver.d.ts.map +1 -1
- package/script/dsl/model/ModelDriver.js +29 -0
- package/script/dsl/model/toModelEntry.d.ts +9 -3
- package/script/dsl/model/toModelEntry.d.ts.map +1 -1
- package/script/dsl/model/toModelEntry.js +65 -1
- package/script/dsl/model/toModelProjectionBase.d.ts +16 -3
- 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 +46 -0
- package/script/dsl/model/types.d.ts.map +1 -1
- package/script/dsl/operation/gql/types.d.ts +6 -1
- package/script/dsl/operation/gql/types.d.ts.map +1 -1
- package/script/dsl/operation/oas/types.d.ts +6 -1
- package/script/dsl/operation/oas/types.d.ts.map +1 -1
- 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/mod.d.ts +1 -0
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +1 -0
- package/script/oas/operation/Operation.d.ts.map +1 -1
- package/script/oas/operation/Operation.js +2 -11
- package/script/oas/response/toPrimaryResponseCode.d.ts +19 -0
- package/script/oas/response/toPrimaryResponseCode.d.ts.map +1 -0
- package/script/oas/response/toPrimaryResponseCode.js +37 -0
- package/script/oas/webhook/Webhook.d.ts.map +1 -1
- package/script/oas/webhook/Webhook.js +2 -11
- 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/integer/toInteger.js +4 -1
- package/script/parse/v3-0/number/toNumber.js +4 -1
- package/script/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -1
- package/script/parse/v3-0/operation/toOperationsV3.js +5 -1
- package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -1
- package/script/parse/v3-0/schema/toSchemasV3.js +35 -1
- package/script/parse/v3-0/string/toString.d.ts.map +1 -1
- package/script/parse/v3-0/string/toString.js +3 -10
- 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/integer/toInteger.js +4 -1
- package/script/parse/v3-1/number/toNumber.js +4 -1
- package/script/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -1
- package/script/parse/v3-1/operation/toOperationsV3.js +5 -1
- package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -1
- package/script/parse/v3-1/schema/toSchemasV3.js +34 -7
- package/script/parse/v3-1/string/toString.d.ts.map +1 -1
- package/script/parse/v3-1/string/toString.js +3 -10
- package/script/types/Manifest.d.ts.map +1 -1
- package/script/types/Manifest.js +14 -0
- package/script/types/Settings.d.ts +16 -3
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/Settings.js +16 -10
package/script/types/Manifest.js
CHANGED
|
@@ -135,6 +135,13 @@ const parseIssue = v.variant('protocol', [
|
|
|
135
135
|
type: generateTypes_js_1.oasIssueType,
|
|
136
136
|
location: v.string(),
|
|
137
137
|
message: v.string()
|
|
138
|
+
}),
|
|
139
|
+
v.object({
|
|
140
|
+
protocol: v.literal('oas'),
|
|
141
|
+
level: v.literal('debug'),
|
|
142
|
+
type: generateTypes_js_1.oasIssueType,
|
|
143
|
+
location: v.string(),
|
|
144
|
+
message: v.string()
|
|
138
145
|
})
|
|
139
146
|
]),
|
|
140
147
|
v.variant('level', [
|
|
@@ -152,6 +159,13 @@ const parseIssue = v.variant('protocol', [
|
|
|
152
159
|
type: ParseIssue_js_1.gqlIssueType,
|
|
153
160
|
location: v.string(),
|
|
154
161
|
message: v.string()
|
|
162
|
+
}),
|
|
163
|
+
v.object({
|
|
164
|
+
protocol: v.literal('gql'),
|
|
165
|
+
level: v.literal('debug'),
|
|
166
|
+
type: ParseIssue_js_1.gqlIssueType,
|
|
167
|
+
location: v.string(),
|
|
168
|
+
message: v.string()
|
|
155
169
|
})
|
|
156
170
|
])
|
|
157
171
|
]);
|
|
@@ -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,12 @@ 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;
|
|
445
458
|
/** Optional schema path or url for OpenAPI schema */
|
|
446
459
|
source?: string;
|
|
447
460
|
/** 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,CAAC,aAAa,CAAC,aAAa,CAWvD,CAAC;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,E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AAE,CAAC;IACpB,kEAAkE;IAClE,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;IACd;;;;;OAKG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,aAAa,CAAC,iBAAiB,CAM/D,CAAC"}
|
package/script/types/Settings.js
CHANGED
|
@@ -93,7 +93,7 @@ const Method_js_1 = require("./Method.js");
|
|
|
93
93
|
* `..` is a parent reference only as a whole path segment — a
|
|
94
94
|
* directory name that merely contains dots is not flagged.
|
|
95
95
|
*/
|
|
96
|
-
const hasParentSegment = (path) => path.split(/[/\\]/).some(segment => segment ===
|
|
96
|
+
const hasParentSegment = (path) => path.split(/[/\\]/).some((segment) => segment === "..");
|
|
97
97
|
/**
|
|
98
98
|
* Valibot schema for {@link ModulePackage}.
|
|
99
99
|
*
|
|
@@ -103,10 +103,10 @@ const hasParentSegment = (path) => path.split(/[/\\]/).some(segment => segment =
|
|
|
103
103
|
* that otherwise misplaces every artifact silently.
|
|
104
104
|
*/
|
|
105
105
|
exports.modulePackage = v.object({
|
|
106
|
-
rootPath: v.pipe(v.string(), v.check(rootPath => !hasParentSegment(rootPath), 'package rootPath must be a forward path with no ".." segments — ' +
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
moduleName: v.optional(v.string())
|
|
106
|
+
rootPath: v.pipe(v.string(), v.check((rootPath) => !hasParentSegment(rootPath), 'package rootPath must be a forward path with no ".." segments — ' +
|
|
107
|
+
"set client.json basePath to a common ancestor of every package " +
|
|
108
|
+
"so each rootPath is written forward from it")),
|
|
109
|
+
moduleName: v.optional(v.string()),
|
|
110
110
|
});
|
|
111
111
|
/**
|
|
112
112
|
* Valibot schema for validating skip paths configuration.
|
|
@@ -136,7 +136,11 @@ exports.skipModelRefs = v.record(v.string(), v.array(v.string()));
|
|
|
136
136
|
* models and variants by generator.
|
|
137
137
|
*/
|
|
138
138
|
exports.skipModels = v.record(v.string(), exports.skipModelRefs);
|
|
139
|
-
const skip = v.union([
|
|
139
|
+
const skip = v.union([
|
|
140
|
+
exports.skipOperations,
|
|
141
|
+
exports.skipModels,
|
|
142
|
+
v.string(),
|
|
143
|
+
]);
|
|
140
144
|
/**
|
|
141
145
|
* Valibot schema for {@link IncludePaths}. Structurally identical to
|
|
142
146
|
* {@link skipPaths} — both map a path to a `method → variant[]` record
|
|
@@ -164,7 +168,7 @@ exports.includeModels = v.record(v.string(), exports.includeModelRefs);
|
|
|
164
168
|
const include = v.union([
|
|
165
169
|
exports.includeOperations,
|
|
166
170
|
exports.includeModels,
|
|
167
|
-
v.string()
|
|
171
|
+
v.string(),
|
|
168
172
|
]);
|
|
169
173
|
/**
|
|
170
174
|
* Valibot schema for validating client settings configuration.
|
|
@@ -179,7 +183,7 @@ const include = v.union([
|
|
|
179
183
|
*/
|
|
180
184
|
exports.anchorsSettings = v.object({
|
|
181
185
|
enabled: v.boolean(),
|
|
182
|
-
out: v.optional(v.string())
|
|
186
|
+
out: v.optional(v.string()),
|
|
183
187
|
});
|
|
184
188
|
exports.clientSettings = v.object({
|
|
185
189
|
basePath: v.optional(v.string()),
|
|
@@ -188,7 +192,8 @@ exports.clientSettings = v.object({
|
|
|
188
192
|
enrichments: v.optional(Enrichments_js_1.generatorEnrichments),
|
|
189
193
|
include: v.optional(v.array(include)),
|
|
190
194
|
skip: v.optional(v.array(skip)),
|
|
191
|
-
anchors: v.optional(exports.anchorsSettings)
|
|
195
|
+
anchors: v.optional(exports.anchorsSettings),
|
|
196
|
+
inputDirs: v.optional(v.array(v.string())),
|
|
192
197
|
});
|
|
193
198
|
/**
|
|
194
199
|
* Valibot schema for validating SKMTC client configuration.
|
|
@@ -199,6 +204,7 @@ exports.clientSettings = v.object({
|
|
|
199
204
|
exports.skmtcClientConfig = v.object({
|
|
200
205
|
serverUrl: v.optional(v.string()),
|
|
201
206
|
projectKey: v.optional(v.string()),
|
|
207
|
+
project: v.optional(v.string()),
|
|
202
208
|
source: v.optional(v.string()),
|
|
203
|
-
settings: exports.clientSettings
|
|
209
|
+
settings: exports.clientSettings,
|
|
204
210
|
});
|