@hey-api/openapi-ts 0.88.1 → 0.89.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/clients/core/serverSentEvents.ts +2 -0
- package/dist/{config-C5xWXzTz.d.cts → config-CBa-XLy8.d.cts} +1007 -839
- package/dist/{config-eqVtXEeO.d.mts → config-uoaRJc6A.d.mts} +1008 -840
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/openApi-AbaojA3X.mjs +13 -0
- package/dist/openApi-AbaojA3X.mjs.map +1 -0
- package/dist/openApi-CSMCX27Y.cjs +13 -0
- package/dist/openApi-CSMCX27Y.cjs.map +1 -0
- package/dist/run.cjs +1 -1
- package/dist/run.cjs.map +1 -1
- package/dist/run.mjs +1 -1
- package/dist/run.mjs.map +1 -1
- package/dist/src-CmkI6L90.mjs +11 -0
- package/dist/src-CmkI6L90.mjs.map +1 -0
- package/dist/src-odo5Y_R2.cjs +19 -0
- package/dist/src-odo5Y_R2.cjs.map +1 -0
- package/package.json +2 -2
- package/dist/openApi-DlyxIg9f.mjs +0 -17
- package/dist/openApi-DlyxIg9f.mjs.map +0 -1
- package/dist/openApi-DszQAwQH.cjs +0 -17
- package/dist/openApi-DszQAwQH.cjs.map +0 -1
- package/dist/src-9qIIwEzI.cjs +0 -19
- package/dist/src-9qIIwEzI.cjs.map +0 -1
- package/dist/src-BNSjnWaN.mjs +0 -11
- package/dist/src-BNSjnWaN.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./openApi-
|
|
1
|
+
const e=require(`./openApi-CSMCX27Y.cjs`),t=require(`./src-odo5Y_R2.cjs`);exports.$=e.u,exports.Logger=t.i,exports.TsDsl=e.h,exports.TypeScriptRenderer=e.d,exports.clientDefaultConfig=e.c,exports.clientDefaultMeta=e.l,exports.clientPluginHandler=e.o,exports.createClient=t.r,exports.defaultPaginationKeywords=e.y,exports.defaultPlugins=e.a,exports.defineConfig=t.t,exports.definePluginConfig=e.v,exports.keywords=e.p,exports.regexp=e.m,exports.reserved=e.f,exports.utils=t.n;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { A as LazyOrAsync, C as MaybeTsDsl, D as PluginHandler, E as Client$2, O as StringCase, S as TypeScriptRenderer, T as TypeTsDsl, _ as $, a as Plugin, b as regexp, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, j as MaybeArray, k as IR, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as DollarTsDsl, w as TsDsl, x as keywords, y as reserved } from "./config-CBa-XLy8.cjs";
|
|
2
2
|
import { HttpClient, HttpErrorResponse, HttpHeaders, HttpRequest, HttpResponse } from "@angular/common/http";
|
|
3
3
|
import { Injector } from "@angular/core";
|
|
4
4
|
import { AxiosError, AxiosInstance, AxiosRequestHeaders, AxiosResponse, AxiosStatic, CreateAxiosDefaults } from "axios";
|
|
5
5
|
import { AsyncDataOptions, UseFetchOptions, useAsyncData, useFetch, useLazyAsyncData, useLazyFetch } from "nuxt/app";
|
|
6
|
-
import { Ref } from "vue";
|
|
6
|
+
import { Ref as Ref$1 } from "vue";
|
|
7
7
|
import { FetchOptions, ResponseType, ofetch } from "ofetch";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/@hey-api/client-core/bundle/auth.d.ts
|
|
@@ -621,7 +621,7 @@ type Options$2<TData extends TDataShape$2 = TDataShape$2, ThrowOnError extends b
|
|
|
621
621
|
//#endregion
|
|
622
622
|
//#region src/plugins/@hey-api/client-nuxt/bundle/types.d.ts
|
|
623
623
|
type QuerySerializer = (query: Parameters<Client$5['buildUrl']>[0]['query']) => string;
|
|
624
|
-
type WithRefs<TData> = { [K in keyof TData]: NonNullable<TData[K]> extends object ? WithRefs<NonNullable<TData[K]>> | Ref<NonNullable<TData[K]>> : NonNullable<TData[K]> | Ref<NonNullable<TData[K]>> };
|
|
624
|
+
type WithRefs<TData> = { [K in keyof TData]: NonNullable<TData[K]> extends object ? WithRefs<NonNullable<TData[K]>> | Ref$1<NonNullable<TData[K]>> : NonNullable<TData[K]> | Ref$1<NonNullable<TData[K]>> };
|
|
625
625
|
type KeysOf<T> = Array<T extends T ? (keyof T extends string ? keyof T : never) : never>;
|
|
626
626
|
interface Config$2<T extends ClientOptions$1 = ClientOptions$1> extends Omit<FetchOptions$1<unknown>, 'baseURL' | 'body' | 'headers' | 'method' | 'query'>, WithRefs<Pick<FetchOptions$1<unknown>, 'query'>>, Omit<Config, 'querySerializer'> {
|
|
627
627
|
/**
|
|
@@ -967,5 +967,5 @@ declare module '@hey-api/codegen-core' {
|
|
|
967
967
|
*/
|
|
968
968
|
declare const defineConfig: <T extends MaybeArray<UserConfig>>(config: LazyOrAsync<T>) => Promise<T>;
|
|
969
969
|
//#endregion
|
|
970
|
-
export { $, type Client as AngularClient, type Client$1 as AxiosClient, type Client$2 as Client, type DefinePlugin, DollarTsDsl, type ExpressionTransformer, type Client$3 as FetchClient, type IR, Logger, MaybeTsDsl, type Client$4 as NextClient, type Client$5 as NuxtClient, type Client$6 as OfetchClient, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, type Plugin, TsDsl, type TypeTransformer, TypeTsDsl, type UserConfig, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, createClient, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, utils };
|
|
970
|
+
export { $, type Client as AngularClient, type Client$1 as AxiosClient, type Client$2 as Client, type DefinePlugin, DollarTsDsl, type ExpressionTransformer, type Client$3 as FetchClient, type IR, Logger, MaybeTsDsl, type Client$4 as NextClient, type Client$5 as NuxtClient, type Client$6 as OfetchClient, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, type Plugin, TsDsl, TypeScriptRenderer, type TypeTransformer, TypeTsDsl, type UserConfig, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, createClient, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, keywords, regexp, reserved, utils };
|
|
971
971
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as Client$4, C as MaybeTsDsl, D as PluginHandler, E as Client$2, F as IR, I as LazyOrAsync, L as MaybeArray, M as Client$1, N as Client, O as Client$6, P as StringCase, S as TypeScriptRenderer, T as TypeTsDsl, _ as $, a as Plugin, b as regexp, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, j as Client$3, k as Client$5, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as DollarTsDsl, w as TsDsl, x as keywords, y as reserved } from "./config-uoaRJc6A.mjs";
|
|
2
2
|
import "@hey-api/codegen-core";
|
|
3
3
|
|
|
4
4
|
//#region src/generate.d.ts
|
|
@@ -97,5 +97,5 @@ declare module '@hey-api/codegen-core' {
|
|
|
97
97
|
*/
|
|
98
98
|
declare const defineConfig: <T extends MaybeArray<UserConfig>>(config: LazyOrAsync<T>) => Promise<T>;
|
|
99
99
|
//#endregion
|
|
100
|
-
export { $, type Client as AngularClient, type Client$1 as AxiosClient, type Client$2 as Client, type DefinePlugin, DollarTsDsl, type ExpressionTransformer, type Client$3 as FetchClient, type IR, Logger, MaybeTsDsl, type Client$4 as NextClient, type Client$5 as NuxtClient, type Client$6 as OfetchClient, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, type Plugin, TsDsl, type TypeTransformer, TypeTsDsl, type UserConfig, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, createClient, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, utils };
|
|
100
|
+
export { $, type Client as AngularClient, type Client$1 as AxiosClient, type Client$2 as Client, type DefinePlugin, DollarTsDsl, type ExpressionTransformer, type Client$3 as FetchClient, type IR, Logger, MaybeTsDsl, type Client$4 as NextClient, type Client$5 as NuxtClient, type Client$6 as OfetchClient, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, type Plugin, TsDsl, TypeScriptRenderer, type TypeTransformer, TypeTsDsl, type UserConfig, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, createClient, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, keywords, regexp, reserved, utils };
|
|
101
101
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,c as t,d as n,
|
|
1
|
+
import{a as e,c as t,d as n,f as r,h as i,l as a,m as o,o as s,p as c,u as l,v as u,y as d}from"./openApi-AbaojA3X.mjs";import{i as f,n as p,r as m,t as h}from"./src-CmkI6L90.mjs";export{l as $,f as Logger,i as TsDsl,n as TypeScriptRenderer,t as clientDefaultConfig,a as clientDefaultMeta,s as clientPluginHandler,m as createClient,d as defaultPaginationKeywords,e as defaultPlugins,h as defineConfig,u as definePluginConfig,c as keywords,o as regexp,r as reserved,p as utils};
|
package/dist/internal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./openApi-
|
|
1
|
+
const e=require(`./openApi-CSMCX27Y.cjs`);exports.getSpec=e.r,exports.initConfigs=e.i,exports.parseOpenApiSpec=e.t;
|
package/dist/internal.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-
|
|
1
|
+
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-CBa-XLy8.cjs";
|
|
2
2
|
import { getResolvedInput } from "@hey-api/json-schema-ref-parser";
|
|
3
3
|
|
|
4
4
|
//#region src/config/init.d.ts
|
package/dist/internal.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-
|
|
1
|
+
import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-uoaRJc6A.mjs";
|
|
2
2
|
import { getResolvedInput } from "@hey-api/json-schema-ref-parser";
|
|
3
3
|
|
|
4
4
|
//#region src/config/init.d.ts
|
package/dist/internal.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,r as t,t as n}from"./openApi-
|
|
1
|
+
import{i as e,r as t,t as n}from"./openApi-AbaojA3X.mjs";export{t as getSpec,e as initConfigs,n as parseOpenApiSpec};
|