@genapi/presets 3.2.0 → 3.3.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 (52) hide show
  1. package/dist/axios/index.d.ts +5 -5
  2. package/dist/axios/index.mjs +4 -4
  3. package/dist/axios/js/index.d.ts +16 -4
  4. package/dist/axios/js/index.mjs +6 -0
  5. package/dist/axios/ts/index.d.ts +16 -4
  6. package/dist/axios/ts/index.mjs +6 -0
  7. package/dist/fetch/index.d.ts +5 -5
  8. package/dist/fetch/index.mjs +4 -4
  9. package/dist/fetch/js/index.d.ts +16 -4
  10. package/dist/fetch/js/index.mjs +6 -0
  11. package/dist/fetch/ts/index.d.ts +16 -4
  12. package/dist/fetch/ts/index.mjs +6 -0
  13. package/dist/got/index.d.ts +5 -5
  14. package/dist/got/index.mjs +4 -4
  15. package/dist/got/js/index.d.ts +16 -4
  16. package/dist/got/js/index.mjs +6 -0
  17. package/dist/got/ts/index.d.ts +16 -4
  18. package/dist/got/ts/index.mjs +6 -0
  19. package/dist/index-BoRNV5uE.d.ts +8 -0
  20. package/dist/index-C-Of8dmT.d.ts +8 -0
  21. package/dist/index-DUlkpebX.d.ts +8 -0
  22. package/dist/index-doIz4HN1.d.ts +8 -0
  23. package/dist/index-ln0OpJQY.d.ts +8 -0
  24. package/dist/index.d.ts +26 -26
  25. package/dist/ky/index.d.ts +5 -5
  26. package/dist/ky/index.mjs +4 -4
  27. package/dist/ky/js/index.d.ts +16 -4
  28. package/dist/ky/js/index.mjs +6 -0
  29. package/dist/ky/ts/index.d.ts +16 -4
  30. package/dist/ky/ts/index.mjs +6 -0
  31. package/dist/ofetch/index.d.ts +5 -5
  32. package/dist/ofetch/index.mjs +4 -4
  33. package/dist/ofetch/js/index.d.ts +16 -4
  34. package/dist/ofetch/js/index.mjs +6 -0
  35. package/dist/ofetch/ts/index.d.ts +16 -4
  36. package/dist/ofetch/ts/index.mjs +6 -0
  37. package/package.json +4 -4
  38. package/dist/index--xiziIvG.d.ts +0 -8
  39. package/dist/index-BByL5W2V.d.ts +0 -18
  40. package/dist/index-BIRCFgYi.d.ts +0 -18
  41. package/dist/index-BJrp0lx3.d.ts +0 -18
  42. package/dist/index-BWvY4w5U.d.ts +0 -8
  43. package/dist/index-BnNpBsOT.d.ts +0 -18
  44. package/dist/index-CApSnKVf.d.ts +0 -8
  45. package/dist/index-CQJFGBWr.d.ts +0 -8
  46. package/dist/index-DBbTnSBj.d.ts +0 -18
  47. package/dist/index-DEC0eIj4.d.ts +0 -18
  48. package/dist/index-DZ7D8MkM.d.ts +0 -18
  49. package/dist/index-IqUGJ_D5.d.ts +0 -8
  50. package/dist/index-VKTbyIEw.d.ts +0 -18
  51. package/dist/index-pIxMzJ5o.d.ts +0 -18
  52. package/dist/index-vrb8mA6n.d.ts +0 -18
@@ -1,9 +1,9 @@
1
- export { i as js } from '../index-BByL5W2V.js';
2
- export { i as ts } from '../index-DBbTnSBj.js';
1
+ export { default as js } from './js/index.js';
2
+ export { default as ts } from './ts/index.js';
3
+ import './js/parser/index.js';
3
4
  import '@genapi/shared';
5
+ import 'openapi-specification-types';
4
6
  import '@genapi/pipeline';
5
7
  import './js/config/index.js';
