diff --git a/docs/reference/plugins/tanstack-query.mdx b/docs/reference/plugins/tanstack-query.mdx index b3f40acf..3cb2999e 100644 --- a/docs/reference/plugins/tanstack-query.mdx +++ b/docs/reference/plugins/tanstack-query.mdx @@ -35,9 +35,13 @@ npm install --save-dev @zenstackhq/tanstack-query | -------- | ------- | ------------------------------------------------------- | -------- | ------- | | output | String | Output directory (relative to the path of ZModel) | Yes | | | target | String | Target framework to generate for. Choose from "react", "vue", "svelte", "angular". | Yes | | -| version | String | Version of TanStack Query to generate for. Choose from "v4" and "v5". Angular supports only "v5" | No | v5 | +| version | String | Version of TanStack Query to generate for. Choose from "v4" and "v5". Target "angular" only works with "v5". | No | v5 | | portable | Boolean | Include TypeScript types needed to compile the generated code in the output directory. Useful when you output into another project that doesn't reference Prisma and ZenStack. You'll still need to install the "@zenstackhq/tanstack-query" package in that project. | No | false | +:::info +Angular support is contributed by [@ScriptType](https://github.com/ScriptType). +::: + ### Hooks Signature The generated hooks have the following signature convention.