···1-MIT License
2-3-Copyright (c) Hey API
4-5-Permission is hereby granted, free of charge, to any person obtaining a copy
6-of this software and associated documentation files (the "Software"), to deal
7-in the Software without restriction, including without limitation the rights
8-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-copies of the Software, and to permit persons to whom the Software is
10-furnished to do so, subject to the following conditions:
11-12-The above copyright notice and this permission notice shall be included in all
13-copies or substantial portions of the Software.
14-15-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-SOFTWARE.
···000000000000000000000
-102
packages/client-next/README.md
···1-<div align="center">
2- <img alt="Hey API logo" height="150" src="https://heyapi.dev/images/logo-300w.png" width="150">
3- <h1 align="center"><b>Next.js Client</b></h1>
4- <p align="center">🚀 Next.js client for `@hey-api/openapi-ts` codegen.</p>
5-</div>
6-7-<!-- TODO: Add working Next.js example -->
8-<!-- [Live demo](https://stackblitz.com/edit/hey-api-client-fetch-example?file=openapi-ts.config.ts,src%2Fclient%2Fschemas.gen.ts,src%2Fclient%2Fsdk.gen.ts,src%2Fclient%2Ftypes.gen.ts,src%2FApp.tsx) -->
9-10-## Features
11-12-- seamless integration with `@hey-api/openapi-ts` ecosystem
13-- type-safe response data and errors
14-- response data validation and transformation
15-- access to the original request and response
16-- granular request and response customization options
17-- minimal learning curve thanks to extending the underlying technology
18-- support bundling inside the generated output
19-- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
20-21-## Dashboard
22-23-Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
24-25-[Sign In](https://app.heyapi.dev) to Hey API platform.
26-27-## Documentation
28-29-Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more.
30-31-## Sponsors
32-33-Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api).
34-35-<h3 align="center">Gold</h3>
36-37-<table align="center" style="justify-content: center;align-items: center;display: flex;">
38- <tbody>
39- <tr>
40- <td align="center">
41- <p></p>
42- <p>
43- <a href="https://kutt.it/pkEZyc" target="_blank">
44- <picture height="50px">
45- <source media="(prefers-color-scheme: dark)" srcset="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg">
46- <img alt="Stainless logo" height="50px" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg">
47- </picture>
48- </a>
49- <br/>
50- Generate best-in-class SDKs.
51- <br/>
52- <a href="https://kutt.it/pkEZyc" style="text-decoration:none;" target="_blank">
53- stainless.com
54- </a>
55- </p>
56- <p></p>
57- </td>
58- </tr>
59- </tbody>
60-</table>
61-62-<h3 align="center">Silver</h3>
63-64-<table align="center" style="justify-content: center;align-items: center;display: flex;">
65- <tbody>
66- <tr>
67- <td align="center">
68- <a href="https://kutt.it/skQUVd" target="_blank">
69- <picture height="40px">
70- <source media="(prefers-color-scheme: dark)" srcset="https://heyapi.dev/images/scalar-logo-wordmark-480w.jpeg">
71- <img alt="Scalar logo" height="40px" src="https://heyapi.dev/images/scalar-logo-wordmark-480w.jpeg">
72- </picture>
73- </a>
74- <br/>
75- <a href="https://kutt.it/skQUVd" style="text-decoration:none;" target="_blank">
76- scalar.com
77- </a>
78- </td>
79- </tr>
80- </tbody>
81-</table>
82-83-<h3 align="center">Bronze</h3>
84-85-<table align="center" style="justify-content: center;align-items: center;display: flex;">
86- <tbody>
87- <tr>
88- <td align="center">
89- <a href="https://kutt.it/YpaKsX" target="_blank">
90- <picture height="34px">
91- <source media="(prefers-color-scheme: dark)" srcset="https://heyapi.dev/images/kinde-logo-wordmark-dark-480w.webp">
92- <img alt="Kinde logo" height="34px" src="https://heyapi.dev/images/kinde-logo-wordmark-480w.jpeg">
93- </picture>
94- </a>
95- </td>
96- </tr>
97- </tbody>
98-</table>
99-100-## Migration Guides
101-102-[OpenAPI Typescript Codegen](https://heyapi.dev/openapi-ts/migrating#openapi-typescript-codegen)
···01import type {
2- Auth,
3 Client as CoreClient,
4 Config as CoreConfig,
5-} from '@hey-api/client-core';
6-7import type { Middleware } from './utils';
89export interface Config<T extends ClientOptions = ClientOptions>
···1+import type { Auth } from '../../client-core/bundle/auth';
2import type {
03 Client as CoreClient,
4 Config as CoreConfig,
5+} from '../../client-core/bundle/types';
06import type { Middleware } from './utils';
78export interface Config<T extends ClientOptions = ClientOptions>