6
- import './js/parser/index.js';
7
- import 'openapi-specification-types';
8
- import './ts/config/index.js';
9
8
  import './ts/parser/index.js';
9
+ import './ts/config/index.js';
@@ -1,7 +1,7 @@
1
1
  // src/axios/index.ts
2
- import * as js from "./js/index.mjs";
3
- import * as ts from "./ts/index.mjs";
2
+ import { default as default2 } from "./js/index.mjs";
3
+ import { default as default3 } from "./ts/index.mjs";
4
4
  export {
5
- js,
6
- ts
5
+ default2 as js,
6
+ default3 as ts
7
7
  };
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-BByL5W2V.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var js_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-DBbTnSBj.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var ts_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -1,9 +1,9 @@
1
- export { i as js } from '../index-pIxMzJ5o.js';
2
- export { i as ts } from '../index-vrb8mA6n.js';
1
+ export { default as js } from './js/index.js';
2
+ export { default as ts } from './ts/index.js';
3
+ import './js/parser/index.js';
3
4
  import '@genapi/shared';
5
+ import 'openapi-specification-types';
4
6
  import '@genapi/pipeline';
5
7
  import './js/config/index.js';
6
- import './js/parser/index.js';
7
- import 'openapi-specification-types';
8
- import './ts/config/index.js';
9
8
  import './ts/parser/index.js';
9
+ import './ts/config/index.js';
@@ -1,7 +1,7 @@
1
1
  // src/fetch/index.ts
2
- import * as js from "./js/index.mjs";
3
- import * as ts from "./ts/index.mjs";
2
+ import { default as default2 } from "./js/index.mjs";
3
+ import { default as default3 } from "./ts/index.mjs";
4
4
  export {
5
- js,
6
- ts
5
+ default2 as js,
6
+ default3 as ts
7
7
  };
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-pIxMzJ5o.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var js_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-vrb8mA6n.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var ts_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -1,9 +1,9 @@
1
- export { i as js } from '../index-BnNpBsOT.js';
2
- export { i as ts } from '../index-BIRCFgYi.js';
1
+ export { default as js } from './js/index.js';
2
+ export { default as ts } from './ts/index.js';
3
+ import './js/parser/index.js';
3
4
  import '@genapi/shared';
5
+ import 'openapi-specification-types';
4
6
  import '@genapi/pipeline';
5
7
  import './js/config/index.js';
6
- import './js/parser/index.js';
7
- import 'openapi-specification-types';
8
- import './ts/config/index.js';
9
8
  import './ts/parser/index.js';
9
+ import './ts/config/index.js';
@@ -1,7 +1,7 @@
1
1
  // src/got/index.ts
