Skip to content

Commit 330ef2f

Browse files
authored
Merge branch 'main' into feat/add-pagination-keywords-config
2 parents 05c7eea + 052a7c6 commit 330ef2f

24 files changed

+95
-43
lines changed

.changeset/big-boats-grin.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/metal-lizards-check.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/sixty-cycles-shake.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: home
33

44
hero:
55
name: High-quality tools for interacting with APIs
6-
tagline: Codegen for your TypeScript projects. Trusted more than 900k times each month to generate reliable API clients and SDKs.
6+
tagline: Codegen for your TypeScript projects. Trusted over 1,000,000 times each month to generate reliable API clients and SDKs.
77
actions:
88
- link: /openapi-ts/get-started
99
text: Get Started

docs/openapi-ts/get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { embedProject } from '../embed'
1313
This package is in initial development. The interface might change before it becomes stable. We encourage you to leave feedback on [GitHub](https://github.com/hey-api/openapi-ts/issues).
1414
:::
1515

16-
[@hey-api/openapi-ts](https://github.com/hey-api/openapi-ts) is an OpenAPI to TypeScript codegen trusted more than 900k times each month to generate reliable API clients and SDKs. The code is [MIT-licensed](/license) and free to use. Discover available features below or view our [roadmap](https://github.com/orgs/hey-api/discussions/1495) to learn what's coming next.
16+
[@hey-api/openapi-ts](https://github.com/hey-api/openapi-ts) is an OpenAPI to TypeScript codegen trusted over 1,000,000 times each month to generate reliable API clients and SDKs. The code is [MIT-licensed](/license) and free to use. Discover available features below or view our [roadmap](https://github.com/orgs/hey-api/discussions/1495) to learn what's coming next.
1717

1818
### Demo
1919

docs/openapi-ts/plugins/tanstack-query.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,15 @@ const { data, error } = useInfiniteQuery({
142142
});
143143
```
144144

145+
Infinite queries are recognized by having one of these keywords in the endpoint's parameters:
146+
147+
- after
148+
- before
149+
- cursor
150+
- offset
151+
- page
152+
- start
153+
145154
## Mutations
146155

147156
Mutations are generated from DELETE, PATCH, POST, and PUT endpoints. The generated functions follow the naming convention of SDK functions and append `Mutation`, e.g. `addPetMutation()`.

examples/openapi-ts-nuxt/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @example/openapi-ts-nuxt
22

3+
## 0.0.13
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`0670a38`](https://github.com/hey-api/openapi-ts/commit/0670a38c66dffc1431a7d4b48ec06b72d4f6868f)]:
8+
- @hey-api/nuxt@0.1.2
9+
310
## 0.0.12
411

512
### Patch Changes

examples/openapi-ts-nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@example/openapi-ts-nuxt",
33
"private": true,
4-
"version": "0.0.12",
4+
"version": "0.0.13",
55
"type": "module",
66
"scripts": {
77
"build": "nuxt build",

packages/nuxt/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @hey-api/nuxt
22

3+
## 0.1.2
4+
5+
### Patch Changes
6+
7+
- [#1825](https://github.com/hey-api/openapi-ts/pull/1825) [`0670a38`](https://github.com/hey-api/openapi-ts/commit/0670a38c66dffc1431a7d4b48ec06b72d4f6868f) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: move @hey-api/openapi-ts to peerDependencies
8+
9+
- Updated dependencies [[`c73b0d4`](https://github.com/hey-api/openapi-ts/commit/c73b0d401c2bfa6f0b0d89d844a6aa09f2685a69), [`90886c1`](https://github.com/hey-api/openapi-ts/commit/90886c1372a999e8cb59d5da218762f6ee6cd459)]:
10+
- @hey-api/openapi-ts@0.64.13
11+
312
## 0.1.1
413

514
### Patch Changes

packages/nuxt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hey-api/nuxt",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "🚀 Nuxt module for `@hey-api/openapi-ts` codegen.",
55
"homepage": "https://heyapi.dev/",
66
"repository": {
@@ -59,7 +59,7 @@
5959
"mlly": "1.7.4"
6060
},
6161
"peerDependencies": {
62-
"@hey-api/openapi-ts": "< 2",
62+
"@hey-api/openapi-ts": "0.64.13",
6363
"nuxt": ">= 3.0.0 < 4",
6464
"vue": ">= 3.5.13 < 4"
6565
},

0 commit comments

Comments
 (0)