interface SitePlugin { /** The plugin file path */ plugin: string; /** The plugin activation status */ status: 'inactive' | 'active'; /** The plugin name */ name: string; /** The plugin's website address */ plugin_uri: string; /** The plugin author information */ author: { name: string; uri?: string; }; /** Plugin author's website address */ author_uri: string; /** The plugin description */ description: { raw: string; rendered: string; }; /** The plugin version number */ version: string; /** Whether the plugin can only be activated network-wide */ network_only: boolean; /** Minimum required version of WordPress */ requires_wp: string; /** Minimum required version of PHP */ requires_php: string; /** The plugin's text domain */ textdomain: string; } type WpRestPluginsResponse = SitePlugin[];