Created
October 8, 2022 14:02
-
-
Save thinkjrs/7128fc7952b7b33da373155428eb67ca to your computer and use it in GitHub Desktop.
Cloudinary TypeScript Payload Typing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type CloudinaryPayload = { | |
| id: string; | |
| batchId: string; | |
| asset_id: string; | |
| public_id: string; | |
| version: number; | |
| version_id: string; | |
| signature: string; | |
| width: number; | |
| height: number; | |
| format: string; | |
| resource_type: string; | |
| created_at: string; | |
| tags: any; | |
| bytes: number; | |
| type: string; | |
| etag: string; | |
| placeholder: boolean; | |
| url: string; | |
| secure_url: string; | |
| folder: string; | |
| access_mode: string; | |
| original_filename: string; | |
| original_extension: string; | |
| eager: Array<{ | |
| status: string; | |
| batch_id: string; | |
| url: string; | |
| secure_url: string; | |
| }>; | |
| path: string; | |
| thumbnail_url: string; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment