@genapi/presets 3.4.0 → 3.5.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 +9 -0
- package/dist/axios/index.mjs +9 -7
- package/dist/axios/js/config/index.d.mts +3 -0
- package/dist/axios/js/config/index.mjs +3 -18
- package/dist/axios/js/index.d.mts +5 -0
- package/dist/axios/js/index.mjs +5 -31
- package/dist/axios/js/parser/index.d.mts +3 -0
- package/dist/axios/js/parser/index.mjs +3 -77
- package/dist/axios/ts/config/index.d.mts +3 -0
- package/dist/axios/ts/config/index.mjs +3 -22
- package/dist/axios/ts/index.d.mts +5 -0
- package/dist/axios/ts/index.mjs +5 -31
- package/dist/axios/ts/parser/index.d.mts +3 -0
- package/dist/axios/ts/parser/index.mjs +3 -76
- package/dist/axios-CG6HLmR9.mjs +13 -0
- package/dist/chunk-BL35Yyzp.mjs +12 -0
- package/dist/config-B6UDPRkS.mjs +12 -0
- package/dist/config-B89EoGE7.mjs +21 -0
- package/dist/config-BJZnXcL3.mjs +14 -0
- package/dist/config-CDvaM7ZL.mjs +19 -0
- package/dist/config-CwmGeydd.mjs +19 -0
- package/dist/config-DdUVYIe0.mjs +19 -0
- package/dist/config-Dm0OCPw8.mjs +19 -0
- package/dist/config-Dp9C4aUE.mjs +21 -0
- package/dist/config-IeVj3de_.mjs +21 -0
- package/dist/config-aVU8JEKy.mjs +21 -0
- package/dist/fetch/index.d.mts +9 -0
- package/dist/fetch/index.mjs +9 -7
- package/dist/fetch/js/config/index.d.mts +3 -0
- package/dist/fetch/js/config/index.mjs +3 -13
- package/dist/fetch/js/index.d.mts +5 -0
- package/dist/fetch/js/index.mjs +5 -31
- package/dist/fetch/js/parser/index.d.mts +3 -0
- package/dist/fetch/js/parser/index.mjs +3 -83
- package/dist/fetch/ts/config/index.d.mts +3 -0
- package/dist/fetch/ts/config/index.mjs +3 -11
- package/dist/fetch/ts/index.d.mts +5 -0
- package/dist/fetch/ts/index.mjs +5 -31
- package/dist/fetch/ts/parser/index.d.mts +3 -0
- package/dist/fetch/ts/parser/index.mjs +3 -79
- package/dist/fetch-DDSgFojK.mjs +13 -0
- package/dist/got/index.d.mts +9 -0
- package/dist/got/index.mjs +9 -7
- package/dist/got/js/config/index.d.mts +3 -0
- package/dist/got/js/config/index.mjs +3 -18
- package/dist/got/js/index.d.mts +5 -0
- package/dist/got/js/index.mjs +5 -31
- package/dist/got/js/parser/index.d.mts +3 -0
- package/dist/got/js/parser/index.mjs +3 -82
- package/dist/got/ts/config/index.d.mts +3 -0
- package/dist/got/ts/config/index.mjs +3 -22
- package/dist/got/ts/index.d.mts +5 -0
- package/dist/got/ts/index.mjs +5 -31
- package/dist/got/ts/parser/index.d.mts +3 -0
- package/dist/got/ts/parser/index.mjs +3 -82
- package/dist/got-DhRc0hx6.mjs +13 -0
- package/dist/index.d-B-u-rHVf.d.mts +7 -0
- package/dist/index.d-B5ex0iL6.d.mts +18 -0
- package/dist/index.d-B6ea0pDX.d.mts +7 -0
- package/dist/index.d-B9YjsDSU.d.mts +7 -0
- package/dist/index.d-BCl4h5vb.d.mts +18 -0
- package/dist/index.d-BEPmcVlv.d.mts +12 -0
- package/dist/{axios/ts/parser/index.d.ts → index.d-BVDe1tFu.d.mts} +5 -3
- package/dist/index.d-Ba1tOHnm.d.mts +18 -0
- package/dist/{fetch/ts/parser/index.d.ts → index.d-BvMhV1lw.d.mts} +5 -3
- package/dist/index.d-C-mKHl9s.d.mts +7 -0
- package/dist/index.d-C-mT1tVI.d.mts +12 -0
- package/dist/index.d-C10wnMdy.d.mts +14 -0
- package/dist/index.d-C38NRU-q.d.mts +18 -0
- package/dist/index.d-CGbHzQH8.d.mts +18 -0
- package/dist/{axios/js/parser/index.d.ts → index.d-Ch6ZYMn0.d.mts} +5 -3
- package/dist/index.d-CozwYURq.d.mts +14 -0
- package/dist/index.d-D0ou41dA.d.mts +18 -0
- package/dist/index.d-D6AeBSov.d.mts +14 -0
- package/dist/index.d-D9OXwZhj.d.mts +7 -0
- package/dist/index.d-DBNQTE-q.d.mts +18 -0
- package/dist/index.d-DD5okdfE.d.mts +12 -0
- package/dist/index.d-DD9vtQSr.d.mts +14 -0
- package/dist/index.d-DT6dJ1Sg.d.mts +14 -0
- package/dist/index.d-DTsMFJM4.d.mts +18 -0
- package/dist/index.d-DgSgg69k.d.mts +18 -0
- package/dist/index.d-DkWb7AYg.d.mts +7 -0
- package/dist/index.d-DlncPuTy.d.mts +7 -0
- package/dist/index.d-DndBUrRi.d.mts +18 -0
- package/dist/index.d-Dsok7fEc.d.mts +7 -0
- package/dist/index.d-Dx6IWWI4.d.mts +7 -0
- package/dist/index.d-YNb6GO8o.d.mts +12 -0
- package/dist/index.d-qxp4tWxk.d.mts +7 -0
- package/dist/index.d-sEb0cOvU.d.mts +12 -0
- package/dist/index.d-xT7aQSB2.d.mts +14 -0
- package/dist/{fetch/js/parser/index.d.ts → index.d-yppv-kCz.d.mts} +5 -3
- package/dist/index.d.mts +47 -0
- package/dist/index.mjs +46 -20
- package/dist/js-CfKFwY21.mjs +19 -0
- package/dist/js-CqtsolD8.mjs +19 -0
- package/dist/js-DxwOJyF7.mjs +19 -0
- package/dist/js-nNB2l-OU.mjs +19 -0
- package/dist/js-t1rqZHU4.mjs +19 -0
- package/dist/ky/index.d.mts +9 -0
- package/dist/ky/index.mjs +9 -7
- package/dist/ky/js/config/index.d.mts +3 -0
- package/dist/ky/js/config/index.mjs +3 -18
- package/dist/ky/js/index.d.mts +5 -0
- package/dist/ky/js/index.mjs +5 -31
- package/dist/ky/js/parser/index.d.mts +3 -0
- package/dist/ky/js/parser/index.mjs +3 -79
- package/dist/ky/ts/config/index.d.mts +3 -0
- package/dist/ky/ts/config/index.mjs +3 -22
- package/dist/ky/ts/index.d.mts +5 -0
- package/dist/ky/ts/index.mjs +5 -31
- package/dist/ky/ts/parser/index.d.mts +3 -0
- package/dist/ky/ts/parser/index.mjs +3 -78
- package/dist/ky-tkF4RP6y.mjs +13 -0
- package/dist/ofetch/index.d.mts +9 -0
- package/dist/ofetch/index.mjs +9 -7
- package/dist/ofetch/js/config/index.d.mts +3 -0
- package/dist/ofetch/js/config/index.mjs +3 -18
- package/dist/ofetch/js/index.d.mts +5 -0
- package/dist/ofetch/js/index.mjs +5 -31
- package/dist/ofetch/js/parser/index.d.mts +3 -0
- package/dist/ofetch/js/parser/index.mjs +3 -78
- package/dist/ofetch/ts/config/index.d.mts +3 -0
- package/dist/ofetch/ts/config/index.mjs +3 -22
- package/dist/ofetch/ts/index.d.mts +5 -0
- package/dist/ofetch/ts/index.mjs +5 -31
- package/dist/ofetch/ts/parser/index.d.mts +3 -0
- package/dist/ofetch/ts/parser/index.mjs +3 -76
- package/dist/ofetch-D17IUjVF.mjs +13 -0
- package/dist/parser-8NB1Nfwt.mjs +63 -0
- package/dist/parser-B-nJrHKw.mjs +68 -0
- package/dist/parser-BGXx6lbG.mjs +66 -0
- package/dist/parser-BkWqv1qf.mjs +69 -0
- package/dist/parser-CAdkVm2b.mjs +77 -0
- package/dist/parser-CSJYNO0a.mjs +69 -0
- package/dist/parser-CaRC8JQj.mjs +67 -0
- package/dist/parser-GwoAS3rw.mjs +62 -0
- package/dist/parser-ZdK3ZwJM.mjs +69 -0
- package/dist/parser-aevzlGBk.mjs +72 -0
- package/dist/ts-4mi0Q-kd.mjs +19 -0
- package/dist/ts-B0VNlOAi.mjs +19 -0
- package/dist/ts-BLbY66M1.mjs +19 -0
- package/dist/ts-BrqtDsf2.mjs +19 -0
- package/dist/ts-DjVYemin.mjs +19 -0
- package/package.json +15 -15
- package/dist/axios/index.d.ts +0 -9
- package/dist/axios/js/config/index.d.ts +0 -5
- package/dist/axios/js/index.d.ts +0 -18
- package/dist/axios/ts/config/index.d.ts +0 -5
- package/dist/axios/ts/index.d.ts +0 -18
- package/dist/fetch/index.d.ts +0 -9
- package/dist/fetch/js/config/index.d.ts +0 -5
- package/dist/fetch/js/index.d.ts +0 -18
- package/dist/fetch/ts/config/index.d.ts +0 -5
- package/dist/fetch/ts/index.d.ts +0 -18
- package/dist/got/index.d.ts +0 -9
- package/dist/got/js/config/index.d.ts +0 -5
- package/dist/got/js/index.d.ts +0 -18
- package/dist/got/js/parser/index.d.ts +0 -12
- package/dist/got/ts/config/index.d.ts +0 -5
- package/dist/got/ts/index.d.ts +0 -18
- package/dist/got/ts/parser/index.d.ts +0 -12
- package/dist/index-BoRNV5uE.d.ts +0 -8
- package/dist/index-C-Of8dmT.d.ts +0 -8
- package/dist/index-DUlkpebX.d.ts +0 -8
- package/dist/index-doIz4HN1.d.ts +0 -8
- package/dist/index-ln0OpJQY.d.ts +0 -8
- package/dist/index.d.ts +0 -48
- package/dist/ky/index.d.ts +0 -9
- package/dist/ky/js/config/index.d.ts +0 -5
- package/dist/ky/js/index.d.ts +0 -18
- package/dist/ky/js/parser/index.d.ts +0 -12
- package/dist/ky/ts/config/index.d.ts +0 -5
- package/dist/ky/ts/index.d.ts +0 -18
- package/dist/ky/ts/parser/index.d.ts +0 -12
- package/dist/ofetch/index.d.ts +0 -9
- package/dist/ofetch/js/config/index.d.ts +0 -5
- package/dist/ofetch/js/index.d.ts +0 -18
- package/dist/ofetch/js/parser/index.d.ts +0 -12
- package/dist/ofetch/ts/config/index.d.ts +0 -5
- package/dist/ofetch/ts/index.d.ts +0 -18
- package/dist/ofetch/ts/parser/index.d.ts +0 -12
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$15 as parser } from "./index.d-Ch6ZYMn0.mjs";
|
|
2
|
+
import { config$17 as config } from "./index.d-Dsok7fEc.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$18, dest$1 as dest$18, generate$1 as generate$18, openapiPipeline as openapiPipeline$8, original$1 as original$18 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$18 as parser } from "./index.d-BvMhV1lw.mjs";
|
|
2
|
+
import { config$16 as config } from "./index.d-Dx6IWWI4.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$19, dest$1 as dest$19, generate$1 as generate$19, openapiPipeline as openapiPipeline$9, original$1 as original$19 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$4 as openapiPipeline } from "./index.d-CGbHzQH8.mjs";
|
|
3
|
+
import { openapiPipeline$2 as openapiPipeline$1 } from "./index.d-DndBUrRi.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$3 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApiPipeline,
|
|
2
|
-
import { Paths } from
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
+
//#region src/ky/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
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$2, parser as parser$12, transformPaths as transformPaths$12 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$17 as parser } from "./index.d-xT7aQSB2.mjs";
|
|
2
|
+
import { config$18 as config } from "./index.d-D9OXwZhj.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$10, dest$1 as dest$10, generate$1 as generate$10, openapiPipeline, original$1 as original$10 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApiPipeline,
|
|
2
|
-
import { Paths } from
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
+
//#region src/got/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
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$8, parser as parser$18, transformPaths as transformPaths$18 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$5 as openapiPipeline } from "./index.d-DTsMFJM4.mjs";
|
|
3
|
+
import { openapiPipeline$7 as openapiPipeline$1 } from "./index.d-DBNQTE-q.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$2 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
|
+
|
|
4
|
+
//#region src/fetch/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$4, parser as parser$14, transformPaths as transformPaths$14 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$11 as parser } from "./index.d-DT6dJ1Sg.mjs";
|
|
2
|
+
import { config$10 as config } from "./index.d-B6ea0pDX.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$13, dest$1 as dest$13, generate$1 as generate$13, openapiPipeline as openapiPipeline$3, original$1 as original$13 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$14 as parser } from "./index.d-C10wnMdy.mjs";
|
|
2
|
+
import { config$14 as config } from "./index.d-qxp4tWxk.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$14, dest$1 as dest$14, generate$1 as generate$14, openapiPipeline as openapiPipeline$4, original$1 as original$14 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApiPipeline,
|
|
2
|
-
import { Paths } from
|
|
1
|
+
import { ApiPipeline, StatementFunction, StatementInterface } from "@genapi/shared";
|
|
2
|
+
import { Paths } from "openapi-specification-types";
|
|
3
3
|
|
|
4
|
+
//#region src/got/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
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions as PathsTransformOptions$5, 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/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$3, parser as parser$13, transformPaths as transformPaths$13 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$19 as parser } from "./index.d-DD9vtQSr.mjs";
|
|
2
|
+
import { config$19 as config } from "./index.d-B9YjsDSU.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$11, dest$1 as dest$11, generate$1 as generate$11, openapiPipeline as openapiPipeline$1, original$1 as original$11 };
|
|
@@ -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$6, parser as parser$16, transformPaths as transformPaths$16 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$10 as parser } from "./index.d-yppv-kCz.mjs";
|
|
2
|
+
import { config$12 as config } from "./index.d-B-u-rHVf.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/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$17, dest$1 as dest$17, generate$1 as generate$17, openapiPipeline as openapiPipeline$7, original$1 as original$17 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$3 as openapiPipeline } from "./index.d-C38NRU-q.mjs";
|
|
3
|
+
import { openapiPipeline$6 as openapiPipeline$1 } from "./index.d-DgSgg69k.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$1 };
|
|
@@ -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$9, parser as parser$19, transformPaths as transformPaths$19 };
|
|
@@ -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$1, parser as parser$11, transformPaths as transformPaths$11 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$12 as parser } from "./index.d-BVDe1tFu.mjs";
|
|
2
|
+
import { config$13 as config } from "./index.d-C-mKHl9s.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$15, dest$1 as dest$15, generate$1 as generate$15, openapiPipeline as openapiPipeline$5, original$1 as original$15 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$13 as parser } from "./index.d-CozwYURq.mjs";
|
|
2
|
+
import { config$15 as config } from "./index.d-DlncPuTy.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$16, dest$1 as dest$16, generate$1 as generate$16, openapiPipeline as openapiPipeline$6, original$1 as original$16 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { parser$16 as parser } from "./index.d-D6AeBSov.mjs";
|
|
2
|
+
import { config$11 as config } from "./index.d-DkWb7AYg.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$12, dest$1 as dest$12, generate$1 as generate$12, openapiPipeline as openapiPipeline$2, original$1 as original$12 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$1 as openapiPipeline } from "./index.d-D0ou41dA.mjs";
|
|
3
|
+
import { openapiPipeline as openapiPipeline$1 } from "./index.d-Ba1tOHnm.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 };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
+
import { openapiPipeline$9 as openapiPipeline } from "./index.d-BCl4h5vb.mjs";
|
|
3
|
+
import { openapiPipeline$8 as openapiPipeline$1 } from "./index.d-B5ex0iL6.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/got/index.d.ts
|
|
6
|
+
|
|
7
|
+
declare namespace index_d_exports {
|
|
8
|
+
export { openapiPipeline as js, openapiPipeline$1 as ts, }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { index_d_exports as index_d_exports$4 };
|
|
@@ -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$7, parser as parser$17, transformPaths as transformPaths$17 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApiPipeline,
|
|
2
|
-
import { Paths } from
|
|
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
|
-
|
|
13
|
+
//#endregion
|
|
14
|
+
export { PathsTransformOptions, parser as parser$10, transformPaths as transformPaths$10 };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "./index.d-DD9vtQSr.mjs";
|
|
2
|
+
import "./index.d-B9YjsDSU.mjs";
|
|
3
|
+
import "./index.d-D0ou41dA.mjs";
|
|
4
|
+
import "./index.d-xT7aQSB2.mjs";
|
|
5
|
+
import "./index.d-D9OXwZhj.mjs";
|
|
6
|
+
import "./index.d-Ba1tOHnm.mjs";
|
|
7
|
+
import { index_d_exports } from "./index.d-YNb6GO8o.mjs";
|
|
8
|
+
import "./index.d-C10wnMdy.mjs";
|
|
9
|
+
import "./index.d-qxp4tWxk.mjs";
|
|
10
|
+
import "./index.d-CGbHzQH8.mjs";
|
|
11
|
+
import "./index.d-D6AeBSov.mjs";
|
|
12
|
+
import "./index.d-DkWb7AYg.mjs";
|
|
13
|
+
import "./index.d-DndBUrRi.mjs";
|
|
14
|
+
import { index_d_exports$3 as index_d_exports$1 } from "./index.d-BEPmcVlv.mjs";
|
|
15
|
+
import "./index.d-BvMhV1lw.mjs";
|
|
16
|
+
import "./index.d-Dx6IWWI4.mjs";
|
|
17
|
+
import "./index.d-BCl4h5vb.mjs";
|
|
18
|
+
import "./index.d-Ch6ZYMn0.mjs";
|
|
19
|
+
import "./index.d-Dsok7fEc.mjs";
|
|
20
|
+
import "./index.d-B5ex0iL6.mjs";
|
|
21
|
+
import { index_d_exports$4 as index_d_exports$2 } from "./index.d-sEb0cOvU.mjs";
|
|
22
|
+
import "./index.d-BVDe1tFu.mjs";
|
|
23
|
+
import "./index.d-C-mKHl9s.mjs";
|
|
24
|
+
import "./index.d-DTsMFJM4.mjs";
|
|
25
|
+
import "./index.d-yppv-kCz.mjs";
|
|
26
|
+
import "./index.d-B-u-rHVf.mjs";
|
|
27
|
+
import "./index.d-DBNQTE-q.mjs";
|
|
28
|
+
import { index_d_exports$2 as index_d_exports$3 } from "./index.d-C-mT1tVI.mjs";
|
|
29
|
+
import "./index.d-DT6dJ1Sg.mjs";
|
|
30
|
+
import "./index.d-B6ea0pDX.mjs";
|
|
31
|
+
import "./index.d-C38NRU-q.mjs";
|
|
32
|
+
import "./index.d-CozwYURq.mjs";
|
|
33
|
+
import "./index.d-DlncPuTy.mjs";
|
|
34
|
+
import "./index.d-DgSgg69k.mjs";
|
|
35
|
+
import { index_d_exports$1 as index_d_exports$4 } from "./index.d-DD5okdfE.mjs";
|
|
36
|
+
|
|
37
|
+
//#region src/index.d.ts
|
|
38
|
+
declare const _default: {
|
|
39
|
+
axios: typeof index_d_exports;
|
|
40
|
+
fetch: typeof index_d_exports$1;
|
|
41
|
+
got: typeof index_d_exports$2;
|
|
42
|
+
ky: typeof index_d_exports$3;
|
|
43
|
+
ofetch: typeof index_d_exports$4;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
//#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 };
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import "./config-CwmGeydd.mjs";
|
|
2
|
+
import "./parser-8NB1Nfwt.mjs";
|
|
3
|
+
import "./js-CfKFwY21.mjs";
|
|
4
|
+
import "./config-B89EoGE7.mjs";
|
|
5
|
+
import "./parser-GwoAS3rw.mjs";
|
|
6
|
+
import "./ts-4mi0Q-kd.mjs";
|
|
7
|
+
import { axios_exports } from "./axios-CG6HLmR9.mjs";
|
|
8
|
+
import "./config-BJZnXcL3.mjs";
|
|
9
|
+
import "./parser-CAdkVm2b.mjs";
|
|
10
|
+
import "./js-CqtsolD8.mjs";
|
|
11
|
+
import "./config-B6UDPRkS.mjs";
|
|
12
|
+
import "./parser-aevzlGBk.mjs";
|
|
13
|
+
import "./ts-BLbY66M1.mjs";
|
|
14
|
+
import { fetch_exports } from "./fetch-DDSgFojK.mjs";
|
|
15
|
+
import "./config-CDvaM7ZL.mjs";
|
|
16
|
+
import "./parser-BkWqv1qf.mjs";
|
|
17
|
+
import "./js-t1rqZHU4.mjs";
|
|
18
|
+
import "./config-aVU8JEKy.mjs";
|
|
19
|
+
import "./parser-ZdK3ZwJM.mjs";
|
|
20
|
+
import "./ts-DjVYemin.mjs";
|
|
21
|
+
import { got_exports } from "./got-DhRc0hx6.mjs";
|
|
22
|
+
import "./config-DdUVYIe0.mjs";
|
|
23
|
+
import "./parser-CSJYNO0a.mjs";
|
|
24
|
+
import "./js-nNB2l-OU.mjs";
|
|
25
|
+
import "./config-IeVj3de_.mjs";
|
|
26
|
+
import "./parser-B-nJrHKw.mjs";
|
|
27
|
+
import "./ts-BrqtDsf2.mjs";
|
|
28
|
+
import { ky_exports } from "./ky-tkF4RP6y.mjs";
|
|
29
|
+
import "./config-Dm0OCPw8.mjs";
|
|
30
|
+
import "./parser-CaRC8JQj.mjs";
|
|
31
|
+
import "./js-DxwOJyF7.mjs";
|
|
32
|
+
import "./config-Dp9C4aUE.mjs";
|
|
33
|
+
import "./parser-BGXx6lbG.mjs";
|
|
34
|
+
import "./ts-B0VNlOAi.mjs";
|
|
35
|
+
import { ofetch_exports } from "./ofetch-D17IUjVF.mjs";
|
|
36
|
+
|
|
37
|
+
//#region src/index.ts
|
|
38
|
+
var src_default = {
|
|
39
|
+
axios: axios_exports,
|
|
40
|
+
fetch: fetch_exports,
|
|
41
|
+
got: got_exports,
|
|
42
|
+
ky: ky_exports,
|
|
43
|
+
ofetch: ofetch_exports
|
|
21
44
|
};
|
|
45
|
+
|
|
46
|
+
//#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 };
|