{
  "name": "cloudinary",
  "type": "storage",
  "priority": 5,
  "operations": [
    {
      "type": "create-file",
      "source": "express/config/media.ts",
      "destination": "src/config/*",
      "condition": { "framework": "express" }
    },
    {
      "type": "create-file",
      "source": "express/modules/media/*",
      "destination": "src/modules/media/*",
      "condition": { "framework": "express" }
    },
    {
      "type": "add-dependency",
      "condition": { "framework": "express" },
      "dependencies": {
         "cloudinary": "^2.10.0"
      }
    },
    {
      "type": "add-env",
      "condition": { "framework": "express" },
      "envVars": {
        "CLOUDINARY_CLOUD_NAME": "your_cloud_name",
        "CLOUDINARY_API_KEY": "your_api_key",
        "CLOUDINARY_API_SECRET": "your_api_secret",
        "CLOUDINARY_UPLOAD_PRESET": "your_upload_preset"
      }
    }
  ]
}
