@hey-api/openapi-ts 0.88.2 → 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/index.cjs CHANGED
@@ -1 +1 @@
1
- const e=require(`./openApi-DszQAwQH.cjs`),t=require(`./src-9qIIwEzI.cjs`);exports.$=e.u,exports.Logger=t.i,exports.TsDsl=e.d,exports.clientDefaultConfig=e.c,exports.clientDefaultMeta=e.l,exports.clientPluginHandler=e.o,exports.createClient=t.r,exports.defaultPaginationKeywords=e.h,exports.defaultPlugins=e.a,exports.defineConfig=t.t,exports.definePluginConfig=e.m,exports.utils=t.n;
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 PluginHandler, D as MaybeArray, E as LazyOrAsync, S as Client$2, T as IR, _ as $, a as Plugin, b as TsDsl, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, 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 StringCase, x as TypeTsDsl, y as MaybeTsDsl } from "./config-C5xWXzTz.cjs";
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 StringCase, C as PluginHandler, D as Client$3, E as Client$4, M as LazyOrAsync, N as MaybeArray, O as Client$1, S as Client$2, T as Client$5, _ as $, a as Plugin, b as TsDsl, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, j as IR, k as Client, 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 Client$6, x as TypeTsDsl, y as MaybeTsDsl } from "./config-eqVtXEeO.mjs";
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,h as r,l as i,m as a,o,u as s}from"./openApi-DlyxIg9f.mjs";import{i as c,n as l,r as u,t as d}from"./src-BNSjnWaN.mjs";export{s as $,c as Logger,n as TsDsl,t as clientDefaultConfig,i as clientDefaultMeta,o as clientPluginHandler,u as createClient,r as defaultPaginationKeywords,e as defaultPlugins,d as defineConfig,a as definePluginConfig,l as utils};
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-DszQAwQH.cjs`);exports.getSpec=e.r,exports.initConfigs=e.i,exports.parseOpenApiSpec=e.t;
1
+ const e=require(`./openApi-CSMCX27Y.cjs`);exports.getSpec=e.r,exports.initConfigs=e.i,exports.parseOpenApiSpec=e.t;
@@ -1,4 +1,4 @@
1
- import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-C5xWXzTz.cjs";
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
@@ -1,4 +1,4 @@
1
- import { m as Logger, n as UserConfig, p as Context, r as Input, t as Config } from "./config-eqVtXEeO.mjs";
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-DlyxIg9f.mjs";export{t as getSpec,e as initConfigs,n as parseOpenApiSpec};
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};