{"library":"wp-types","type":"library","category":null,"description":"TypeScript definitions for WordPress PHP objects and REST API responses (v4.70.1). Provides well-documented interfaces for WP_Post, WP_Term, WP_User, WP_Comment, WP_Error, WP_Query, WP_Block, and 30+ REST API endpoints including blocks, menus, templates, global styles, fonts, and media. Updated for WordPress 7.0. Released monthly via npm with semantic versioning. Differentiator: comprehensive coverage of WordPress core data structures and REST API schemas, auto-generated from WordPress source, with TypeScript 5.x support.","language":"javascript","status":"active","version":"4.70.1","tags":["javascript","typescript","wordpress"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install wp-types","imports":["import { WP_Post } from 'wp-types'","import { WP_REST_API_Post } from 'wp-types'","import { WP_User } from 'wp-types'","import type { WP_Error } from 'wp-types'","import { WP_REST_API_Blocks } from 'wp-types'"]},{"cmd":"yarn add wp-types","imports":[]},{"cmd":"pnpm add wp-types","imports":[]}],"homepage":"https://github.com/johnbillion/wp-json-schemas/tree/trunk/packages/wp-types","github":"https://github.com/johnbillion/wp-json-schemas","docs":null,"changelog":null,"pypi":null,"npm":"wp-types","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}