refactor: improve type safety by replacing any types with specific interfaces across API services and components.
This commit is contained in:
@@ -23,7 +23,8 @@ export interface MediaItem {
|
||||
original_name: string;
|
||||
mime_type: string;
|
||||
size: number;
|
||||
file_metadata: any;
|
||||
file_metadata: Record<string, unknown> | null;
|
||||
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user