@genapi/presets 3.6.4 → 3.7.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/dist/axios/index.d.mts +7 -7
- package/dist/axios/index.mjs +7 -7
- package/dist/axios/js/config/index.d.mts +1 -1
- package/dist/axios/js/config/index.mjs +1 -1
- package/dist/axios/js/index.d.mts +3 -3
- package/dist/axios/js/index.mjs +3 -3
- package/dist/axios/js/parser/index.d.mts +1 -1
- package/dist/axios/js/parser/index.mjs +1 -1
- package/dist/axios/ts/config/index.d.mts +1 -1
- package/dist/axios/ts/config/index.mjs +1 -1
- package/dist/axios/ts/index.d.mts +3 -3
- package/dist/axios/ts/index.mjs +3 -3
- package/dist/axios/ts/parser/index.d.mts +1 -1
- package/dist/axios/ts/parser/index.mjs +1 -1
- package/dist/{axios-iv3walM_.mjs → axios-C-GYxVyS.mjs} +2 -2
- package/dist/{config-B89EoGE7.mjs → config-Bt-OVtrF.mjs} +1 -1
- package/dist/{config-BHBub1xl.mjs → config-CCf0xLx5.mjs} +1 -1
- package/dist/{config-DgC2f2AO.mjs → config-CDvaM7ZL.mjs} +1 -1
- package/dist/{config-BhuG_ib-.mjs → config-CEngTpXa.mjs} +1 -1
- package/dist/{config-D3PcAA6e.mjs → config-CRdZhud4.mjs} +1 -1
- package/dist/{config-CwmGeydd.mjs → config-CTDgiXdv.mjs} +1 -1
- package/dist/{config-Cc3VHRal.mjs → config-Dn-mxTew.mjs} +1 -1
- package/dist/{config-CwXkxa5e.mjs → config-Dp9C4aUE.mjs} +1 -1
- package/dist/{config-BJZnXcL3.mjs → config-Duv2zgs0.mjs} +1 -1
- package/dist/{config-B6Kbwf1K.mjs → config-IeVj3de_.mjs} +1 -1
- package/dist/{config-mEpI8_sx.mjs → config-SP_VEcsX.mjs} +1 -1
- package/dist/fetch/index.d.mts +6 -6
- package/dist/fetch/index.mjs +7 -7
- package/dist/fetch/js/config/index.d.mts +1 -1
- package/dist/fetch/js/config/index.mjs +1 -1
- package/dist/fetch/js/index.d.mts +3 -3
- package/dist/fetch/js/index.mjs +3 -3
- package/dist/fetch/js/parser/index.d.mts +1 -1
- package/dist/fetch/js/parser/index.mjs +1 -1
- package/dist/fetch/ts/config/index.mjs +1 -1
- package/dist/fetch/ts/index.d.mts +2 -2
- package/dist/fetch/ts/index.mjs +3 -3
- package/dist/fetch/ts/parser/index.d.mts +1 -1
- package/dist/fetch/ts/parser/index.mjs +1 -1
- package/dist/{fetch-DLL06Jn7.mjs → fetch-DNLodiAP.mjs} +2 -2
- package/dist/got/index.d.mts +6 -6
- package/dist/got/index.mjs +6 -6
- package/dist/got/js/config/index.d.mts +1 -1
- package/dist/got/js/config/index.mjs +1 -1
- package/dist/got/js/index.d.mts +3 -3
- package/dist/got/js/index.mjs +3 -3
- package/dist/got/js/parser/index.d.mts +1 -1
- package/dist/got/js/parser/index.mjs +1 -1
- package/dist/got/ts/index.d.mts +2 -2
- package/dist/got/ts/index.mjs +2 -2
- package/dist/got/ts/parser/index.d.mts +1 -1
- package/dist/got/ts/parser/index.mjs +1 -1
- package/dist/{got-Bk_ycTUL.mjs → got-BIOwnc0x.mjs} +2 -2
- package/dist/index.d-B1n6Tnt1.d.mts +12 -0
- package/dist/{index.d-DggSdR0X.d.mts → index.d-BAZgb_b9.d.mts} +3 -3
- package/dist/{index.d-DY6RM6Ay.d.mts → index.d-BG_KI3-b.d.mts} +1 -1
- package/dist/{index.d-hifkeXRt.d.mts → index.d-BfFQykLh.d.mts} +3 -3
- package/dist/{index.d-BkDJnw7U.d.mts → index.d-BkDRl56J.d.mts} +1 -1
- package/dist/{index.d-7vIBcqWp.d.mts → index.d-BsBf_9LO.d.mts} +1 -1
- package/dist/{index.d-CVft0H8H.d.mts → index.d-BumPVmi6.d.mts} +2 -2
- package/dist/{index.d-BTl_y5wj.d.mts → index.d-Bxb1Ew8J.d.mts} +2 -2
- package/dist/{index.d-Cd_xBZkT.d.mts → index.d-BxhX9ZHb.d.mts} +2 -2
- package/dist/{index.d-CEni3u-v.d.mts → index.d-C7snKiSp.d.mts} +2 -2
- package/dist/{index.d-D5GtXziQ.d.mts → index.d-CBozMBWF.d.mts} +2 -2
- package/dist/{index.d-Blu1fWNS.d.mts → index.d-CDWq1HYV.d.mts} +3 -3
- package/dist/{index.d-jXY3HfJV.d.mts → index.d-CEAmhQXE.d.mts} +2 -2
- package/dist/index.d-CJvL62Un.d.mts +12 -0
- package/dist/{index.d-DrCRTA_-.d.mts → index.d-CTkBXgsL.d.mts} +1 -1
- package/dist/{index.d-BfxfJzRS.d.mts → index.d-CV6YWGPd.d.mts} +3 -3
- package/dist/{index.d-sD6rvM8B.d.mts → index.d-C_cfONoz.d.mts} +2 -2
- package/dist/{index.d-pOHvTyqd.d.mts → index.d-CkaW5o1S.d.mts} +1 -1
- package/dist/{index.d-Cf66U2mM.d.mts → index.d-CoyMx1eg.d.mts} +2 -2
- package/dist/{index.d-B-3xNMdO.d.mts → index.d-D2DYrmcB.d.mts} +2 -2
- package/dist/{index.d-DWHBuUbH.d.mts → index.d-D31630wD.d.mts} +3 -3
- package/dist/{index.d-yBHJ-qeO.d.mts → index.d-D4dt4SN4.d.mts} +4 -4
- package/dist/{index.d-Bl3eJN4u.d.mts → index.d-D8QZqVyr.d.mts} +3 -3
- package/dist/{index.d-B7QHlSFS.d.mts → index.d-DJrTX9xf.d.mts} +3 -3
- package/dist/{index.d-DEHbLh_t.d.mts → index.d-DMF-u4U9.d.mts} +3 -3
- package/dist/{index.d-BtHVL3BR.d.mts → index.d-DRC1cM3h.d.mts} +3 -3
- package/dist/{index.d-CZFjwNR8.d.mts → index.d-DZt4GzNR.d.mts} +3 -3
- package/dist/index.d-DbmCOzZ_.d.mts +12 -0
- package/dist/{index.d-Dq2vxB2L.d.mts → index.d-Df6nDub9.d.mts} +1 -1
- package/dist/{index.d-C0TXUsBB.d.mts → index.d-DhevLWeK.d.mts} +3 -3
- package/dist/{index.d-DB4DQcb7.d.mts → index.d-Gm6xdqdc.d.mts} +2 -2
- package/dist/index.d-KiVamk2z.d.mts +12 -0
- package/dist/{index.d-DUEyaGJk.d.mts → index.d-Oclhn_rY.d.mts} +1 -1
- package/dist/{index.d-B_46bdja.d.mts → index.d-SEFhGKxl.d.mts} +1 -1
- package/dist/{index.d-yzOi6A83.d.mts → index.d-fRobkY_s.d.mts} +3 -3
- package/dist/{index.d-Bs9ACBYl.d.mts → index.d-ltrmOwIz.d.mts} +1 -1
- package/dist/{index.d-DJv4EMYu.d.mts → index.d-lzQFIw8d.d.mts} +1 -1
- package/dist/{index.d-Bgc7dYZS.d.mts → index.d-mJ3Pcxey.d.mts} +2 -2
- package/dist/{index.d-DcMTRJFe.d.mts → index.d-xPgxVw9l.d.mts} +2 -2
- package/dist/index.d.mts +39 -39
- package/dist/index.mjs +41 -41
- package/dist/{js-nrzOgHcn.mjs → js-BIi60-ws.mjs} +3 -3
- package/dist/js-CbvjSthC.mjs +19 -0
- package/dist/{js-D-lPI2Zn.mjs → js-DrRwXaos.mjs} +3 -3
- package/dist/{js-DV7q1vbm.mjs → js-_HvDqbMK.mjs} +3 -3
- package/dist/{js-CW96SJaN.mjs → js-rCsJDgHU.mjs} +3 -3
- package/dist/{ts-Bm10CVRI.mjs → js-tqiiLynG.mjs} +5 -5
- package/dist/ky/index.d.mts +7 -7
- package/dist/ky/index.mjs +7 -7
- package/dist/ky/js/config/index.d.mts +1 -1
- package/dist/ky/js/config/index.mjs +1 -1
- package/dist/ky/js/index.d.mts +3 -3
- package/dist/ky/js/index.mjs +3 -3
- package/dist/ky/js/parser/index.d.mts +1 -1
- package/dist/ky/js/parser/index.mjs +1 -1
- package/dist/ky/ts/config/index.d.mts +1 -1
- package/dist/ky/ts/config/index.mjs +1 -1
- package/dist/ky/ts/index.d.mts +3 -3
- package/dist/ky/ts/index.mjs +3 -3
- package/dist/ky/ts/parser/index.d.mts +1 -1
- package/dist/ky/ts/parser/index.mjs +1 -1
- package/dist/{ky-yrBtHJOC.mjs → ky-P-rg3kH4.mjs} +2 -2
- package/dist/ofetch/index.d.mts +7 -7
- package/dist/ofetch/index.mjs +7 -7
- package/dist/ofetch/js/config/index.d.mts +1 -1
- package/dist/ofetch/js/config/index.mjs +1 -1
- package/dist/ofetch/js/index.d.mts +3 -3
- package/dist/ofetch/js/index.mjs +3 -3
- package/dist/ofetch/js/parser/index.d.mts +1 -1
- package/dist/ofetch/js/parser/index.mjs +1 -1
- package/dist/ofetch/ts/config/index.d.mts +1 -1
- package/dist/ofetch/ts/config/index.mjs +1 -1
- package/dist/ofetch/ts/index.d.mts +3 -3
- package/dist/ofetch/ts/index.mjs +3 -3
- package/dist/ofetch/ts/parser/index.d.mts +1 -1
- package/dist/ofetch/ts/parser/index.mjs +1 -1
- package/dist/{ofetch-CRcbex0G.mjs → ofetch-B_VRlsTN.mjs} +2 -2
- package/dist/{parser-XfpBe6J7.mjs → parser-BMWMb1tW.mjs} +11 -9
- package/dist/{parser-ILpmQxJS.mjs → parser-BOXlubkg.mjs} +11 -9
- package/dist/{parser-Cmtirdyk.mjs → parser-BYrX-ru-.mjs} +11 -9
- package/dist/{parser-eI6eqR9i.mjs → parser-BcgivITa.mjs} +11 -9
- package/dist/{parser-BfHrwX8k.mjs → parser-BtnVu9-k.mjs} +11 -9
- package/dist/{parser-Bca6rvOA.mjs → parser-ChqBZo9I.mjs} +11 -9
- package/dist/{parser-CKxD1WcD.mjs → parser-DqCzNFba.mjs} +11 -9
- package/dist/{parser-EdhJ3Qd1.mjs → parser-ZusEtk4G.mjs} +11 -9
- package/dist/{parser-C7x_CYBU.mjs → parser-ie6DpPJX.mjs} +11 -9
- package/dist/{parser-OMrPnoEH.mjs → parser-kk99DwsW.mjs} +10 -8
- package/dist/{parser-2fyRmQ9U.mjs → parser-p29Uia9I.mjs} +11 -9
- package/dist/{parser-DWEwuz0M.mjs → parser-v9oBdoth.mjs} +11 -9
- package/dist/{ts-CGmPodda.mjs → ts-B-VDMOmJ.mjs} +3 -3
- package/dist/{ts-B_95wjwz.mjs → ts-BAOPMwAr.mjs} +3 -3
- package/dist/{ts-C63VeyhJ.mjs → ts-BEo8NDau.mjs} +3 -3
- package/dist/{ts-DaGoV8V5.mjs → ts-C0RacOIG.mjs} +3 -3
- package/dist/{ts-wjKQK01I.mjs → ts-CBWxAza5.mjs} +1 -1
- package/dist/{js-nPYw8nGm.mjs → ts-UnhKokN_.mjs} +5 -5
- package/dist/uni/index.d.mts +6 -6
- package/dist/uni/index.mjs +7 -7
- package/dist/uni/js/config/index.mjs +1 -1
- package/dist/uni/js/index.d.mts +2 -2
- package/dist/uni/js/index.mjs +3 -3
- package/dist/uni/js/parser/index.d.mts +1 -1
- package/dist/uni/js/parser/index.mjs +1 -1
- package/dist/uni/ts/config/index.d.mts +1 -1
- package/dist/uni/ts/config/index.mjs +1 -1
- package/dist/uni/ts/index.d.mts +3 -3
- package/dist/uni/ts/index.mjs +3 -3
- package/dist/uni/ts/parser/index.d.mts +1 -1
- package/dist/uni/ts/parser/index.mjs +1 -1
- package/dist/{uni-D2Xd9fEW.mjs → uni-CQMaFViG.mjs} +2 -2
- package/package.json +4 -4
- package/dist/index.d-BWW0jq-P.d.mts +0 -12
- package/dist/index.d-CCg_Iz5v.d.mts +0 -12
- package/dist/index.d-CjnRhC1X.d.mts +0 -12
- package/dist/index.d-DrmSSkE4.d.mts +0 -12
- package/dist/js-BP1luA69.mjs +0 -19
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { config$4 as config } from "./config-
|
|
2
|
-
import { parser$4 as parser } from "./parser-
|
|
1
|
+
import { config$4 as config } from "./config-CTDgiXdv.mjs";
|
|
2
|
+
import { parser$4 as parser } from "./parser-DqCzNFba.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
5
|
+
//#region src/axios/js/index.ts
|
|
6
6
|
function openapiPipeline(userConfig) {
|
|
7
7
|
const process = pipeline((userConfig$1) => config(userConfig$1), (configRead) => original$1(configRead), (configRead) => parser(configRead), (configRead) => compiler$1(configRead), (configRead) => generate$1(configRead), (configRead) => dest$1(configRead));
|
|
8
8
|
return process(userConfig);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { config$8 as config } from "./config-
|
|
2
|
-
import { parser$8 as parser } from "./parser-
|
|
1
|
+
import { config$8 as config } from "./config-CRdZhud4.mjs";
|
|
2
|
+
import { parser$8 as parser } from "./parser-v9oBdoth.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
5
|
+
//#region src/ky/js/index.ts
|
|
6
6
|
function openapiPipeline(userConfig) {
|
|
7
7
|
const process = pipeline((userConfig$1) => config(userConfig$1), (configRead) => original$1(configRead), (configRead) => parser(configRead), (configRead) => compiler$1(configRead), (configRead) => generate$1(configRead), (configRead) => dest$1(configRead));
|
|
8
8
|
return process(userConfig);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { config$10 as config } from "./config-
|
|
2
|
-
import { parser$10 as parser } from "./parser-
|
|
1
|
+
import { config$10 as config } from "./config-Dn-mxTew.mjs";
|
|
2
|
+
import { parser$10 as parser } from "./parser-BMWMb1tW.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
5
|
+
//#region src/uni/js/index.ts
|
|
6
6
|
function openapiPipeline(userConfig) {
|
|
7
7
|
const process = pipeline((userConfig$1) => config(userConfig$1), (configRead) => original$1(configRead), (configRead) => parser(configRead), (configRead) => compiler$1(configRead), (configRead) => generate$1(configRead), (configRead) => dest$1(configRead));
|
|
8
8
|
return process(userConfig);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { config
|
|
2
|
-
import { parser } from "./parser-
|
|
1
|
+
import { config } from "./config-Duv2zgs0.mjs";
|
|
2
|
+
import { parser } from "./parser-BcgivITa.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
5
|
+
//#region src/fetch/js/index.ts
|
|
6
6
|
function openapiPipeline(userConfig) {
|
|
7
7
|
const process = pipeline((userConfig$1) => config(userConfig$1), (configRead) => original$1(configRead), (configRead) => parser(configRead), (configRead) => compiler$1(configRead), (configRead) => generate$1(configRead), (configRead) => dest$1(configRead));
|
|
8
8
|
return process(userConfig);
|
|
@@ -13,7 +13,7 @@ openapiPipeline.parser = parser;
|
|
|
13
13
|
openapiPipeline.compiler = compiler$1;
|
|
14
14
|
openapiPipeline.generate = generate$1;
|
|
15
15
|
openapiPipeline.dest = dest$1;
|
|
16
|
-
var
|
|
16
|
+
var js_default = openapiPipeline;
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
|
-
export { compiler$1 as compiler, dest$1 as dest, generate$1 as generate, original$1 as original
|
|
19
|
+
export { compiler$1 as compiler, dest$1 as dest, generate$1 as generate, js_default, original$1 as original };
|
package/dist/ky/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../index.d-
|
|
2
|
-
import "../index.d-
|
|
3
|
-
import { openapiPipeline$
|
|
4
|
-
import "../index.d-
|
|
5
|
-
import "../index.d-
|
|
6
|
-
import { openapiPipeline$
|
|
7
|
-
import "../index.d-
|
|
1
|
+
import "../index.d-CEAmhQXE.mjs";
|
|
2
|
+
import "../index.d-BsBf_9LO.mjs";
|
|
3
|
+
import { openapiPipeline$10 as openapiPipeline } from "../index.d-DZt4GzNR.mjs";
|
|
4
|
+
import "../index.d-ltrmOwIz.mjs";
|
|
5
|
+
import "../index.d-Df6nDub9.mjs";
|
|
6
|
+
import { openapiPipeline$11 as openapiPipeline$1 } from "../index.d-D8QZqVyr.mjs";
|
|
7
|
+
import "../index.d-KiVamk2z.mjs";
|
|
8
8
|
|
|
9
9
|
export { openapiPipeline as js, openapiPipeline$1 as ts };
|
package/dist/ky/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../config-
|
|
2
|
-
import "../parser-
|
|
3
|
-
import { js_default$
|
|
4
|
-
import "../config-
|
|
5
|
-
import "../parser-
|
|
6
|
-
import { ts_default$
|
|
7
|
-
import "../ky-
|
|
1
|
+
import "../config-CRdZhud4.mjs";
|
|
2
|
+
import "../parser-v9oBdoth.mjs";
|
|
3
|
+
import { js_default$4 as js_default } from "../js-_HvDqbMK.mjs";
|
|
4
|
+
import "../config-IeVj3de_.mjs";
|
|
5
|
+
import "../parser-ChqBZo9I.mjs";
|
|
6
|
+
import { ts_default$4 as ts_default } from "../ts-C0RacOIG.mjs";
|
|
7
|
+
import "../ky-P-rg3kH4.mjs";
|
|
8
8
|
|
|
9
9
|
export { js_default as js, ts_default as ts };
|
package/dist/ky/js/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$23 as parser } from "../../index.d-CEAmhQXE.mjs";
|
|
2
|
+
import { config$20 as config } from "../../index.d-BsBf_9LO.mjs";
|
|
3
|
+
import { compiler$22 as compiler, dest$22 as dest, generate$22 as generate, openapiPipeline$10 as openapiPipeline, original$22 as original } from "../../index.d-DZt4GzNR.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/ky/js/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { config$8 as config } from "../../config-CRdZhud4.mjs";
|
|
2
|
+
import { parser$8 as parser } from "../../parser-v9oBdoth.mjs";
|
|
3
|
+
import { compiler$8 as compiler, dest$8 as dest, generate$8 as generate, js_default$4 as js_default, original$8 as original } from "../../js-_HvDqbMK.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, js_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions$
|
|
1
|
+
import { PathsTransformOptions$11 as PathsTransformOptions, parser$23 as parser, transformPaths$23 as transformPaths } from "../../../index.d-CEAmhQXE.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
package/dist/ky/ts/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$22 as parser } from "../../index.d-
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$22 as parser } from "../../index.d-ltrmOwIz.mjs";
|
|
2
|
+
import { config$22 as config } from "../../index.d-Df6nDub9.mjs";
|
|
3
|
+
import { compiler$23 as compiler, dest$23 as dest, generate$23 as generate, openapiPipeline$11 as openapiPipeline, original$23 as original } from "../../index.d-D8QZqVyr.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/ky/ts/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { config$9 as config } from "../../config-IeVj3de_.mjs";
|
|
2
|
+
import { parser$9 as parser } from "../../parser-ChqBZo9I.mjs";
|
|
3
|
+
import { compiler$9 as compiler, dest$9 as dest, generate$9 as generate, original$9 as original, ts_default$4 as ts_default } from "../../ts-C0RacOIG.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, ts_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions$10 as PathsTransformOptions, parser$22 as parser, transformPaths$22 as transformPaths } from "../../../index.d-
|
|
1
|
+
import { PathsTransformOptions$10 as PathsTransformOptions, parser$22 as parser, transformPaths$22 as transformPaths } from "../../../index.d-ltrmOwIz.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { js_default$
|
|
3
|
-
import { ts_default$
|
|
2
|
+
import { js_default$4 as js_default } from "./js-_HvDqbMK.mjs";
|
|
3
|
+
import { ts_default$4 as ts_default } from "./ts-C0RacOIG.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/ky/index.ts
|
|
6
6
|
var ky_exports = {};
|
package/dist/ofetch/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../index.d-
|
|
2
|
-
import "../index.d-
|
|
3
|
-
import { openapiPipeline$
|
|
4
|
-
import "../index.d-
|
|
5
|
-
import "../index.d-
|
|
6
|
-
import { openapiPipeline$
|
|
7
|
-
import "../index.d-
|
|
1
|
+
import "../index.d-D2DYrmcB.mjs";
|
|
2
|
+
import "../index.d-lzQFIw8d.mjs";
|
|
3
|
+
import { openapiPipeline$8 as openapiPipeline } from "../index.d-DMF-u4U9.mjs";
|
|
4
|
+
import "../index.d-CoyMx1eg.mjs";
|
|
5
|
+
import "../index.d-CkaW5o1S.mjs";
|
|
6
|
+
import { openapiPipeline$9 as openapiPipeline$1 } from "../index.d-CV6YWGPd.mjs";
|
|
7
|
+
import "../index.d-DbmCOzZ_.mjs";
|
|
8
8
|
|
|
9
9
|
export { openapiPipeline as js, openapiPipeline$1 as ts };
|
package/dist/ofetch/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../config-
|
|
2
|
-
import "../parser-
|
|
3
|
-
import { js_default$
|
|
4
|
-
import "../config-
|
|
5
|
-
import "../parser-
|
|
6
|
-
import { ts_default$
|
|
7
|
-
import "../ofetch-
|
|
1
|
+
import "../config-SP_VEcsX.mjs";
|
|
2
|
+
import "../parser-p29Uia9I.mjs";
|
|
3
|
+
import { js_default$3 as js_default } from "../js-BIi60-ws.mjs";
|
|
4
|
+
import "../config-Dp9C4aUE.mjs";
|
|
5
|
+
import "../parser-BtnVu9-k.mjs";
|
|
6
|
+
import { ts_default$3 as ts_default } from "../ts-BAOPMwAr.mjs";
|
|
7
|
+
import "../ofetch-B_VRlsTN.mjs";
|
|
8
8
|
|
|
9
9
|
export { js_default as js, ts_default as ts };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$18 as parser } from "../../index.d-D2DYrmcB.mjs";
|
|
2
|
+
import { config$16 as config } from "../../index.d-lzQFIw8d.mjs";
|
|
3
|
+
import { compiler$20 as compiler, dest$20 as dest, generate$20 as generate, openapiPipeline$8 as openapiPipeline, original$20 as original } from "../../index.d-DMF-u4U9.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/ofetch/js/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { config$6 as config } from "../../config-SP_VEcsX.mjs";
|
|
2
|
+
import { parser$6 as parser } from "../../parser-p29Uia9I.mjs";
|
|
3
|
+
import { compiler$6 as compiler, dest$6 as dest, generate$6 as generate, js_default$3 as js_default, original$6 as original } from "../../js-BIi60-ws.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, js_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions$
|
|
1
|
+
import { PathsTransformOptions$6 as PathsTransformOptions, parser$18 as parser, transformPaths$18 as transformPaths } from "../../../index.d-D2DYrmcB.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$20 as parser } from "../../index.d-CoyMx1eg.mjs";
|
|
2
|
+
import { config$18 as config } from "../../index.d-CkaW5o1S.mjs";
|
|
3
|
+
import { compiler$21 as compiler, dest$21 as dest, generate$21 as generate, openapiPipeline$9 as openapiPipeline, original$21 as original } from "../../index.d-CV6YWGPd.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/ofetch/ts/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { config$7 as config } from "../../config-Dp9C4aUE.mjs";
|
|
2
|
+
import { parser$7 as parser } from "../../parser-BtnVu9-k.mjs";
|
|
3
|
+
import { compiler$7 as compiler, dest$7 as dest, generate$7 as generate, original$7 as original, ts_default$3 as ts_default } from "../../ts-BAOPMwAr.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, ts_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions, parser$
|
|
1
|
+
import { PathsTransformOptions$8 as PathsTransformOptions, parser$20 as parser, transformPaths$20 as transformPaths } from "../../../index.d-CoyMx1eg.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { js_default$
|
|
3
|
-
import { ts_default$
|
|
2
|
+
import { js_default$3 as js_default } from "./js-BIi60-ws.mjs";
|
|
3
|
+
import { ts_default$3 as ts_default } from "./ts-BAOPMwAr.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/ofetch/index.ts
|
|
6
6
|
var ofetch_exports = {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { literalFieldsToString, parseHeaderCommits, parseMethodMetadata, parseMethodParameters, parseOpenapiSpecification, transformBaseURL, transformDefinitions, transformParameters, transformUrlSyntax, traversePaths } from "@genapi/parser";
|
|
2
|
+
import { inject, provide } from "@genapi/shared";
|
|
2
3
|
|
|
3
4
|
//#region src/uni/js/parser/index.ts
|
|
4
5
|
function parser(configRead) {
|
|
@@ -6,19 +7,20 @@ function parser(configRead) {
|
|
|
6
7
|
const comments = parseHeaderCommits(source);
|
|
7
8
|
const interfaces = [];
|
|
8
9
|
const functions = [];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
configRead,
|
|
13
|
-
functions,
|
|
14
|
-
interfaces
|
|
10
|
+
provide({
|
|
11
|
+
interfaces,
|
|
12
|
+
functions
|
|
15
13
|
});
|
|
14
|
+
transformBaseURL(source);
|
|
15
|
+
transformDefinitions(source.definitions);
|
|
16
|
+
transformPaths(source.paths);
|
|
16
17
|
configRead.graphs.comments = comments;
|
|
17
18
|
configRead.graphs.functions = functions;
|
|
18
19
|
configRead.graphs.interfaces = interfaces;
|
|
19
20
|
return configRead;
|
|
20
21
|
}
|
|
21
|
-
function transformPaths(paths
|
|
22
|
+
function transformPaths(paths) {
|
|
23
|
+
const { configRead, functions, interfaces } = inject();
|
|
22
24
|
traversePaths(paths, (config) => {
|
|
23
25
|
/**
|
|
24
26
|
|
|
@@ -29,7 +31,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
31
|
body: "data",
|
|
30
32
|
query: "params"
|
|
31
33
|
});
|
|
32
|
-
let { name, description, url, responseType } = parseMethodMetadata(config
|
|
34
|
+
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
33
35
|
options.push(["...", "config"]);
|
|
34
36
|
interfaces.push(...attachInters);
|
|
35
37
|
parameters.push({
|
|
@@ -60,4 +62,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
//#endregion
|
|
63
|
-
export { parser as parser$
|
|
65
|
+
export { parser as parser$10, transformPaths as transformPaths$10 };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { literalFieldsToString, parseHeaderCommits, parseMethodMetadata, parseMethodParameters, parseOpenapiSpecification, transformBaseURL, transformDefinitions, transformParameters, transformUrlSyntax, traversePaths } from "@genapi/parser";
|
|
2
|
+
import { inject, provide } from "@genapi/shared";
|
|
2
3
|
|
|
3
4
|
//#region src/uni/ts/parser/index.ts
|
|
4
5
|
function parser(configRead) {
|
|
@@ -6,19 +7,20 @@ function parser(configRead) {
|
|
|
6
7
|
const comments = parseHeaderCommits(source);
|
|
7
8
|
const interfaces = [];
|
|
8
9
|
const functions = [];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
configRead,
|
|
13
|
-
functions,
|
|
14
|
-
interfaces
|
|
10
|
+
provide({
|
|
11
|
+
interfaces,
|
|
12
|
+
functions
|
|
15
13
|
});
|
|
14
|
+
transformBaseURL(source);
|
|
15
|
+
transformDefinitions(source.definitions);
|
|
16
|
+
transformPaths(source.paths);
|
|
16
17
|
configRead.graphs.comments = comments;
|
|
17
18
|
configRead.graphs.functions = functions;
|
|
18
19
|
configRead.graphs.interfaces = interfaces;
|
|
19
20
|
return configRead;
|
|
20
21
|
}
|
|
21
|
-
function transformPaths(paths
|
|
22
|
+
function transformPaths(paths) {
|
|
23
|
+
const { configRead, functions, interfaces } = inject();
|
|
22
24
|
traversePaths(paths, (config) => {
|
|
23
25
|
/**
|
|
24
26
|
|
|
@@ -29,7 +31,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
31
|
body: "data",
|
|
30
32
|
query: "params"
|
|
31
33
|
});
|
|
32
|
-
let { name, description, url, responseType } = parseMethodMetadata(config
|
|
34
|
+
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
33
35
|
options.push(["...", "config"]);
|
|
34
36
|
interfaces.push(...attachInters);
|
|
35
37
|
parameters.push({
|
|
@@ -59,4 +61,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
//#endregion
|
|
62
|
-
export { parser as parser$
|
|
64
|
+
export { parser as parser$11, transformPaths as transformPaths$11 };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { literalFieldsToString, parseHeaderCommits, parseMethodMetadata, parseMethodParameters, parseOpenapiSpecification, transformBaseURL, transformBodyStringify, transformDefinitions, transformParameters, transformQueryParams, transformUrlSyntax, traversePaths } from "@genapi/parser";
|
|
2
|
+
import { inject, provide } from "@genapi/shared";
|
|
2
3
|
|
|
3
4
|
//#region src/got/js/parser/index.ts
|
|
4
5
|
function parser(configRead) {
|
|
@@ -6,19 +7,20 @@ function parser(configRead) {
|
|
|
6
7
|
const comments = parseHeaderCommits(source);
|
|
7
8
|
const interfaces = [];
|
|
8
9
|
const functions = [];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
configRead,
|
|
13
|
-
functions,
|
|
14
|
-
interfaces
|
|
10
|
+
provide({
|
|
11
|
+
interfaces,
|
|
12
|
+
functions
|
|
15
13
|
});
|
|
14
|
+
transformBaseURL(source);
|
|
15
|
+
transformDefinitions(source.definitions);
|
|
16
|
+
transformPaths(source.paths);
|
|
16
17
|
configRead.graphs.comments = comments;
|
|
17
18
|
configRead.graphs.functions = functions;
|
|
18
19
|
configRead.graphs.interfaces = interfaces;
|
|
19
20
|
return configRead;
|
|
20
21
|
}
|
|
21
|
-
function transformPaths(paths
|
|
22
|
+
function transformPaths(paths) {
|
|
23
|
+
const { configRead, functions, interfaces } = inject();
|
|
22
24
|
traversePaths(paths, (config) => {
|
|
23
25
|
/**
|
|
24
26
|
|
|
@@ -26,7 +28,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
26
28
|
|
|
27
29
|
*/
|
|
28
30
|
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config);
|
|
29
|
-
let { name, description, url, responseType } = parseMethodMetadata(config
|
|
31
|
+
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
30
32
|
interfaces.push(...attachInters);
|
|
31
33
|
parameters.push({
|
|
32
34
|
name: "config",
|
|
@@ -66,4 +68,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
//#endregion
|
|
69
|
-
export { parser as parser$
|
|
71
|
+
export { parser as parser$3, transformPaths as transformPaths$3 };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { literalFieldsToString, parseHeaderCommits, parseMethodMetadata, parseMethodParameters, parseOpenapiSpecification, transformBaseURL, transformBodyStringify, transformDefinitions, transformHeaderOptions, transformParameters, transformQueryParams, transformUrlSyntax, traversePaths } from "@genapi/parser";
|
|
2
|
+
import { inject, provide } from "@genapi/shared";
|
|
2
3
|
|
|
3
4
|
//#region src/fetch/js/parser/index.ts
|
|
4
5
|
function parser(configRead) {
|
|
@@ -6,19 +7,20 @@ function parser(configRead) {
|
|
|
6
7
|
const comments = parseHeaderCommits(source);
|
|
7
8
|
const interfaces = [];
|
|
8
9
|
const functions = [];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
configRead,
|
|
13
|
-
functions,
|
|
14
|
-
interfaces
|
|
10
|
+
provide({
|
|
11
|
+
interfaces,
|
|
12
|
+
functions
|
|
15
13
|
});
|
|
14
|
+
transformBaseURL(source);
|
|
15
|
+
transformDefinitions(source.definitions);
|
|
16
|
+
transformPaths(source.paths);
|
|
16
17
|
configRead.graphs.comments = comments;
|
|
17
18
|
configRead.graphs.functions = functions;
|
|
18
19
|
configRead.graphs.interfaces = interfaces;
|
|
19
20
|
return configRead;
|
|
20
21
|
}
|
|
21
|
-
function transformPaths(paths
|
|
22
|
+
function transformPaths(paths) {
|
|
23
|
+
const { configRead, functions, interfaces } = inject();
|
|
22
24
|
traversePaths(paths, (config) => {
|
|
23
25
|
/**
|
|
24
26
|
|
|
@@ -26,7 +28,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
26
28
|
|
|
27
29
|
*/
|
|
28
30
|
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config, { formData: "body" });
|
|
29
|
-
let { name, description, url, responseType, body } = parseMethodMetadata(config
|
|
31
|
+
let { name, description, url, responseType, body } = parseMethodMetadata(config);
|
|
30
32
|
interfaces.push(...attachInters);
|
|
31
33
|
parameters.push({
|
|
32
34
|
name: "config",
|
|
@@ -74,4 +76,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
//#endregion
|
|
77
|
-
export { parser
|
|
79
|
+
export { parser, transformPaths };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { literalFieldsToString, parseHeaderCommits, parseMethodMetadata, parseMethodParameters, parseOpenapiSpecification, transformBaseURL, transformDefinitions, transformParameters, transformQueryParams, transformUrlSyntax, traversePaths } from "@genapi/parser";
|
|
2
|
+
import { inject, provide } from "@genapi/shared";
|
|
2
3
|
|
|
3
4
|
//#region src/ofetch/ts/parser/index.ts
|
|
4
5
|
function parser(configRead) {
|
|
@@ -6,19 +7,20 @@ function parser(configRead) {
|
|
|
6
7
|
const comments = parseHeaderCommits(source);
|
|
7
8
|
const interfaces = [];
|
|
8
9
|
const functions = [];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
configRead,
|
|
13
|
-
functions,
|
|
14
|
-
interfaces
|
|
10
|
+
provide({
|
|
11
|
+
interfaces,
|
|
12
|
+
functions
|
|
15
13
|
});
|
|
14
|
+
transformBaseURL(source);
|
|
15
|
+
transformDefinitions(source.definitions);
|
|
16
|
+
transformPaths(source.paths);
|
|
16
17
|
configRead.graphs.comments = comments;
|
|
17
18
|
configRead.graphs.functions = functions;
|
|
18
19
|
configRead.graphs.interfaces = interfaces;
|
|
19
20
|
return configRead;
|
|
20
21
|
}
|
|
21
|
-
function transformPaths(paths
|
|
22
|
+
function transformPaths(paths) {
|
|
23
|
+
const { configRead, functions, interfaces } = inject();
|
|
22
24
|
traversePaths(paths, (config) => {
|
|
23
25
|
/**
|
|
24
26
|
|
|
@@ -29,7 +31,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
31
|
formData: "body",
|
|
30
32
|
query: "params"
|
|
31
33
|
});
|
|
32
|
-
let { name, description, url, responseType, body } = parseMethodMetadata(config
|
|
34
|
+
let { name, description, url, responseType, body } = parseMethodMetadata(config);
|
|
33
35
|
interfaces.push(...attachInters);
|
|
34
36
|
parameters.push({
|
|
35
37
|
name: "options",
|
|
@@ -63,4 +65,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
//#endregion
|
|
66
|
-
export { parser as parser$
|
|
68
|
+
export { parser as parser$7, transformPaths as transformPaths$7 };
|