← All changes
|
build/scripts/block-library/playlist-track/block.json
+16
-8
23.6.2
→
trunk
View file →
| @@ -14,12 +14,14 @@ | ||
| 14 | 14 | "type": "string", |
| 15 | 15 | "role": "local" |
| 16 | 16 | }, |
| 17 | 17 | "id": { |
| 18 | - "type": "number" | |
| 18 | + "type": "number", | |
| 19 | + "role": "content" | |
| 19 | 20 | }, |
| 20 | 21 | "src": { |
| 21 | - "type": "string" | |
| 22 | + "type": "string", | |
| 23 | + "role": "content" | |
| 22 | 24 | }, |
| 23 | 25 | "type": { |
| 24 | 26 | "type": "string", |
| 25 | 27 | "default": "audio" |
| @@ -24,24 +26,30 @@ | ||
| 24 | 26 | "type": "string", |
| 25 | 27 | "default": "audio" |
| 26 | 28 | }, |
| 27 | 29 | "album": { |
| 28 | - "type": "string" | |
| 30 | + "type": "string", | |
| 31 | + "role": "content" | |
| 29 | 32 | }, |
| 30 | 33 | "artist": { |
| 31 | - "type": "string" | |
| 34 | + "type": "string", | |
| 35 | + "role": "content" | |
| 32 | 36 | }, |
| 33 | 37 | "image": { |
| 34 | - "type": "string" | |
| 38 | + "type": "string", | |
| 39 | + "role": "content" | |
| 35 | 40 | }, |
| 36 | 41 | "imageAlt": { |
| 37 | - "type": "string" | |
| 42 | + "type": "string", | |
| 43 | + "role": "content" | |
| 38 | 44 | }, |
| 39 | 45 | "length": { |
| 40 | - "type": "string" | |
| 46 | + "type": "string", | |
| 47 | + "role": "content" | |
| 41 | 48 | }, |
| 42 | 49 | "title": { |
| 43 | - "type": "string" | |
| 50 | + "type": "string", | |
| 51 | + "role": "content" | |
| 44 | 52 | } |
| 45 | 53 | }, |
| 46 | 54 | "supports": { |
| 47 | 55 | "html": false, |