@genapi/presets 3.6.4 → 3.7.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 (157) hide show
  1. package/dist/axios/index.d.mts +7 -7
  2. package/dist/axios/index.mjs +5 -5
  3. package/dist/axios/js/config/index.d.mts +1 -1
  4. package/dist/axios/js/index.d.mts +3 -3
  5. package/dist/axios/js/index.mjs +2 -2
  6. package/dist/axios/js/parser/index.d.mts +1 -1
  7. package/dist/axios/js/parser/index.mjs +1 -1
  8. package/dist/axios/ts/config/index.d.mts +1 -1
  9. package/dist/axios/ts/index.d.mts +3 -3
  10. package/dist/axios/ts/index.mjs +2 -2
  11. package/dist/axios/ts/parser/index.d.mts +1 -1
  12. package/dist/axios/ts/parser/index.mjs +1 -1
  13. package/dist/{axios-iv3walM_.mjs → axios-C--VNFKW.mjs} +2 -2
  14. package/dist/{config-B6Kbwf1K.mjs → config-BGwXcXx1.mjs} +1 -1
  15. package/dist/{config-CwXkxa5e.mjs → config-C94x0Nge.mjs} +1 -1
  16. package/dist/{config-BhuG_ib-.mjs → config-CEngTpXa.mjs} +1 -1
  17. package/dist/{config-D3PcAA6e.mjs → config-DdUVYIe0.mjs} +1 -1
  18. package/dist/{config-mEpI8_sx.mjs → config-Dm0OCPw8.mjs} +1 -1
  19. package/dist/{config-Cc3VHRal.mjs → config-Dn-mxTew.mjs} +1 -1
  20. package/dist/fetch/index.d.mts +7 -7
  21. package/dist/fetch/index.mjs +5 -5
  22. package/dist/fetch/js/config/index.d.mts +1 -1
  23. package/dist/fetch/js/index.d.mts +3 -3
  24. package/dist/fetch/js/index.mjs +2 -2
  25. package/dist/fetch/js/parser/index.d.mts +1 -1
  26. package/dist/fetch/js/parser/index.mjs +1 -1
  27. package/dist/fetch/ts/config/index.d.mts +1 -1
  28. package/dist/fetch/ts/index.d.mts +3 -3
  29. package/dist/fetch/ts/index.mjs +2 -2
  30. package/dist/fetch/ts/parser/index.d.mts +1 -1
  31. package/dist/fetch/ts/parser/index.mjs +1 -1
  32. package/dist/{fetch-DLL06Jn7.mjs → fetch-TYDXDaTS.mjs} +2 -2
  33. package/dist/got/index.d.mts +7 -7
  34. package/dist/got/index.mjs +5 -5
  35. package/dist/got/js/config/index.d.mts +1 -1
  36. package/dist/got/js/index.d.mts +3 -3
  37. package/dist/got/js/index.mjs +2 -2
  38. package/dist/got/js/parser/index.d.mts +1 -1
  39. package/dist/got/js/parser/index.mjs +1 -1
  40. package/dist/got/ts/config/index.d.mts +1 -1
  41. package/dist/got/ts/index.d.mts +3 -3
  42. package/dist/got/ts/index.mjs +2 -2
  43. package/dist/got/ts/parser/index.d.mts +1 -1
  44. package/dist/got/ts/parser/index.mjs +1 -1
  45. package/dist/{got-Bk_ycTUL.mjs → got-D5A7dJdZ.mjs} +2 -2
  46. package/dist/{index.d-CEni3u-v.d.mts → index.d-1kS19nJx.d.mts} +3 -3
  47. package/dist/{index.d-BfxfJzRS.d.mts → index.d-1qaowKKm.d.mts} +3 -3
  48. package/dist/{index.d-B0Dj119v.d.mts → index.d-42t92mX0.d.mts} +1 -1
  49. package/dist/{index.d-yzOi6A83.d.mts → index.d-B0xaEiBX.d.mts} +3 -3
  50. package/dist/{index.d-D5GtXziQ.d.mts → index.d-B1m7PaBv.d.mts} +2 -2
  51. package/dist/{index.d-CZFjwNR8.d.mts → index.d-B6j2V4Az.d.mts} +3 -3
  52. package/dist/{index.d-pOHvTyqd.d.mts → index.d-BCWDJjEV.d.mts} +1 -1
  53. package/dist/{index.d-BtHVL3BR.d.mts → index.d-BN2_wiGD.d.mts} +3 -3
  54. package/dist/{index.d-BTl_y5wj.d.mts → index.d-BNkgVflG.d.mts} +2 -2
  55. package/dist/{index.d-DUEyaGJk.d.mts → index.d-BY4lF6QY.d.mts} +1 -1
  56. package/dist/{index.d-CCg_Iz5v.d.mts → index.d-BxDzXRov.d.mts} +3 -3
  57. package/dist/{index.d-DggSdR0X.d.mts → index.d-BxQraJfG.d.mts} +3 -3
  58. package/dist/{index.d-99mf5fZX.d.mts → index.d-Bxgqqjp3.d.mts} +1 -1
  59. package/dist/{index.d-B_46bdja.d.mts → index.d-C0EKSJ26.d.mts} +1 -1
  60. package/dist/{index.d-dxrAw57N.d.mts → index.d-C5ya5SE3.d.mts} +1 -1
  61. package/dist/index.d-C6gpVbqC.d.mts +12 -0
  62. package/dist/{index.d-BkDJnw7U.d.mts → index.d-CFvCqVRj.d.mts} +1 -1
  63. package/dist/{index.d-DY6RM6Ay.d.mts → index.d-CJ27pjS6.d.mts} +1 -1
  64. package/dist/index.d-CM3KHaZM.d.mts +12 -0
  65. package/dist/{index.d-DrCRTA_-.d.mts → index.d-CTkBXgsL.d.mts} +1 -1
  66. package/dist/{index.d-Cf66U2mM.d.mts → index.d-CXNw0ZkA.d.mts} +2 -2
  67. package/dist/{index.d-sD6rvM8B.d.mts → index.d-C_cfONoz.d.mts} +2 -2
  68. package/dist/{index.d-Dq2vxB2L.d.mts → index.d-Ceqrd7FN.d.mts} +1 -1
  69. package/dist/{index.d-Blu1fWNS.d.mts → index.d-Cgflcv1m.d.mts} +3 -3
  70. package/dist/{index.d-DWHBuUbH.d.mts → index.d-CmW7DwIV.d.mts} +3 -3
  71. package/dist/{index.d-Cd_xBZkT.d.mts → index.d-DDTGaUmA.d.mts} +2 -2
  72. package/dist/{index.d-jXY3HfJV.d.mts → index.d-DHMHzs8Q.d.mts} +2 -2
  73. package/dist/{index.d-BWW0jq-P.d.mts → index.d-DOPIfZ0r.d.mts} +4 -4
  74. package/dist/{index.d-CjnRhC1X.d.mts → index.d-Dd6ZDpp9.d.mts} +4 -4
  75. package/dist/{index.d-DrmSSkE4.d.mts → index.d-DgbGF4C3.d.mts} +4 -4
  76. package/dist/{index.d-DEHbLh_t.d.mts → index.d-DmOkv7N9.d.mts} +3 -3
  77. package/dist/{index.d-Bs9ACBYl.d.mts → index.d-DpQbWiOh.d.mts} +2 -2
  78. package/dist/{index.d-CVft0H8H.d.mts → index.d-Dvtsr9g-.d.mts} +2 -2
  79. package/dist/{index.d-C0TXUsBB.d.mts → index.d-LlaJb0pD.d.mts} +3 -3
  80. package/dist/{index.d-B-3xNMdO.d.mts → index.d-RZUAACu-.d.mts} +2 -2
  81. package/dist/{index.d-Bl3eJN4u.d.mts → index.d-SxIr6Uhl.d.mts} +3 -3
  82. package/dist/{index.d-DB4DQcb7.d.mts → index.d-TD1X3MeU.d.mts} +2 -2
  83. package/dist/{index.d-Bgc7dYZS.d.mts → index.d-mJ3Pcxey.d.mts} +2 -2
  84. package/dist/{index.d-B7QHlSFS.d.mts → index.d-mXlHJ3vm.d.mts} +3 -3
  85. package/dist/{index.d-DcMTRJFe.d.mts → index.d-xPgxVw9l.d.mts} +2 -2
  86. package/dist/index.d.mts +40 -40
  87. package/dist/index.mjs +36 -36
  88. package/dist/{js-nrzOgHcn.mjs → js-BHy43BOA.mjs} +2 -2
  89. package/dist/{js-D-lPI2Zn.mjs → js-CsFu-S2j.mjs} +1 -1
  90. package/dist/{js-BP1luA69.mjs → js-SMul0x9Q.mjs} +2 -2
  91. package/dist/{js-DV7q1vbm.mjs → js-Swp-o6ZG.mjs} +3 -3
  92. package/dist/{js-nPYw8nGm.mjs → js-jTe7QP2M.mjs} +1 -1
  93. package/dist/{js-CW96SJaN.mjs → js-rCsJDgHU.mjs} +3 -3
  94. package/dist/ky/index.d.mts +6 -6
  95. package/dist/ky/index.mjs +7 -7
  96. package/dist/ky/js/config/index.mjs +1 -1
  97. package/dist/ky/js/index.d.mts +2 -2
  98. package/dist/ky/js/index.mjs +3 -3
  99. package/dist/ky/js/parser/index.d.mts +1 -1
  100. package/dist/ky/js/parser/index.mjs +1 -1
  101. package/dist/ky/ts/config/index.d.mts +1 -1
  102. package/dist/ky/ts/config/index.mjs +1 -1
  103. package/dist/ky/ts/index.d.mts +3 -3
  104. package/dist/ky/ts/index.mjs +3 -3
  105. package/dist/ky/ts/parser/index.d.mts +1 -1
  106. package/dist/ky/ts/parser/index.mjs +1 -1
  107. package/dist/{ky-yrBtHJOC.mjs → ky--lXnn0gU.mjs} +2 -2
  108. package/dist/ofetch/index.d.mts +6 -6
  109. package/dist/ofetch/index.mjs +7 -7
  110. package/dist/ofetch/js/config/index.mjs +1 -1
  111. package/dist/ofetch/js/index.d.mts +2 -2
  112. package/dist/ofetch/js/index.mjs +3 -3
  113. package/dist/ofetch/js/parser/index.d.mts +1 -1
  114. package/dist/ofetch/js/parser/index.mjs +1 -1
  115. package/dist/ofetch/ts/config/index.d.mts +1 -1
  116. package/dist/ofetch/ts/config/index.mjs +1 -1
  117. package/dist/ofetch/ts/index.d.mts +3 -3
  118. package/dist/ofetch/ts/index.mjs +3 -3
  119. package/dist/ofetch/ts/parser/index.d.mts +1 -1
  120. package/dist/ofetch/ts/parser/index.mjs +1 -1
  121. package/dist/{ofetch-CRcbex0G.mjs → ofetch-qhtvI1gy.mjs} +2 -2
  122. package/dist/{parser-eI6eqR9i.mjs → parser-820U-7tY.mjs} +10 -8
  123. package/dist/{parser-EdhJ3Qd1.mjs → parser-BEbsKXRG.mjs} +10 -8
  124. package/dist/{parser-XfpBe6J7.mjs → parser-BMWMb1tW.mjs} +11 -9
  125. package/dist/{parser-Bca6rvOA.mjs → parser-BMaYANAS.mjs} +10 -8
  126. package/dist/{parser-ILpmQxJS.mjs → parser-BOXlubkg.mjs} +11 -9
  127. package/dist/{parser-DWEwuz0M.mjs → parser-B_pvME5o.mjs} +10 -8
  128. package/dist/{parser-CKxD1WcD.mjs → parser-By1vGa1J.mjs} +11 -9
  129. package/dist/{parser-Cmtirdyk.mjs → parser-C267rNUI.mjs} +10 -8
  130. package/dist/{parser-2fyRmQ9U.mjs → parser-CFUtEOtZ.mjs} +11 -9
  131. package/dist/{parser-BfHrwX8k.mjs → parser-CedZCyxl.mjs} +11 -9
  132. package/dist/{parser-C7x_CYBU.mjs → parser-OUoEsF2d.mjs} +11 -9
  133. package/dist/{parser-OMrPnoEH.mjs → parser-kk99DwsW.mjs} +10 -8
  134. package/dist/{ts-CGmPodda.mjs → ts-B-VDMOmJ.mjs} +3 -3
  135. package/dist/{ts-Bm10CVRI.mjs → ts-CBFVpM-p.mjs} +2 -2
  136. package/dist/{ts-wjKQK01I.mjs → ts-CBWxAza5.mjs} +1 -1
  137. package/dist/{ts-DaGoV8V5.mjs → ts-CKsdt6vA.mjs} +3 -3
  138. package/dist/{ts-C63VeyhJ.mjs → ts-Cnuezdyy.mjs} +1 -1
  139. package/dist/{ts-B_95wjwz.mjs → ts-ILF3D-J-.mjs} +2 -2
  140. package/dist/uni/index.d.mts +7 -7
  141. package/dist/uni/index.mjs +7 -7
  142. package/dist/uni/js/config/index.d.mts +1 -1
  143. package/dist/uni/js/config/index.mjs +1 -1
  144. package/dist/uni/js/index.d.mts +3 -3
  145. package/dist/uni/js/index.mjs +3 -3
  146. package/dist/uni/js/parser/index.d.mts +1 -1
  147. package/dist/uni/js/parser/index.mjs +1 -1
  148. package/dist/uni/ts/config/index.d.mts +1 -1
  149. package/dist/uni/ts/config/index.mjs +1 -1
  150. package/dist/uni/ts/index.d.mts +3 -3
  151. package/dist/uni/ts/index.mjs +3 -3
  152. package/dist/uni/ts/parser/index.d.mts +1 -1
  153. package/dist/uni/ts/parser/index.mjs +1 -1
  154. package/dist/{uni-D2Xd9fEW.mjs → uni-CQMaFViG.mjs} +2 -2
  155. package/package.json +4 -4
  156. package/dist/index.d-hifkeXRt.d.mts +0 -12
  157. package/dist/index.d-yBHJ-qeO.d.mts +0 -12
