@genapi/presets 3.6.3 → 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 (161) hide show
  1. package/dist/axios/index.d.mts +7 -7
  2. package/dist/axios/index.mjs +7 -7
  3. package/dist/axios/js/config/index.d.mts +1 -1
  4. package/dist/axios/js/config/index.mjs +1 -1
  5. package/dist/axios/js/index.d.mts +3 -3
  6. package/dist/axios/js/index.mjs +3 -3
  7. package/dist/axios/js/parser/index.d.mts +1 -1
  8. package/dist/axios/js/parser/index.mjs +1 -1
  9. package/dist/axios/ts/config/index.d.mts +1 -1
  10. package/dist/axios/ts/config/index.mjs +1 -1
  11. package/dist/axios/ts/index.d.mts +3 -3
  12. package/dist/axios/ts/index.mjs +3 -3
  13. package/dist/axios/ts/parser/index.d.mts +1 -1
  14. package/dist/axios/ts/parser/index.mjs +1 -1
  15. package/dist/{axios-K39RAkb3.mjs → axios-C--VNFKW.mjs} +2 -2
  16. package/dist/{config-DYF2fE7D.mjs → config-B89EoGE7.mjs} +1 -1
  17. package/dist/{config-B16vmOTT.mjs → config-C94x0Nge.mjs} +1 -1
  18. package/dist/{config-BxJx9kNJ.mjs → config-CwmGeydd.mjs} +1 -1
  19. package/dist/{config-DDE1yFR1.mjs → config-Dm0OCPw8.mjs} +1 -1
  20. package/dist/{config-Cc3VHRal.mjs → config-Dn-mxTew.mjs} +1 -1
  21. package/dist/fetch/index.d.mts +7 -7
  22. package/dist/fetch/index.mjs +5 -5
  23. package/dist/fetch/js/config/index.d.mts +1 -1
  24. package/dist/fetch/js/index.d.mts +3 -3
  25. package/dist/fetch/js/index.mjs +2 -2
  26. package/dist/fetch/js/parser/index.d.mts +1 -1
  27. package/dist/fetch/js/parser/index.mjs +1 -1
  28. package/dist/fetch/ts/config/index.d.mts +1 -1
  29. package/dist/fetch/ts/index.d.mts +3 -3
  30. package/dist/fetch/ts/index.mjs +2 -2
  31. package/dist/fetch/ts/parser/index.d.mts +1 -1
  32. package/dist/fetch/ts/parser/index.mjs +1 -1
  33. package/dist/{fetch-DLL06Jn7.mjs → fetch-TYDXDaTS.mjs} +2 -2
  34. package/dist/got/index.d.mts +7 -7
  35. package/dist/got/index.mjs +5 -5
  36. package/dist/got/js/config/index.d.mts +1 -1
  37. package/dist/got/js/index.d.mts +3 -3
  38. package/dist/got/js/index.mjs +2 -2
  39. package/dist/got/js/parser/index.d.mts +1 -1
  40. package/dist/got/js/parser/index.mjs +1 -1
  41. package/dist/got/ts/config/index.d.mts +1 -1
  42. package/dist/got/ts/index.d.mts +3 -3
  43. package/dist/got/ts/index.mjs +2 -2
  44. package/dist/got/ts/parser/index.d.mts +1 -1
  45. package/dist/got/ts/parser/index.mjs +1 -1
  46. package/dist/{got-Bk_ycTUL.mjs → got-D5A7dJdZ.mjs} +2 -2
  47. package/dist/{index.d-CDCnQA_5.d.mts → index.d-1kS19nJx.d.mts} +3 -3
  48. package/dist/{index.d-BdSGOMjw.d.mts → index.d-1qaowKKm.d.mts} +2 -2
  49. package/dist/{index.d-D27k0qFu.d.mts → index.d-42t92mX0.d.mts} +1 -1
  50. package/dist/{index.d-CSsFeICa.d.mts → index.d-7vIBcqWp.d.mts} +1 -1
  51. package/dist/{index.d-7KTSOlPK.d.mts → index.d-B0xaEiBX.d.mts} +3 -3
  52. package/dist/{index.d-5Cya98Un.d.mts → index.d-B1m7PaBv.d.mts} +2 -2
  53. package/dist/{index.d-C8eBwHjA.d.mts → index.d-B6j2V4Az.d.mts} +3 -3
  54. package/dist/{index.d-ByYZFiiy.d.mts → index.d-BCWDJjEV.d.mts} +1 -1
  55. package/dist/{index.d--WABcH1n.d.mts → index.d-BN2_wiGD.d.mts} +3 -3
  56. package/dist/{index.d-TzRb4Dr6.d.mts → index.d-BNkgVflG.d.mts} +2 -2
  57. package/dist/{index.d-D--0zOjh.d.mts → index.d-BY4lF6QY.d.mts} +1 -1
  58. package/dist/{index.d-DGXjqfWF.d.mts → index.d-BxDzXRov.d.mts} +3 -3
  59. package/dist/{index.d-4P2o05A7.d.mts → index.d-BxQraJfG.d.mts} +2 -2
  60. package/dist/{index.d-Cb9k2mo6.d.mts → index.d-Bxgqqjp3.d.mts} +1 -1
  61. package/dist/{index.d-B_46bdja.d.mts → index.d-C0EKSJ26.d.mts} +1 -1
  62. package/dist/{index.d-DbXQBIkp.d.mts → index.d-C5ya5SE3.d.mts} +1 -1
  63. package/dist/index.d-C6gpVbqC.d.mts +12 -0
  64. package/dist/{index.d-CnSG-Noj.d.mts → index.d-CFvCqVRj.d.mts} +1 -1
  65. package/dist/{index.d-BP81r32_.d.mts → index.d-CJ27pjS6.d.mts} +1 -1
  66. package/dist/index.d-CM3KHaZM.d.mts +12 -0
  67. package/dist/{index.d-72ood6s3.d.mts → index.d-CTkBXgsL.d.mts} +1 -1
  68. package/dist/{index.d-CKxkHuJc.d.mts → index.d-CXNw0ZkA.d.mts} +2 -2
  69. package/dist/{index.d-CK3UACyf.d.mts → index.d-C_cfONoz.d.mts} +2 -2
  70. package/dist/{index.d-gsBG0fv5.d.mts → index.d-Ceqrd7FN.d.mts} +1 -1
  71. package/dist/{index.d-WOo6Avct.d.mts → index.d-Cgflcv1m.d.mts} +3 -3
  72. package/dist/{index.d-B5eVx0_g.d.mts → index.d-CmW7DwIV.d.mts} +3 -3
  73. package/dist/{index.d-HSjFGShK.d.mts → index.d-DDTGaUmA.d.mts} +1 -1
  74. package/dist/{index.d-Dah_fwpb.d.mts → index.d-DHMHzs8Q.d.mts} +2 -2
  75. package/dist/{index.d-7QO8j22F.d.mts → index.d-DJv4EMYu.d.mts} +1 -1
  76. package/dist/{index.d-Bej_gqMV.d.mts → index.d-DOPIfZ0r.d.mts} +3 -3
  77. package/dist/index.d-Dd6ZDpp9.d.mts +12 -0
  78. package/dist/index.d-DgbGF4C3.d.mts +12 -0
  79. package/dist/{index.d-CYhAScL7.d.mts → index.d-DmOkv7N9.d.mts} +3 -3
  80. package/dist/{index.d-B1KgwGJV.d.mts → index.d-DpQbWiOh.d.mts} +2 -2
  81. package/dist/{index.d-Dzu4Ung6.d.mts → index.d-Dvtsr9g-.d.mts} +2 -2
  82. package/dist/{index.d-DZSKZpdV.d.mts → index.d-LlaJb0pD.d.mts} +3 -3
  83. package/dist/{index.d-D6gcSlpm.d.mts → index.d-RZUAACu-.d.mts} +2 -2
  84. package/dist/{index.d-DMhDgHcL.d.mts → index.d-SxIr6Uhl.d.mts} +2 -2
  85. package/dist/{index.d-DMW8-9Zk.d.mts → index.d-TD1X3MeU.d.mts} +2 -2
  86. package/dist/{index.d-BSefl7jk.d.mts → index.d-mJ3Pcxey.d.mts} +2 -2
  87. package/dist/{index.d-DRRz9JJu.d.mts → index.d-mXlHJ3vm.d.mts} +3 -3
  88. package/dist/{index.d-BQui2LFN.d.mts → index.d-xPgxVw9l.d.mts} +2 -2
  89. package/dist/index.d.mts +42 -42
  90. package/dist/index.mjs +35 -35
  91. package/dist/{js-BTAkYiRg.mjs → js-BHy43BOA.mjs} +1 -1
  92. package/dist/{js-D-lPI2Zn.mjs → js-CsFu-S2j.mjs} +1 -1
  93. package/dist/{js-izGE6V5X.mjs → js-SMul0x9Q.mjs} +3 -3
  94. package/dist/{js-DV7q1vbm.mjs → js-Swp-o6ZG.mjs} +3 -3
  95. package/dist/{js-nPYw8nGm.mjs → js-jTe7QP2M.mjs} +1 -1
  96. package/dist/{ts-D_YpWQhG.mjs → js-rCsJDgHU.mjs} +5 -5
  97. package/dist/ky/index.d.mts +7 -7
  98. package/dist/ky/index.mjs +5 -5
  99. package/dist/ky/js/config/index.d.mts +1 -1
  100. package/dist/ky/js/index.d.mts +3 -3
  101. package/dist/ky/js/index.mjs +2 -2
  102. package/dist/ky/js/parser/index.d.mts +1 -1
  103. package/dist/ky/js/parser/index.mjs +1 -1
  104. package/dist/ky/ts/config/index.d.mts +1 -1
  105. package/dist/ky/ts/index.d.mts +3 -3
  106. package/dist/ky/ts/index.mjs +2 -2
  107. package/dist/ky/ts/parser/index.d.mts +1 -1
  108. package/dist/ky/ts/parser/index.mjs +1 -1
  109. package/dist/{ky-BWZPNhn0.mjs → ky--lXnn0gU.mjs} +2 -2
  110. package/dist/ofetch/index.d.mts +7 -7
  111. package/dist/ofetch/index.mjs +7 -7
  112. package/dist/ofetch/js/config/index.d.mts +1 -1
  113. package/dist/ofetch/js/config/index.mjs +1 -1
  114. package/dist/ofetch/js/index.d.mts +3 -3
  115. package/dist/ofetch/js/index.mjs +3 -3
  116. package/dist/ofetch/js/parser/index.d.mts +1 -1
  117. package/dist/ofetch/js/parser/index.mjs +1 -1
  118. package/dist/ofetch/ts/config/index.d.mts +1 -1
  119. package/dist/ofetch/ts/config/index.mjs +1 -1
  120. package/dist/ofetch/ts/index.d.mts +3 -3
  121. package/dist/ofetch/ts/index.mjs +3 -3
  122. package/dist/ofetch/ts/parser/index.d.mts +1 -1
  123. package/dist/ofetch/ts/parser/index.mjs +1 -1
  124. package/dist/{ofetch-CAG9WRDq.mjs → ofetch-qhtvI1gy.mjs} +2 -2
  125. package/dist/{parser-eI6eqR9i.mjs → parser-820U-7tY.mjs} +10 -8
  126. package/dist/{parser-EdhJ3Qd1.mjs → parser-BEbsKXRG.mjs} +10 -8
  127. package/dist/{parser-XfpBe6J7.mjs → parser-BMWMb1tW.mjs} +11 -9
  128. package/dist/{parser-Bca6rvOA.mjs → parser-BMaYANAS.mjs} +10 -8
  129. package/dist/{parser-ByIlYPZJ.mjs → parser-BOXlubkg.mjs} +10 -8
  130. package/dist/{parser-DWEwuz0M.mjs → parser-B_pvME5o.mjs} +10 -8
  131. package/dist/{parser-CKxD1WcD.mjs → parser-By1vGa1J.mjs} +11 -9
  132. package/dist/{parser-Cmtirdyk.mjs → parser-C267rNUI.mjs} +10 -8
  133. package/dist/{parser-CH2ZG8Bw.mjs → parser-CFUtEOtZ.mjs} +11 -9
  134. package/dist/{parser-gnwFYowJ.mjs → parser-CedZCyxl.mjs} +11 -9
  135. package/dist/{parser-C7x_CYBU.mjs → parser-OUoEsF2d.mjs} +11 -9
  136. package/dist/{parser-OMrPnoEH.mjs → parser-kk99DwsW.mjs} +10 -8
  137. package/dist/{ts-BBkwQBu9.mjs → ts-B-VDMOmJ.mjs} +1 -1
  138. package/dist/{ts-BjUGMswQ.mjs → ts-CBFVpM-p.mjs} +3 -3
  139. package/dist/{ts-wjKQK01I.mjs → ts-CBWxAza5.mjs} +1 -1
  140. package/dist/{js-BrYBwIUe.mjs → ts-CKsdt6vA.mjs} +5 -5
  141. package/dist/{ts-C63VeyhJ.mjs → ts-Cnuezdyy.mjs} +1 -1
  142. package/dist/{ts-DwaBBk0b.mjs → ts-ILF3D-J-.mjs} +1 -1
  143. package/dist/uni/index.d.mts +7 -7
  144. package/dist/uni/index.mjs +6 -6
  145. package/dist/uni/js/config/index.d.mts +1 -1
  146. package/dist/uni/js/config/index.mjs +1 -1
  147. package/dist/uni/js/index.d.mts +3 -3
  148. package/dist/uni/js/index.mjs +3 -3
  149. package/dist/uni/js/parser/index.d.mts +1 -1
  150. package/dist/uni/js/parser/index.mjs +1 -1
  151. package/dist/uni/ts/config/index.d.mts +1 -1
  152. package/dist/uni/ts/index.d.mts +3 -3
  153. package/dist/uni/ts/index.mjs +2 -2
  154. package/dist/uni/ts/parser/index.d.mts +1 -1
  155. package/dist/uni/ts/parser/index.mjs +1 -1
  156. package/dist/{uni-qXbKIE98.mjs → uni-CQMaFViG.mjs} +2 -2
  157. package/package.json +4 -4
  158. package/dist/index.d-2GTFGLgW.d.mts +0 -12
  159. package/dist/index.d-Bj-04whm.d.mts +0 -12
  160. package/dist/index.d-CIRMd-aJ.d.mts +0 -12
  161. package/dist/index.d-CmBVTGjP.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$9, transformPaths as transformPaths$9 };
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$10, transformPaths as transformPaths$10 };
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,5 +1,5 @@
1
1
  import { config$11 as config } from "./config-CEngTpXa.mjs";
