@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
@@ -1,82 +1,3 @@
1
- // src/got/ts/parser/index.ts
2
- import {
3
- literalFieldsToString,
4
- parseHeaderCommits,
5
- parseMethodMetadata,
6
- parseMethodParameters,
7
- parseOpenapiSpecification,
8
- transformBaseURL,
9
- transformBodyStringify,
10
- transformDefinitions,
11
- transformParameters,
12
- transformQueryParams,
13
- transformUrlSyntax,
14
- traversePaths
15
- } from "@genapi/parser";
16
- function parser(configRead) {
17
- const source = parseOpenapiSpecification(configRead.source);
18
- const comments = parseHeaderCommits(source);
19
- const interfaces = [];
20
- const functions = [];
21
- transformBaseURL(source, {
22
- configRead
23
- });
24
- transformDefinitions(source.definitions, {
25
- interfaces
26
- });
27
- transformPaths(source.paths, {
28
- configRead,
29
- functions,
30
- interfaces
31
- });
32
- configRead.graphs.comments = comments;
33
- configRead.graphs.functions = functions;
34
- configRead.graphs.interfaces = interfaces;
35
- return configRead;
36
- }
37
- function transformPaths(paths, { configRead, functions, interfaces }) {
38
- traversePaths(paths, (config) => {
39
- const { parameters, interfaces: attachInters, options } = parseMethodParameters(config);
40
- let { name, description, url, responseType } = parseMethodMetadata(config);
41
- interfaces.push(...attachInters);
42
- parameters.push({
43
- name: "config",
44
- type: "OptionsOfTextResponseBody",
45
- required: false
46
- });
47
- options.push(["...", "config"]);
48
- if (configRead.config.baseURL)
49
- options.unshift(["prefixUrl", "baseURL"]);
50
- for (const parameter of parameters) {
51
- if (parameter.type === "FormData")
52
- parameter.type = "any";
53
- }
54
- const { spaceResponseType } = transformParameters(parameters, {
55
- syntax: "typescript",
56
- configRead,
57
- description,
58
- interfaces,
59
- responseType
60
- });
61
- transformBodyStringify("body", { options, parameters });
62
- transformQueryParams("query", { optionKey: "searchParams", options });
63
- url = transformUrlSyntax(url);
64
- functions.push({
65
- export: true,
66
- async: true,
67
- name,
68
- description,
69
- parameters,
70
- body: [
71
- `const response = http.${config.method}(${url}, {
72
- ${literalFieldsToString(options)}
73
- })`,
74
- `return response.json<${spaceResponseType}>()`
75
- ]
76
- });
77
- });
78
- }
79
- export {
80
- parser,
81
- transformPaths
82
- };
1
+ import { parser$5 as parser, transformPaths$5 as transformPaths } from "../../../parser-BJWwcP0S.mjs";
2
+
3
+ export { parser, transformPaths };
@@ -0,0 +1,13 @@
1
+ import { __export } from "./chunk-BL35Yyzp.mjs";
2
+ import { js_default$1 as js_default } from "./js-DGjfw_hH.mjs";
3
+ import { ts_default$2 as ts_default } from "./ts-C9t_rVQx.mjs";
4
+
5
+ //#region src/got/index.ts
6
+ var got_exports = {};
7
+ __export(got_exports, {
8
+ js: () => js_default,
9
+ ts: () => ts_default
10
+ });
11
+
12
+ //#endregion
13
+ export { got_exports };
@@ -1,6 +1,7 @@
1
- import { ApiPipeline, StatementInterface, StatementFunction } from '@genapi/shared';
2
- import { Paths } from 'openapi-specification-types';
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
3
 