@@ -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/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
- transformBaseURL(source, { configRead });
10
- transformDefinitions(source.definitions, { interfaces });
11
- transformPaths(source.paths, {
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, { configRead, functions, interfaces }) {
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, interfaces);
34
+ let { name, description, url, responseType, body } = parseMethodMetadata(config);
33
35
  interfaces.push(...attachInters);
34
36
  parameters.push({
35
37
  name: "options",
@@ -64,4 +66,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
64
66
  }
65
67
 
66
68
  //#endregion
67
- export { parser as parser$10, transformPaths as transformPaths$10 };
69
+ export { parser as parser$8, transformPaths as transformPaths$8 };
@@ -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
- transformBaseURL(source, { configRead });
10
- transformDefinitions(source.definitions, { interfaces });
11
- transformPaths(source.paths, {
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, { configRead, functions, interfaces }) {
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, interfaces);
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$11, transformPaths as transformPaths$11 };
68
+ export { parser as parser$9, transformPaths as transformPaths$9 };
@@ -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/axios/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
- transformBaseURL(source, { configRead });
10
- transformDefinitions(source.definitions, { interfaces });
11
- transformPaths(source.paths, {
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, { configRead, functions, interfaces }) {
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, interfaces);
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, transformPaths };
64
+ export { parser as parser$1, transformPaths as transformPaths$1 };
@@ -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/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
- transformBaseURL(source, { configRead });
10
- transformDefinitions(source.definitions, { interfaces });
11
- transformPaths(source.paths, {
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, { configRead, functions, interfaces }) {
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, interfaces);
31
+ let { name, description, url, responseType } = parseMethodMetadata(config);
30
32
  interfaces.push(...attachInters);
31
33
  parameters.push({
32
34
  name: "config",
@@ -1,8 +1,8 @@
1
- import { config$11 as config } from "./config-CwXkxa5e.mjs";
2
- import { parser$11 as parser } from "./parser-BfHrwX8k.mjs";
1
+ import { config$11 as config } from "./config-CEngTpXa.mjs";
2
+ import { parser$11 as parser } from "./parser-BOXlubkg.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/ofetch/ts/index.ts
5
+ //#region src/uni/ts/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,5 +1,5 @@
1
1
  import { config$1 as config } from "./config-B89EoGE7.mjs";
2
- import { parser } from "./parser-C7x_CYBU.mjs";
2
+ import { parser$1 as parser } from "./parser-OUoEsF2d.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
5
  //#region src/axios/ts/index.ts
@@ -16,4 +16,4 @@ openapiPipeline.dest = dest$1;
16
16
  var ts_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, ts_default };
19
+ export { compiler$1, dest$1, generate$1, original$1, ts_default };
@@ -1,5 +1,5 @@
1
1
  import { config$5 as config } from "./config-aVU8JEKy.mjs";
2
- import { parser$5 as parser } from "./parser-OMrPnoEH.mjs";
2
+ import { parser$5 as parser } from "./parser-kk99DwsW.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
5
  //#region src/got/ts/index.ts
@@ -1,8 +1,8 @@
1
- import { config$9 as config } from "./config-BhuG_ib-.mjs";
2
- import { parser$9 as parser } from "./parser-ILpmQxJS.mjs";
1
+ import { config$9 as config } from "./config-C94x0Nge.mjs";
2
+ import { parser$9 as parser } from "./parser-CedZCyxl.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/uni/ts/index.ts
5
+ //#region src/ofetch/ts/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,5 +1,5 @@
1
1
  import { config$3 as config } from "./config-BHBub1xl.mjs";
2
- import { parser$3 as parser } from "./parser-EdhJ3Qd1.mjs";
2
+ import { parser$3 as parser } from "./parser-BEbsKXRG.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
5
  //#region src/fetch/ts/index.ts
@@ -1,5 +1,5 @@
1
- import { config$6 as config } from "./config-B6Kbwf1K.mjs";
2
- import { parser$7 as parser } from "./parser-Bca6rvOA.mjs";
1
+ import { config$7 as config } from "./config-BGwXcXx1.mjs";
2
+ import { parser$7 as parser } from "./parser-BMaYANAS.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
5
  //#region src/ky/ts/index.ts
@@ -1,9 +1,9 @@
1
- import "../index.d-Bgc7dYZS.mjs";
2
- import "../index.d-dxrAw57N.mjs";
3
- import { openapiPipeline$11 as openapiPipeline } from "../index.d-Bl3eJN4u.mjs";
4
- import "../index.d-CVft0H8H.mjs";
5
- import "../index.d-BkDJnw7U.mjs";
6
- import { openapiPipeline$7 as openapiPipeline$1 } from "../index.d-DWHBuUbH.mjs";
7
- import "../index.d-CjnRhC1X.mjs";
1
+ import "../index.d-xPgxVw9l.mjs";
2
+ import "../index.d-C5ya5SE3.mjs";
3
+ import { openapiPipeline$6 as openapiPipeline } from "../index.d-mXlHJ3vm.mjs";
4
+ import "../index.d-DHMHzs8Q.mjs";
5
+ import "../index.d-CFvCqVRj.mjs";
6
+ import { openapiPipeline$4 as openapiPipeline$1 } from "../index.d-1kS19nJx.mjs";
7
+ import "../index.d-C6gpVbqC.mjs";
8
8
 
9
9
  export { openapiPipeline as js, openapiPipeline$1 as ts };
@@ -1,9 +1,9 @@
1
- import "../config-Cc3VHRal.mjs";
2
- import "../parser-XfpBe6J7.mjs";
3
- import { js_default$4 as js_default } from "../js-DV7q1vbm.mjs";
4
- import "../config-BhuG_ib-.mjs";
5
- import "../parser-ILpmQxJS.mjs";
6
- import { ts_default$4 as ts_default } from "../ts-DaGoV8V5.mjs";
7
- import "../uni-D2Xd9fEW.mjs";
1
+ import "../config-Dn-mxTew.mjs";
2
+ import "../parser-BMWMb1tW.mjs";
3
+ import { js_default$5 as js_default } from "../js-rCsJDgHU.mjs";
4
+ import "../config-CEngTpXa.mjs";
5
+ import "../parser-BOXlubkg.mjs";
6
+ import { ts_default$5 as ts_default } from "../ts-B-VDMOmJ.mjs";
7
+ import "../uni-CQMaFViG.mjs";
8
8
 
9
9
  export { js_default as js, ts_default as ts };
@@ -1,3 +1,3 @@
1
- import { config$21 as config } from "../../../index.d-dxrAw57N.mjs";
1
+ import { config$23 as config } from "../../../index.d-C5ya5SE3.mjs";
2
2
 
3
3
  export { config };
@@ -1,3 +1,3 @@
1
- import { config$8 as config } from "../../../config-Cc3VHRal.mjs";
1
+ import { config$10 as config } from "../../../config-Dn-mxTew.mjs";
2
2
 
3
3
  export { config };
@@ -1,5 +1,5 @@
1
- import { parser$17 as parser } from "../../index.d-Bgc7dYZS.mjs";
2
- import { config$21 as config } from "../../index.d-dxrAw57N.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-Bl3eJN4u.mjs";
1
+ import { parser$21 as parser } from "../../index.d-xPgxVw9l.mjs";
2
+ import { config$23 as config } from "../../index.d-C5ya5SE3.mjs";
3
+ import { compiler$18 as compiler, dest$18 as dest, generate$18 as generate, openapiPipeline$6 as openapiPipeline, original$18 as original } from "../../index.d-mXlHJ3vm.mjs";
4
4
 
5
5
  export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
@@ -1,5 +1,5 @@
1
- import { config$8 as config } from "../../config-Cc3VHRal.mjs";
2
- import { parser$8 as parser } from "../../parser-XfpBe6J7.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-DV7q1vbm.mjs";
1
+ import { config$10 as config } from "../../config-Dn-mxTew.mjs";
2
+ import { parser$10 as parser } from "../../parser-BMWMb1tW.mjs";
3
+ import { compiler$10 as compiler, dest$10 as dest, generate$10 as generate, js_default$5 as js_default, original$10 as original } from "../../js-rCsJDgHU.mjs";
4
4
 
5
5
  export { compiler, config, js_default as default, dest, generate, original, parser };
@@ -1,3 +1,3 @@
1
- import { PathsTransformOptions$5 as PathsTransformOptions, parser$17 as parser, transformPaths$17 as transformPaths } from "../../../index.d-Bgc7dYZS.mjs";
1
+ import { PathsTransformOptions$9 as PathsTransformOptions, parser$21 as parser, transformPaths$21 as transformPaths } from "../../../index.d-xPgxVw9l.mjs";
2
2
 
3
3
  export { PathsTransformOptions, parser, transformPaths };
@@ -1,3 +1,3 @@
1
- import { parser$8 as parser, transformPaths$8 as transformPaths } from "../../../parser-XfpBe6J7.mjs";
1
+ import { parser$10 as parser, transformPaths$10 as transformPaths } from "../../../parser-BMWMb1tW.mjs";
2
2
 
3
3
  export { parser, transformPaths };
@@ -1,3 +1,3 @@
1
- import { config$16 as config } from "../../../index.d-BkDJnw7U.mjs";
1
+ import { config$22 as config } from "../../../index.d-CFvCqVRj.mjs";
2
2
 
3
3
  export { config };
@@ -1,3 +1,3 @@
1
- import { config$9 as config } from "../../../config-BhuG_ib-.mjs";
1
+ import { config$11 as config } from "../../../config-CEngTpXa.mjs";
2
2
 
3
3
  export { config };
@@ -1,5 +1,5 @@
1
- import { parser$19 as parser } from "../../index.d-CVft0H8H.mjs";
2
- import { config$16 as config } from "../../index.d-BkDJnw7U.mjs";
3
- import { compiler$19 as compiler, dest$19 as dest, generate$19 as generate, openapiPipeline$7 as openapiPipeline, original$19 as original } from "../../index.d-DWHBuUbH.mjs";
1
+ import { parser$23 as parser } from "../../index.d-DHMHzs8Q.mjs";
2
+ import { config$22 as config } from "../../index.d-CFvCqVRj.mjs";
3
+ import { compiler$16 as compiler, dest$16 as dest, generate$16 as generate, openapiPipeline$4 as openapiPipeline, original$16 as original } from "../../index.d-1kS19nJx.mjs";
4
4
 
5
5
  export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
@@ -1,5 +1,5 @@
1
- import { config$9 as config } from "../../config-BhuG_ib-.mjs";
2
- import { parser$9 as parser } from "../../parser-ILpmQxJS.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-DaGoV8V5.mjs";
1
+ import { config$11 as config } from "../../config-CEngTpXa.mjs";
2
+ import { parser$11 as parser } from "../../parser-BOXlubkg.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-B-VDMOmJ.mjs";
4
4
 
5
5
  export { compiler, config, ts_default as default, dest, generate, original, parser };
@@ -1,3 +1,3 @@
1
- import { PathsTransformOptions$7 as PathsTransformOptions, parser$19 as parser, transformPaths$19 as transformPaths } from "../../../index.d-CVft0H8H.mjs";
1
+ import { PathsTransformOptions$11 as PathsTransformOptions, parser$23 as parser, transformPaths$23 as transformPaths } from "../../../index.d-DHMHzs8Q.mjs";
2
2
 
3
3
  export { PathsTransformOptions, parser, transformPaths };
@@ -1,3 +1,3 @@
1
- import { parser$9 as parser, transformPaths$9 as transformPaths } from "../../../parser-ILpmQxJS.mjs";
1
+ import { parser$11 as parser, transformPaths$11 as transformPaths } from "../../../parser-BOXlubkg.mjs";
2
2
 
3
3
  export { parser, transformPaths };
@@ -1,6 +1,6 @@
1
1
  import { __export } from "./chunk-BL35Yyzp.mjs";
2
- import { js_default$4 as js_default } from "./js-DV7q1vbm.mjs";
3
- import { ts_default$4 as ts_default } from "./ts-DaGoV8V5.mjs";
2
+ import { js_default$5 as js_default } from "./js-rCsJDgHU.mjs";
3
+ import { ts_default$5 as ts_default } from "./ts-B-VDMOmJ.mjs";
4
4
 
5
5
  //#region src/uni/index.ts
6
6
  var uni_exports = {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genapi/presets",
3
3
  "type": "module",
4
- "version": "3.6.4",
4
+ "version": "3.7.0",
5
5
  "author": "Hairyf <wwu710632@gmail.com>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/hairyf/genapi#readme",
@@ -63,9 +63,9 @@
63
63
  ],
64
64
  "dependencies": {
65
65
  "openapi-specification-types": "^0.0.3",
66
- "@genapi/parser": "3.6.4",
67
- "@genapi/shared": "3.6.4",
68
- "@genapi/pipeline": "3.6.4"
66
+ "@genapi/parser": "3.7.0",
67
+ "@genapi/pipeline": "3.7.0",
68
+ "@genapi/shared": "3.7.0"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "tsdown",
@@ -1,12 +0,0 @@
1
- import { __export } from "./chunk-BL35Yyzp.mjs";
2
- import { openapiPipeline$4 as openapiPipeline } from "./index.d-CEni3u-v.mjs";
3
- import { openapiPipeline as openapiPipeline$1 } from "./index.d-C0TXUsBB.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 as index_d_exports$1 };
@@ -1,12 +0,0 @@
1
- import { __export } from "./chunk-BL35Yyzp.mjs";
2
- import { openapiPipeline$3 as openapiPipeline } from "./index.d-DggSdR0X.mjs";
3
- import { openapiPipeline$1 } from "./index.d-Blu1fWNS.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 };