2
- import * as js from "./js/index.mjs";
3
- import * as ts from "./ts/index.mjs";
2
+ import { default as default2 } from "./js/index.mjs";
3
+ import { default as default3 } from "./ts/index.mjs";
4
4
  export {
5
- js,
6
- ts
5
+ default2 as js,
6
+ default3 as ts
7
7
  };
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-BnNpBsOT.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var js_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-BIRCFgYi.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var ts_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -0,0 +1,8 @@
1
+ import openapiPipeline from './ky/js/index.js';
2
+ import openapiPipeline$1 from './ky/ts/index.js';
3
+
4
+ declare namespace ky {
5
+ export { openapiPipeline as js, openapiPipeline$1 as ts };
6
+ }
7
+
8
+ export { ky as k };
@@ -0,0 +1,8 @@
1
+ import openapiPipeline from './got/js/index.js';
2
+ import openapiPipeline$1 from './got/ts/index.js';
3
+
4
+ declare namespace got {
5
+ export { openapiPipeline as js, openapiPipeline$1 as ts };
6
+ }
7
+
8
+ export { got as g };
@@ -0,0 +1,8 @@
1
+ import openapiPipeline from './ofetch/js/index.js';
2
+ import openapiPipeline$1 from './ofetch/ts/index.js';
3
+
4
+ declare namespace ofetch {
5
+ export { openapiPipeline as js, openapiPipeline$1 as ts };
6
+ }
7
+
8
+ export { ofetch as o };
@@ -0,0 +1,8 @@
1
+ import openapiPipeline from './fetch/js/index.js';
2
+ import openapiPipeline$1 from './fetch/ts/index.js';
3
+
4
+ declare namespace fetch {
5
+ export { openapiPipeline as js, openapiPipeline$1 as ts };
6
+ }
7
+
8
+ export { fetch as f };
@@ -0,0 +1,8 @@
1
+ import openapiPipeline from './axios/js/index.js';
2
+ import openapiPipeline$1 from './axios/ts/index.js';
3
+
4
+ declare namespace axios {
5
+ export { openapiPipeline as js, openapiPipeline$1 as ts };
6
+ }
7
+
8
+ export { axios as a };
package/dist/index.d.ts CHANGED
@@ -1,41 +1,41 @@
1
- import { a as axios } from './index-IqUGJ_D5.js';
2
- import { f as fetch } from './index-CQJFGBWr.js';
3
- import { g as got } from './index--xiziIvG.js';
4
- import { k as ky } from './index-BWvY4w5U.js';
5
- import { o as ofetch } from './index-CApSnKVf.js';
6
- import './index-BByL5W2V.js';
1
+ import { a as axios } from './index-ln0OpJQY.js';
2
+ import { f as fetch } from './index-doIz4HN1.js';
3
+ import { g as got } from './index-C-Of8dmT.js';
4
+ import { k as ky } from './index-BoRNV5uE.js';
5
+ import { o as ofetch } from './index-DUlkpebX.js';
6
+ import './axios/js/index.js';
7
+ import './axios/js/parser/index.js';
7
8
  import '@genapi/shared';
9
+ import 'openapi-specification-types';
8
10
  import '@genapi/pipeline';
9
11
  import './axios/js/config/index.js';
10
- import './axios/js/parser/index.js';
11
- import 'openapi-specification-types';
12
- import './index-DBbTnSBj.js';
13
- import './axios/ts/config/index.js';
12
+ import './axios/ts/index.js';
14
13
  import './axios/ts/parser/index.js';
15
- import './index-pIxMzJ5o.js';
16
- import './fetch/js/config/index.js';
14
+ import './axios/ts/config/index.js';
15
+ import './fetch/js/index.js';
17
16
  import './fetch/js/parser/index.js';
18
- import './index-vrb8mA6n.js';
19
- import './fetch/ts/config/index.js';
17
+ import './fetch/js/config/index.js';
18
+ import './fetch/ts/index.js';
20
19
  import './fetch/ts/parser/index.js';
21
- import './index-BnNpBsOT.js';
22
- import './got/js/config/index.js';
20
+ import './fetch/ts/config/index.js';
21
+ import './got/js/index.js';
23
22
  import './got/js/parser/index.js';
24
- import './index-BIRCFgYi.js';
25
- import './got/ts/config/index.js';
23
+ import './got/js/config/index.js';
24
+ import './got/ts/index.js';
26
25
  import './got/ts/parser/index.js';
27
- import './index-DZ7D8MkM.js';
28
- import './ky/js/config/index.js';
26
+ import './got/ts/config/index.js';
27
+ import './ky/js/index.js';
29
28
  import './ky/js/parser/index.js';
30
- import './index-DEC0eIj4.js';
31
- import './ky/ts/config/index.js';
29
+ import './ky/js/config/index.js';
30
+ import './ky/ts/index.js';
32
31
  import './ky/ts/parser/index.js';
33
- import './index-BJrp0lx3.js';
34
- import './ofetch/js/config/index.js';
32
+ import './ky/ts/config/index.js';
33
+ import './ofetch/js/index.js';
35
34
  import './ofetch/js/parser/index.js';
36
- import './index-VKTbyIEw.js';
37
- import './ofetch/ts/config/index.js';
35
+ import './ofetch/js/config/index.js';
36
+ import './ofetch/ts/index.js';
38
37
  import './ofetch/ts/parser/index.js';
