@kubb/plugin-react-query 5.0.0-beta.106 → 5.0.0-beta.109
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -56,7 +56,7 @@ function operationFileEntry(node, name, extname = ".ts") {
|
|
|
56
56
|
*/
|
|
57
57
|
function resolveDependencyOperationFile(options) {
|
|
58
58
|
const { cache, node, resolver, root, output, group } = options;
|
|
59
|
-
return cache.
|
|
59
|
+
return cache.ensureItem(`${resolver.pluginName}:operationFile`, () => resolver.file({
|
|
60
60
|
...operationFileEntry(node, node.operationId),
|
|
61
61
|
root,
|
|
62
62
|
output,
|
|
@@ -420,7 +420,7 @@ function resolveContractClient(options) {
|
|
|
420
420
|
function resolveClientOperation(options) {
|
|
421
421
|
const { clientPlugin, driver, node, root, output, cache } = options;
|
|
422
422
|
if (!clientPlugin) return null;
|
|
423
|
-
return cache.
|
|
423
|
+
return cache.ensureItem(`${clientPlugin.pluginName}:clientOperation`, () => {
|
|
424
424
|
const resolver = driver.getResolver(clientPlugin.pluginName);
|
|
425
425
|
const plugin = driver.getPlugin(clientPlugin.pluginName);
|
|
426
426
|
const file = resolver.file({
|