Stirling-PDF/frontend/src/hooks/tools/removeAnnotations/useRemoveAnnotationsParameters.ts
Anthony Stirling c7e0ea5b5b
Add React-based remove annotations tool (#4504)
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-26 15:45:51 +01:00

14 lines
505 B
TypeScript

import { useBaseParameters } from '../shared/useBaseParameters';
export type RemoveAnnotationsParameters = Record<string, never>
export const defaultParameters: RemoveAnnotationsParameters = {
};
export const useRemoveAnnotationsParameters = () => {
return useBaseParameters<RemoveAnnotationsParameters>({
defaultParameters,
endpointName: 'remove-annotations', // Not used for client-side processing, but required by base hook
validateFn: () => true, // No parameters to validate
});
};