@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.
Files changed (209) hide show
  1. package/dist/axios/index.d.mts +9 -0
  2. package/dist/axios/index.mjs +9 -7
  3. package/dist/axios/js/config/index.d.mts +3 -0
  4. package/dist/axios/js/config/index.mjs +3 -18
  5. package/dist/axios/js/index.d.mts +5 -0
  6. package/dist/axios/js/index.mjs +5 -31
  7. package/dist/axios/js/parser/index.d.mts +3 -0
  8. package/dist/axios/js/parser/index.mjs +3 -77
  9. package/dist/axios/ts/config/index.d.mts +3 -0
  10. package/dist/axios/ts/config/index.mjs +3 -22
  11. package/dist/axios/ts/index.d.mts +5 -0
  12. package/dist/axios/ts/index.mjs +5 -31
  13. package/dist/axios/ts/parser/index.d.mts +3 -0
  14. package/dist/axios/ts/parser/index.mjs +3 -76
  15. package/dist/axios-CG6HLmR9.mjs +13 -0
  16. package/dist/chunk-BL35Yyzp.mjs +12 -0
  17. package/dist/config-B6UDPRkS.mjs +12 -0
  18. package/dist/config-B89EoGE7.mjs +21 -0
  19. package/dist/config-BGwXcXx1.mjs +21 -0
  20. package/dist/config-C94x0Nge.mjs +21 -0
  21. package/dist/config-CEngTpXa.mjs +21 -0
  22. package/dist/config-CwmGeydd.mjs +19 -0
  23. package/dist/config-DAHoeaDU.mjs +19 -0
  24. package/dist/config-DdUVYIe0.mjs +19 -0
  25. package/dist/config-Dm0OCPw8.mjs +19 -0
  26. package/dist/config-Dn-mxTew.mjs +19 -0
  27. package/dist/config-DuQgIn7U.mjs +14 -0
  28. package/dist/config-aVU8JEKy.mjs +21 -0
  29. package/dist/fetch/index.d.mts +9 -0
  30. package/dist/fetch/index.mjs +9 -7
  31. package/dist/fetch/js/config/index.d.mts +3 -0
  32. package/dist/fetch/js/config/index.mjs +3 -13
  33. package/dist/fetch/js/index.d.mts +5 -0
  34. package/dist/fetch/js/index.mjs +5 -31
  35. package/dist/fetch/js/parser/index.d.mts +3 -0
  36. package/dist/fetch/js/parser/index.mjs +3 -83
  37. package/dist/fetch/ts/config/index.d.mts +3 -0
  38. package/dist/fetch/ts/config/index.mjs +3 -11
  39. package/dist/fetch/ts/index.d.mts +5 -0
  40. package/dist/fetch/ts/index.mjs +5 -31
  41. package/dist/fetch/ts/parser/index.d.mts +3 -0
  42. package/dist/fetch/ts/parser/index.mjs +3 -79
  43. package/dist/fetch-BtwC6Lll.mjs +13 -0
  44. package/dist/got/index.d.mts +9 -0
  45. package/dist/got/index.mjs +9 -7
  46. package/dist/got/js/config/index.d.mts +3 -0
  47. package/dist/got/js/config/index.mjs +3 -18
  48. package/dist/got/js/index.d.mts +5 -0
  49. package/dist/got/js/index.mjs +5 -31
  50. package/dist/got/js/parser/index.d.mts +3 -0
  51. package/dist/got/js/parser/index.mjs +3 -82
  52. package/dist/got/ts/config/index.d.mts +3 -0
  53. package/dist/got/ts/config/index.mjs +3 -22
  54. package/dist/got/ts/index.d.mts +5 -0
  55. package/dist/got/ts/index.mjs +5 -31
  56. package/dist/got/ts/parser/index.d.mts +3 -0
  57. package/dist/got/ts/parser/index.mjs +3 -82
  58. package/dist/got-xeCavgZc.mjs +13 -0
  59. package/dist/{axios/js/parser/index.d.ts → index.d-4OvQY24D.d.mts} +5 -3
  60. package/dist/index.d-B0n5Pe6-.d.mts +12 -0
  61. package/dist/index.d-B1KgwGJV.d.mts +14 -0
  62. package/dist/index.d-B9C3SJsw.d.mts +7 -0
  63. package/dist/index.d-BB-bpoWw.d.mts +14 -0
  64. package/dist/index.d-BDMFuIpi.d.mts +12 -0
  65. package/dist/index.d-BDy4V2O7.d.mts +18 -0
  66. package/dist/index.d-BFJinzUY.d.mts +12 -0
  67. package/dist/index.d-BS6Sm47l.d.mts +18 -0
  68. package/dist/index.d-BSQRPGuK.d.mts +18 -0
  69. package/dist/index.d-BXgDnKDv.d.mts +7 -0
  70. package/dist/{axios/ts/parser/index.d.ts → index.d-BYOoHBar.d.mts} +5 -3
  71. package/dist/index.d-BahMmqz0.d.mts +18 -0
  72. package/dist/index.d-BbxRLLMX.d.mts +12 -0
  73. package/dist/index.d-BguloXfs.d.mts +7 -0
  74. package/dist/index.d-BgvbkDJL.d.mts +18 -0
  75. package/dist/index.d-Bknp-d4G.d.mts +14 -0
  76. package/dist/index.d-BulZ76hJ.d.mts +18 -0
  77. package/dist/index.d-BupSEh4R.d.mts +18 -0
  78. package/dist/index.d-CAirdOCT.d.mts +14 -0
  79. package/dist/index.d-CDf5ausb.d.mts +12 -0
  80. package/dist/index.d-CN37Zl7u.d.mts +14 -0
  81. package/dist/index.d-CVL676ax.d.mts +18 -0
  82. package/dist/index.d-Cb9k2mo6.d.mts +7 -0
  83. package/dist/index.d-CdRfZiCo.d.mts +18 -0
  84. package/dist/index.d-CfS61_iH.d.mts +7 -0
  85. package/dist/index.d-Ckbfjm0G.d.mts +7 -0
  86. package/dist/index.d-CljgOS4p.d.mts +18 -0
  87. package/dist/{fetch/js/parser/index.d.ts → index.d-D1pp_HCy.d.mts} +5 -3
  88. package/dist/index.d-D33XWXy5.d.mts +14 -0
  89. package/dist/index.d-D6gcSlpm.d.mts +14 -0
  90. package/dist/index.d-DCtFuYUN.d.mts +18 -0
  91. package/dist/index.d-DQZa03Va.d.mts +7 -0
  92. package/dist/index.d-DW8ts-IU.d.mts +14 -0
  93. package/dist/index.d-D_aZcN-0.d.mts +7 -0
  94. package/dist/index.d-DgggRtXp.d.mts +7 -0
  95. package/dist/index.d-DpLq-R_p.d.mts +12 -0
  96. package/dist/index.d-DrCRTA_-.d.mts +7 -0
  97. package/dist/index.d-DuVpMG8_.d.mts +18 -0
  98. package/dist/{fetch/ts/parser/index.d.ts → index.d-KQGa1SFg.d.mts} +5 -3
  99. package/dist/index.d-O3Nkol5h.d.mts +7 -0
  100. package/dist/index.d-lzQFIw8d.d.mts +7 -0
  101. package/dist/index.d.mts +55 -0
  102. package/dist/index.mjs +54 -20
  103. package/dist/js-CfKFwY21.mjs +19 -0
  104. package/dist/js-DGjfw_hH.mjs +19 -0
  105. package/dist/js-DwgoBEjQ.mjs +19 -0
  106. package/dist/js-DxwOJyF7.mjs +19 -0
  107. package/dist/js-nNB2l-OU.mjs +19 -0
  108. package/dist/js-uo8fh9bT.mjs +19 -0
  109. package/dist/ky/index.d.mts +9 -0
  110. package/dist/ky/index.mjs +9 -7
  111. package/dist/ky/js/config/index.d.mts +3 -0
  112. package/dist/ky/js/config/index.mjs +3 -18
  113. package/dist/ky/js/index.d.mts +5 -0
  114. package/dist/ky/js/index.mjs +5 -31
  115. package/dist/ky/js/parser/index.d.mts +3 -0
  116. package/dist/ky/js/parser/index.mjs +3 -79
  117. package/dist/ky/ts/config/index.d.mts +3 -0
  118. package/dist/ky/ts/config/index.mjs +3 -22
  119. package/dist/ky/ts/index.d.mts +5 -0
  120. package/dist/ky/ts/index.mjs +5 -31
  121. package/dist/ky/ts/parser/index.d.mts +3 -0
  122. package/dist/ky/ts/parser/index.mjs +3 -78
  123. package/dist/ky-B7lRjugo.mjs +13 -0
  124. package/dist/ofetch/index.d.mts +9 -0
  125. package/dist/ofetch/index.mjs +9 -7
  126. package/dist/ofetch/js/config/index.d.mts +3 -0
  127. package/dist/ofetch/js/config/index.mjs +3 -18
  128. package/dist/ofetch/js/index.d.mts +5 -0
  129. package/dist/ofetch/js/index.mjs +5 -31
  130. package/dist/ofetch/js/parser/index.d.mts +3 -0
  131. package/dist/ofetch/js/parser/index.mjs +3 -78
  132. package/dist/ofetch/ts/config/index.d.mts +3 -0
  133. package/dist/ofetch/ts/config/index.mjs +3 -22
  134. package/dist/ofetch/ts/index.d.mts +5 -0
  135. package/dist/ofetch/ts/index.mjs +5 -31
  136. package/dist/ofetch/ts/parser/index.d.mts +3 -0
  137. package/dist/ofetch/ts/parser/index.mjs +3 -76
  138. package/dist/ofetch-2rci5G0X.mjs +13 -0
  139. package/dist/parser-8NB1Nfwt.mjs +63 -0
  140. package/dist/parser-BJWwcP0S.mjs +69 -0
  141. package/dist/parser-CCXpH6OE.mjs +63 -0
  142. package/dist/parser-CE48730h.mjs +69 -0
  143. package/dist/parser-CFOZ5-GF.mjs +62 -0
  144. package/dist/parser-CSJYNO0a.mjs +69 -0
  145. package/dist/parser-C_kpdHgT.mjs +68 -0
  146. package/dist/parser-CaRC8JQj.mjs +67 -0
  147. package/dist/parser-DCA-N9mk.mjs +77 -0
  148. package/dist/parser-DY9NSCKJ.mjs +72 -0
  149. package/dist/parser-Dnqps2TD.mjs +66 -0
  150. package/dist/parser-GwoAS3rw.mjs +62 -0
  151. package/dist/ts-4mi0Q-kd.mjs +19 -0
  152. package/dist/ts-BaRFvnl0.mjs +19 -0
  153. package/dist/ts-BwAPOUdE.mjs +19 -0
  154. package/dist/ts-C9t_rVQx.mjs +19 -0
  155. package/dist/ts-CMn2aSnV.mjs +19 -0
  156. package/dist/ts-D-cZHoFQ.mjs +19 -0
  157. package/dist/uni/index.d.mts +9 -0
  158. package/dist/uni/index.mjs +9 -0
  159. package/dist/uni/js/config/index.d.mts +3 -0
  160. package/dist/uni/js/config/index.mjs +3 -0
  161. package/dist/uni/js/index.d.mts +5 -0
  162. package/dist/uni/js/index.mjs +5 -0
  163. package/dist/uni/js/parser/index.d.mts +3 -0
  164. package/dist/uni/js/parser/index.mjs +3 -0
  165. package/dist/uni/ts/config/index.d.mts +3 -0
  166. package/dist/uni/ts/config/index.mjs +3 -0
  167. package/dist/uni/ts/index.d.mts +5 -0
  168. package/dist/uni/ts/index.mjs +5 -0
  169. package/dist/uni/ts/parser/index.d.mts +3 -0
  170. package/dist/uni/ts/parser/index.mjs +3 -0
  171. package/dist/uni-DZmF7VCX.mjs +13 -0
  172. package/package.json +15 -15
  173. package/dist/axios/index.d.ts +0 -9
  174. package/dist/axios/js/config/index.d.ts +0 -5
  175. package/dist/axios/js/index.d.ts +0 -18
  176. package/dist/axios/ts/config/index.d.ts +0 -5
  177. package/dist/axios/ts/index.d.ts +0 -18
  178. package/dist/fetch/index.d.ts +0 -9
  179. package/dist/fetch/js/config/index.d.ts +0 -5
  180. package/dist/fetch/js/index.d.ts +0 -18
  181. package/dist/fetch/ts/config/index.d.ts +0 -5
  182. package/dist/fetch/ts/index.d.ts +0 -18
  183. package/dist/got/index.d.ts +0 -9
  184. package/dist/got/js/config/index.d.ts +0 -5
  185. package/dist/got/js/index.d.ts +0 -18
  186. package/dist/got/js/parser/index.d.ts +0 -12
  187. package/dist/got/ts/config/index.d.ts +0 -5
  188. package/dist/got/ts/index.d.ts +0 -18
  189. package/dist/got/ts/parser/index.d.ts +0 -12
  190. package/dist/index-BoRNV5uE.d.ts +0 -8
  191. package/dist/index-C-Of8dmT.d.ts +0 -8
  192. package/dist/index-DUlkpebX.d.ts +0 -8
  193. package/dist/index-doIz4HN1.d.ts +0 -8
  194. package/dist/index-ln0OpJQY.d.ts +0 -8
  195. package/dist/index.d.ts +0 -48
  196. package/dist/ky/index.d.ts +0 -9
  197. package/dist/ky/js/config/index.d.ts +0 -5
  198. package/dist/ky/js/index.d.ts +0 -18
  199. package/dist/ky/js/parser/index.d.ts +0 -12
  200. package/dist/ky/ts/config/index.d.ts +0 -5
  201. package/dist/ky/ts/index.d.ts +0 -18
  202. package/dist/ky/ts/parser/index.d.ts +0 -12
  203. package/dist/ofetch/index.d.ts +0 -9
  204. package/dist/ofetch/js/config/index.d.ts +0 -5
  205. package/dist/ofetch/js/index.d.ts +0 -18
  206. package/dist/ofetch/js/parser/index.d.ts +0 -12
  207. package/dist/ofetch/ts/config/index.d.ts +0 -5
  208. package/dist/ofetch/ts/index.d.ts +0 -18
  209. package/dist/ofetch/ts/parser/index.d.ts +0 -12