2
- import { parser$11 as parser } from "./parser-ByIlYPZJ.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
5
  //#region src/uni/ts/index.ts
@@ -1,5 +1,5 @@
1
- import { config } from "./config-DYF2fE7D.mjs";
2
- import { parser } from "./parser-C7x_CYBU.mjs";
1
+ import { config$1 as config } from "./config-B89EoGE7.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-DDE1yFR1.mjs";
2
- import { parser$9 as parser } from "./parser-CH2ZG8Bw.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/ofetch/js/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);
@@ -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 js_default = openapiPipeline;
16
+ var ts_default = openapiPipeline;
17
17
 
18
18
  //#endregion
19
- export { compiler$1 as compiler$9, dest$1 as dest$9, generate$1 as generate$9, js_default as js_default$5, original$1 as original$9 };
19
+ export { compiler$1 as compiler$9, dest$1 as dest$9, generate$1 as generate$9, original$1 as original$9, ts_default as ts_default$4 };
@@ -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
1
  import { config$7 as config } from "./config-BGwXcXx1.mjs";
2
- import { parser$7 as parser } from "./parser-Bca6rvOA.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-Dzu4Ung6.mjs";
2
- import "../index.d-DbXQBIkp.mjs";
3
- import { openapiPipeline$8 as openapiPipeline } from "../index.d-CYhAScL7.mjs";
4
- import "../index.d-TzRb4Dr6.mjs";
5
- import "../index.d-CnSG-Noj.mjs";
6
- import { openapiPipeline$6 as openapiPipeline$1 } from "../index.d-DRRz9JJu.mjs";
7
- import "../index.d-CIRMd-aJ.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";
1
+ import "../config-Dn-mxTew.mjs";
2
+ import "../parser-BMWMb1tW.mjs";
3
+ import { js_default$5 as js_default } from "../js-rCsJDgHU.mjs";
4
4
  import "../config-CEngTpXa.mjs";
