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
+1 -12
View File
@@ -342,15 +342,4 @@ api.interceptors.response.use(
},
);
export type {
DownloadLink,
DocumentResponse,
AssetResponse,
FolderTreeNode,
CapabilitySetResponse,
CapabilityResponse,
ApiTokenRecord,
PasskeySummary,
Identifier,
TenantSnippet,
} from './apiTypes';
export type { ApiTokenRecord } from './apiTypes';
+3 -3
View File
@@ -14,7 +14,7 @@ export interface TagResponse {
color?: string | null;
}
export interface CorrespondentResponse {
interface CorrespondentResponse {
id: string;
name: string;
metadata: Record<string, unknown>;
@@ -29,7 +29,7 @@ export interface AssetResponse {
[key: string]: unknown;
}
export interface DocumentVersionResponse {
interface DocumentVersionResponse {
id: string;
version_number: number;
size_bytes: number;
@@ -57,7 +57,7 @@ export interface DocumentResponse {
current_version?: DocumentVersionResponse | null;
}
export interface FolderInfo {
interface FolderInfo {
id: string;
name: string;
parent_id?: string | null;