@@ -0,0 +1,19 @@
1
+ import { config$5 as config } from "./config-aVU8JEKy.mjs";
2
+ import { parser$5 as parser } from "./parser-BJWwcP0S.mjs";
3
+ import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
4
+
5
+ //#region src/got/ts/index.ts
6
+ function openapiPipeline(userConfig) {
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
+ return process(userConfig);
9
+ }
10
+ openapiPipeline.config = config;
11
+ openapiPipeline.original = original$1;
12
+ openapiPipeline.parser = parser;
13
+ openapiPipeline.compiler = compiler$1;
14
+ openapiPipeline.generate = generate$1;
15
+ openapiPipeline.dest = dest$1;
16
+ var ts_default = openapiPipeline;
17
+
18
+ //#endregion
19
+ export { compiler$1 as compiler$5, dest$1 as dest$5, generate$1 as generate$5, original$1 as original$5, ts_default as ts_default$2 };
@@ -0,0 +1,19 @@
1
+ import { config$4 as config } from "./config-B6UDPRkS.mjs";
2
+ import { parser$3 as parser } from "./parser-DY9NSCKJ.mjs";
3
+ import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
4
+
5
+ //#region src/fetch/ts/index.ts
6
+ function openapiPipeline(userConfig) {
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
+ return process(userConfig);
9
+ }
10
+ openapiPipeline.config = config;
11
+ openapiPipeline.original = original$1;
12
+ openapiPipeline.parser = parser;
13
+ openapiPipeline.compiler = compiler$1;
14
+ openapiPipeline.generate = generate$1;
15
+ openapiPipeline.dest = dest$1;
16
+ var ts_default = openapiPipeline;
17
+
18
+ //#endregion
19
+ export { compiler$1 as compiler$4, dest$1 as dest$4, generate$1 as generate$4, original$1 as original$4, ts_default as ts_default$1 };
@@ -0,0 +1,19 @@
1
+ import { config$7 as config } from "./config-BGwXcXx1.mjs";
2
+ import { parser$7 as parser } from "./parser-C_kpdHgT.mjs";
3
+ import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
4
+
5
+ //#region src/ky/ts/index.ts
6
+ function openapiPipeline(userConfig) {
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
+ return process(userConfig);
9
+ }
10
+ openapiPipeline.config = config;
11
+ openapiPipeline.original = original$1;
12
+ openapiPipeline.parser = parser;
13
+ openapiPipeline.compiler = compiler$1;
14
+ openapiPipeline.generate = generate$1;
15
+ openapiPipeline.dest = dest$1;
16
+ var ts_default = openapiPipeline;
17
+
18
+ //#endregion
19
+ export { compiler$1 as compiler$7, dest$1 as dest$7, generate$1 as generate$7, original$1 as original$7, ts_default as ts_default$3 };
@@ -0,0 +1,9 @@
1
+ import "../index.d-4OvQY24D.mjs";
2
+ import "../index.d-DQZa03Va.mjs";
3
+ import { openapiPipeline$5 as openapiPipeline } from "../index.d-CdRfZiCo.mjs";
4
+ import "../index.d-D33XWXy5.mjs";
5
+ import "../index.d-B9C3SJsw.mjs";
6
+ import { openapiPipeline$2 as openapiPipeline$1 } from "../index.d-BDy4V2O7.mjs";
7
+ import "../index.d-CDf5ausb.mjs";
8
+
9
+ export { openapiPipeline as js, openapiPipeline$1 as ts };
@@ -0,0 +1,9 @@
1
+ import "../config-Dn-mxTew.mjs";
2
+ import "../parser-CCXpH6OE.mjs";
3
+ import { js_default$5 as js_default } from "../js-uo8fh9bT.mjs";
4
+ import "../config-CEngTpXa.mjs";
5
+ import "../parser-CFOZ5-GF.mjs";
6
+ import { ts_default$5 as ts_default } from "../ts-BwAPOUdE.mjs";
7
+ import "../uni-DZmF7VCX.mjs";
8
+
9
+ export { js_default as js, ts_default as ts };
@@ -0,0 +1,3 @@
1
+ import { config$14 as config } from "../../../index.d-DQZa03Va.mjs";
2
+
3
+ export { config };
@@ -0,0 +1,3 @@
1
+ import { config$10 as config } from "../../../config-Dn-mxTew.mjs";
2
+
3
+ export { config };
@@ -0,0 +1,5 @@
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$17 as compiler, dest$17 as dest, generate$17 as generate, openapiPipeline$5 as openapiPipeline, original$17 as original } from "../../index.d-CdRfZiCo.mjs";
4
+
5
+ export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
@@ -0,0 +1,5 @@
1
+ import { config$10 as config } from "../../config-Dn-mxTew.mjs";
2
+ import { parser$9 as parser } from "../../parser-CCXpH6OE.mjs";
3
+ import { compiler$9 as compiler, dest$9 as dest, generate$9 as generate, js_default$5 as js_default, original$9 as original } from "../../js-uo8fh9bT.mjs";
4
+
5
+ export { compiler, config, js_default as default, dest, generate, original, parser };
@@ -0,0 +1,3 @@
1
+ import { PathsTransformOptions$4 as PathsTransformOptions, parser$16 as parser, transformPaths$16 as transformPaths } from "../../../index.d-4OvQY24D.mjs";
2
+
3
+ export { PathsTransformOptions, parser, transformPaths };
@@ -0,0 +1,3 @@
1
+ import { parser$9 as parser, transformPaths$9 as transformPaths } from "../../../parser-CCXpH6OE.mjs";
2
+
3
+ export { parser, transformPaths };
@@ -0,0 +1,3 @@
1
+ import { config$15 as config } from "../../../index.d-B9C3SJsw.mjs";
2
+
3
+ export { config };
@@ -0,0 +1,3 @@
1
+ import { config$11 as config } from "../../../config-CEngTpXa.mjs";
2
+
3
+ export { config };
@@ -0,0 +1,5 @@
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$14 as compiler, dest$14 as dest, generate$14 as generate, openapiPipeline$2 as openapiPipeline, original$14 as original } from "../../index.d-BDy4V2O7.mjs";
4
+
5
+ export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
@@ -0,0 +1,5 @@
1
+ import { config$11 as config } from "../../config-CEngTpXa.mjs";
2
+ import { parser$11 as parser } from "../../parser-CFOZ5-GF.mjs";
3
+ import { compiler$11 as compiler, dest$11 as dest, generate$11 as generate, original$11 as original, ts_default$5 as ts_default } from "../../ts-BwAPOUdE.mjs";
4
+
5
+ export { compiler, config, ts_default as default, dest, generate, original, parser };
@@ -0,0 +1,3 @@
1
+ import { PathsTransformOptions$3 as PathsTransformOptions, parser$15 as parser, transformPaths$15 as transformPaths } from "../../../index.d-D33XWXy5.mjs";
2
+
3
+ export { PathsTransformOptions, parser, transformPaths };
@@ -0,0 +1,3 @@
1
+ import { parser$11 as parser, transformPaths$11 as transformPaths } from "../../../parser-CFOZ5-GF.mjs";
2
+
3
+ export { parser, transformPaths };
@@ -0,0 +1,13 @@
1
+ import { __export } from "./chunk-BL35Yyzp.mjs";
2
+ import { js_default$5 as js_default } from "./js-uo8fh9bT.mjs";
3
+ import { ts_default$5 as ts_default } from "./ts-BwAPOUdE.mjs";
4
+
5
+ //#region src/uni/index.ts
6
+ var uni_exports = {};
7
+ __export(uni_exports, {
8
+ js: () => js_default,
9
+ ts: () => ts_default
10
+ });
11
+
12
+ //#endregion
13
+ export { uni_exports };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genapi/presets",
3
3
  "type": "module",