38
+ import './ofetch/ts/config/index.js';
39
39
 
40
40
  declare const _default: {
41
41
  axios: typeof axios;
@@ -1,9 +1,9 @@
1
- export { i as js } from '../index-DZ7D8MkM.js';
2
- export { i as ts } from '../index-DEC0eIj4.js';
1
+ export { default as js } from './js/index.js';
2
+ export { default as ts } from './ts/index.js';
3
+ import './js/parser/index.js';
3
4
  import '@genapi/shared';
5
+ import 'openapi-specification-types';
4
6
  import '@genapi/pipeline';
5
7
  import './js/config/index.js';
6
- import './js/parser/index.js';
7
- import 'openapi-specification-types';
8
- import './ts/config/index.js';
9
8
  import './ts/parser/index.js';
9
+ import './ts/config/index.js';
package/dist/ky/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/ky/index.ts
2
- import * as js from "./js/index.mjs";
3
- import * as ts from "./ts/index.mjs";
2
+ import { default as default2 } from "./js/index.mjs";
3
+ import { default as default3 } from "./ts/index.mjs";
4
4
  export {
5
- js,
6
- ts
5
+ default2 as js,
6
+ default3 as ts
7
7
  };
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-DZ7D8MkM.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var js_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-DEC0eIj4.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var ts_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -1,9 +1,9 @@
1
- export { i as js } from '../index-BJrp0lx3.js';
2
- export { i as ts } from '../index-VKTbyIEw.js';
1
+ export { default as js } from './js/index.js';
2
+ export { default as ts } from './ts/index.js';
3
+ import './js/parser/index.js';
3
4
  import '@genapi/shared';
5
+ import 'openapi-specification-types';
4
6
  import '@genapi/pipeline';
5
7
  import './js/config/index.js';
6
- import './js/parser/index.js';
7
- import 'openapi-specification-types';
8
- import './ts/config/index.js';
9
8
  import './ts/parser/index.js';
9
+ import './ts/config/index.js';
@@ -1,7 +1,7 @@
1
1
  // src/ofetch/index.ts
2
- import * as js from "./js/index.mjs";
3
- import * as ts from "./ts/index.mjs";
2
+ import { default as default2 } from "./js/index.mjs";
3
+ import { default as default3 } from "./ts/index.mjs";
4
4
  export {
5
- js,
6
- ts
5
+ default2 as js,
6
+ default3 as ts
7
7
  };
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-BJrp0lx3.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var js_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
@@ -1,6 +1,18 @@
1
- import '@genapi/shared';
1
+ import { parser } from './parser/index.js';
2
+ import * as _genapi_pipeline from '@genapi/pipeline';
2
3
  export { compiler, dest, generate, original } from '@genapi/pipeline';
3
- export { config } from './config/index.js';
4
- export { parser } from './parser/index.js';
5
- export { o as default } from '../../index-VKTbyIEw.js';
4
+ import { config } from './config/index.js';
5
+ import { ApiPipeline } from '@genapi/shared';
6
6
  import 'openapi-specification-types';
7
+
8
+ declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
9
+ declare namespace openapiPipeline {
10
+ var config: typeof config;
11
+ var original: typeof _genapi_pipeline.original;
12
+ var parser: typeof parser;
13
+ var compiler: typeof _genapi_pipeline.compiler;
14
+ var generate: typeof _genapi_pipeline.generate;
15
+ var dest: typeof _genapi_pipeline.dest;
16
+ }
17
+
18
+ export { config, openapiPipeline as default, parser };
@@ -13,6 +13,12 @@ function openapiPipeline(userConfig) {
13
13
  );
14
14
  return process(userConfig);
15
15
  }
16
+ openapiPipeline.config = config;
17
+ openapiPipeline.original = original;
18
+ openapiPipeline.parser = parser;
19
+ openapiPipeline.compiler = compiler;
20
+ openapiPipeline.generate = generate;
21
+ openapiPipeline.dest = dest;
16
22
  var ts_default = openapiPipeline;
