(resources: Resources | undefined)
| 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>> |
no outgoing calls
no test coverage detected
searching dependent graphs…