@kubb/plugin-vue-query 3.0.10 → 3.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-vue-query",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
4
4
  "description": "Generator vue-query hooks",
5
5
  "keywords": [
6
6
  "faker",
@@ -63,21 +63,21 @@
63
63
  ],
64
64
  "dependencies": {
65
65
  "remeda": "^2.17.3",
66
- "@kubb/core": "3.0.10",
67
- "@kubb/fs": "3.0.10",
68
- "@kubb/oas": "3.0.10",
69
- "@kubb/plugin-oas": "3.0.10",
70
- "@kubb/plugin-ts": "3.0.10",
71
- "@kubb/plugin-zod": "3.0.10",
72
- "@kubb/react": "3.0.10"
66
+ "@kubb/core": "3.0.12",
67
+ "@kubb/fs": "3.0.12",
68
+ "@kubb/oas": "3.0.12",
69
+ "@kubb/plugin-oas": "3.0.12",
70
+ "@kubb/plugin-ts": "3.0.12",
71
+ "@kubb/plugin-zod": "3.0.12",
72
+ "@kubb/react": "3.0.12"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/react": "^18.3.12",
76
76
  "react": "^18.3.1",
77
77
  "tsup": "^8.3.5",
78
- "typescript": "^5.6.3",
79
- "@kubb/config-ts": "3.0.10",
80
- "@kubb/config-tsup": "3.0.10"
78
+ "typescript": "^5.7.2",
79
+ "@kubb/config-ts": "3.0.12",
80
+ "@kubb/config-tsup": "3.0.12"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@kubb/react": "^3.0.0"
@@ -12,7 +12,7 @@ import { unref } from "vue";
12
12
  /**
13
13
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
14
14
  * @summary Finds Pets by tags
15
- * @link /pet/findByTags
15
+ * {@link /pet/findByTags}
16
16
  */
17
17
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
18
18
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -33,7 +33,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
33
33
  /**
34
34
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
35
35
  * @summary Finds Pets by tags
36
- * @link /pet/findByTags
36
+ * {@link /pet/findByTags}
37
37
  */
38
38
  export function useFindPetsByTags<TData = ResponseConfig<FindPetsByTagsQueryResponse>, TQueryData = ResponseConfig<FindPetsByTagsQueryResponse>, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: MaybeRef<FindPetsByTagsHeaderParams>, params?: MaybeRef<FindPetsByTagsQueryParams>, options: {
39
39
  query?: Partial<QueryObserverOptions<ResponseConfig<FindPetsByTagsQueryResponse>, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -12,7 +12,7 @@ import { unref } from "vue";
12
12
  /**
13
13
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
14
14
  * @summary Finds Pets by tags
15
- * @link /pet/findByTags
15
+ * {@link /pet/findByTags}
16
16
  */
17
17
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
18
18
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -33,7 +33,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
33
33
  /**
34
34
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
35
35
  * @summary Finds Pets by tags
36
- * @link /pet/findByTags
36
+ * {@link /pet/findByTags}
37
37
  */
38
38
  export function useFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: MaybeRef<FindPetsByTagsHeaderParams>, params?: MaybeRef<FindPetsByTagsQueryParams>, options: {
39
39
  query?: Partial<QueryObserverOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -10,7 +10,7 @@ import { useMutation } from "@tanstack/vue-query";
10
10
 
11
11
  /**
12
12
  * @summary Updates a pet in the store with form data
13
- * @link /pet/:petId
13
+ * {@link /pet/:petId}
14
14
  */
15
15
  async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], data?: UpdatePetWithFormMutationRequest, params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig<UpdatePetWithFormMutationRequest>> = {}) {
16
16
  const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, UpdatePetWithFormMutationRequest>({ method: "POST", url: `/pet/${petId}`, params, data, ...config });
@@ -19,7 +19,7 @@ async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], da
19
19
 
20
20
  /**
21
21
  * @summary Updates a pet in the store with form data
22
- * @link /pet/:petId
22
+ * {@link /pet/:petId}
23
23
  */
24
24
  export function useUpdatePetWithForm(options: {
25
25
  mutation?: MutationObserverOptions<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, {
@@ -12,7 +12,7 @@ import { unref } from "vue";
12
12
  /**
13
13
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
14
14
  * @summary Finds Pets by tags
15
- * @link /pet/findByTags
15
+ * {@link /pet/findByTags}
16
16
  */
17
17
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
18
18
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -33,7 +33,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
33
33
  /**
34
34
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
35
35
  * @summary Finds Pets by tags
36
- * @link /pet/findByTags
36
+ * {@link /pet/findByTags}
37
37
  */
38
38
  export function useFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: MaybeRef<FindPetsByTagsHeaderParams>, params?: MaybeRef<FindPetsByTagsQueryParams>, options: {
39
39
  query?: Partial<QueryObserverOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -12,7 +12,7 @@ import { unref } from "vue";
12
12
  /**
13
13
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
14
14
  * @summary Finds Pets by tags
15
- * @link /pet/findByTags
15
+ * {@link /pet/findByTags}
16
16
  */
17
17
  async function findPetsByTags({ headers, params }: {
18
18
  headers: FindPetsByTagsHeaderParams;
@@ -39,7 +39,7 @@ async function findPetsByTags({ headers, params }: {
39
39
  /**
40
40
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
41
41
  * @summary Finds Pets by tags
42
- * @link /pet/findByTags
42
+ * {@link /pet/findByTags}
43
43
  */
44
44
  export function useFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>({ headers, params }: {
45
45
  headers: MaybeRef<FindPetsByTagsHeaderParams>;
@@ -12,7 +12,7 @@ import { unref } from "vue";
12
12
  /**
13
13
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
14
14
  * @summary Finds Pets by tags
15
- * @link /pet/findByTags
15
+ * {@link /pet/findByTags}
16
16
  */
17
17
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
18
18
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -33,7 +33,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
33
33
  /**
34
34
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
35
35
  * @summary Finds Pets by tags
36
- * @link /pet/findByTags
36
+ * {@link /pet/findByTags}
37
37
  */
38
38
  export function useFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: MaybeRef<FindPetsByTagsHeaderParams>, params?: MaybeRef<FindPetsByTagsQueryParams>, options: {
39
39
  query?: Partial<QueryObserverOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -12,7 +12,7 @@ import { unref } from "vue";
12
12
  /**
13
13
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
14
14
  * @summary Finds Pets by tags
15
- * @link /pet/findByTags
15
+ * {@link /pet/findByTags}
16
16
  */
17
17
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
18
18
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -33,7 +33,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
33
33
  /**
34
34
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
35
35
  * @summary Finds Pets by tags
36
- * @link /pet/findByTags
36
+ * {@link /pet/findByTags}
37
37
  */
38
38
  export function useFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: MaybeRef<FindPetsByTagsHeaderParams>, params?: MaybeRef<FindPetsByTagsQueryParams>, options: {
39
39
  query?: Partial<QueryObserverOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -12,7 +12,7 @@ import { unref } from "vue";
12
12
  /**
13
13
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
14
14
  * @summary Finds Pets by tags
15
- * @link /pet/findByTags
15
+ * {@link /pet/findByTags}
16
16
  */
17
17
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
18
18
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -33,7 +33,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
33
33
  /**
34
34
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
35
35
  * @summary Finds Pets by tags
36
- * @link /pet/findByTags
36
+ * {@link /pet/findByTags}
37
37
  */
38
38
  export function useFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: MaybeRef<FindPetsByTagsHeaderParams>, params?: MaybeRef<FindPetsByTagsQueryParams>, options: {
39
39
  query?: Partial<QueryObserverOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -11,7 +11,7 @@ import { infiniteQueryOptions, useInfiniteQuery } from "@tanstack/react-query";
11
11
  /**
12
12
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
13
13
  * @summary Finds Pets by tags
14
- * @link /pet/findByTags
14
+ * {@link /pet/findByTags}
15
15
  */
16
16
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
17
17
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -38,7 +38,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
38
38
  /**
39
39
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
40
40
  * @summary Finds Pets by tags
41
- * @link /pet/findByTags
41
+ * {@link /pet/findByTags}
42
42
  */
43
43
  export function useFindPetsByTagsInfinite<TData = InfiniteData<FindPetsByTagsQueryResponse>, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsInfiniteQueryKey>(headers: MaybeRef<FindPetsByTagsHeaderParams>, params?: MaybeRef<FindPetsByTagsQueryParams>, options: {
44
44
  query?: Partial<InfiniteQueryObserverOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -11,7 +11,7 @@ import { infiniteQueryOptions, useInfiniteQuery } from "@tanstack/react-query";
11
11
  /**
12
12
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
13
13
  * @summary Finds Pets by tags
14
- * @link /pet/findByTags
14
+ * {@link /pet/findByTags}
15
15
  */
16
16
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
17
17
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -38,7 +38,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
38
38
  /**
39
39
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
40
40
  * @summary Finds Pets by tags
41
- * @link /pet/findByTags
41
+ * {@link /pet/findByTags}
42
42
  */
43
43
  export function useFindPetsByTagsInfinite<TData = InfiniteData<FindPetsByTagsQueryResponse>, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsInfiniteQueryKey>(headers: MaybeRef<FindPetsByTagsHeaderParams>, params?: MaybeRef<FindPetsByTagsQueryParams>, options: {
44
44
  query?: Partial<InfiniteQueryObserverOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -11,7 +11,7 @@ import { unref } from "vue";
11
11
 
12
12
  /**
13
13
  * @summary Updates a pet in the store with form data
14
- * @link /pet/:petId
14
+ * {@link /pet/:petId}
15
15
  */
16
16
  async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], data?: UpdatePetWithFormMutationRequest, params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig<UpdatePetWithFormMutationRequest>> = {}) {
17
17
  const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, UpdatePetWithFormMutationRequest>({ method: "POST", url: `/pet/${petId}`, params, data, ...config });
@@ -32,7 +32,7 @@ async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], da
32
32
 
33
33
  /**
34
34
  * @summary Updates a pet in the store with form data
35
- * @link /pet/:petId
35
+ * {@link /pet/:petId}
36
36
  */
37
37
  export function useUpdatePetWithForm<TData = UpdatePetWithFormMutationResponse, TQueryData = UpdatePetWithFormMutationResponse, TQueryKey extends QueryKey = UpdatePetWithFormQueryKey>(petId: MaybeRef<UpdatePetWithFormPathParams["petId"]>, data?: MaybeRef<UpdatePetWithFormMutationRequest>, params?: MaybeRef<UpdatePetWithFormQueryParams>, options: {
38
38
  query?: Partial<QueryObserverOptions<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, TData, TQueryData, TQueryKey>>;
@@ -10,7 +10,7 @@ import { useMutation } from "@tanstack/vue-query";
10
10
 
11
11
  /**
12
12
  * @summary Updates a pet in the store with form data
13
- * @link /pet/:petId
13
+ * {@link /pet/:petId}
14
14
  */
15
15
  async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], data?: UpdatePetWithFormMutationRequest, params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig<UpdatePetWithFormMutationRequest>> = {}) {
16
16
  const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, UpdatePetWithFormMutationRequest>({ method: "POST", url: `/pet/${petId}`, params, data, ...config });
@@ -19,7 +19,7 @@ async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], da
19
19
 
20
20
  /**
21
21
  * @summary Updates a pet in the store with form data
22
- * @link /pet/:petId
22
+ * {@link /pet/:petId}
23
23
  */
24
24
  export function useUpdatePetWithForm(options: {
25
25
  mutation?: MutationObserverOptions<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, {
@@ -10,7 +10,7 @@ import { useMutation } from "@tanstack/vue-query";
10
10
 
11
11
  /**
12
12
  * @summary Updates a pet in the store with form data
13
- * @link /pet/:petId
13
+ * {@link /pet/:petId}
14
14
  */
15
15
  async function updatePetWithForm({ petId }: {
16
16
  petId: UpdatePetWithFormPathParams["petId"];
@@ -21,7 +21,7 @@ async function updatePetWithForm({ petId }: {
21
21
 
22
22
  /**
23
23
  * @summary Updates a pet in the store with form data
24
- * @link /pet/:petId
24
+ * {@link /pet/:petId}
25
25
  */
26
26
  export function useUpdatePetWithForm(options: {
27
27
  mutation?: MutationObserverOptions<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, {