17
23
  export {
18
24
  compiler,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genapi/presets",
3
3
  "type": "module",
4
- "version": "3.2.0",
4
+ "version": "3.3.0",
5
5
  "author": "Hairyf <wwu710632@gmail.com>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/hairyf/genapi#readme",
@@ -63,9 +63,9 @@
63
63
  ],
64
64
  "dependencies": {
65
65
  "openapi-specification-types": "^0.0.3",
66
- "@genapi/parser": "3.2.0",
67
- "@genapi/shared": "3.2.0",
68
- "@genapi/pipeline": "3.2.0"
66
+ "@genapi/parser": "3.3.0",
67
+ "@genapi/shared": "3.3.0",
68
+ "@genapi/pipeline": "3.3.0"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "tsup",
@@ -1,8 +0,0 @@
1
- import { i as index } from './index-BnNpBsOT.js';
2
- import { i as index$1 } from './index-BIRCFgYi.js';
3
-
4
- declare namespace got {
5
- export { index as js, index$1 as ts };
6
- }
7
-
8
- export { got as g };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './axios/js/config/index.js';
4
- import { parser } from './axios/js/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './got/ts/config/index.js';
4
- import { parser } from './got/ts/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './ofetch/js/config/index.js';
4
- import { parser } from './ofetch/js/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,8 +0,0 @@
1
- import { i as index } from './index-DZ7D8MkM.js';
2
- import { i as index$1 } from './index-DEC0eIj4.js';
3
-
4
- declare namespace ky {
5
- export { index as js, index$1 as ts };
6
- }
7
-
8
- export { ky as k };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './got/js/config/index.js';
4
- import { parser } from './got/js/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,8 +0,0 @@
1
- import { i as index } from './index-BJrp0lx3.js';
2
- import { i as index$1 } from './index-VKTbyIEw.js';
3
-
4
- declare namespace ofetch {
5
- export { index as js, index$1 as ts };
6
- }
7
-
8
- export { ofetch as o };
@@ -1,8 +0,0 @@
1
- import { i as index } from './index-pIxMzJ5o.js';
2
- import { i as index$1 } from './index-vrb8mA6n.js';
3
-
4
- declare namespace fetch {
5
- export { index as js, index$1 as ts };
6
- }
7
-
8
- export { fetch as f };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './axios/ts/config/index.js';
4
- import { parser } from './axios/ts/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './ky/ts/config/index.js';
4
- import { parser } from './ky/ts/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './ky/js/config/index.js';
4
- import { parser } from './ky/js/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,8 +0,0 @@
1
- import { i as index } from './index-BByL5W2V.js';
2
- import { i as index$1 } from './index-DBbTnSBj.js';
3
-
4
- declare namespace axios {
5
- export { index as js, index$1 as ts };
6
- }
7
-
8
- export { axios as a };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './ofetch/ts/config/index.js';
4
- import { parser } from './ofetch/ts/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './fetch/js/config/index.js';
4
- import { parser } from './fetch/js/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };
@@ -1,18 +0,0 @@
1
- import { ApiPipeline } from '@genapi/shared';
2
- import { compiler, dest, generate, original } from '@genapi/pipeline';
3
- import { config } from './fetch/ts/config/index.js';
4
- import { parser } from './fetch/ts/parser/index.js';
5
-
6
- declare function openapiPipeline(userConfig: ApiPipeline.Config): Promise<void>;
7
-
8
- declare const index_compiler: typeof compiler;
9
- declare const index_config: typeof config;
10
- declare const index_dest: typeof dest;
11
- declare const index_generate: typeof generate;
12
- declare const index_original: typeof original;
13
- declare const index_parser: typeof parser;
14
- declare namespace index {
15
- export { index_compiler as compiler, index_config as config, openapiPipeline as default, index_dest as dest, index_generate as generate, index_original as original, index_parser as parser };
16
- }
17
-
18
- export { index as i, openapiPipeline as o };