MCPcopy Create free account
hub / github.com/effect-app/libs / makeQueryResources

Function makeQueryResources

packages/vue/src/makeClient.ts:867–872  ·  view source on GitHub ↗
(resources: Resources | undefined)

Source from the content-addressed store, hash-verified

865 ? mergeInvalidation(defaultInvalidation, callerOpts.queryInvalidation)
866 : defaultInvalidation
867 })
868 return (input: any, callerOpts?: MutationOptionsBase) => mut(input, apply(callerOpts))
869 }
870
871 const makeQueryResources = <Resources extends InvalidationResources>(resources: Resources | undefined) => {
872 if (!resources) {
873 return {} as Record<string, Record<string, unknown>>
874 }
875 return resources as Record<string, Record<string, unknown>>

Callers 2

mapMutationFunction · 0.85
mapClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…