@genapi/presets 3.4.0 → 3.6.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/dist/axios/index.d.mts +9 -0
- package/dist/axios/index.mjs +9 -7
- package/dist/axios/js/config/index.d.mts +3 -0
- package/dist/axios/js/config/index.mjs +3 -18
- package/dist/axios/js/index.d.mts +5 -0
- package/dist/axios/js/index.mjs +5 -31
- package/dist/axios/js/parser/index.d.mts +3 -0
- package/dist/axios/js/parser/index.mjs +3 -77
- package/dist/axios/ts/config/index.d.mts +3 -0
- package/dist/axios/ts/config/index.mjs +3 -22
- package/dist/axios/ts/index.d.mts +5 -0
- package/dist/axios/ts/index.mjs +5 -31
- package/dist/axios/ts/parser/index.d.mts +3 -0
- package/dist/axios/ts/parser/index.mjs +3 -76
- package/dist/axios-CG6HLmR9.mjs +13 -0
- package/dist/chunk-BL35Yyzp.mjs +12 -0
- package/dist/config-B6UDPRkS.mjs +12 -0
- package/dist/config-B89EoGE7.mjs +21 -0
- package/dist/config-BGwXcXx1.mjs +21 -0
- package/dist/config-C94x0Nge.mjs +21 -0
- package/dist/config-CEngTpXa.mjs +21 -0
- package/dist/config-CwmGeydd.mjs +19 -0
- package/dist/config-DAHoeaDU.mjs +19 -0
- package/dist/config-DdUVYIe0.mjs +19 -0
- package/dist/config-Dm0OCPw8.mjs +19 -0
- package/dist/config-Dn-mxTew.mjs +19 -0
- package/dist/config-DuQgIn7U.mjs +14 -0
- package/dist/config-aVU8JEKy.mjs +21 -0
- package/dist/fetch/index.d.mts +9 -0
- package/dist/fetch/index.mjs +9 -7
- package/dist/fetch/js/config/index.d.mts +3 -0
- package/dist/fetch/js/config/index.mjs +3 -13
- package/dist/fetch/js/index.d.mts +5 -0
- package/dist/fetch/js/index.mjs +5 -31
- package/dist/fetch/js/parser/index.d.mts +3 -0
- package/dist/fetch/js/parser/index.mjs +3 -83
- package/dist/fetch/ts/config/index.d.mts +3 -0
- package/dist/fetch/ts/config/index.mjs +3 -11
- package/dist/fetch/ts/index.d.mts +5 -0
- package/dist/fetch/ts/index.mjs +5 -31
- package/dist/fetch/ts/parser/index.d.mts +3 -0
- package/dist/fetch/ts/parser/index.mjs +3 -79
- package/dist/fetch-BtwC6Lll.mjs +13 -0
- package/dist/got/index.d.mts +9 -0
- package/dist/got/index.mjs +9 -7
- package/dist/got/js/config/index.d.mts +3 -0
- package/dist/got/js/config/index.mjs +3 -18
- package/dist/got/js/index.d.mts +5 -0
- package/dist/got/js/index.mjs +5 -31
- package/dist/got/js/parser/index.d.mts +3 -0
- package/dist/got/js/parser/index.mjs +3 -82
- package/dist/got/ts/config/index.d.mts +3 -0
- package/dist/got/ts/config/index.mjs +3 -22
- package/dist/got/ts/index.d.mts +5 -0
- package/dist/got/ts/index.mjs +5 -31
- package/dist/got/ts/parser/index.d.mts +3 -0
- package/dist/got/ts/parser/index.mjs +3 -82
- package/dist/got-xeCavgZc.mjs +13 -0
- package/dist/{axios/js/parser/index.d.ts → index.d-4OvQY24D.d.mts} +5 -3
- package/dist/index.d-B0n5Pe6-.d.mts +12 -0
- package/dist/index.d-B1KgwGJV.d.mts +14 -0
- package/dist/index.d-B9C3SJsw.d.mts +7 -0
- package/dist/index.d-BB-bpoWw.d.mts +14 -0
- package/dist/index.d-BDMFuIpi.d.mts +12 -0
- package/dist/index.d-BDy4V2O7.d.mts +18 -0
- package/dist/index.d-BFJinzUY.d.mts +12 -0
- package/dist/index.d-BS6Sm47l.d.mts +18 -0
- package/dist/index.d-BSQRPGuK.d.mts +18 -0
- package/dist/index.d-BXgDnKDv.d.mts +7 -0
- package/dist/{axios/ts/parser/index.d.ts → index.d-BYOoHBar.d.mts} +5 -3
- package/dist/index.d-BahMmqz0.d.mts +18 -0
- package/dist/index.d-BbxRLLMX.d.mts +12 -0
- package/dist/index.d-BguloXfs.d.mts +7 -0
- package/dist/index.d-BgvbkDJL.d.mts +18 -0
- package/dist/index.d-Bknp-d4G.d.mts +14 -0
- package/dist/index.d-BulZ76hJ.d.mts +18 -0
- package/dist/index.d-BupSEh4R.d.mts +18 -0
- package/dist/index.d-CAirdOCT.d.mts +14 -0
- package/dist/index.d-CDf5ausb.d.mts +12 -0
- package/dist/index.d-CN37Zl7u.d.mts +14 -0
- package/dist/index.d-CVL676ax.d.mts +18 -0
- package/dist/index.d-Cb9k2mo6.d.mts +7 -0
- package/dist/index.d-CdRfZiCo.d.mts +18 -0
- package/dist/index.d-CfS61_iH.d.mts +7 -0
- package/dist/index.d-Ckbfjm0G.d.mts +7 -0
- package/dist/index.d-CljgOS4p.d.mts +18 -0
- package/dist/{fetch/js/parser/index.d.ts → index.d-D1pp_HCy.d.mts} +5 -3
- package/dist/index.d-D33XWXy5.d.mts +14 -0
- package/dist/index.d-D6gcSlpm.d.mts +14 -0
- package/dist/index.d-DCtFuYUN.d.mts +18 -0
- package/dist/index.d-DQZa03Va.d.mts +7 -0
- package/dist/index.d-DW8ts-IU.d.mts +14 -0
- package/dist/index.d-D_aZcN-0.d.mts +7 -0
- package/dist/index.d-DgggRtXp.d.mts +7 -0
- package/dist/index.d-DpLq-R_p.d.mts +12 -0
- package/dist/index.d-DrCRTA_-.d.mts +7 -0
- package/dist/index.d-DuVpMG8_.d.mts +18 -0
- package/dist/{fetch/ts/parser/index.d.ts → index.d-KQGa1SFg.d.mts} +5 -3
- package/dist/index.d-O3Nkol5h.d.mts +7 -0
- package/dist/index.d-lzQFIw8d.d.mts +7 -0
- package/dist/index.d.mts +55 -0
- package/dist/index.mjs +54 -20
- package/dist/js-CfKFwY21.mjs +19 -0
- package/dist/js-DGjfw_hH.mjs +19 -0
- package/dist/js-DwgoBEjQ.mjs +19 -0
- package/dist/js-DxwOJyF7.mjs +19 -0
- package/dist/js-nNB2l-OU.mjs +19 -0
- package/dist/js-uo8fh9bT.mjs +19 -0
- package/dist/ky/index.d.mts +9 -0
- package/dist/ky/index.mjs +9 -7
- package/dist/ky/js/config/index.d.mts +3 -0
- package/dist/ky/js/config/index.mjs +3 -18
- package/dist/ky/js/index.d.mts +5 -0
- package/dist/ky/js/index.mjs +5 -31
- package/dist/ky/js/parser/index.d.mts +3 -0
- package/dist/ky/js/parser/index.mjs +3 -79
- package/dist/ky/ts/config/index.d.mts +3 -0
- package/dist/ky/ts/config/index.mjs +3 -22
- package/dist/ky/ts/index.d.mts +5 -0
- package/dist/ky/ts/index.mjs +5 -31
- package/dist/ky/ts/parser/index.d.mts +3 -0
- package/dist/ky/ts/parser/index.mjs +3 -78
- package/dist/ky-B7lRjugo.mjs +13 -0
- package/dist/ofetch/index.d.mts +9 -0
- package/dist/ofetch/index.mjs +9 -7
- package/dist/ofetch/js/config/index.d.mts +3 -0
- package/dist/ofetch/js/config/index.mjs +3 -18
- package/dist/ofetch/js/index.d.mts +5 -0
- package/dist/ofetch/js/index.mjs +5 -31
- package/dist/ofetch/js/parser/index.d.mts +3 -0
- package/dist/ofetch/js/parser/index.mjs +3 -78
- package/dist/ofetch/ts/config/index.d.mts +3 -0
- package/dist/ofetch/ts/config/index.mjs +3 -22
- package/dist/ofetch/ts/index.d.mts +5 -0
- package/dist/ofetch/ts/index.mjs +5 -31
- package/dist/ofetch/ts/parser/index.d.mts +3 -0
- package/dist/ofetch/ts/parser/index.mjs +3 -76
- package/dist/ofetch-2rci5G0X.mjs +13 -0
- package/dist/parser-8NB1Nfwt.mjs +63 -0
- package/dist/parser-BJWwcP0S.mjs +69 -0
- package/dist/parser-CCXpH6OE.mjs +63 -0
- package/dist/parser-CE48730h.mjs +69 -0
- package/dist/parser-CFOZ5-GF.mjs +62 -0
- package/dist/parser-CSJYNO0a.mjs +69 -0
- package/dist/parser-C_kpdHgT.mjs +68 -0
- package/dist/parser-CaRC8JQj.mjs +67 -0
- package/dist/parser-DCA-N9mk.mjs +77 -0
- package/dist/parser-DY9NSCKJ.mjs +72 -0
- package/dist/parser-Dnqps2TD.mjs +66 -0
- package/dist/parser-GwoAS3rw.mjs +62 -0
- package/dist/ts-4mi0Q-kd.mjs +19 -0
- package/dist/ts-BaRFvnl0.mjs +19 -0
- package/dist/ts-BwAPOUdE.mjs +19 -0
- package/dist/ts-C9t_rVQx.mjs +19 -0
- package/dist/ts-CMn2aSnV.mjs +19 -0
- package/dist/ts-D-cZHoFQ.mjs +19 -0
- package/dist/uni/index.d.mts +9 -0
- package/dist/uni/index.mjs +9 -0
- package/dist/uni/js/config/index.d.mts +3 -0
- package/dist/uni/js/config/index.mjs +3 -0
- package/dist/uni/js/index.d.mts +5 -0
- package/dist/uni/js/index.mjs +5 -0
- package/dist/uni/js/parser/index.d.mts +3 -0
- package/dist/uni/js/parser/index.mjs +3 -0
- package/dist/uni/ts/config/index.d.mts +3 -0
- package/dist/uni/ts/config/index.mjs +3 -0
- package/dist/uni/ts/index.d.mts +5 -0
- package/dist/uni/ts/index.mjs +5 -0
- package/dist/uni/ts/parser/index.d.mts +3 -0
- package/dist/uni/ts/parser/index.mjs +3 -0
- package/dist/uni-DZmF7VCX.mjs +13 -0
- package/package.json +15 -15
- package/dist/axios/index.d.ts +0 -9
- package/dist/axios/js/config/index.d.ts +0 -5
- package/dist/axios/js/index.d.ts +0 -18
- package/dist/axios/ts/config/index.d.ts +0 -5
- package/dist/axios/ts/index.d.ts +0 -18
- package/dist/fetch/index.d.ts +0 -9
- package/dist/fetch/js/config/index.d.ts +0 -5
- package/dist/fetch/js/index.d.ts +0 -18
- package/dist/fetch/ts/config/index.d.ts +0 -5
- package/dist/fetch/ts/index.d.ts +0 -18
- package/dist/got/index.d.ts +0 -9
- package/dist/got/js/config/index.d.ts +0 -5
- package/dist/got/js/index.d.ts +0 -18
- package/dist/got/js/parser/index.d.ts +0 -12
- package/dist/got/ts/config/index.d.ts +0 -5
- package/dist/got/ts/index.d.ts +0 -18
- package/dist/got/ts/parser/index.d.ts +0 -12
- package/dist/index-BoRNV5uE.d.ts +0 -8
- package/dist/index-C-Of8dmT.d.ts +0 -8
- package/dist/index-DUlkpebX.d.ts +0 -8
- package/dist/index-doIz4HN1.d.ts +0 -8
- package/dist/index-ln0OpJQY.d.ts +0 -8
- package/dist/index.d.ts +0 -48
- package/dist/ky/index.d.ts +0 -9
- package/dist/ky/js/config/index.d.ts +0 -5
- package/dist/ky/js/index.d.ts +0 -18
- package/dist/ky/js/parser/index.d.ts +0 -12
- package/dist/ky/ts/config/index.d.ts +0 -5
- package/dist/ky/ts/index.d.ts +0 -18
- package/dist/ky/ts/parser/index.d.ts +0 -12
- package/dist/ofetch/index.d.ts +0 -9
- package/dist/ofetch/js/config/index.d.ts +0 -5
- package/dist/ofetch/js/index.d.ts +0 -18
- package/dist/ofetch/js/parser/index.d.ts +0 -12
- package/dist/ofetch/ts/config/index.d.ts +0 -5
- package/dist/ofetch/ts/index.d.ts +0 -18
- package/dist/ofetch/ts/parser/index.d.ts +0 -12
|
@@ -1,82 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
parseHeaderCommits,
|
|
5
|
-
parseMethodMetadata,
|
|
6
|
-
parseMethodParameters,
|
|
7
|
-
parseOpenapiSpecification,
|
|
8
|
-
transformBaseURL,
|
|
9
|
-
transformBodyStringify,
|
|
10
|
-
transformDefinitions,
|
|
11
|
-
transformParameters,
|
|
12
|
-
transformQueryParams,
|
|
13
|
-
transformUrlSyntax,
|
|
14
|
-
traversePaths
|
|
15
|
-
} from "@genapi/parser";
|
|
16
|
-
function parser(configRead) {
|
|
17
|
-
const source = parseOpenapiSpecification(configRead.source);
|
|
18
|
-
const comments = parseHeaderCommits(source);
|
|
19
|
-
const interfaces = [];
|
|
20
|
-
const functions = [];
|
|
21
|
-
transformBaseURL(source, {
|
|
22
|
-
configRead
|
|
23
|
-
});
|
|
24
|
-
transformDefinitions(source.definitions, {
|
|
25
|
-
interfaces
|
|
26
|
-
});
|
|
27
|
-
transformPaths(source.paths, {
|
|
28
|
-
configRead,
|
|
29
|
-
functions,
|
|
30
|
-
interfaces
|
|
31
|
-
});
|
|
32
|
-
configRead.graphs.comments = comments;
|
|
33
|
-
configRead.graphs.functions = functions;
|
|
34
|
-
configRead.graphs.interfaces = interfaces;
|
|
35
|
-
return configRead;
|
|
36
|
-
}
|
|
37
|
-
function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
38
|
-
traversePaths(paths, (config) => {
|
|
39
|
-
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config);
|
|
40
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
41
|
-
interfaces.push(...attachInters);
|
|
42
|
-
parameters.push({
|
|
43
|
-
name: "config",
|
|
44
|
-
type: "OptionsOfTextResponseBody",
|
|
45
|
-
required: false
|
|
46
|
-
});
|
|
47
|
-
options.push(["...", "config"]);
|
|
48
|
-
if (configRead.config.baseURL)
|
|
49
|
-
options.unshift(["prefixUrl", "baseURL"]);
|
|
50
|
-
for (const parameter of parameters) {
|
|
51
|
-
if (parameter.type === "FormData")
|
|
52
|
-
parameter.type = "any";
|
|
53
|
-
}
|
|
54
|
-
const { spaceResponseType } = transformParameters(parameters, {
|
|
55
|
-
syntax: "typescript",
|
|
56
|
-
configRead,
|
|
57
|
-
description,
|
|
58
|
-
interfaces,
|
|
59
|
-
responseType
|
|
60
|
-
});
|
|
61
|
-
transformBodyStringify("body", { options, parameters });
|
|
62
|
-
transformQueryParams("query", { optionKey: "searchParams", options });
|
|
63
|
-
url = transformUrlSyntax(url);
|
|
64
|
-
functions.push({
|
|
65
|
-
export: true,
|
|
66
|
-
async: true,
|
|
67
|
-
name,
|
|
68
|
-
description,
|
|
69
|
-
parameters,
|
|
70
|
-
body: [
|
|
71
|
-
`const response = http.${config.method}(${url}, {
|
|
72
|
-
${literalFieldsToString(options)}
|
|
73
|
-
})`,
|
|
74
|
-
`return response.json<${spaceResponseType}>()`
|
|
75
|
-
]
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
export {
|
|
80
|
-
parser,
|
|
81
|
-
transformPaths
|
|
82
|
-
};
|
|
1
|
+
import { parser$5 as parser, transformPaths$5 as transformPaths } from "../../../parser-BJWwcP0S.mjs";
|
|
2
|
+
|
|
3
|
+
export { parser, transformPaths };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { js_default$1 as js_default } from "./js-DGjfw_hH.mjs";
|
|
3
|
+
import { ts_default$2 as ts_default } from "./ts-C9t_rVQx.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/got/index.ts
|
|
6
|
+
var got_exports = {};
|
|
7
|
+
__export(got_exports, {
|
|
8
|
+
js: () => js_default,
|
|
9
|
+
ts: () => ts_default
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { got_exports };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApiPipeline,
|
|
2
|
-
import { Paths } from
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
+
//#region src/uni/js/parser/index.d.ts
|
|
4
5
|
interface PathsTransformOptions {
|
|
5
6
|
configRead: ApiPipeline.ConfigRead;
|
|
6
7
|
interfaces: StatementInterface[];
|
|
@@ -9,4 +10,5 @@ interface PathsTransformOptions {
|
|
|
9
10
|
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
10
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$4, parser as parser$16, transformPaths as transformPaths$16 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline } from "./index.d-BS6Sm47l.mjs";
|
|
3
|
+
import { openapiPipeline$4 as openapiPipeline$1 } from "./index.d-CVL676ax.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/axios/index.d.ts
|
|
6
|
+
|
|
7
|
+
declare namespace index_d_exports {
|
|
8
|
+
export { openapiPipeline as js, openapiPipeline$1 as ts, }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { index_d_exports as index_d_exports$1 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/ofetch/ts/parser/index.d.ts
|
|
5
|
+
interface PathsTransformOptions {
|
|
6
|
+
configRead: ApiPipeline.ConfigRead;
|
|
7
|
+
interfaces: StatementInterface[];
|
|
8
|
+
functions: StatementFunction[];
|
|
9
|
+
}
|
|
10
|
+
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
11
|
+
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$10, parser as parser$22, transformPaths as transformPaths$22 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/fetch/ts/parser/index.d.ts
|
|
5
|
+
interface PathsTransformOptions {
|
|
6
|
+
configRead: ApiPipeline.ConfigRead;
|
|
7
|
+
interfaces: StatementInterface[];
|
|
8
|
+
functions: StatementFunction[];
|
|
9
|
+
}
|
|
10
|
+
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
11
|
+
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$5, parser as parser$17, transformPaths as transformPaths$17 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$7 as openapiPipeline } from "./index.d-BgvbkDJL.mjs";
|
|
3
|
+
import { openapiPipeline$8 as openapiPipeline$1 } from "./index.d-BupSEh4R.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/fetch/index.d.ts
|
|
6
|
+
|
|
7
|
+
declare namespace index_d_exports {
|
|
8
|
+
export { openapiPipeline as js, openapiPipeline$1 as ts, }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { index_d_exports as index_d_exports$2 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$15 as parser } from "./index.d-D33XWXy5.mjs";
|
|
2
|
+
import { config$15 as config } from "./index.d-B9C3SJsw.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/uni/ts/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$14, dest$1 as dest$14, generate$1 as generate$14, openapiPipeline as openapiPipeline$2, original$1 as original$14 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$11 as openapiPipeline } from "./index.d-BahMmqz0.mjs";
|
|
3
|
+
import { openapiPipeline$1 } from "./index.d-DuVpMG8_.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/ky/index.d.ts
|
|
6
|
+
|
|
7
|
+
declare namespace index_d_exports {
|
|
8
|
+
export { openapiPipeline as js, openapiPipeline$1 as ts, }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { index_d_exports as index_d_exports$3 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$23 as parser } from "./index.d-DW8ts-IU.mjs";
|
|
2
|
+
import { config$23 as config } from "./index.d-BXgDnKDv.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/axios/js/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$12, dest$1 as dest$12, generate$1 as generate$12, openapiPipeline, original$1 as original$12 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$21 as parser } from "./index.d-CN37Zl7u.mjs";
|
|
2
|
+
import { config$16 as config } from "./index.d-lzQFIw8d.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/ofetch/js/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$15, dest$1 as dest$15, generate$1 as generate$15, openapiPipeline as openapiPipeline$3, original$1 as original$15 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApiPipeline,
|
|
2
|
-
import { Paths } from
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
+
//#region src/ky/ts/parser/index.d.ts
|
|
4
5
|
interface PathsTransformOptions {
|
|
5
6
|
configRead: ApiPipeline.ConfigRead;
|
|
6
7
|
interfaces: StatementInterface[];
|
|
@@ -9,4 +10,5 @@ interface PathsTransformOptions {
|
|
|
9
10
|
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
10
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$8, parser as parser$20, transformPaths as transformPaths$20 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$13 as parser } from "./index.d-KQGa1SFg.mjs";
|
|
2
|
+
import { config$22 as config } from "./index.d-CfS61_iH.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/ky/js/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$23, dest$1 as dest$23, generate$1 as generate$23, openapiPipeline as openapiPipeline$11, original$1 as original$23 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$9 as openapiPipeline } from "./index.d-CljgOS4p.mjs";
|
|
3
|
+
import { openapiPipeline$10 as openapiPipeline$1 } from "./index.d-BulZ76hJ.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/got/index.d.ts
|
|
6
|
+
|
|
7
|
+
declare namespace index_d_exports {
|
|
8
|
+
export { openapiPipeline as js, openapiPipeline$1 as ts, }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { index_d_exports };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$12 as parser } from "./index.d-D1pp_HCy.mjs";
|
|
2
|
+
import { config$18 as config } from "./index.d-BguloXfs.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/fetch/js/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$19, dest$1 as dest$19, generate$1 as generate$19, openapiPipeline as openapiPipeline$7, original$1 as original$19 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/axios/ts/parser/index.d.ts
|
|
5
|
+
interface PathsTransformOptions {
|
|
6
|
+
configRead: ApiPipeline.ConfigRead;
|
|
7
|
+
interfaces: StatementInterface[];
|
|
8
|
+
functions: StatementFunction[];
|
|
9
|
+
}
|
|
10
|
+
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
11
|
+
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$2, parser as parser$14, transformPaths as transformPaths$14 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$19 as parser } from "./index.d-CAirdOCT.mjs";
|
|
2
|
+
import { config$21 as config } from "./index.d-Cb9k2mo6.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/got/ts/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$22, dest$1 as dest$22, generate$1 as generate$22, openapiPipeline as openapiPipeline$10, original$1 as original$22 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$17 as parser } from "./index.d-BB-bpoWw.mjs";
|
|
2
|
+
import { config$19 as config } from "./index.d-O3Nkol5h.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/fetch/ts/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$20, dest$1 as dest$20, generate$1 as generate$20, openapiPipeline as openapiPipeline$8, original$1 as original$20 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/got/ts/parser/index.d.ts
|
|
5
|
+
interface PathsTransformOptions {
|
|
6
|
+
configRead: ApiPipeline.ConfigRead;
|
|
7
|
+
interfaces: StatementInterface[];
|
|
8
|
+
functions: StatementFunction[];
|
|
9
|
+
}
|
|
10
|
+
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
11
|
+
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$7, parser as parser$19, transformPaths as transformPaths$19 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$5 as openapiPipeline } from "./index.d-CdRfZiCo.mjs";
|
|
3
|
+
import { openapiPipeline$2 as openapiPipeline$1 } from "./index.d-BDy4V2O7.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/uni/index.d.ts
|
|
6
|
+
|
|
7
|
+
declare namespace index_d_exports {
|
|
8
|
+
export { openapiPipeline as js, openapiPipeline$1 as ts, }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { index_d_exports as index_d_exports$5 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/ofetch/js/parser/index.d.ts
|
|
5
|
+
interface PathsTransformOptions {
|
|
6
|
+
configRead: ApiPipeline.ConfigRead;
|
|
7
|
+
interfaces: StatementInterface[];
|
|
8
|
+
functions: StatementFunction[];
|
|
9
|
+
}
|
|
10
|
+
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
11
|
+
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$9, parser as parser$21, transformPaths as transformPaths$21 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$14 as parser } from "./index.d-Bknp-d4G.mjs";
|
|
2
|
+
import { config$20 as config } from "./index.d-DgggRtXp.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/axios/ts/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$16, dest$1 as dest$16, generate$1 as generate$16, openapiPipeline as openapiPipeline$4, original$1 as original$16 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$16 as parser } from "./index.d-4OvQY24D.mjs";
|
|
2
|
+
import { config$14 as config } from "./index.d-DQZa03Va.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/uni/js/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$17, dest$1 as dest$17, generate$1 as generate$17, openapiPipeline as openapiPipeline$5, original$1 as original$17 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$18 as parser } from "./index.d-D6gcSlpm.mjs";
|
|
2
|
+
import { config$12 as config } from "./index.d-DrCRTA_-.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/got/js/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$21, dest$1 as dest$21, generate$1 as generate$21, openapiPipeline as openapiPipeline$9, original$1 as original$21 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApiPipeline,
|
|
2
|
-
import { Paths } from
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
+
//#region src/fetch/js/parser/index.d.ts
|
|
4
5
|
interface PathsTransformOptions {
|
|
5
6
|
configRead: ApiPipeline.ConfigRead;
|
|
6
7
|
interfaces: StatementInterface[];
|
|
@@ -9,4 +10,5 @@ interface PathsTransformOptions {
|
|
|
9
10
|
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
10
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions, parser as parser$12, transformPaths as transformPaths$12 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/uni/ts/parser/index.d.ts
|
|
5
|
+
interface PathsTransformOptions {
|
|
6
|
+
configRead: ApiPipeline.ConfigRead;
|
|
7
|
+
interfaces: StatementInterface[];
|
|
8
|
+
functions: StatementFunction[];
|
|
9
|
+
}
|
|
10
|
+
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
11
|
+
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$3, parser as parser$15, transformPaths as transformPaths$15 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/got/js/parser/index.d.ts
|
|
5
|
+
interface PathsTransformOptions {
|
|
6
|
+
configRead: ApiPipeline.ConfigRead;
|
|
7
|
+
interfaces: StatementInterface[];
|
|
8
|
+
functions: StatementFunction[];
|
|
9
|
+
}
|
|
10
|
+
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
11
|
+
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$6, parser as parser$18, transformPaths as transformPaths$18 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$22 as parser } from "./index.d-B1KgwGJV.mjs";
|
|
2
|
+
import { config$13 as config } from "./index.d-Ckbfjm0G.mjs";
|
|
3
|
+
import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
|
|
4
|
+
import { ApiPipeline } from "@genapi/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/ofetch/ts/index.d.ts
|
|
7
|
+
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
|
+
declare namespace openapiPipeline {
|
|
9
|
+
var config: typeof config;
|
|
10
|
+
var original: typeof original;
|
|
11
|
+
var parser: typeof parser;
|
|
12
|
+
var compiler: typeof compiler;
|
|
13
|
+
var generate: typeof generate;
|
|
14
|
+
var dest: typeof dest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { compiler$1 as compiler$18, dest$1 as dest$18, generate$1 as generate$18, openapiPipeline as openapiPipeline$6, original$1 as original$18 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/axios/js/parser/index.d.ts
|
|
5
|
+
interface PathsTransformOptions {
|
|
6
|
+
configRead: ApiPipeline.ConfigRead;
|
|
7
|
+
interfaces: StatementInterface[];
|
|
8
|
+
functions: StatementFunction[];
|
|
9
|
+
}
|
|
10
|
+
declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
|
|
11
|
+
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$11, parser as parser$23, transformPaths as transformPaths$23 };
|