5
- import "../parser-ByIlYPZJ.mjs";
6
- import { ts_default$5 as ts_default } from "../ts-BBkwQBu9.mjs";
7
- import "../uni-qXbKIE98.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$12 as config } from "../../../index.d-DbXQBIkp.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$19 as parser } from "../../index.d-Dzu4Ung6.mjs";
2
- import { config$12 as config } from "../../index.d-DbXQBIkp.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-CYhAScL7.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$7 as PathsTransformOptions, parser$19 as parser, transformPaths$19 as transformPaths } from "../../../index.d-Dzu4Ung6.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$14 as config } from "../../../index.d-CnSG-Noj.mjs";
1
+ import { config$22 as config } from "../../../index.d-CFvCqVRj.mjs";
2
2
 
3
3
  export { config };
@@ -1,5 +1,5 @@
1
- import { parser$12 as parser } from "../../index.d-TzRb4Dr6.mjs";
2
- import { config$14 as config } from "../../index.d-CnSG-Noj.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-DRRz9JJu.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
1
  import { config$11 as config } from "../../config-CEngTpXa.mjs";
2
- import { parser$11 as parser } from "../../parser-ByIlYPZJ.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-BBkwQBu9.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, parser$12 as parser, transformPaths$12 as transformPaths } from "../../../index.d-TzRb4Dr6.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$11 as parser, transformPaths$11 as transformPaths } from "../../../parser-ByIlYPZJ.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$5 as ts_default } from "./ts-BBkwQBu9.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.3",
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/shared": "3.6.3",
67
- "@genapi/pipeline": "3.6.3",
68
- "@genapi/parser": "3.6.3"
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$7 as openapiPipeline } from "./index.d-B5eVx0_g.mjs";
3
- import { openapiPipeline$10 as openapiPipeline$1 } from "./index.d-C8eBwHjA.mjs";
4
-
5
- //#region src/ofetch/index.d.ts
6
-
7
- declare namespace index_d_exports {
8
- export { openapiPipeline as js, openapiPipeline$1 as ts, }
9
- }
10
-
11
- //#endregion
12
- export { index_d_exports as index_d_exports$5 };
@@ -1,12 +0,0 @@
1
- import { __export } from "./chunk-BL35Yyzp.mjs";
2
- import { openapiPipeline$4 as openapiPipeline } from "./index.d-CDCnQA_5.mjs";
3
- import { openapiPipeline as openapiPipeline$1 } from "./index.d-DZSKZpdV.mjs";
4
-
5
- //#region src/fetch/index.d.ts
6
-
7
- declare namespace index_d_exports {
8
- export { openapiPipeline as js, openapiPipeline$1 as ts, }
9
- }
10
-
11
- //#endregion
12
- export { index_d_exports as index_d_exports$4 };
@@ -1,12 +0,0 @@
1
- import { __export } from "./chunk-BL35Yyzp.mjs";
2
- import { openapiPipeline$8 as openapiPipeline } from "./index.d-CYhAScL7.mjs";
3
- import { openapiPipeline$6 as openapiPipeline$1 } from "./index.d-DRRz9JJu.mjs";
4
-
5
- //#region src/uni/index.d.ts
6
-
7
- declare namespace index_d_exports {
8
- export { openapiPipeline as js, openapiPipeline$1 as ts, }
9
- }
10
-
11
- //#endregion
12
- export { index_d_exports as index_d_exports$1 };
@@ -1,12 +0,0 @@
1
- import { __export } from "./chunk-BL35Yyzp.mjs";
2
- import { openapiPipeline$2 as openapiPipeline } from "./index.d-7KTSOlPK.mjs";
3
- import { openapiPipeline$5 as openapiPipeline$1 } from "./index.d--WABcH1n.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 };