4
- "version": "3.4.0",
4
+ "version": "3.6.0",
5
5
  "author": "Hairyf <wwu710632@gmail.com>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/hairyf/genapi#readme",
@@ -18,43 +18,43 @@
18
18
  "exports": {
19
19
  ".": "./dist/index.mjs",
20
20
  "./swag-axios-js": {
21
- "types": "./dist/axios/js/index.d.ts",
21
+ "types": "./dist/axios/js/index.d.mts",
22
22
  "default": "./dist/axios/js/index.mjs"
23
23
  },
24
24
  "./swag-axios-ts": {
25
- "types": "./dist/axios/ts/index.d.ts",
25
+ "types": "./dist/axios/ts/index.d.mts",
26
26
  "default": "./dist/axios/ts/index.mjs"
27
27
  },
28
28
  "./swag-fetch-js": {
29
- "types": "./dist/fetch/js/index.d.ts",
29
+ "types": "./dist/fetch/js/index.d.mts",
30
30
  "default": "./dist/fetch/js/index.mjs"
31
31
  },
32
32
  "./swag-fetch-ts": {
33
- "types": "./dist/fetch/ts/index.d.ts",
33
+ "types": "./dist/fetch/ts/index.d.mts",
34
34
  "default": "./dist/fetch/ts/index.mjs"
35
35
  },
36
36
  "./swag-got-js": {
37
- "types": "./dist/got/js/index.d.ts",
37
+ "types": "./dist/got/js/index.d.mts",
38
38
  "default": "./dist/got/js/index.mjs"
39
39
  },
40
40
  "./swag-got-ts": {
41
- "types": "./dist/got/ts/index.d.ts",
41
+ "types": "./dist/got/ts/index.d.mts",
42
42
  "default": "./dist/got/ts/index.mjs"
43
43
  },
44
44
  "./swag-ky-js": {
45
- "types": "./dist/ky/js/index.d.ts",
45
+ "types": "./dist/ky/js/index.d.mts",
46
46
  "default": "./dist/ky/js/index.mjs"
47
47
  },
48
48
  "./swag-ky-ts": {
49
- "types": "./dist/ky/ts/index.d.ts",
49
+ "types": "./dist/ky/ts/index.d.mts",
50
50
  "default": "./dist/ky/ts/index.mjs"
51
51
  },
52
52
  "./swag-ofetch-js": {
53
- "types": "./dist/ofetch/js/index.d.ts",
53
+ "types": "./dist/ofetch/js/index.d.mts",
54
54
  "default": "./dist/ofetch/js/index.mjs"
55
55
  },
56
56
  "./swag-ofetch-ts": {
57
- "types": "./dist/ofetch/ts/index.d.ts",
57
+ "types": "./dist/ofetch/ts/index.d.mts",
58
58
  "default": "./dist/ofetch/ts/index.mjs"
59
59
  }
60
60
  },
