@hey-api/openapi-ts 0.90.1 → 0.90.2
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/{config-Dl9mEw3s.d.cts → config-84ipCnU3.d.cts} +5207 -6532
- package/dist/{config-D5jw0Xaw.d.mts → config-BzR0jtGH.d.mts} +5887 -7212
- package/dist/index.cjs +23 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +4 -1
- package/dist/internal.cjs +5 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.mjs +3 -1
- package/dist/openApi-BwUPqtP_.cjs +21678 -0
- package/dist/openApi-BwUPqtP_.cjs.map +1 -0
- package/dist/openApi-PX3rDrOF.mjs +21448 -0
- package/dist/openApi-PX3rDrOF.mjs.map +1 -0
- package/dist/run.cjs +65 -1
- package/dist/run.cjs.map +1 -1
- package/dist/run.mjs +66 -1
- package/dist/run.mjs.map +1 -1
- package/dist/src-BCi83sdM.mjs +589 -0
- package/dist/{src-DxXY6pL5.mjs.map → src-BCi83sdM.mjs.map} +1 -1
- package/dist/src-hU76ergi.cjs +616 -0
- package/dist/{src-CB7dCcql.cjs.map → src-hU76ergi.cjs.map} +1 -1
- package/package.json +2 -2
- package/dist/openApi-BfsCCQJN.mjs +0 -14
- package/dist/openApi-BfsCCQJN.mjs.map +0 -1
- package/dist/openApi-VRTfi3V4.cjs +0 -14
- package/dist/openApi-VRTfi3V4.cjs.map +0 -1
- package/dist/src-CB7dCcql.cjs +0 -20
- package/dist/src-DxXY6pL5.mjs +0 -12
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
const
|
|
2
|
+
const require_openApi = require('./openApi-BwUPqtP_.cjs');
|
|
3
|
+
const require_src = require('./src-hU76ergi.cjs');
|
|
4
|
+
|
|
5
|
+
exports.$ = require_openApi.$;
|
|
6
|
+
exports.Logger = require_src.Logger;
|
|
7
|
+
exports.OperationPath = require_openApi.OperationPath;
|
|
8
|
+
exports.OperationStrategy = require_openApi.OperationStrategy;
|
|
9
|
+
exports.TsDsl = require_openApi.TsDsl;
|
|
10
|
+
exports.TsDslContext = require_openApi.TsDslContext;
|
|
11
|
+
exports.TypeScriptRenderer = require_openApi.TypeScriptRenderer;
|
|
12
|
+
exports.clientDefaultConfig = require_openApi.clientDefaultConfig;
|
|
13
|
+
exports.clientDefaultMeta = require_openApi.clientDefaultMeta;
|
|
14
|
+
exports.clientPluginHandler = require_openApi.clientPluginHandler;
|
|
15
|
+
exports.createClient = require_src.createClient;
|
|
16
|
+
exports.ctx = require_openApi.ctx;
|
|
17
|
+
exports.defaultPaginationKeywords = require_openApi.defaultPaginationKeywords;
|
|
18
|
+
exports.defaultPlugins = require_openApi.defaultPlugins;
|
|
19
|
+
exports.defineConfig = require_src.defineConfig;
|
|
20
|
+
exports.definePluginConfig = require_openApi.definePluginConfig;
|
|
21
|
+
exports.keywords = require_openApi.keywords;
|
|
22
|
+
exports.regexp = require_openApi.regexp;
|
|
23
|
+
exports.reserved = require_openApi.reserved;
|
|
24
|
+
exports.utils = require_src.utils;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { A as
|
|
2
|
+
import { A as ctx, C as regexp, D as TypeTsDsl, E as TsDsl, F as Casing, I as LazyOrAsync, L as MaybeArray, M as OperationPath, N as OperationStrategy, O as ExampleOptions, P as IR, S as TypeScriptRenderer, T as MaybeTsDsl, _ as Client$2, a as Plugin, b as DollarTsDsl, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, j as CallArgs, k as TsDslContext, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as PluginHandler, w as keywords, x as reserved, y as $ } from "./config-84ipCnU3.cjs";
|
|
3
3
|
import { HttpClient, HttpErrorResponse, HttpHeaders, HttpRequest, HttpResponse } from "@angular/common/http";
|
|
4
4
|
import { Injector } from "@angular/core";
|
|
5
5
|
import { AxiosError, AxiosInstance, AxiosRequestHeaders, AxiosResponse, AxiosStatic, CreateAxiosDefaults } from "axios";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { A as
|
|
2
|
+
import { A as keywords, B as IR, C as Client$1, D as reserved, E as DollarTsDsl, F as TsDslContext, H as LazyOrAsync, I as ctx, L as CallArgs, M as TsDsl, N as TypeTsDsl, O as TypeScriptRenderer, P as ExampleOptions, R as OperationPath, S as Client$3, T as $, U as MaybeArray, V as Casing, _ as Client$2, a as Plugin, b as Client$5, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, j as MaybeTsDsl, k as regexp, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as PluginHandler, w as Client, x as Client$4, y as Client$6, z as OperationStrategy } from "./config-BzR0jtGH.mjs";
|
|
3
3
|
import "@hey-api/codegen-core";
|
|
4
4
|
|
|
5
5
|
//#region src/generate.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import{C as
|
|
2
|
+
import { C as defaultPaginationKeywords, S as definePluginConfig, _ as regexp, a as defaultPlugins, b as OperationPath, c as clientDefaultConfig, d as $, f as TypeScriptRenderer, g as keywords, h as reserved, l as clientDefaultMeta, m as ctx, o as clientPluginHandler, p as TsDslContext, v as TsDsl, x as OperationStrategy } from "./openApi-PX3rDrOF.mjs";
|
|
3
|
+
import { i as Logger, n as utils, r as createClient, t as defineConfig } from "./src-BCi83sdM.mjs";
|
|
4
|
+
|
|
5
|
+
export { $, Logger, OperationPath, OperationStrategy, TsDsl, TsDslContext, TypeScriptRenderer, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, createClient, ctx, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, keywords, regexp, reserved, utils };
|
package/dist/internal.cjs
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
const
|
|
2
|
+
const require_openApi = require('./openApi-BwUPqtP_.cjs');
|
|
3
|
+
|
|
4
|
+
exports.getSpec = require_openApi.getSpec;
|
|
5
|
+
exports.initConfigs = require_openApi.initConfigs;
|
|
6
|
+
exports.parseOpenApiSpec = require_openApi.parseOpenApiSpec;
|
package/dist/internal.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-
|
|
2
|
+
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-84ipCnU3.cjs";
|
|
3
3
|
import { getResolvedInput } from "@hey-api/json-schema-ref-parser";
|
|
4
4
|
|
|
5
5
|
//#region src/config/init.d.ts
|
package/dist/internal.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-
|
|
2
|
+
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-BzR0jtGH.mjs";
|
|
3
3
|
import { getResolvedInput } from "@hey-api/json-schema-ref-parser";
|
|
4
4
|
|
|
5
5
|
//#region src/config/init.d.ts
|
package/dist/internal.mjs
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import{i as
|
|
2
|
+
import { i as initConfigs, r as getSpec, t as parseOpenApiSpec } from "./openApi-PX3rDrOF.mjs";
|
|
3
|
+
|
|
4
|
+
export { getSpec, initConfigs, parseOpenApiSpec };
|