@kubb/plugin-svelte-query 3.0.10 → 3.0.11

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-svelte-query",
3
- "version": "3.0.10",
3
+ "version": "3.0.11",
4
4
  "description": "Generator svelte-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.11",
67
+ "@kubb/fs": "3.0.11",
68
+ "@kubb/oas": "3.0.11",
69
+ "@kubb/plugin-oas": "3.0.11",
70
+ "@kubb/plugin-ts": "3.0.11",
71
+ "@kubb/plugin-zod": "3.0.11",
72
+ "@kubb/react": "3.0.11"
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
78
  "typescript": "^5.6.3",
79
- "@kubb/config-ts": "3.0.10",
80
- "@kubb/config-tsup": "3.0.10"
79
+ "@kubb/config-ts": "3.0.11",
80
+ "@kubb/config-tsup": "3.0.11"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@kubb/react": "^3.0.0"
@@ -10,7 +10,7 @@ import { queryOptions, createQuery } from "@tanstack/svelte-query";
10
10
  /**
11
11
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
12
12
  * @summary Finds Pets by tags
13
- * @link /pet/findByTags
13
+ * {@link /pet/findByTags}
14
14
  */
15
15
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
16
16
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -31,7 +31,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
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 createFindPetsByTags<TData = ResponseConfig<FindPetsByTagsQueryResponse>, TQueryData = ResponseConfig<FindPetsByTagsQueryResponse>, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, options: {
37
37
  query?: Partial<CreateBaseQueryOptions<ResponseConfig<FindPetsByTagsQueryResponse>, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -10,7 +10,7 @@ import { queryOptions, createQuery } from "@tanstack/svelte-query";
10
10
  /**
11
11
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
12
12
  * @summary Finds Pets by tags
13
- * @link /pet/findByTags
13
+ * {@link /pet/findByTags}
14
14
  */
15
15
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
16
16
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -31,7 +31,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
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 createFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, options: {
37
37
  query?: Partial<CreateBaseQueryOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -9,7 +9,7 @@ import { createMutation } from "@tanstack/svelte-query";
9
9
 
10
10
  /**
11
11
  * @summary Updates a pet in the store with form data
12
- * @link /pet/:petId
12
+ * {@link /pet/:petId}
13
13
  */
14
14
  async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], data?: UpdatePetWithFormMutationRequest, params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig<UpdatePetWithFormMutationRequest>> = {}) {
15
15
  const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, UpdatePetWithFormMutationRequest>({ method: "POST", url: `/pet/${petId}`, params, data, ...config });
@@ -18,7 +18,7 @@ async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], da
18
18
 
19
19
  /**
20
20
  * @summary Updates a pet in the store with form data
21
- * @link /pet/:petId
21
+ * {@link /pet/:petId}
22
22
  */
