MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / useSearchLabels

Function useSearchLabels

src/api/labels/labels.ts:138–145  ·  view source on GitHub ↗
(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof searchLabels>>, TError,{data: SearchLabelsBody}, TContext>, }
)

Source from the content-addressed store, hash-verified

136 export type SearchLabelsMutationError = unknown
137
138 export const useSearchLabels = <TError = unknown,
139 TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof searchLabels>>, TError,{data: SearchLabelsBody}, TContext>, }
140) => {
141
142 const mutationOptions = getSearchLabelsMutationOptions(options);
143
144 return useMutation(mutationOptions);
145 }
146 /**
147 * Get category for a list of labels
148 */

Callers 1

SearchBarFunction · 0.90

Calls 1

Tested by

no test coverage detected