@kubb/agent 4.32.0 → 4.32.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/.output/nitro.json
CHANGED
|
@@ -4823,6 +4823,26 @@ function toRegExpString(text, func = "RegExp") {
|
|
|
4823
4823
|
if (func === null) return `/${source}/${flags}`;
|
|
4824
4824
|
return `new ${func}(${JSON.stringify(source)}${flags ? `, ${JSON.stringify(flags)}` : ""})`;
|
|
4825
4825
|
}
|
|
4826
|
+
var transformers_default = {
|
|
4827
|
+
combineCodes,
|
|
4828
|
+
escape,
|
|
4829
|
+
jsStringEscape,
|
|
4830
|
+
createIndent,
|
|
4831
|
+
transformReservedWord,
|
|
4832
|
+
isValidVarName,
|
|
4833
|
+
nameSorter,
|
|
4834
|
+
searchAndReplace,
|
|
4835
|
+
stringify,
|
|
4836
|
+
stringifyObject,
|
|
4837
|
+
toRegExpString,
|
|
4838
|
+
trim,
|
|
4839
|
+
trimQuotes,
|
|
4840
|
+
JSDoc: { createJSDocBlockText },
|
|
4841
|
+
camelCase,
|
|
4842
|
+
pascalCase,
|
|
4843
|
+
snakeCase,
|
|
4844
|
+
screamingSnakeCase
|
|
4845
|
+
};
|
|
4826
4846
|
|
|
4827
4847
|
var __defProp$9 = Object.defineProperty;
|
|
4828
4848
|
var __typeError$5 = (msg) => {
|
|
@@ -6015,7 +6035,7 @@ function tokenize(command) {
|
|
|
6015
6035
|
return args;
|
|
6016
6036
|
}
|
|
6017
6037
|
|
|
6018
|
-
var version = "4.32.
|
|
6038
|
+
var version = "4.32.1";
|
|
6019
6039
|
|
|
6020
6040
|
function isCommandMessage(msg) {
|
|
6021
6041
|
return msg.type === "command";
|
|
@@ -6081,7 +6101,7 @@ var BaseGenerator = (_a$3 = class {
|
|
|
6081
6101
|
function isInputPath(config) {
|
|
6082
6102
|
return typeof (config == null ? void 0 : config.input) === "object" && config.input !== null && "path" in config.input;
|
|
6083
6103
|
}
|
|
6084
|
-
var version$1 = "4.32.
|
|
6104
|
+
var version$1 = "4.32.1";
|
|
6085
6105
|
function getDiagnosticInfo() {
|
|
6086
6106
|
return {
|
|
6087
6107
|
nodeVersion: version$2,
|
|
@@ -6627,27 +6647,6 @@ function isKeyword(meta, keyword) {
|
|
|
6627
6647
|
return meta.keyword === keyword;
|
|
6628
6648
|
}
|
|
6629
6649
|
|
|
6630
|
-
var transformers_default = {
|
|
6631
|
-
combineCodes,
|
|
6632
|
-
escape,
|
|
6633
|
-
jsStringEscape,
|
|
6634
|
-
createIndent,
|
|
6635
|
-
transformReservedWord,
|
|
6636
|
-
isValidVarName,
|
|
6637
|
-
nameSorter,
|
|
6638
|
-
searchAndReplace,
|
|
6639
|
-
stringify,
|
|
6640
|
-
stringifyObject,
|
|
6641
|
-
toRegExpString,
|
|
6642
|
-
trim,
|
|
6643
|
-
trimQuotes,
|
|
6644
|
-
JSDoc: { createJSDocBlockText },
|
|
6645
|
-
camelCase,
|
|
6646
|
-
pascalCase,
|
|
6647
|
-
snakeCase,
|
|
6648
|
-
screamingSnakeCase
|
|
6649
|
-
};
|
|
6650
|
-
|
|
6651
6650
|
var __create = Object.create;
|
|
6652
6651
|
var __defProp$7 = Object.defineProperty;
|
|
6653
6652
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -6658,28 +6657,20 @@ var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
|
6658
6657
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
6659
6658
|
var __exportAll = (all, no_symbols) => {
|
|
6660
6659
|
let target = {};
|
|
6661
|
-
for (var name in all) {
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
}
|
|
6667
|
-
{
|
|
6668
|
-
__defProp$7(target, Symbol.toStringTag, { value: "Module" });
|
|
6669
|
-
}
|
|
6660
|
+
for (var name in all) __defProp$7(target, name, {
|
|
6661
|
+
get: all[name],
|
|
6662
|
+
enumerable: true
|
|
6663
|
+
});
|
|
6664
|
+
__defProp$7(target, Symbol.toStringTag, { value: "Module" });
|
|
6670
6665
|
return target;
|
|
6671
6666
|
};
|
|
6672
6667
|
var __copyProps = (to, from, except, desc) => {
|
|
6673
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
6680
|
-
});
|
|
6681
|
-
}
|
|
6682
|
-
}
|
|
6668
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
6669
|
+
key = keys[i];
|
|
6670
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp$7(to, key, {
|
|
6671
|
+
get: ((k) => from[k]).bind(null, key),
|
|
6672
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
6673
|
+
});
|
|
6683
6674
|
}
|
|
6684
6675
|
return to;
|
|
6685
6676
|
};
|
|
@@ -7588,8 +7579,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports$1) => {
|
|
|
7588
7579
|
};
|
|
7589
7580
|
}));
|
|
7590
7581
|
var require_str = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
7591
|
-
|
|
7592
|
-
module.exports = new type_1.Type("tag:yaml.org,2002:str", {
|
|
7582
|
+
module.exports = new (require_type()).Type("tag:yaml.org,2002:str", {
|
|
7593
7583
|
kind: "scalar",
|
|
7594
7584
|
construct: function(data) {
|
|
7595
7585
|
return null !== data ? data : "";
|
|
@@ -7597,8 +7587,7 @@ var require_str = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
|
7597
7587
|
});
|
|
7598
7588
|
}));
|
|
7599
7589
|
var require_seq = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
7600
|
-
|
|
7601
|
-
module.exports = new type_1.Type("tag:yaml.org,2002:seq", {
|
|
7590
|
+
module.exports = new (require_type()).Type("tag:yaml.org,2002:seq", {
|
|
7602
7591
|
kind: "sequence",
|
|
7603
7592
|
construct: function(data) {
|
|
7604
7593
|
return null !== data ? data : [];
|
|
@@ -7606,8 +7595,7 @@ var require_seq = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
|
7606
7595
|
});
|
|
7607
7596
|
}));
|
|
7608
7597
|
var require_map = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
7609
|
-
|
|
7610
|
-
module.exports = new type_1.Type("tag:yaml.org,2002:map", {
|
|
7598
|
+
module.exports = new (require_type()).Type("tag:yaml.org,2002:map", {
|
|
7611
7599
|
kind: "mapping",
|
|
7612
7600
|
construct: function(data) {
|
|
7613
7601
|
return null !== data ? data : {};
|
|
@@ -7615,8 +7603,7 @@ var require_map = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
|
7615
7603
|
});
|
|
7616
7604
|
}));
|
|
7617
7605
|
var require_failsafe = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
7618
|
-
|
|
7619
|
-
module.exports = new schema_1.Schema({ explicit: [
|
|
7606
|
+
module.exports = new (require_schema()).Schema({ explicit: [
|
|
7620
7607
|
require_str(),
|
|
7621
7608
|
require_seq(),
|
|
7622
7609
|
require_map()
|
|
@@ -7823,7 +7810,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
|
7823
7810
|
var require_float = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
7824
7811
|
const common = require_common();
|
|
7825
7812
|
const type_1 = require_type();
|
|
7826
|
-
var YAML_FLOAT_PATTERN = new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
7813
|
+
var YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
7827
7814
|
function resolveYamlFloat(data) {
|
|
7828
7815
|
if (null === data) return false;
|
|
7829
7816
|
if (!YAML_FLOAT_PATTERN.test(data)) return false;
|
|
@@ -7892,8 +7879,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
|
7892
7879
|
});
|
|
7893
7880
|
}));
|
|
7894
7881
|
var require_json = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
7895
|
-
|
|
7896
|
-
module.exports = new schema_1.Schema({
|
|
7882
|
+
module.exports = new (require_schema()).Schema({
|
|
7897
7883
|
include: [require_failsafe()],
|
|
7898
7884
|
implicit: [
|
|
7899
7885
|
require_null(),
|
|
@@ -7904,12 +7890,11 @@ var require_json = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
|
7904
7890
|
});
|
|
7905
7891
|
}));
|
|
7906
7892
|
var require_core = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
7907
|
-
|
|
7908
|
-
module.exports = new schema_1.Schema({ include: [require_json()] });
|
|
7893
|
+
module.exports = new (require_schema()).Schema({ include: [require_json()] });
|
|
7909
7894
|
}));
|
|
7910
7895
|
var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
7911
7896
|
const type_1 = require_type();
|
|
7912
|
-
var YAML_TIMESTAMP_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");
|
|
7897
|
+
var YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");
|
|
7913
7898
|
function resolveYamlTimestamp(data) {
|
|
7914
7899
|
if (null === data) return false;
|
|
7915
7900
|
if (null === YAML_TIMESTAMP_REGEXP.exec(data)) return false;
|
|
@@ -8166,7 +8151,7 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
|
8166
8151
|
});
|
|
8167
8152
|
}));
|
|
8168
8153
|
var require_default_safe = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
8169
|
-
|
|
8154
|
+
module.exports = new (require_schema()).Schema({
|
|
8170
8155
|
include: [require_core()],
|
|
8171
8156
|
implicit: [require_timestamp(), require_merge()],
|
|
8172
8157
|
explicit: [
|
|
@@ -8176,7 +8161,6 @@ var require_default_safe = /* @__PURE__ */ __commonJSMin(((exports$1, module) =>
|
|
|
8176
8161
|
require_set()
|
|
8177
8162
|
]
|
|
8178
8163
|
});
|
|
8179
|
-
module.exports = schema;
|
|
8180
8164
|
}));
|
|
8181
8165
|
var require_undefined = /* @__PURE__ */ __commonJSMin(((exports$1, module) => {
|
|
8182
8166
|
const type_1 = require_type();
|
|
@@ -10817,7 +10801,7 @@ var require_trapAccess = /* @__PURE__ */ __commonJSMin(((exports$1) => {
|
|
|
10817
10801
|
} };
|
|
10818
10802
|
exports$1.trapAccess = (target) => new Proxy(target, traps);
|
|
10819
10803
|
}));
|
|
10820
|
-
var
|
|
10804
|
+
var import_yaml = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports$1) => {
|
|
10821
10805
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
10822
10806
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
10823
10807
|
tslib_1.__exportStar(require_buildJsonPath(), exports$1);
|
|
@@ -10825,15 +10809,12 @@ var require_yaml = /* @__PURE__ */ __commonJSMin(((exports$1) => {
|
|
|
10825
10809
|
tslib_1.__exportStar(require_getJsonPathForPosition(), exports$1);
|
|
10826
10810
|
tslib_1.__exportStar(require_getLocationForJsonPath(), exports$1);
|
|
10827
10811
|
tslib_1.__exportStar(require_lineForPosition(), exports$1);
|
|
10828
|
-
|
|
10829
|
-
exports$1.
|
|
10830
|
-
var parseWithPointers_1 = require_parseWithPointers();
|
|
10831
|
-
exports$1.parseWithPointers = parseWithPointers_1.parseWithPointers;
|
|
10812
|
+
exports$1.parse = require_parse().parse;
|
|
10813
|
+
exports$1.parseWithPointers = require_parseWithPointers().parseWithPointers;
|
|
10832
10814
|
tslib_1.__exportStar(require_safeStringify(), exports$1);
|
|
10833
10815
|
tslib_1.__exportStar(require_types(), exports$1);
|
|
10834
10816
|
tslib_1.__exportStar(require_trapAccess(), exports$1);
|
|
10835
|
-
}));
|
|
10836
|
-
var import_yaml = /* @__PURE__ */ __toESM(require_yaml());
|
|
10817
|
+
})))());
|
|
10837
10818
|
const STRUCTURAL_KEYS = /* @__PURE__ */ new Set([
|
|
10838
10819
|
"properties",
|
|
10839
10820
|
"items",
|
|
@@ -12813,7 +12794,7 @@ function Url({ name, isExportable = true, isIndexable = true, typeSchemas, baseU
|
|
|
12813
12794
|
export: isExportable,
|
|
12814
12795
|
params: params.toConstructor(),
|
|
12815
12796
|
children: [
|
|
12816
|
-
pathParamsMapping && Object.entries(pathParamsMapping).map(([originalName, camelCaseName]) => `const ${originalName} = ${camelCaseName}`).join("\n"),
|
|
12797
|
+
pathParamsMapping && Object.entries(pathParamsMapping).filter(([originalName, camelCaseName]) => originalName !== camelCaseName && isValidVarName(originalName)).map(([originalName, camelCaseName]) => `const ${originalName} = ${camelCaseName}`).join("\n"),
|
|
12817
12798
|
pathParamsMapping && /* @__PURE__ */ jsx("br", {}),
|
|
12818
12799
|
/* @__PURE__ */ jsx(Const, {
|
|
12819
12800
|
name: "res",
|
|
@@ -12948,7 +12929,7 @@ function Client({ name, isExportable = true, isIndexable = true, returnType, typ
|
|
|
12948
12929
|
isConfigurable ? "const { client: request = fetch, ...requestConfig } = config" : "",
|
|
12949
12930
|
/* @__PURE__ */ jsx("br", {}),
|
|
12950
12931
|
/* @__PURE__ */ jsx("br", {}),
|
|
12951
|
-
pathParamsMapping && Object.entries(pathParamsMapping).map(([originalName, camelCaseName]) => `const ${originalName} = ${camelCaseName}`).join("\n"),
|
|
12932
|
+
pathParamsMapping && Object.entries(pathParamsMapping).filter(([originalName, camelCaseName]) => originalName !== camelCaseName && isValidVarName(originalName)).map(([originalName, camelCaseName]) => `const ${originalName} = ${camelCaseName}`).join("\n"),
|
|
12952
12933
|
pathParamsMapping && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("br", {}), /* @__PURE__ */ jsx("br", {})] }),
|
|
12953
12934
|
queryParamsMapping && ((_f = typeSchemas.queryParams) == null ? void 0 : _f.name) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12954
12935
|
`const mappedParams = params ? { ${Object.entries(queryParamsMapping).map(([originalName, camelCaseName]) => `"${originalName}": params.${camelCaseName}`).join(", ")} } : undefined`,
|
|
@@ -14311,12 +14292,11 @@ function Zod({ name, typeName, tree, schema, inferTypeName, mapper, coercion, ke
|
|
|
14311
14292
|
});
|
|
14312
14293
|
const baseSchemas = mini ? filterMiniModifiers(schemas) : schemas;
|
|
14313
14294
|
const output = baseSchemas.map((schemaKeyword, index) => {
|
|
14314
|
-
const siblings = baseSchemas.filter((_, i) => i !== index);
|
|
14315
14295
|
return parse$2({
|
|
14316
14296
|
schema,
|
|
14317
14297
|
parent: void 0,
|
|
14318
14298
|
current: schemaKeyword,
|
|
14319
|
-
siblings,
|
|
14299
|
+
siblings: baseSchemas.filter((_, i) => i !== index),
|
|
14320
14300
|
name
|
|
14321
14301
|
}, {
|
|
14322
14302
|
mapper,
|
|
@@ -212661,14 +212641,13 @@ const parse$1 = createParser({
|
|
|
212661
212641
|
if (isNullable) type = createUnionDeclaration({ nodes: [type, keywordTypeNodes.null] });
|
|
212662
212642
|
if (isNullish && ["undefined", "questionTokenAndUndefined"].includes(options.optionalType)) type = createUnionDeclaration({ nodes: [type, keywordTypeNodes.undefined] });
|
|
212663
212643
|
if (isOptional && ["undefined", "questionTokenAndUndefined"].includes(options.optionalType)) type = createUnionDeclaration({ nodes: [type, keywordTypeNodes.undefined] });
|
|
212664
|
-
const propertyNode = createPropertySignature({
|
|
212665
|
-
questionToken: isOptional || isNullish ? ["questionToken", "questionTokenAndUndefined"].includes(options.optionalType) : false,
|
|
212666
|
-
name: mappedName,
|
|
212667
|
-
type,
|
|
212668
|
-
readOnly: isReadonly
|
|
212669
|
-
});
|
|
212670
212644
|
return appendJSDocToNode({
|
|
212671
|
-
node:
|
|
212645
|
+
node: createPropertySignature({
|
|
212646
|
+
questionToken: isOptional || isNullish ? ["questionToken", "questionTokenAndUndefined"].includes(options.optionalType) : false,
|
|
212647
|
+
name: mappedName,
|
|
212648
|
+
type,
|
|
212649
|
+
readOnly: isReadonly
|
|
212650
|
+
}),
|
|
212672
212651
|
comments: [
|
|
212673
212652
|
describeSchema ? `@description ${transformers_default.jsStringEscape(describeSchema.args)}` : void 0,
|
|
212674
212653
|
deprecatedSchema ? "@deprecated" : void 0,
|
|
@@ -212691,8 +212670,7 @@ const parse$1 = createParser({
|
|
|
212691
212670
|
siblings: []
|
|
212692
212671
|
}, options)).filter(Boolean).at(0);
|
|
212693
212672
|
if ((_d = current.args) == null ? void 0 : _d.additionalProperties.some((schema2) => isKeyword(schema2, schemaKeywords.nullable))) additionalPropertiesType = createUnionDeclaration({ nodes: [additionalPropertiesType, keywordTypeNodes.null] });
|
|
212694
|
-
|
|
212695
|
-
additionalProperties = createIndexSignature(indexSignatureType);
|
|
212673
|
+
additionalProperties = createIndexSignature(properties.length > 0 ? keywordTypeNodes.unknown : additionalPropertiesType);
|
|
212696
212674
|
}
|
|
212697
212675
|
let patternProperties;
|
|
212698
212676
|
if ((_e = current.args) == null ? void 0 : _e.patternProperties) {
|
|
@@ -212749,8 +212727,7 @@ function Type({ name, typedName, tree, keysToOmit, schema, optionalType, arrayTy
|
|
|
212749
212727
|
const isDirectEnum = schema.type === "array" && schema.items !== void 0;
|
|
212750
212728
|
const isEnumOnly = "enum" in schema && schema.enum;
|
|
212751
212729
|
if (isDirectEnum || isEnumOnly) {
|
|
212752
|
-
|
|
212753
|
-
type = createTypeReferenceNode(typeNameWithKey);
|
|
212730
|
+
type = createTypeReferenceNode(`${enumSchemas[0].args.typeName}Key`);
|
|
212754
212731
|
if (schema.type === "array") if (arrayType === "generic") type = createTypeReferenceNode(createIdentifier("Array"), [type]);
|
|
212755
212732
|
else type = createArrayTypeNode(type);
|
|
212756
212733
|
}
|
|
@@ -213017,52 +212994,38 @@ function useSchemaManager() {
|
|
|
213017
212994
|
function printCombinedSchema({ name, schemas, pluginManager }) {
|
|
213018
212995
|
const properties = {};
|
|
213019
212996
|
if (schemas.response) properties["response"] = createUnionDeclaration({ nodes: schemas.responses.map((res) => {
|
|
213020
|
-
|
|
212997
|
+
return createTypeReferenceNode(createIdentifier(pluginManager.resolveName({
|
|
213021
212998
|
name: res.name,
|
|
213022
212999
|
pluginKey: [pluginTsName],
|
|
213023
213000
|
type: "function"
|
|
213024
|
-
});
|
|
213025
|
-
return createTypeReferenceNode(createIdentifier(identifier), void 0);
|
|
213001
|
+
})), void 0);
|
|
213026
213002
|
}) });
|
|
213027
|
-
if (schemas.request) {
|
|
213028
|
-
|
|
213029
|
-
|
|
213030
|
-
|
|
213031
|
-
|
|
213032
|
-
|
|
213033
|
-
|
|
213034
|
-
|
|
213035
|
-
|
|
213036
|
-
|
|
213037
|
-
|
|
213038
|
-
|
|
213039
|
-
|
|
213040
|
-
|
|
213041
|
-
|
|
213042
|
-
|
|
213043
|
-
|
|
213044
|
-
|
|
213045
|
-
|
|
213046
|
-
|
|
213047
|
-
type: "function"
|
|
213048
|
-
});
|
|
213049
|
-
properties["queryParams"] = createTypeReferenceNode(createIdentifier(identifier), void 0);
|
|
213050
|
-
}
|
|
213051
|
-
if (schemas.headerParams) {
|
|
213052
|
-
const identifier = pluginManager.resolveName({
|
|
213053
|
-
name: schemas.headerParams.name,
|
|
213054
|
-
pluginKey: [pluginTsName],
|
|
213055
|
-
type: "function"
|
|
213056
|
-
});
|
|
213057
|
-
properties["headerParams"] = createTypeReferenceNode(createIdentifier(identifier), void 0);
|
|
213058
|
-
}
|
|
213003
|
+
if (schemas.request) properties["request"] = createTypeReferenceNode(createIdentifier(pluginManager.resolveName({
|
|
213004
|
+
name: schemas.request.name,
|
|
213005
|
+
pluginKey: [pluginTsName],
|
|
213006
|
+
type: "function"
|
|
213007
|
+
})), void 0);
|
|
213008
|
+
if (schemas.pathParams) properties["pathParams"] = createTypeReferenceNode(createIdentifier(pluginManager.resolveName({
|
|
213009
|
+
name: schemas.pathParams.name,
|
|
213010
|
+
pluginKey: [pluginTsName],
|
|
213011
|
+
type: "function"
|
|
213012
|
+
})), void 0);
|
|
213013
|
+
if (schemas.queryParams) properties["queryParams"] = createTypeReferenceNode(createIdentifier(pluginManager.resolveName({
|
|
213014
|
+
name: schemas.queryParams.name,
|
|
213015
|
+
pluginKey: [pluginTsName],
|
|
213016
|
+
type: "function"
|
|
213017
|
+
})), void 0);
|
|
213018
|
+
if (schemas.headerParams) properties["headerParams"] = createTypeReferenceNode(createIdentifier(pluginManager.resolveName({
|
|
213019
|
+
name: schemas.headerParams.name,
|
|
213020
|
+
pluginKey: [pluginTsName],
|
|
213021
|
+
type: "function"
|
|
213022
|
+
})), void 0);
|
|
213059
213023
|
if (schemas.errors) properties["errors"] = createUnionDeclaration({ nodes: schemas.errors.map((error) => {
|
|
213060
|
-
|
|
213024
|
+
return createTypeReferenceNode(createIdentifier(pluginManager.resolveName({
|
|
213061
213025
|
name: error.name,
|
|
213062
213026
|
pluginKey: [pluginTsName],
|
|
213063
213027
|
type: "function"
|
|
213064
|
-
});
|
|
213065
|
-
return createTypeReferenceNode(createIdentifier(identifier), void 0);
|
|
213028
|
+
})), void 0);
|
|
213066
213029
|
}) });
|
|
213067
213030
|
return safePrint(createTypeAliasDeclaration({
|
|
213068
213031
|
name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.5/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../server/utils/maskedString.ts","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../core/dist/write-pEo2oQGI.js","../../../../../core/dist/toRegExp-DdJ1Kgbf.js","../../../../../core/dist/packageManager-B6NiaZeW.js","../../../../../core/dist/utils.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../../core/dist/index.js","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk-DKWOrOAv.js","../../../../../plugin-oas/dist/SchemaMapper-eQhTeFim.js","../../../../../core/dist/transformers.js","../../../../../oas/dist/chunk-Dxrv8gPv.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/resolveServerUrl-D-P-Dovy.js","../../../../../plugin-oas/dist/getFooter-_DD1dfMI.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-DGIMTS_f.js","../../../../../plugin-oas/dist/jsonGenerator-Df2dxdof.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/Zod-GzH2I46C.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/Type-kXKUz-Sn.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-nOUZk0S4.js","../../../../../plugin-zod/dist/zodGenerator--tgD2hL9.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/staticClassClientGenerator-BUGBMkNO.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/Request-DOzOQGgb.js","../../../../../plugin-cypress/dist/cypressGenerator-D7trA-II.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/Faker-eDce4Xeu.js","../../../../../plugin-faker/dist/fakerGenerator-C68x1Nq-.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-D45Pl-Hd.js","../../../../../plugin-mcp/dist/serverGenerator-TERvEwnw.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/Response-rq32ZXGn.js","../../../../../plugin-msw/dist/mswGenerator-Tg2NjhsD.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk-DKWOrOAv.js","../../../../../plugin-react-query/dist/SuspenseQuery-BJRjCVPn.js","../../../../../plugin-react-query/dist/suspenseQueryGenerator-X-e7npGw.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk-DKWOrOAv.js","../../../../../plugin-solid-query/dist/Query-D_dWu7Ln.js","../../../../../plugin-solid-query/dist/queryGenerator-fZ_tgape.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk-DKWOrOAv.js","../../../../../plugin-svelte-query/dist/Query-BDLjTz45.js","../../../../../plugin-svelte-query/dist/queryGenerator-C19QRAQW.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk-DKWOrOAv.js","../../../../../plugin-swr/dist/Query-DDIFmxNc.js","../../../../../plugin-swr/dist/queryGenerator-96wr4Uxr.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk-DKWOrOAv.js","../../../../../plugin-vue-query/dist/Query-DVuOyLhX.js","../../../../../plugin-vue-query/dist/queryGenerator-CHpHlXsx.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","process","readFile","writeFile","value","_head","_tail","_size","_a","_options","_b","Node","__publicField","Queue","__privateAdd","__privateGet","__privateSet","__privateWrapper","pLimit","validateConcurrency","path","__privateMethod","performance","_c","_d","_e","_f","item","trimExtName","version","build","os","error","__defProp","__name","v","d","b","__assign","o","exports","Kind","YAMLException","string","ScalarType","Comments","isPlainObject","fs","parse","schema","schemas","transformers","normalizedSchema","name","min","max","getParams$1","Function","getParams","Operations","validate","oas","options","Type","siblings","require","global","modifiers","questionToken","propertyName","operationsGenerator","source","baseURL","source$2","Response","getTransformer$1","QueryKey","getParams$9","QueryOptions","getParams$8","InfiniteQuery","getParams$7","InfiniteQueryOptions","getParams$6","getTransformer","MutationKey","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","params","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,60,113,114,115,116]}
|
|
1
|
+
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.5/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../server/utils/maskedString.ts","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../core/dist/fs-TVBCPkE-.js","../../../../../core/dist/transformers-BwSpAhvT.js","../../../../../core/dist/packageManager-wMCQlgd6.js","../../../../../core/dist/utils.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../../core/dist/index.js","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/SchemaMapper-ClUmzpCc.js","../../../../../oas/dist/chunk-OuPHjz6n.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/resolveServerUrl-sGGjx0hA.js","../../../../../plugin-oas/dist/getFooter-DGVGGyRc.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-D0Suyznb.js","../../../../../plugin-oas/dist/generators-BrYP9z4D.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-CK7yDnVt.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-B1E7eMZW.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-CXXBCsm_.js","../../../../../plugin-zod/dist/generators-HVqNlkDw.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-BgV8h1zt.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-CXqedeum.js","../../../../../plugin-cypress/dist/generators-XAzL9FKJ.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-B68UsxPY.js","../../../../../plugin-faker/dist/fakerGenerator-BVz1bBsB.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-DFtreW32.js","../../../../../plugin-mcp/dist/generators-uRUKPZr3.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-BtUE8LBG.js","../../../../../plugin-msw/dist/generators-BNu2XO1Z.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-DI3xt2Dc.js","../../../../../plugin-react-query/dist/generators-D9vg4YCv.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-DXv8B7Om.js","../../../../../plugin-solid-query/dist/generators-BitalKjt.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-B-l-GcyD.js","../../../../../plugin-svelte-query/dist/generators-v6s8TN7B.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-zfsAL4Ba.js","../../../../../plugin-swr/dist/generators-ikbzqdK0.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-DgIGyTDa.js","../../../../../plugin-vue-query/dist/generators-BIIW5fQ8.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","process","readFile","writeFile","value","_head","_tail","_size","_a","_options","_b","Node","__publicField","Queue","__privateAdd","__privateGet","__privateSet","__privateWrapper","pLimit","validateConcurrency","path","__privateMethod","performance","_c","_d","_e","_f","item","trimExtName","version","build","os","error","__defProp","__name","v","d","b","__assign","o","exports","Kind","YAMLException","string","ScalarType","Comments","isPlainObject","fs","parse","schema","schemas","transformers","normalizedSchema","name","min","max","getParams$1","Function","getParams","Operations","validate","oas","options","Type","siblings","require","global","modifiers","questionToken","propertyName","operationsGenerator","source","baseURL","source$2","Response","getTransformer$1","QueryKey","getParams$9","QueryOptions","getParams$8","InfiniteQuery","getParams$7","InfiniteQueryOptions","getParams$6","getTransformer","MutationKey","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","params","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,59,112,113,114,115]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent",
|
|
3
|
-
"version": "4.32.
|
|
3
|
+
"version": "4.32.1",
|
|
4
4
|
"description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"tinyexec": "^1.0.2",
|
|
41
41
|
"unstorage": "^1.17.4",
|
|
42
42
|
"ws": "^8.19.0",
|
|
43
|
-
"@kubb/core": "4.32.
|
|
44
|
-
"@kubb/plugin-client": "4.32.
|
|
45
|
-
"@kubb/plugin-cypress": "4.32.
|
|
46
|
-
"@kubb/plugin-faker": "4.32.
|
|
47
|
-
"@kubb/plugin-mcp": "4.32.
|
|
48
|
-
"@kubb/plugin-msw": "4.32.
|
|
49
|
-
"@kubb/plugin-oas": "4.32.
|
|
50
|
-
"@kubb/plugin-react-query": "4.32.
|
|
51
|
-
"@kubb/plugin-redoc": "4.32.
|
|
52
|
-
"@kubb/plugin-solid-query": "4.32.
|
|
53
|
-
"@kubb/plugin-svelte-query": "4.32.
|
|
54
|
-
"@kubb/plugin-swr": "4.32.
|
|
55
|
-
"@kubb/plugin-ts": "4.32.
|
|
56
|
-
"@kubb/plugin-vue-query": "4.32.
|
|
57
|
-
"@kubb/plugin-zod": "4.32.
|
|
43
|
+
"@kubb/core": "4.32.1",
|
|
44
|
+
"@kubb/plugin-client": "4.32.1",
|
|
45
|
+
"@kubb/plugin-cypress": "4.32.1",
|
|
46
|
+
"@kubb/plugin-faker": "4.32.1",
|
|
47
|
+
"@kubb/plugin-mcp": "4.32.1",
|
|
48
|
+
"@kubb/plugin-msw": "4.32.1",
|
|
49
|
+
"@kubb/plugin-oas": "4.32.1",
|
|
50
|
+
"@kubb/plugin-react-query": "4.32.1",
|
|
51
|
+
"@kubb/plugin-redoc": "4.32.1",
|
|
52
|
+
"@kubb/plugin-solid-query": "4.32.1",
|
|
53
|
+
"@kubb/plugin-svelte-query": "4.32.1",
|
|
54
|
+
"@kubb/plugin-swr": "4.32.1",
|
|
55
|
+
"@kubb/plugin-ts": "4.32.1",
|
|
56
|
+
"@kubb/plugin-vue-query": "4.32.1",
|
|
57
|
+
"@kubb/plugin-zod": "4.32.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/ws": "^8.18.1",
|