4
+ //#region src/uni/js/parser/index.d.ts
4
5
  interface PathsTransformOptions {
5
6
  configRead: ApiPipeline.ConfigRead;
6
7
  interfaces: StatementInterface[];
@@ -9,4 +10,5 @@ interface PathsTransformOptions {
9
10
  declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
10
11
  declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
11
12
 
12
- export { type PathsTransformOptions, parser, transformPaths };
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$4, parser as parser$16, transformPaths as transformPaths$16 };
@@ -0,0 +1,12 @@
1
+ import { __export } from "./chunk-BL35Yyzp.mjs";
2
+ import { openapiPipeline } from "./index.d-BS6Sm47l.mjs";
3
+ import { openapiPipeline$4 as openapiPipeline$1 } from "./index.d-CVL676ax.mjs";
4
+
5
+ //#region src/axios/index.d.ts
6
+
7
+ declare namespace index_d_exports {
8
+ export { openapiPipeline as js, openapiPipeline$1 as ts, }
9
+ }
10
+
11
+ //#endregion
12
+ export { index_d_exports as index_d_exports$1 };
@@ -0,0 +1,14 @@
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
+
4
+ //#region src/ofetch/ts/parser/index.d.ts
5
+ interface PathsTransformOptions {
6
+ configRead: ApiPipeline.ConfigRead;
7
+ interfaces: StatementInterface[];
8
+ functions: StatementFunction[];
9
+ }
10
+ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
11
+ declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
12
+
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$10, parser as parser$22, transformPaths as transformPaths$22 };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/uni/ts/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$15 };
@@ -0,0 +1,14 @@
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
+
4
+ //#region src/fetch/ts/parser/index.d.ts
5
+ interface PathsTransformOptions {
6
+ configRead: ApiPipeline.ConfigRead;
7
+ interfaces: StatementInterface[];
8
+ functions: StatementFunction[];
9
+ }
10
+ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
11
+ declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
12
+
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$5, parser as parser$17, transformPaths as transformPaths$17 };
@@ -0,0 +1,12 @@
1
+ import { __export } from "./chunk-BL35Yyzp.mjs";
2
+ import { openapiPipeline$7 as openapiPipeline } from "./index.d-BgvbkDJL.mjs";
3
+ import { openapiPipeline$8 as openapiPipeline$1 } from "./index.d-BupSEh4R.mjs";
4
+
5
+ //#region src/fetch/index.d.ts
6
+
7
+ declare namespace index_d_exports {
8
+ export { openapiPipeline as js, openapiPipeline$1 as ts, }
9
+ }
10
+
11
+ //#endregion
12
+ export { index_d_exports as index_d_exports$2 };
@@ -0,0 +1,18 @@
1
+ import { parser$15 as parser } from "./index.d-D33XWXy5.mjs";
2
+ import { config$15 as config } from "./index.d-B9C3SJsw.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/uni/ts/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$14, dest$1 as dest$14, generate$1 as generate$14, openapiPipeline as openapiPipeline$2, original$1 as original$14 };
@@ -0,0 +1,12 @@
1
+ import { __export } from "./chunk-BL35Yyzp.mjs";
2
+ import { openapiPipeline$11 as openapiPipeline } from "./index.d-BahMmqz0.mjs";
3
+ import { openapiPipeline$1 } from "./index.d-DuVpMG8_.mjs";
4
+
5
+ //#region src/ky/index.d.ts
6
+
7
+ declare namespace index_d_exports {
8
+ export { openapiPipeline as js, openapiPipeline$1 as ts, }
9
+ }
10
+
11
+ //#endregion
12
+ export { index_d_exports as index_d_exports$3 };
@@ -0,0 +1,18 @@
1
+ import { parser$23 as parser } from "./index.d-DW8ts-IU.mjs";
2
+ import { config$23 as config } from "./index.d-BXgDnKDv.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/axios/js/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$12, dest$1 as dest$12, generate$1 as generate$12, openapiPipeline, original$1 as original$12 };
@@ -0,0 +1,18 @@
1
+ import { parser$21 as parser } from "./index.d-CN37Zl7u.mjs";
2
+ import { config$16 as config } from "./index.d-lzQFIw8d.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/ofetch/js/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$15, dest$1 as dest$15, generate$1 as generate$15, openapiPipeline as openapiPipeline$3, original$1 as original$15 };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/axios/js/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$23 };
@@ -1,6 +1,7 @@
1
- import { ApiPipeline, StatementInterface, StatementFunction } from '@genapi/shared';
2
- import { Paths } from 'openapi-specification-types';
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
3
 
