2024-09-24 23:40:27 +01:00
|
|
|
interface ImageAsset {
|
|
|
|
asset_id: string;
|
|
|
|
public_id: string;
|
2024-09-25 20:20:44 +01:00
|
|
|
display_name: string;
|
2024-09-24 23:40:27 +01:00
|
|
|
format: "jpg" | "png" | "heic";
|
|
|
|
version: number;
|
|
|
|
resource_type: "image";
|
|
|
|
type: "upload";
|
|
|
|
bytes: number;
|
|
|
|
width: number;
|
|
|
|
height: number;
|
|
|
|
secure_url: string;
|
2024-09-25 19:13:53 +01:00
|
|
|
thumbnail_url: string;
|
|
|
|
source_url?: string;
|
|
|
|
creator_name?: string;
|
2024-09-25 19:48:03 +01:00
|
|
|
is_ai_generated?: boolean;
|
2024-09-24 23:40:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export type { ImageAsset };
|