@@ -63,12 +63,12 @@
63
63
  ],
64
64
  "dependencies": {
65
65
  "openapi-specification-types": "^0.0.3",
66
- "@genapi/parser": "3.4.0",
67
- "@genapi/shared": "3.4.0",
68
- "@genapi/pipeline": "3.4.0"
66
+ "@genapi/parser": "3.6.0",
67
+ "@genapi/pipeline": "3.6.0",
68
+ "@genapi/shared": "3.6.0"
69
69
  },
70
70
  "scripts": {
71
- "build": "tsup",
71
+ "build": "tsdown",
72
72
  "start": "tsx src/index.ts"
73
73
  }
74
74
  }
@@ -1,9 +0,0 @@
1
- export { default as js } from './js/index.js';
2
- export { default as ts } from './ts/index.js';
3
- import './js/parser/index.js';
4
- import '@genapi/shared';
5
- import 'openapi-specification-types';
6
- import '@genapi/pipeline';
7
- import './js/config/index.js';
8
- import './ts/parser/index.js';
9
- import './ts/config/index.js';
@@ -1,5 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
-
3
- declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
4
-
5
- export { config };
@@ -1,18 +0,0 @@
1
- import { parser } from './parser/index.js';
2
- import * as _genapi_pipeline from '@genapi/pipeline';
3
- export { compiler, dest, generate, original } from '@genapi/pipeline';
4
- import { config } from './config/index.js';
5
- import { ApiPipeline } from '@genapi/shared';
6
- import 'openapi-specification-types';
7
-
8
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
- declare namespace openapiPipeline {
10
- var config: typeof config;
11
- var original: typeof _genapi_pipeline.original;
12
- var parser: typeof parser;
13
- var compiler: typeof _genapi_pipeline.compiler;
14
- var generate: typeof _genapi_pipeline.generate;
15
- var dest: typeof _genapi_pipeline.dest;
16
- }
17
-
18
- export { config, openapiPipeline as default, parser };
@@ -1,5 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
-
3
- declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
4
-
5
- export { config };
@@ -1,18 +0,0 @@
1
- import { parser } from './parser/index.js';
2
- import * as _genapi_pipeline from '@genapi/pipeline';
3
- export { compiler, dest, generate, original } from '@genapi/pipeline';
4
- import { config } from './config/index.js';
5
- import { ApiPipeline } from '@genapi/shared';
6
- import 'openapi-specification-types';
7
-
8
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
- declare namespace openapiPipeline {
10
- var config: typeof config;
11
- var original: typeof _genapi_pipeline.original;
12
- var parser: typeof parser;
13
- var compiler: typeof _genapi_pipeline.compiler;
14
- var generate: typeof _genapi_pipeline.generate;
15
- var dest: typeof _genapi_pipeline.dest;
16
- }
17
-
18
- export { config, openapiPipeline as default, parser };
@@ -1,9 +0,0 @@
1
- export { default as js } from './js/index.js';
2
- export { default as ts } from './ts/index.js';
3
- import './js/parser/index.js';
4
- import '@genapi/shared';
5
- import 'openapi-specification-types';
6
- import '@genapi/pipeline';
7
- import './js/config/index.js';
8
- import './ts/parser/index.js';
9
- import './ts/config/index.js';
@@ -1,5 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
-
3
- declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
4
-
5
- export { config };
@@ -1,18 +0,0 @@
1
- import { parser } from './parser/index.js';
2
- import * as _genapi_pipeline from '@genapi/pipeline';
3
- export { compiler, dest, generate, original } from '@genapi/pipeline';
4
- import { config } from './config/index.js';
5
- import { ApiPipeline } from '@genapi/shared';
6
- import 'openapi-specification-types';
7
-
8
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
- declare namespace openapiPipeline {
10
- var config: typeof config;
11
- var original: typeof _genapi_pipeline.original;
12
- var parser: typeof parser;
13
- var compiler: typeof _genapi_pipeline.compiler;
14
- var generate: typeof _genapi_pipeline.generate;
15
- var dest: typeof _genapi_pipeline.dest;
16
- }
17
-
18
- export { config, openapiPipeline as default, parser };
@@ -1,5 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
-
3
- declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
4
-
5
- export { config };
@@ -1,18 +0,0 @@
1
- import { parser } from './parser/index.js';
2
- import * as _genapi_pipeline from '@genapi/pipeline';
3
- export { compiler, dest, generate, original } from '@genapi/pipeline';
4
- import { config } from './config/index.js';
5
- import { ApiPipeline } from '@genapi/shared';
6
- import 'openapi-specification-types';
7
-
8
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
- declare namespace openapiPipeline {
10
- var config: typeof config;
11
- var original: typeof _genapi_pipeline.original;
12
- var parser: typeof parser;
13
- var compiler: typeof _genapi_pipeline.compiler;
14
- var generate: typeof _genapi_pipeline.generate;
15
- var dest: typeof _genapi_pipeline.dest;
16
- }
17
-
18
- export { config, openapiPipeline as default, parser };
@@ -1,9 +0,0 @@
1
- export { default as js } from './js/index.js';
2
- export { default as ts } from './ts/index.js';
3
- import './js/parser/index.js';
4
- import '@genapi/shared';
5
- import 'openapi-specification-types';
6
- import '@genapi/pipeline';
7
- import './js/config/index.js';
8
- import './ts/parser/index.js';
9
- import './ts/config/index.js';
@@ -1,5 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
-
3
- declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
4
-
5
- export { config };
@@ -1,18 +0,0 @@
1
- import { parser } from './parser/index.js';
2
- import * as _genapi_pipeline from '@genapi/pipeline';
3
- export { compiler, dest, generate, original } from '@genapi/pipeline';
4
- import { config } from './config/index.js';
5
- import { ApiPipeline } from '@genapi/shared';
6
- import 'openapi-specification-types';
7
-
8
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
- declare namespace openapiPipeline {
10
- var config: typeof config;
11
- var original: typeof _genapi_pipeline.original;
12
- var parser: typeof parser;
13
- var compiler: typeof _genapi_pipeline.compiler;
14
- var generate: typeof _genapi_pipeline.generate;
15
- var dest: typeof _genapi_pipeline.dest;
16
- }
17
-
18
- export { config, openapiPipeline as default, parser };
@@ -1,12 +0,0 @@
1
- import { ApiPipeline, StatementInterface, StatementFunction } from '@genapi/shared';
2
- import { Paths } from 'openapi-specification-types';
3
-
4
- interface PathsTransformOptions {
5
- configRead: ApiPipeline.ConfigRead;
6
- interfaces: StatementInterface[];
7
- functions: StatementFunction[];
8
- }
9
- declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
10
- declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
11
-
12
- export { type PathsTransformOptions, parser, transformPaths };
@@ -1,5 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
-
3
- declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
4
-
5
- export { config };
@@ -1,18 +0,0 @@
1
- import { parser } from './parser/index.js';
2
- import * as _genapi_pipeline from '@genapi/pipeline';
3
- export { compiler, dest, generate, original } from '@genapi/pipeline';
4
- import { config } from './config/index.js';
5
- import { ApiPipeline } from '@genapi/shared';
6
- import 'openapi-specification-types';
7
-
8
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
- declare namespace openapiPipeline {
10
- var config: typeof config;
11
- var original: typeof _genapi_pipeline.original;
12
- var parser: typeof parser;
13
- var compiler: typeof _genapi_pipeline.compiler;
14
- var generate: typeof _genapi_pipeline.generate;
15
- var dest: typeof _genapi_pipeline.dest;
16
- }
17
-
18
- export { config, openapiPipeline as default, parser };
@@ -1,12 +0,0 @@
1
- import { ApiPipeline, StatementInterface, StatementFunction } from '@genapi/shared';
2
- import { Paths } from 'openapi-specification-types';
3
-
4
- interface PathsTransformOptions {
5
- configRead: ApiPipeline.ConfigRead;
6
- interfaces: StatementInterface[];
7
- functions: StatementFunction[];
8
- }
9
- declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
10
- declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
11
-
12
- export { type PathsTransformOptions, parser, transformPaths };
@@ -1,8 +0,0 @@
1
- import openapiPipeline from './ky/js/index.js';
2
- import openapiPipeline$1 from './ky/ts/index.js';
3
-
4
- declare namespace ky {
5
- export { openapiPipeline as js, openapiPipeline$1 as ts };
6
- }
7
-
8
- export { ky as k };
@@ -1,8 +0,0 @@
1
- import openapiPipeline from './got/js/index.js';
2
- import openapiPipeline$1 from './got/ts/index.js';
3
-
4
- declare namespace got {
5
- export { openapiPipeline as js, openapiPipeline$1 as ts };
6
- }
7
-
8
- export { got as g };
@@ -1,8 +0,0 @@
1
- import openapiPipeline from './ofetch/js/index.js';
2
- import openapiPipeline$1 from './ofetch/ts/index.js';
3
-
4
- declare namespace ofetch {
5
- export { openapiPipeline as js, openapiPipeline$1 as ts };
6
- }
7
-
8
- export { ofetch as o };
@@ -1,8 +0,0 @@
1
- import openapiPipeline from './fetch/js/index.js';
2
- import openapiPipeline$1 from './fetch/ts/index.js';
3
-
4
- declare namespace fetch {
5
- export { openapiPipeline as js, openapiPipeline$1 as ts };
6
- }
7
-
8
- export { fetch as f };
@@ -1,8 +0,0 @@
1
- import openapiPipeline from './axios/js/index.js';
2
- import openapiPipeline$1 from './axios/ts/index.js';
3
-
4
- declare namespace axios {
5
- export { openapiPipeline as js, openapiPipeline$1 as ts };
6
- }
7
-
8
- export { axios as a };
package/dist/index.d.ts DELETED
@@ -1,48 +0,0 @@
1
- import { a as axios } from './index-ln0OpJQY.js';
2
- import { f as fetch } from './index-doIz4HN1.js';
3
- import { g as got } from './index-C-Of8dmT.js';
4
- import { k as ky } from './index-BoRNV5uE.js';
5
- import { o as ofetch } from './index-DUlkpebX.js';
6
- import './axios/js/index.js';
7
- import './axios/js/parser/index.js';
8
- import '@genapi/shared';
9
- import 'openapi-specification-types';
10
- import '@genapi/pipeline';
11
- import './axios/js/config/index.js';
12
- import './axios/ts/index.js';
13
- import './axios/ts/parser/index.js';
14
- import './axios/ts/config/index.js';
15
- import './fetch/js/index.js';
16
- import './fetch/js/parser/index.js';
17
- import './fetch/js/config/index.js';
18
- import './fetch/ts/index.js';
19
- import './fetch/ts/parser/index.js';
20
- import './fetch/ts/config/index.js';
21
- import './got/js/index.js';
22
- import './got/js/parser/index.js';
23
- import './got/js/config/index.js';
24
- import './got/ts/index.js';
25
- import './got/ts/parser/index.js';
26
- import './got/ts/config/index.js';
27
- import './ky/js/index.js';
28
- import './ky/js/parser/index.js';
29
- import './ky/js/config/index.js';
30
- import './ky/ts/index.js';
31
- import './ky/ts/parser/index.js';
32
- import './ky/ts/config/index.js';
33
- import './ofetch/js/index.js';
34
- import './ofetch/js/parser/index.js';
35
- import './ofetch/js/config/index.js';
36
- import './ofetch/ts/index.js';
37
- import './ofetch/ts/parser/index.js';
38
- import './ofetch/ts/config/index.js';
39
-
40
- declare const _default: {
41
- axios: typeof axios;
42
- fetch: typeof fetch;
43
- got: typeof got;
44
- ky: typeof ky;
45
- ofetch: typeof ofetch;
46
- };
47
-
48
- export { axios, _default as default, fetch, got, ky, ofetch };
@@ -1,9 +0,0 @@
1
- export { default as js } from './js/index.js';
2
- export { default as ts } from './ts/index.js';
3
- import './js/parser/index.js';
4
- import '@genapi/shared';
5
- import 'openapi-specification-types';
6
- import '@genapi/pipeline';
7
- import './js/config/index.js';
8
- import './ts/parser/index.js';
9
- import './ts/config/index.js';
@@ -1,5 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
-
3
- declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
4
-
5
- export { config };
@@ -1,18 +0,0 @@
1
- import { parser } from './parser/index.js';
2
- import * as _genapi_pipeline from '@genapi/pipeline';
3
- export { compiler, dest, generate, original } from '@genapi/pipeline';
4
- import { config } from './config/index.js';
5
- import { ApiPipeline } from '@genapi/shared';
6
- import 'openapi-specification-types';
7
-
8
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
- declare namespace openapiPipeline {
10
- var config: typeof config;
11
- var original: typeof _genapi_pipeline.original;
12
- var parser: typeof parser;
13
- var compiler: typeof _genapi_pipeline.compiler;
14
- var generate: typeof _genapi_pipeline.generate;
15
- var dest: typeof _genapi_pipeline.dest;
16
- }
17
-
18
- export { config, openapiPipeline as default, parser };
@@ -1,12 +0,0 @@
1
- import { ApiPipeline, StatementInterface, StatementFunction } from '@genapi/shared';
2
- import { Paths } from 'openapi-specification-types';
3
-
4
- interface PathsTransformOptions {
5
- configRead: ApiPipeline.ConfigRead;
6
- interfaces: StatementInterface[];
7
- functions: StatementFunction[];
8
- }
9
- declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
10
- declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
11
-
12
- export { type PathsTransformOptions, parser, transformPaths };
@@ -1,5 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
-
3
- declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
4
-
5
- export { config };