4
+ //#region src/ky/ts/parser/index.d.ts
4
5
  interface PathsTransformOptions {
5
6
  configRead: ApiPipeline.ConfigRead;
6
7
  interfaces: StatementInterface[];
@@ -9,4 +10,5 @@ interface PathsTransformOptions {
9
10
  declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
10
11
  declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
11
12
 
12
- export { type PathsTransformOptions, parser, transformPaths };
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$8, parser as parser$20, transformPaths as transformPaths$20 };
@@ -0,0 +1,18 @@
1
+ import { parser$13 as parser } from "./index.d-KQGa1SFg.mjs";
2
+ import { config$22 as config } from "./index.d-CfS61_iH.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/ky/js/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$23, dest$1 as dest$23, generate$1 as generate$23, openapiPipeline as openapiPipeline$11, original$1 as original$23 };
@@ -0,0 +1,12 @@
1
+ import { __export } from "./chunk-BL35Yyzp.mjs";
2
+ import { openapiPipeline$9 as openapiPipeline } from "./index.d-CljgOS4p.mjs";
3
+ import { openapiPipeline$10 as openapiPipeline$1 } from "./index.d-BulZ76hJ.mjs";
4
+
5
+ //#region src/got/index.d.ts
6
+
7
+ declare namespace index_d_exports {
8
+ export { openapiPipeline as js, openapiPipeline$1 as ts, }
9
+ }
10
+
11
+ //#endregion
12
+ export { index_d_exports };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/fetch/js/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$18 };
@@ -0,0 +1,18 @@
1
+ import { parser$12 as parser } from "./index.d-D1pp_HCy.mjs";
2
+ import { config$18 as config } from "./index.d-BguloXfs.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/fetch/js/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$19, dest$1 as dest$19, generate$1 as generate$19, openapiPipeline as openapiPipeline$7, original$1 as original$19 };
@@ -0,0 +1,14 @@
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
+
4
+ //#region src/axios/ts/parser/index.d.ts
5
+ interface PathsTransformOptions {
6
+ configRead: ApiPipeline.ConfigRead;
7
+ interfaces: StatementInterface[];
8
+ functions: StatementFunction[];
9
+ }
10
+ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
11
+ declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
12
+
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$2, parser as parser$14, transformPaths as transformPaths$14 };
@@ -0,0 +1,18 @@
1
+ import { parser$19 as parser } from "./index.d-CAirdOCT.mjs";
2
+ import { config$21 as config } from "./index.d-Cb9k2mo6.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/got/ts/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$22, dest$1 as dest$22, generate$1 as generate$22, openapiPipeline as openapiPipeline$10, original$1 as original$22 };
@@ -0,0 +1,18 @@
1
+ import { parser$17 as parser } from "./index.d-BB-bpoWw.mjs";
2
+ import { config$19 as config } from "./index.d-O3Nkol5h.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/fetch/ts/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$20, dest$1 as dest$20, generate$1 as generate$20, openapiPipeline as openapiPipeline$8, original$1 as original$20 };
@@ -0,0 +1,14 @@
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
+
4
+ //#region src/got/ts/parser/index.d.ts
5
+ interface PathsTransformOptions {
6
+ configRead: ApiPipeline.ConfigRead;
7
+ interfaces: StatementInterface[];
8
+ functions: StatementFunction[];
9
+ }
10
+ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
11
+ declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
12
+
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$7, parser as parser$19, transformPaths as transformPaths$19 };
@@ -0,0 +1,12 @@
1
+ import { __export } from "./chunk-BL35Yyzp.mjs";
2
+ import { openapiPipeline$5 as openapiPipeline } from "./index.d-CdRfZiCo.mjs";
3
+ import { openapiPipeline$2 as openapiPipeline$1 } from "./index.d-BDy4V2O7.mjs";
4
+
5
+ //#region src/uni/index.d.ts
6
+
7
+ declare namespace index_d_exports {
8
+ export { openapiPipeline as js, openapiPipeline$1 as ts, }
9
+ }
10
+
11
+ //#endregion
12
+ export { index_d_exports as index_d_exports$5 };
@@ -0,0 +1,14 @@
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
+
4
+ //#region src/ofetch/js/parser/index.d.ts
5
+ interface PathsTransformOptions {
6
+ configRead: ApiPipeline.ConfigRead;
7
+ interfaces: StatementInterface[];
8
+ functions: StatementFunction[];
9
+ }
10
+ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
11
+ declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
12
+
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$9, parser as parser$21, transformPaths as transformPaths$21 };
@@ -0,0 +1,18 @@
1
+ import { parser$14 as parser } from "./index.d-Bknp-d4G.mjs";
2
+ import { config$20 as config } from "./index.d-DgggRtXp.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/axios/ts/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$16, dest$1 as dest$16, generate$1 as generate$16, openapiPipeline as openapiPipeline$4, original$1 as original$16 };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/got/ts/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$21 };
@@ -0,0 +1,18 @@
1
+ import { parser$16 as parser } from "./index.d-4OvQY24D.mjs";
2
+ import { config$14 as config } from "./index.d-DQZa03Va.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/uni/js/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$17, dest$1 as dest$17, generate$1 as generate$17, openapiPipeline as openapiPipeline$5, original$1 as original$17 };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/ky/js/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$22 };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/ofetch/ts/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$13 };
@@ -0,0 +1,18 @@
1
+ import { parser$18 as parser } from "./index.d-D6gcSlpm.mjs";
2
+ import { config$12 as config } from "./index.d-DrCRTA_-.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/got/js/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$21, dest$1 as dest$21, generate$1 as generate$21, openapiPipeline as openapiPipeline$9, original$1 as original$21 };
@@ -1,6 +1,7 @@
1
- import { ApiPipeline, StatementInterface, StatementFunction } from '@genapi/shared';
2
- import { Paths } from 'openapi-specification-types';
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
3
 