23
23
  export function createUpdatePetWithForm(options: {
24
24
  mutation?: CreateMutationOptions<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, {
@@ -10,7 +10,7 @@ import { queryOptions, createQuery } from "@tanstack/svelte-query";
10
10
  /**
11
11
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
12
12
  * @summary Finds Pets by tags
13
- * @link /pet/findByTags
13
+ * {@link /pet/findByTags}
14
14
  */
15
15
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
16
16
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -31,7 +31,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
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 createFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, options: {
37
37
  query?: Partial<CreateBaseQueryOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -10,7 +10,7 @@ import { queryOptions, createQuery } from "@tanstack/svelte-query";
10
10
  /**
11
11
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
12
12
  * @summary Finds Pets by tags
13
- * @link /pet/findByTags
13
+ * {@link /pet/findByTags}
14
14
  */
15
15
  async function findPetsByTags({ headers, params }: {
16
16
  headers: FindPetsByTagsHeaderParams;
@@ -37,7 +37,7 @@ async function findPetsByTags({ headers, params }: {
37
37
  /**
38
38
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
39
39
  * @summary Finds Pets by tags
40
- * @link /pet/findByTags
40
+ * {@link /pet/findByTags}
41
41
  */
42
42
  export function createFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>({ headers, params }: {
43
43
  headers: FindPetsByTagsHeaderParams;
@@ -10,7 +10,7 @@ import { queryOptions, createQuery } from "@tanstack/svelte-query";
10
10
  /**
11
11
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
12
12
  * @summary Finds Pets by tags
13
- * @link /pet/findByTags
13
+ * {@link /pet/findByTags}
14
14
  */
15
15
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
16
16
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -31,7 +31,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
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 createFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, options: {
37
37
  query?: Partial<CreateBaseQueryOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -10,7 +10,7 @@ import { queryOptions, createQuery } from "@tanstack/react-query";
10
10
  /**
11
11
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
12
12
  * @summary Finds Pets by tags
13
- * @link /pet/findByTags
13
+ * {@link /pet/findByTags}
14
14
  */
15
15
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
16
16
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -31,7 +31,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
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 createFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, options: {
37
37
  query?: Partial<CreateBaseQueryOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -10,7 +10,7 @@ import { queryOptions, createQuery } from "@tanstack/svelte-query";
10
10
  /**
11
11
  * @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
12
12
  * @summary Finds Pets by tags
13
- * @link /pet/findByTags
13
+ * {@link /pet/findByTags}
14
14
  */
15
15
  async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
16
16
  const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, headers: { ...headers, ...config.headers }, ...config });
@@ -31,7 +31,7 @@ async function findPetsByTags(headers: FindPetsByTagsHeaderParams, params?: Find
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 createFindPetsByTags<TData = FindPetsByTagsQueryResponse, TQueryData = FindPetsByTagsQueryResponse, TQueryKey extends QueryKey = FindPetsByTagsQueryKey>(headers: FindPetsByTagsHeaderParams, params?: FindPetsByTagsQueryParams, options: {
37
37
  query?: Partial<CreateBaseQueryOptions<FindPetsByTagsQueryResponse, FindPetsByTags400, TData, TQueryData, TQueryKey>>;
@@ -9,7 +9,7 @@ import { queryOptions, createQuery } from "custom-query";
9
9
 
10
10
  /**
11
11
  * @summary Updates a pet in the store with form data
12
- * @link /pet/:petId
12
+ * {@link /pet/:petId}
13
13
  */
14
14
  async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], data?: UpdatePetWithFormMutationRequest, params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig<UpdatePetWithFormMutationRequest>> = {}) {
15
15
  const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, UpdatePetWithFormMutationRequest>({ method: "POST", url: `/pet/${petId}`, params, data, ...config });
@@ -30,7 +30,7 @@ async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], da
30
30
 
31
31
  /**
32
32
  * @summary Updates a pet in the store with form data
33
- * @link /pet/:petId
33
+ * {@link /pet/:petId}
34
34
  */
35
35
  export function createUpdatePetWithForm<TData = UpdatePetWithFormMutationResponse, TQueryData = UpdatePetWithFormMutationResponse, TQueryKey extends QueryKey = UpdatePetWithFormQueryKey>(petId: UpdatePetWithFormPathParams["petId"], data?: UpdatePetWithFormMutationRequest, params?: UpdatePetWithFormQueryParams, options: {
36
36
  query?: Partial<CreateBaseQueryOptions<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, TData, TQueryData, TQueryKey>>;
@@ -9,7 +9,7 @@ import { createMutation } from "@tanstack/svelte-query";
9
9
 
10
10
  /**
11
11
  * @summary Updates a pet in the store with form data
12
- * @link /pet/:petId
12
+ * {@link /pet/:petId}
13
13
  */
14
14
  async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], data?: UpdatePetWithFormMutationRequest, params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig<UpdatePetWithFormMutationRequest>> = {}) {
15
15
  const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, UpdatePetWithFormMutationRequest>({ method: "POST", url: `/pet/${petId}`, params, data, ...config });
@@ -18,7 +18,7 @@ async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], da
18
18
 
19
19
  /**
20
20
  * @summary Updates a pet in the store with form data
21
- * @link /pet/:petId
21
+ * {@link /pet/:petId}
22
22
  */
23
23
  export function createUpdatePetWithForm(options: {
24
24
  mutation?: CreateMutationOptions<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, {
@@ -9,7 +9,7 @@ import { createMutation } from "@tanstack/svelte-query";
9
9
 
10
10
  /**
11
11
  * @summary Updates a pet in the store with form data
12
- * @link /pet/:petId
12
+ * {@link /pet/:petId}
13
13
  */
14
14
  async function updatePetWithForm({ petId }: {
15
15
  petId: UpdatePetWithFormPathParams["petId"];
@@ -20,7 +20,7 @@ async function updatePetWithForm({ petId }: {
20
20
 
21
21
  /**
22
22
  * @summary Updates a pet in the store with form data
23
- * @link /pet/:petId
23
+ * {@link /pet/:petId}
24
24
  */
25
25
  export function createUpdatePetWithForm(options: {
26
26
  mutation?: CreateMutationOptions<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, {