@kubb/plugin-swr 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-swr",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
4
4
  "description": "Generator plugin-swr",
5
5
  "keywords": [
6
6
  "typescript",
@@ -64,22 +64,22 @@
64
64
  ],
65
65
  "dependencies": {
66
66
  "remeda": "^2.17.3",
67
- "@kubb/core": "3.0.10",
68
- "@kubb/fs": "3.0.10",
69
- "@kubb/oas": "3.0.10",
70
- "@kubb/plugin-client": "3.0.10",
71
- "@kubb/plugin-oas": "3.0.10",
72
- "@kubb/plugin-ts": "3.0.10",
73
- "@kubb/plugin-zod": "3.0.10",
74
- "@kubb/react": "3.0.10"
67
+ "@kubb/core": "3.0.12",
68
+ "@kubb/fs": "3.0.12",
69
+ "@kubb/oas": "3.0.12",
70
+ "@kubb/plugin-client": "3.0.12",
71
+ "@kubb/plugin-oas": "3.0.12",
72
+ "@kubb/plugin-ts": "3.0.12",
73
+ "@kubb/plugin-zod": "3.0.12",
74
+ "@kubb/react": "3.0.12"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@types/react": "^18.3.12",
78
78
  "react": "^18.3.1",
79
79
  "tsup": "^8.3.5",
80
- "typescript": "^5.6.3",
81
- "@kubb/config-ts": "3.0.10",
82
- "@kubb/config-tsup": "3.0.10"
80
+ "typescript": "^5.7.2",
81
+ "@kubb/config-ts": "3.0.12",
82
+ "@kubb/config-tsup": "3.0.12"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "@kubb/react": "^3.0.0"
@@ -9,7 +9,7 @@ import type { RequestConfig, ResponseConfig } from "@kubb/plugin-client/client";
9
9
  /**
10
10
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
11
11
  * @summary Finds Pets by tags
12
- * @link /pet/findByTags
12
+ * {@link /pet/findByTags}
13
13
  */
14
14
  async function findPetsByTags({ params }: {
15
15
  params?: FindPetsByTagsQueryParams;
@@ -31,7 +31,7 @@ async function findPetsByTags({ params }: {
31
31
  /**
32
32
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
33
33
  * @summary Finds Pets by tags
34
- * @link /pet/findByTags
34
+ * {@link /pet/findByTags}
35
35
  */
36
36
  export function useFindPetsByTags({ params }: {
37
37
  params?: FindPetsByTagsQueryParams;
@@ -9,7 +9,7 @@ import type { RequestConfig } from "axios";
9
9
  /**
10
10
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
11
11
  * @summary Finds Pets by tags
12
- * @link /pet/findByTags
12
+ * {@link /pet/findByTags}
13
13
  */
14
14
  async function findPetsByTags({ params }: {
15
15
  params?: FindPetsByTagsQueryParams;
@@ -31,7 +31,7 @@ async function findPetsByTags({ params }: {
31
31
  /**
32
32
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
33
33
  * @summary Finds Pets by tags
34
- * @link /pet/findByTags
34
+ * {@link /pet/findByTags}
35
35
  */
36
36
  export function useFindPetsByTags({ params }: {
37
37
  params?: FindPetsByTagsQueryParams;
@@ -8,7 +8,7 @@ import type { RequestConfig } from "axios";
8
8
 
9
9
  /**
10
10
  * @summary Updates a pet in the store with form data
11
- * @link /pet/:petId
11
+ * {@link /pet/:petId}
12
12
  */
13
13
  async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig> = {}) {
14
14
  const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, unknown>({ method: "POST", url: `/pet/${petId}`, params, ...config });
@@ -17,7 +17,7 @@ async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], pa
17
17
 
18
18
  /**
19
19
  * @summary Updates a pet in the store with form data
20
- * @link /pet/:petId
20
+ * {@link /pet/:petId}
21
21
  */
22
22
  export function useUpdatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], params?: UpdatePetWithFormQueryParams, options: {
23
23
  mutation?: Parameters<typeof useSWRMutation<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, UpdatePetWithFormMutationKey>>[2];
@@ -9,7 +9,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
9
9
  /**
10
10
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
11
11
  * @summary Finds Pets by tags
12
- * @link /pet/findByTags
12
+ * {@link /pet/findByTags}
13
13
  */
14
14
  async function findPetsByTags({ params }: {
15
15
  params?: FindPetsByTagsQueryParams;
@@ -31,7 +31,7 @@ async function findPetsByTags({ params }: {
31
31
  /**
32
32
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
33
33
  * @summary Finds Pets by tags
34
- * @link /pet/findByTags
34
+ * {@link /pet/findByTags}
35
35
  */
36
36
  export function useFindPetsByTags({ params }: {
37
37
  params?: FindPetsByTagsQueryParams;
@@ -9,7 +9,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
9
9
  /**
10
10
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
11
11
  * @summary Finds Pets by tags
12
- * @link /pet/findByTags
12
+ * {@link /pet/findByTags}
13
13
  */
14
14
  async function findPetsByTags({ params }: {
15
15
  params?: FindPetsByTagsQueryParams;
@@ -31,7 +31,7 @@ async function findPetsByTags({ params }: {
31
31
  /**
32
32
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
33
33
  * @summary Finds Pets by tags
34
- * @link /pet/findByTags
34
+ * {@link /pet/findByTags}
35
35
  */
36
36
  export function useFindPetsByTags({ params }: {
37
37
  params?: FindPetsByTagsQueryParams;
@@ -9,7 +9,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
9
9
  /**
10
10
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
11
11
  * @summary Finds Pets by tags
12
- * @link /pet/findByTags
12
+ * {@link /pet/findByTags}
13
13
  */
14
14
  async function findPetsByTags({ params }: {
15
15
  params?: FindPetsByTagsQueryParams;
@@ -31,7 +31,7 @@ async function findPetsByTags({ params }: {
31
31
  /**
32
32
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
33
33
  * @summary Finds Pets by tags
34
- * @link /pet/findByTags
34
+ * {@link /pet/findByTags}
35
35
  */
36
36
  export function useFindPetsByTags({ params }: {
37
37
  params?: FindPetsByTagsQueryParams;
@@ -9,7 +9,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
9
9
  /**
10
10
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
11
11
  * @summary Finds Pets by tags
12
- * @link /pet/findByTags
12
+ * {@link /pet/findByTags}
13
13
  */
14
14
  async function findPetsByTags({ params }: {
15
15
  params?: FindPetsByTagsQueryParams;
@@ -31,7 +31,7 @@ async function findPetsByTags({ params }: {
31
31
  /**
32
32
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
33
33
  * @summary Finds Pets by tags
34
- * @link /pet/findByTags
34
+ * {@link /pet/findByTags}
35
35
  */
36
36
  export function useFindPetsByTags({ params }: {
37
37
  params?: FindPetsByTagsQueryParams;
@@ -8,7 +8,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
8
8
 
9
9
  /**
10
10
  * @summary Updates a pet in the store with form data
11
- * @link /pet/:petId
11
+ * {@link /pet/:petId}
12
12
  */
13
13
  async function updatePetWithForm({ petId, params }: {
14
14
  petId: UpdatePetWithFormPathParams["petId"];
@@ -31,7 +31,7 @@ async function updatePetWithForm({ petId, params }: {
31
31
 
32
32
  /**
33
33
  * @summary Updates a pet in the store with form data
34
- * @link /pet/:petId
34
+ * {@link /pet/:petId}
35
35
  */
36
36
  export function useUpdatePetWithForm({ petId, params }: {
37
37
  petId: UpdatePetWithFormPathParams["petId"];
@@ -8,7 +8,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
8
8
 
9
9
  /**
10
10
  * @summary Updates a pet in the store with form data
11
- * @link /pet/:petId
11
+ * {@link /pet/:petId}
12
12
  */
13
13
  async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig> = {}) {
14
14
  const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, unknown>({ method: "POST", url: `/pet/${petId}`, params, ...config });
@@ -17,7 +17,7 @@ async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], pa
17
17
 
18
18
  /**
19
19
  * @summary Updates a pet in the store with form data
20
- * @link /pet/:petId
20
+ * {@link /pet/:petId}
21
21
  */
22
22
  export function useUpdatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], params?: UpdatePetWithFormQueryParams, options: {
23
23
  mutation?: Parameters<typeof useSWRMutation<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, UpdatePetWithFormMutationKey>>[2];
@@ -8,7 +8,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
8
8
 
9
9
  /**
10
10
  * @summary Updates a pet in the store with form data
11
- * @link /pet/:petId
11
+ * {@link /pet/:petId}
12
12
  */
13
13
  async function updatePetWithForm({ petId }: {
14
14
  petId: UpdatePetWithFormPathParams["petId"];
@@ -19,7 +19,7 @@ async function updatePetWithForm({ petId }: {
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({ petId }: {
25
25
  petId: UpdatePetWithFormPathParams["petId"];