4
+ //#region src/fetch/js/parser/index.d.ts
4
5
  interface PathsTransformOptions {
5
6
  configRead: ApiPipeline.ConfigRead;
6
7
  interfaces: StatementInterface[];
@@ -9,4 +10,5 @@ interface PathsTransformOptions {
9
10
  declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
10
11
  declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
11
12
 
12
- export { type PathsTransformOptions, parser, transformPaths };
13
+ //#endregion
14
+ export { PathsTransformOptions, parser as parser$12, transformPaths as transformPaths$12 };
@@ -0,0 +1,14 @@
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
+
4
+ //#region src/uni/ts/parser/index.d.ts
5
+ interface PathsTransformOptions {
6
+ configRead: ApiPipeline.ConfigRead;
7
+ interfaces: StatementInterface[];
8
+ functions: StatementFunction[];
9
+ }
10
+ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
11
+ declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
12
+
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$3, parser as parser$15, transformPaths as transformPaths$15 };
@@ -0,0 +1,14 @@
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
+
4
+ //#region src/got/js/parser/index.d.ts
5
+ interface PathsTransformOptions {
6
+ configRead: ApiPipeline.ConfigRead;
7
+ interfaces: StatementInterface[];
8
+ functions: StatementFunction[];
9
+ }
10
+ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
11
+ declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
12
+
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$6, parser as parser$18, transformPaths as transformPaths$18 };
@@ -0,0 +1,18 @@
1
+ import { parser$22 as parser } from "./index.d-B1KgwGJV.mjs";
2
+ import { config$13 as config } from "./index.d-Ckbfjm0G.mjs";
3
+ import { compiler, compiler as compiler$1, dest, dest as dest$1, generate, generate as generate$1, original, original as original$1 } from "@genapi/pipeline";
4
+ import { ApiPipeline } from "@genapi/shared";
5
+
6
+ //#region src/ofetch/ts/index.d.ts
7
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
8
+ declare namespace openapiPipeline {
9
+ var config: typeof config;
10
+ var original: typeof original;
11
+ var parser: typeof parser;
12
+ var compiler: typeof compiler;
13
+ var generate: typeof generate;
14
+ var dest: typeof dest;
15
+ }
16
+
17
+ //#endregion
18
+ export { compiler$1 as compiler$18, dest$1 as dest$18, generate$1 as generate$18, openapiPipeline as openapiPipeline$6, original$1 as original$18 };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/uni/js/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$14 };
@@ -0,0 +1,14 @@
1
+ import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
2
+ import { Paths } from "openapi-specification-types";
3
+
4
+ //#region src/axios/js/parser/index.d.ts
5
+ interface PathsTransformOptions {
6
+ configRead: ApiPipeline.ConfigRead;
7
+ interfaces: StatementInterface[];
8
+ functions: StatementFunction[];
9
+ }
10
+ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigRead<ApiPipeline.Config>;
11
+ declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
12
+
13
+ //#endregion
14
+ export { PathsTransformOptions as PathsTransformOptions$11, parser as parser$23, transformPaths as transformPaths$23 };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/ky/ts/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$17 };
@@ -0,0 +1,7 @@
1
+ import { ApiPipeline } from "@genapi/shared";
2
+
3
+ //#region src/axios/ts/config/index.d.ts
4
+ declare function config(userConfig: ApiPipeline.Config): ApiPipeline.ConfigRead;
5
+
6
+ //#endregion
7
+ export { config as config$20 };