Function useAddEditorToProject
- useAddEditorToProject<TError = ErrorType<void | DmError>, TContext = unknown>(
options?: {
mutation?: UseMutationOptions<
TError,
{ projectId: string; userId: string },
TContext,
>;
request?: AxiosRequestConfig;
},
): UseMutationResult<
void,
TError,
{ projectId: string; userId: string },
TContext,
> Parameters
Optional
options: {
mutation?: UseMutationOptions<
TError,
{ projectId: string; userId: string },
TContext,
>;
request?: AxiosRequestConfig;
}
Returns UseMutationResult<void, TError, { projectId: string; userId: string }, TContext>