feat: Refactor utility and component exports, update dependencies, and add Knip for unused code detection.

This commit is contained in:
2025-12-04 11:58:04 +01:00
parent c3375b714d
commit 2ea74816fb
65 changed files with 624 additions and 707 deletions
@@ -6,8 +6,6 @@ import type {
} from '../utils/ocr';
import type { Document } from '../types/documents';
export type { Document };
const asyncFalse = async () => false;
const resolveDocumentDownloadHref = (document?: Document | null): string | null => {
@@ -82,8 +80,3 @@ export const createDocumentActionState = ({
openOcr,
};
};
export const documentActionsTestExports = {
resolveDocumentDownloadHref,
hasDocumentTextContentAsset,
};