Skip to content

Commit

Permalink
Add a missing optional field.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Aug 23, 2024
1 parent 016ecf6 commit c8eb62f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/wp-types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3011,6 +3011,10 @@ export interface WP_REST_API_Block_Type {
* Unique name identifying the style.
*/
name: string;
/**
* Indicates whether the current variation is the default one.
*/
isDefault?: boolean;
/**
* The human-readable label for the style.
*/
Expand Down
4 changes: 4 additions & 0 deletions schemas/rest-api/block-type.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@
"description": "Unique name identifying the style.",
"type": "string"
},
"isDefault": {
"description": "Indicates whether the current variation is the default one.",
"type": "boolean"
},
"label": {
"description": "The human-readable label for the style.",
"type": "string"
Expand Down

0 comments on commit c8eb62f

Please sign in to comment.