@kubb/plugin-vue-query 5.5.0 → 5.5.1
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/dist/index.cjs +443 -553
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -17
- package/dist/index.js +445 -551
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,9 @@
|
|
|
1
1
|
import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
|
|
2
|
-
import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
|
|
2
|
+
import { Diagnostics, Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
|
|
3
3
|
import "@kubb/plugin-ts";
|
|
4
4
|
import "kubb/jsx";
|
|
5
5
|
import "@kubb/plugin-zod";
|
|
6
6
|
//#region ../../internals/client/src/resolveClient.d.ts
|
|
7
|
-
/**
|
|
8
|
-
* Resolves which client plugin a consumer (react-query, vue-query, swr, mcp) should call for an
|
|
9
|
-
* operation, shared so the selection rules and diagnostics stay in one place.
|
|
10
|
-
*
|
|
11
|
-
* Every client runtime lives in a dedicated client plugin, so a consumer always calls a registered
|
|
12
|
-
* contract client plugin (plugin-fetch, plugin-axios, or plugin-client) and never emits its own
|
|
13
|
-
* inline client:
|
|
14
|
-
*
|
|
15
|
-
* - `contract` — a registered contract client plugin owns the `<op>` functions and the consumer
|
|
16
|
-
* imports and calls them.
|
|
17
|
-
* - `error` — no client plugin is registered, several are registered without a selector, the
|
|
18
|
-
* requested one is missing, or `client` is not a known selector.
|
|
19
|
-
*
|
|
20
|
-
* The `client` string selects explicitly (`'fetch'` / `'axios'` / `'client'`); when it is unset a
|
|
21
|
-
* lone registered contract client plugin is picked up automatically.
|
|
22
|
-
*/
|
|
23
7
|
/**
|
|
24
8
|
* The client selector accepted by a consumer's `client` option. Each calls a registered contract
|
|
25
9
|
* client plugin.
|