@genapi/presets 3.5.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.
- package/dist/axios/index.d.mts +7 -7
- package/dist/axios/js/config/index.d.mts +1 -1
- package/dist/axios/js/index.d.mts +3 -3
- package/dist/axios/js/parser/index.d.mts +1 -1
- package/dist/axios/ts/config/index.d.mts +1 -1
- package/dist/axios/ts/index.d.mts +3 -3
- package/dist/axios/ts/parser/index.d.mts +1 -1
- package/dist/{config-IeVj3de_.mjs → config-BGwXcXx1.mjs} +1 -1
- package/dist/{config-Dp9C4aUE.mjs → config-C94x0Nge.mjs} +1 -1
- package/dist/config-CEngTpXa.mjs +21 -0
- package/dist/{config-CDvaM7ZL.mjs → config-DAHoeaDU.mjs} +1 -1
- package/dist/config-Dn-mxTew.mjs +19 -0
- package/dist/{config-BJZnXcL3.mjs → config-DuQgIn7U.mjs} +1 -1
- package/dist/fetch/index.d.mts +7 -7
- package/dist/fetch/index.mjs +6 -6
- package/dist/fetch/js/config/index.d.mts +1 -1
- package/dist/fetch/js/config/index.mjs +1 -1
- package/dist/fetch/js/index.d.mts +3 -3
- package/dist/fetch/js/index.mjs +3 -3
- package/dist/fetch/js/parser/index.d.mts +1 -1
- package/dist/fetch/js/parser/index.mjs +1 -1
- package/dist/fetch/ts/config/index.d.mts +1 -1
- package/dist/fetch/ts/index.d.mts +3 -3
- package/dist/fetch/ts/index.mjs +2 -2
- package/dist/fetch/ts/parser/index.d.mts +1 -1
- package/dist/fetch/ts/parser/index.mjs +1 -1
- package/dist/{fetch-DDSgFojK.mjs → fetch-BtwC6Lll.mjs} +2 -2
- package/dist/got/index.d.mts +7 -7
- package/dist/got/index.mjs +6 -6
- package/dist/got/js/config/index.d.mts +1 -1
- package/dist/got/js/config/index.mjs +1 -1
- package/dist/got/js/index.d.mts +3 -3
- package/dist/got/js/index.mjs +3 -3
- package/dist/got/js/parser/index.d.mts +1 -1
- package/dist/got/js/parser/index.mjs +1 -1
- package/dist/got/ts/config/index.d.mts +1 -1
- package/dist/got/ts/index.d.mts +3 -3
- package/dist/got/ts/index.mjs +2 -2
- package/dist/got/ts/parser/index.d.mts +1 -1
- package/dist/got/ts/parser/index.mjs +1 -1
- package/dist/{got-DhRc0hx6.mjs → got-xeCavgZc.mjs} +2 -2
- package/dist/{index.d-C10wnMdy.d.mts → index.d-4OvQY24D.d.mts} +2 -2
- package/dist/{index.d-YNb6GO8o.d.mts → index.d-B0n5Pe6-.d.mts} +3 -3
- package/dist/index.d-B1KgwGJV.d.mts +14 -0
- package/dist/index.d-B9C3SJsw.d.mts +7 -0
- package/dist/{index.d-Ch6ZYMn0.d.mts → index.d-BB-bpoWw.d.mts} +2 -2
- package/dist/index.d-BDMFuIpi.d.mts +12 -0
- package/dist/{index.d-CGbHzQH8.d.mts → index.d-BDy4V2O7.d.mts} +4 -4
- package/dist/index.d-BFJinzUY.d.mts +12 -0
- package/dist/{index.d-DndBUrRi.d.mts → index.d-BS6Sm47l.d.mts} +4 -4
- package/dist/{index.d-DTsMFJM4.d.mts → index.d-BSQRPGuK.d.mts} +4 -4
- package/dist/{index.d-B9YjsDSU.d.mts → index.d-BXgDnKDv.d.mts} +1 -1
- package/dist/{index.d-BvMhV1lw.d.mts → index.d-BYOoHBar.d.mts} +2 -2
- package/dist/{index.d-Ba1tOHnm.d.mts → index.d-BahMmqz0.d.mts} +4 -4
- package/dist/{index.d-sEb0cOvU.d.mts → index.d-BbxRLLMX.d.mts} +3 -3
- package/dist/{index.d-qxp4tWxk.d.mts → index.d-BguloXfs.d.mts} +1 -1
- package/dist/{index.d-BCl4h5vb.d.mts → index.d-BgvbkDJL.d.mts} +4 -4
- package/dist/{index.d-BVDe1tFu.d.mts → index.d-Bknp-d4G.d.mts} +2 -2
- package/dist/index.d-BulZ76hJ.d.mts +18 -0
- package/dist/index.d-BupSEh4R.d.mts +18 -0
- package/dist/{index.d-xT7aQSB2.d.mts → index.d-CAirdOCT.d.mts} +2 -2
- package/dist/{index.d-C-mT1tVI.d.mts → index.d-CDf5ausb.d.mts} +4 -4
- package/dist/{index.d-DD9vtQSr.d.mts → index.d-CN37Zl7u.d.mts} +2 -2
- package/dist/{index.d-DgSgg69k.d.mts → index.d-CVL676ax.d.mts} +4 -4
- package/dist/{index.d-Dsok7fEc.d.mts → index.d-Cb9k2mo6.d.mts} +1 -1
- package/dist/{index.d-DBNQTE-q.d.mts → index.d-CdRfZiCo.d.mts} +4 -4
- package/dist/{index.d-C-mKHl9s.d.mts → index.d-CfS61_iH.d.mts} +1 -1
- package/dist/{index.d-DlncPuTy.d.mts → index.d-Ckbfjm0G.d.mts} +1 -1
- package/dist/index.d-CljgOS4p.d.mts +18 -0
- package/dist/{index.d-yppv-kCz.d.mts → index.d-D1pp_HCy.d.mts} +2 -2
- package/dist/{index.d-CozwYURq.d.mts → index.d-D33XWXy5.d.mts} +2 -2
- package/dist/{index.d-D6AeBSov.d.mts → index.d-D6gcSlpm.d.mts} +2 -2
- package/dist/{index.d-B5ex0iL6.d.mts → index.d-DCtFuYUN.d.mts} +4 -4
- package/dist/index.d-DQZa03Va.d.mts +7 -0
- package/dist/index.d-DW8ts-IU.d.mts +14 -0
- package/dist/{index.d-B-u-rHVf.d.mts → index.d-D_aZcN-0.d.mts} +1 -1
- package/dist/{index.d-D9OXwZhj.d.mts → index.d-DgggRtXp.d.mts} +1 -1
- package/dist/{index.d-DD5okdfE.d.mts → index.d-DpLq-R_p.d.mts} +3 -3
- package/dist/{index.d-Dx6IWWI4.d.mts → index.d-DrCRTA_-.d.mts} +1 -1
- package/dist/{index.d-C38NRU-q.d.mts → index.d-DuVpMG8_.d.mts} +4 -4
- package/dist/{index.d-DT6dJ1Sg.d.mts → index.d-KQGa1SFg.d.mts} +2 -2
- package/dist/{index.d-DkWb7AYg.d.mts → index.d-O3Nkol5h.d.mts} +1 -1
- package/dist/{index.d-B6ea0pDX.d.mts → index.d-lzQFIw8d.d.mts} +1 -1
- package/dist/index.d.mts +44 -36
- package/dist/index.mjs +30 -22
- package/dist/{js-CqtsolD8.mjs → js-DGjfw_hH.mjs} +3 -3
- package/dist/{js-t1rqZHU4.mjs → js-DwgoBEjQ.mjs} +3 -3
- package/dist/{ts-BrqtDsf2.mjs → js-uo8fh9bT.mjs} +5 -5
- package/dist/ky/index.d.mts +7 -7
- package/dist/ky/index.mjs +4 -4
- package/dist/ky/js/config/index.d.mts +1 -1
- package/dist/ky/js/index.d.mts +3 -3
- package/dist/ky/js/parser/index.d.mts +1 -1
- package/dist/ky/ts/config/index.d.mts +1 -1
- package/dist/ky/ts/config/index.mjs +1 -1
- package/dist/ky/ts/index.d.mts +3 -3
- package/dist/ky/ts/index.mjs +3 -3
- package/dist/ky/ts/parser/index.d.mts +1 -1
- package/dist/ky/ts/parser/index.mjs +1 -1
- package/dist/{ky-tkF4RP6y.mjs → ky-B7lRjugo.mjs} +1 -1
- package/dist/ofetch/index.d.mts +7 -7
- package/dist/ofetch/index.mjs +4 -4
- package/dist/ofetch/js/config/index.d.mts +1 -1
- package/dist/ofetch/js/index.d.mts +3 -3
- package/dist/ofetch/js/parser/index.d.mts +1 -1
- package/dist/ofetch/ts/config/index.d.mts +1 -1
- package/dist/ofetch/ts/config/index.mjs +1 -1
- package/dist/ofetch/ts/index.d.mts +3 -3
- package/dist/ofetch/ts/index.mjs +3 -3
- package/dist/ofetch/ts/parser/index.d.mts +1 -1
- package/dist/ofetch/ts/parser/index.mjs +1 -1
- package/dist/{ofetch-D17IUjVF.mjs → ofetch-2rci5G0X.mjs} +1 -1
- package/dist/{parser-ZdK3ZwJM.mjs → parser-BJWwcP0S.mjs} +1 -1
- package/dist/parser-CCXpH6OE.mjs +63 -0
- package/dist/{parser-BkWqv1qf.mjs → parser-CE48730h.mjs} +1 -1
- package/dist/parser-CFOZ5-GF.mjs +62 -0
- package/dist/{parser-B-nJrHKw.mjs → parser-C_kpdHgT.mjs} +1 -1
- package/dist/{parser-CAdkVm2b.mjs → parser-DCA-N9mk.mjs} +1 -1
- package/dist/{parser-aevzlGBk.mjs → parser-DY9NSCKJ.mjs} +1 -1
- package/dist/{parser-BGXx6lbG.mjs → parser-Dnqps2TD.mjs} +1 -1
- package/dist/ts-BaRFvnl0.mjs +19 -0
- package/dist/ts-BwAPOUdE.mjs +19 -0
- package/dist/{ts-DjVYemin.mjs → ts-C9t_rVQx.mjs} +1 -1
- package/dist/{ts-BLbY66M1.mjs → ts-CMn2aSnV.mjs} +1 -1
- package/dist/{ts-B0VNlOAi.mjs → ts-D-cZHoFQ.mjs} +3 -3
- package/dist/uni/index.d.mts +9 -0
- package/dist/uni/index.mjs +9 -0
- package/dist/uni/js/config/index.d.mts +3 -0
- package/dist/uni/js/config/index.mjs +3 -0
- package/dist/uni/js/index.d.mts +5 -0
- package/dist/uni/js/index.mjs +5 -0
- package/dist/uni/js/parser/index.d.mts +3 -0
- package/dist/uni/js/parser/index.mjs +3 -0
- package/dist/uni/ts/config/index.d.mts +3 -0
- package/dist/uni/ts/config/index.mjs +3 -0
- package/dist/uni/ts/index.d.mts +5 -0
- package/dist/uni/ts/index.mjs +5 -0
- package/dist/uni/ts/parser/index.d.mts +3 -0
- package/dist/uni/ts/parser/index.mjs +3 -0
- package/dist/uni-DZmF7VCX.mjs +13 -0
- package/package.json +4 -4
- package/dist/index.d-BEPmcVlv.d.mts +0 -12
- package/dist/index.d-D0ou41dA.d.mts +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { openapiPipeline$9 as openapiPipeline } from "./index.d-
|
|
3
|
-
import { openapiPipeline$
|
|
2
|
+
import { openapiPipeline$9 as openapiPipeline } from "./index.d-CljgOS4p.mjs";
|
|
3
|
+
import { openapiPipeline$10 as openapiPipeline$1 } from "./index.d-BulZ76hJ.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/got/index.d.ts
|
|
6
6
|
|
|
@@ -9,4 +9,4 @@ declare namespace index_d_exports {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
|
-
export { index_d_exports
|
|
12
|
+
export { index_d_exports };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
1
|
+
import { parser$12 as parser } from "./index.d-D1pp_HCy.mjs";
|
|
2
|
+
import { config$18 as config } from "./index.d-BguloXfs.mjs";
|
|
3
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
4
|
import { ApiPipeline } from "@genapi/shared";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
6
|
+
//#region src/fetch/js/index.d.ts
|
|
7
7
|
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
8
|
declare namespace openapiPipeline {
|
|
9
9
|
var config: typeof config;
|
|
@@ -15,4 +15,4 @@ declare namespace openapiPipeline {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
|
-
export { compiler$1 as compiler$19, dest$1 as dest$19, generate$1 as generate$19, openapiPipeline as openapiPipeline$
|
|
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 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
2
|
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
4
|
+
//#region src/axios/ts/parser/index.d.ts
|
|
5
5
|
interface PathsTransformOptions {
|
|
6
6
|
configRead: ApiPipeline.ConfigRead;
|
|
7
7
|
interfaces: StatementInterface[];
|
|
@@ -11,4 +11,4 @@ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigR
|
|
|
11
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export { PathsTransformOptions as PathsTransformOptions$2, parser as parser$
|
|
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 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
2
|
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
4
|
+
//#region src/got/ts/parser/index.d.ts
|
|
5
5
|
interface PathsTransformOptions {
|
|
6
6
|
configRead: ApiPipeline.ConfigRead;
|
|
7
7
|
interfaces: StatementInterface[];
|
|
@@ -11,4 +11,4 @@ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigR
|
|
|
11
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export { PathsTransformOptions as PathsTransformOptions$7, parser as parser$
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$7, parser as parser$19, transformPaths as transformPaths$19 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { openapiPipeline$5 as openapiPipeline } from "./index.d-
|
|
3
|
-
import { openapiPipeline$
|
|
2
|
+
import { openapiPipeline$5 as openapiPipeline } from "./index.d-CdRfZiCo.mjs";
|
|
3
|
+
import { openapiPipeline$2 as openapiPipeline$1 } from "./index.d-BDy4V2O7.mjs";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
5
|
+
//#region src/uni/index.d.ts
|
|
6
6
|
|
|
7
7
|
declare namespace index_d_exports {
|
|
8
8
|
export { openapiPipeline as js, openapiPipeline$1 as ts, }
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
|
-
export { index_d_exports as index_d_exports$
|
|
12
|
+
export { index_d_exports as index_d_exports$5 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
2
|
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
4
|
+
//#region src/ofetch/js/parser/index.d.ts
|
|
5
5
|
interface PathsTransformOptions {
|
|
6
6
|
configRead: ApiPipeline.ConfigRead;
|
|
7
7
|
interfaces: StatementInterface[];
|
|
@@ -11,4 +11,4 @@ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigR
|
|
|
11
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export { PathsTransformOptions as PathsTransformOptions$9, parser as parser$
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$9, parser as parser$21, transformPaths as transformPaths$21 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
1
|
+
import { parser$14 as parser } from "./index.d-Bknp-d4G.mjs";
|
|
2
|
+
import { config$20 as config } from "./index.d-DgggRtXp.mjs";
|
|
3
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
4
|
import { ApiPipeline } from "@genapi/shared";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
6
|
+
//#region src/axios/ts/index.d.ts
|
|
7
7
|
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
8
|
declare namespace openapiPipeline {
|
|
9
9
|
var config: typeof config;
|
|
@@ -15,4 +15,4 @@ declare namespace openapiPipeline {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
|
-
export { compiler$1 as compiler$16, dest$1 as dest$16, generate$1 as generate$16, openapiPipeline as openapiPipeline$
|
|
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 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
1
|
+
import { parser$16 as parser } from "./index.d-4OvQY24D.mjs";
|
|
2
|
+
import { config$14 as config } from "./index.d-DQZa03Va.mjs";
|
|
3
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
4
|
import { ApiPipeline } from "@genapi/shared";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
6
|
+
//#region src/uni/js/index.d.ts
|
|
7
7
|
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
8
|
declare namespace openapiPipeline {
|
|
9
9
|
var config: typeof config;
|
|
@@ -15,4 +15,4 @@ declare namespace openapiPipeline {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
|
-
export { compiler$1 as compiler$17, dest$1 as dest$17, generate$1 as generate$17, openapiPipeline as openapiPipeline$
|
|
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,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,7 +1,7 @@
|
|
|
1
1
|
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
2
|
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
4
|
+
//#region src/fetch/js/parser/index.d.ts
|
|
5
5
|
interface PathsTransformOptions {
|
|
6
6
|
configRead: ApiPipeline.ConfigRead;
|
|
7
7
|
interfaces: StatementInterface[];
|
|
@@ -11,4 +11,4 @@ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigR
|
|
|
11
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export { PathsTransformOptions, parser as parser$
|
|
14
|
+
export { PathsTransformOptions, parser as parser$12, transformPaths as transformPaths$12 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
2
|
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
4
|
+
//#region src/uni/ts/parser/index.d.ts
|
|
5
5
|
interface PathsTransformOptions {
|
|
6
6
|
configRead: ApiPipeline.ConfigRead;
|
|
7
7
|
interfaces: StatementInterface[];
|
|
@@ -11,4 +11,4 @@ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigR
|
|
|
11
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export { PathsTransformOptions as PathsTransformOptions$3, parser as parser$
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$3, parser as parser$15, transformPaths as transformPaths$15 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
2
|
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
4
|
+
//#region src/got/js/parser/index.d.ts
|
|
5
5
|
interface PathsTransformOptions {
|
|
6
6
|
configRead: ApiPipeline.ConfigRead;
|
|
7
7
|
interfaces: StatementInterface[];
|
|
@@ -11,4 +11,4 @@ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigR
|
|
|
11
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export { PathsTransformOptions as PathsTransformOptions$6, parser as parser$
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$6, parser as parser$18, transformPaths as transformPaths$18 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
1
|
+
import { parser$22 as parser } from "./index.d-B1KgwGJV.mjs";
|
|
2
|
+
import { config$13 as config } from "./index.d-Ckbfjm0G.mjs";
|
|
3
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
4
|
import { ApiPipeline } from "@genapi/shared";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
6
|
+
//#region src/ofetch/ts/index.d.ts
|
|
7
7
|
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
8
|
declare namespace openapiPipeline {
|
|
9
9
|
var config: typeof config;
|
|
@@ -15,4 +15,4 @@ declare namespace openapiPipeline {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
|
-
export { compiler$1 as compiler$18, dest$1 as dest$18, generate$1 as generate$18, openapiPipeline as openapiPipeline$
|
|
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,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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { openapiPipeline$3 as openapiPipeline } from "./index.d-
|
|
3
|
-
import { openapiPipeline$6 as openapiPipeline$1 } from "./index.d-
|
|
2
|
+
import { openapiPipeline$3 as openapiPipeline } from "./index.d-BSQRPGuK.mjs";
|
|
3
|
+
import { openapiPipeline$6 as openapiPipeline$1 } from "./index.d-DCtFuYUN.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/ofetch/index.d.ts
|
|
6
6
|
|
|
@@ -9,4 +9,4 @@ declare namespace index_d_exports {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
|
-
export { index_d_exports as index_d_exports$
|
|
12
|
+
export { index_d_exports as index_d_exports$4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
1
|
+
import { parser$20 as parser } from "./index.d-BYOoHBar.mjs";
|
|
2
|
+
import { config$17 as config } from "./index.d-D_aZcN-0.mjs";
|
|
3
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
4
|
import { ApiPipeline } from "@genapi/shared";
|
|
5
5
|
|
|
6
|
-
//#region src/
|
|
6
|
+
//#region src/ky/ts/index.d.ts
|
|
7
7
|
declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
|
|
8
8
|
declare namespace openapiPipeline {
|
|
9
9
|
var config: typeof config;
|
|
@@ -15,4 +15,4 @@ declare namespace openapiPipeline {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
|
-
export { compiler$1 as compiler$13, dest$1 as dest$13, generate$1 as generate$13, openapiPipeline as openapiPipeline$
|
|
18
|
+
export { compiler$1 as compiler$13, dest$1 as dest$13, generate$1 as generate$13, openapiPipeline as openapiPipeline$1, original$1 as original$13 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
2
|
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
-
//#region src/
|
|
4
|
+
//#region src/ky/js/parser/index.d.ts
|
|
5
5
|
interface PathsTransformOptions {
|
|
6
6
|
configRead: ApiPipeline.ConfigRead;
|
|
7
7
|
interfaces: StatementInterface[];
|
|
@@ -11,4 +11,4 @@ declare function parser(configRead: ApiPipeline.ConfigRead): ApiPipeline.ConfigR
|
|
|
11
11
|
declare function transformPaths(paths: Paths, { configRead, functions, interfaces }: PathsTransformOptions): void;
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export { PathsTransformOptions as PathsTransformOptions$1, parser as parser$
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$1, parser as parser$13, transformPaths as transformPaths$13 };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,38 +1,45 @@
|
|
|
1
|
-
import "./index.d-
|
|
2
|
-
import "./index.d-
|
|
3
|
-
import "./index.d-
|
|
4
|
-
import "./index.d-
|
|
5
|
-
import "./index.d-
|
|
6
|
-
import "./index.d-
|
|
7
|
-
import { index_d_exports } from "./index.d-
|
|
8
|
-
import "./index.d-
|
|
9
|
-
import "./index.d-
|
|
10
|
-
import "./index.d-
|
|
11
|
-
import "./index.d-
|
|
12
|
-
import "./index.d-
|
|
13
|
-
import "./index.d-
|
|
14
|
-
import { index_d_exports$
|
|
15
|
-
import "./index.d-
|
|
16
|
-
import "./index.d-
|
|
17
|
-
import "./index.d-
|
|
18
|
-
import "./index.d-
|
|
19
|
-
import "./index.d-
|
|
20
|
-
import "./index.d-
|
|
21
|
-
import { index_d_exports
|
|
22
|
-
import "./index.d-
|
|
23
|
-
import "./index.d-
|
|
24
|
-
import "./index.d-
|
|
25
|
-
import "./index.d-
|
|
26
|
-
import "./index.d-
|
|
27
|
-
import "./index.d-
|
|
28
|
-
import { index_d_exports$
|
|
29
|
-
import "./index.d-
|
|
30
|
-
import "./index.d-
|
|
31
|
-
import "./index.d-
|
|
32
|
-
import "./index.d-
|
|
33
|
-
import "./index.d-
|
|
34
|
-
import "./index.d-
|
|
35
|
-
import { index_d_exports$
|
|
1
|
+
import "./index.d-DW8ts-IU.mjs";
|
|
2
|
+
import "./index.d-BXgDnKDv.mjs";
|
|
3
|
+
import "./index.d-BS6Sm47l.mjs";
|
|
4
|
+
import "./index.d-Bknp-d4G.mjs";
|
|
5
|
+
import "./index.d-DgggRtXp.mjs";
|
|
6
|
+
import "./index.d-CVL676ax.mjs";
|
|
7
|
+
import { index_d_exports$1 as index_d_exports } from "./index.d-B0n5Pe6-.mjs";
|
|
8
|
+
import "./index.d-D1pp_HCy.mjs";
|
|
9
|
+
import "./index.d-BguloXfs.mjs";
|
|
10
|
+
import "./index.d-BgvbkDJL.mjs";
|
|
11
|
+
import "./index.d-BB-bpoWw.mjs";
|
|
12
|
+
import "./index.d-O3Nkol5h.mjs";
|
|
13
|
+
import "./index.d-BupSEh4R.mjs";
|
|
14
|
+
import { index_d_exports$2 as index_d_exports$1 } from "./index.d-BDMFuIpi.mjs";
|
|
15
|
+
import "./index.d-D6gcSlpm.mjs";
|
|
16
|
+
import "./index.d-DrCRTA_-.mjs";
|
|
17
|
+
import "./index.d-CljgOS4p.mjs";
|
|
18
|
+
import "./index.d-CAirdOCT.mjs";
|
|
19
|
+
import "./index.d-Cb9k2mo6.mjs";
|
|
20
|
+
import "./index.d-BulZ76hJ.mjs";
|
|
21
|
+
import { index_d_exports as index_d_exports$2 } from "./index.d-BbxRLLMX.mjs";
|
|
22
|
+
import "./index.d-KQGa1SFg.mjs";
|
|
23
|
+
import "./index.d-CfS61_iH.mjs";
|
|
24
|
+
import "./index.d-BahMmqz0.mjs";
|
|
25
|
+
import "./index.d-BYOoHBar.mjs";
|
|
26
|
+
import "./index.d-D_aZcN-0.mjs";
|
|
27
|
+
import "./index.d-DuVpMG8_.mjs";
|
|
28
|
+
import { index_d_exports$3 } from "./index.d-BFJinzUY.mjs";
|
|
29
|
+
import "./index.d-CN37Zl7u.mjs";
|
|
30
|
+
import "./index.d-lzQFIw8d.mjs";
|
|
31
|
+
import "./index.d-BSQRPGuK.mjs";
|
|
32
|
+
import "./index.d-B1KgwGJV.mjs";
|
|
33
|
+
import "./index.d-Ckbfjm0G.mjs";
|
|
34
|
+
import "./index.d-DCtFuYUN.mjs";
|
|
35
|
+
import { index_d_exports$4 } from "./index.d-DpLq-R_p.mjs";
|
|
36
|
+
import "./index.d-4OvQY24D.mjs";
|
|
37
|
+
import "./index.d-DQZa03Va.mjs";
|
|
38
|
+
import "./index.d-CdRfZiCo.mjs";
|
|
39
|
+
import "./index.d-D33XWXy5.mjs";
|
|
40
|
+
import "./index.d-B9C3SJsw.mjs";
|
|
41
|
+
import "./index.d-BDy4V2O7.mjs";
|
|
42
|
+
import { index_d_exports$5 } from "./index.d-CDf5ausb.mjs";
|
|
36
43
|
|
|
37
44
|
//#region src/index.d.ts
|
|
38
45
|
declare const _default: {
|
|
@@ -41,7 +48,8 @@ declare const _default: {
|
|
|
41
48
|
got: typeof index_d_exports$2;
|
|
42
49
|
ky: typeof index_d_exports$3;
|
|
43
50
|
ofetch: typeof index_d_exports$4;
|
|
51
|
+
uni: typeof index_d_exports$5;
|
|
44
52
|
};
|
|
45
53
|
|
|
46
54
|
//#endregion
|
|
47
|
-
export { index_d_exports as axios, _default as default, index_d_exports$1 as fetch, index_d_exports$2 as got, index_d_exports$3 as ky, index_d_exports$4 as ofetch };
|
|
55
|
+
export { index_d_exports as axios, _default as default, index_d_exports$1 as fetch, index_d_exports$2 as got, index_d_exports$3 as ky, index_d_exports$4 as ofetch, index_d_exports$5 as uni };
|
package/dist/index.mjs
CHANGED
|
@@ -5,34 +5,41 @@ import "./config-B89EoGE7.mjs";
|
|
|
5
5
|
import "./parser-GwoAS3rw.mjs";
|
|
6
6
|
import "./ts-4mi0Q-kd.mjs";
|
|
7
7
|
import { axios_exports } from "./axios-CG6HLmR9.mjs";
|
|
8
|
-
import "./config-
|
|
9
|
-
import "./parser-
|
|
10
|
-
import "./js-
|
|
8
|
+
import "./config-DuQgIn7U.mjs";
|
|
9
|
+
import "./parser-DCA-N9mk.mjs";
|
|
10
|
+
import "./js-DwgoBEjQ.mjs";
|
|
11
11
|
import "./config-B6UDPRkS.mjs";
|
|
12
|
-
import "./parser-
|
|
13
|
-
import "./ts-
|
|
14
|
-
import { fetch_exports } from "./fetch-
|
|
15
|
-
import "./config-
|
|
16
|
-
import "./parser-
|
|
17
|
-
import "./js-
|
|
12
|
+
import "./parser-DY9NSCKJ.mjs";
|
|
13
|
+
import "./ts-CMn2aSnV.mjs";
|
|
14
|
+
import { fetch_exports } from "./fetch-BtwC6Lll.mjs";
|
|
15
|
+
import "./config-DAHoeaDU.mjs";
|
|
16
|
+
import "./parser-CE48730h.mjs";
|
|
17
|
+
import "./js-DGjfw_hH.mjs";
|
|
18
18
|
import "./config-aVU8JEKy.mjs";
|
|
19
|
-
import "./parser-
|
|
20
|
-
import "./ts-
|
|
21
|
-
import { got_exports } from "./got-
|
|
19
|
+
import "./parser-BJWwcP0S.mjs";
|
|
20
|
+
import "./ts-C9t_rVQx.mjs";
|
|
21
|
+
import { got_exports } from "./got-xeCavgZc.mjs";
|
|
22
22
|
import "./config-DdUVYIe0.mjs";
|
|
23
23
|
import "./parser-CSJYNO0a.mjs";
|
|
24
24
|
import "./js-nNB2l-OU.mjs";
|
|
25
|
-
import "./config-
|
|
26
|
-
import "./parser-
|
|
27
|
-
import "./ts-
|
|
28
|
-
import { ky_exports } from "./ky-
|
|
25
|
+
import "./config-BGwXcXx1.mjs";
|
|
26
|
+
import "./parser-C_kpdHgT.mjs";
|
|
27
|
+
import "./ts-D-cZHoFQ.mjs";
|
|
28
|
+
import { ky_exports } from "./ky-B7lRjugo.mjs";
|
|
29
29
|
import "./config-Dm0OCPw8.mjs";
|
|
30
30
|
import "./parser-CaRC8JQj.mjs";
|
|
31
31
|
import "./js-DxwOJyF7.mjs";
|
|
32
|
-
import "./config-
|
|
33
|
-
import "./parser-
|
|
34
|
-
import "./ts-
|
|
35
|
-
import { ofetch_exports } from "./ofetch-
|
|
32
|
+
import "./config-C94x0Nge.mjs";
|
|
33
|
+
import "./parser-Dnqps2TD.mjs";
|
|
34
|
+
import "./ts-BaRFvnl0.mjs";
|
|
35
|
+
import { ofetch_exports } from "./ofetch-2rci5G0X.mjs";
|
|
36
|
+
import "./config-Dn-mxTew.mjs";
|
|
37
|
+
import "./parser-CCXpH6OE.mjs";
|
|
38
|
+
import "./js-uo8fh9bT.mjs";
|
|
39
|
+
import "./config-CEngTpXa.mjs";
|
|
40
|
+
import "./parser-CFOZ5-GF.mjs";
|
|
41
|
+
import "./ts-BwAPOUdE.mjs";
|
|
42
|
+
import { uni_exports } from "./uni-DZmF7VCX.mjs";
|
|
36
43
|
|
|
37
44
|
//#region src/index.ts
|
|
38
45
|
var src_default = {
|
|
@@ -40,8 +47,9 @@ var src_default = {
|
|
|
40
47
|
fetch: fetch_exports,
|
|
41
48
|
got: got_exports,
|
|
42
49
|
ky: ky_exports,
|
|
43
|
-
ofetch: ofetch_exports
|
|
50
|
+
ofetch: ofetch_exports,
|
|
51
|
+
uni: uni_exports
|
|
44
52
|
};
|
|
45
53
|
|
|
46
54
|
//#endregion
|
|
47
|
-
export { axios_exports as axios, src_default as default, fetch_exports as fetch, got_exports as got, ky_exports as ky, ofetch_exports as ofetch };
|
|
55
|
+
export { axios_exports as axios, src_default as default, fetch_exports as fetch, got_exports as got, ky_exports as ky, ofetch_exports as ofetch, uni_exports as uni };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { config$2 as config } from "./config-
|
|
2
|
-
import { parser$2 as parser } from "./parser-
|
|
1
|
+
import { config$2 as config } from "./config-DAHoeaDU.mjs";
|
|
2
|
+
import { parser$2 as parser } from "./parser-CE48730h.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
5
|
+
//#region src/got/js/index.ts
|
|
6
6
|
function openapiPipeline(userConfig) {
|
|
7
7
|
const process = pipeline((userConfig$1) => config(userConfig$1), (configRead) => original$1(configRead), (configRead) => parser(configRead), (configRead) => compiler$1(configRead), (configRead) => generate$1(configRead), (configRead) => dest$1(configRead));
|
|
8
8
|
return process(userConfig);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { config$3 as config } from "./config-
|
|
2
|
-
import { parser$
|
|
1
|
+
import { config$3 as config } from "./config-DuQgIn7U.mjs";
|
|
2
|
+
import { parser$4 as parser } from "./parser-DCA-N9mk.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
5
|
+
//#region src/fetch/js/index.ts
|
|
6
6
|
function openapiPipeline(userConfig) {
|
|
7
7
|
const process = pipeline((userConfig$1) => config(userConfig$1), (configRead) => original$1(configRead), (configRead) => parser(configRead), (configRead) => compiler$1(configRead), (configRead) => generate$1(configRead), (configRead) => dest$1(configRead));
|
|
8
8
|
return process(userConfig);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$9 as parser } from "./parser-
|
|
1
|
+
import { config$10 as config } from "./config-Dn-mxTew.mjs";
|
|
2
|
+
import { parser$9 as parser } from "./parser-CCXpH6OE.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
|
-
//#region src/
|
|
5
|
+
//#region src/uni/js/index.ts
|
|
6
6
|
function openapiPipeline(userConfig) {
|
|
7
7
|
const process = pipeline((userConfig$1) => config(userConfig$1), (configRead) => original$1(configRead), (configRead) => parser(configRead), (configRead) => compiler$1(configRead), (configRead) => generate$1(configRead), (configRead) => dest$1(configRead));
|
|
8
8
|
return process(userConfig);
|
|
@@ -13,7 +13,7 @@ openapiPipeline.parser = parser;
|
|
|
13
13
|
openapiPipeline.compiler = compiler$1;
|
|
14
14
|
openapiPipeline.generate = generate$1;
|
|
15
15
|
openapiPipeline.dest = dest$1;
|
|
16
|
-
var
|
|
16
|
+
var js_default = openapiPipeline;
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
|
-
export { compiler$1 as compiler$9, dest$1 as dest$9, generate$1 as generate$9,
|
|
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 };
|