feat: Refactor utility and component exports, update dependencies, and add Knip for unused code detection.
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user