| @@ -3,11 +3,11 @@ | ||
| 3 | 3 | "apiVersion": 3, |
| 4 | 4 | "name": "yatra/activity", |
| 5 | 5 | "title": "Activity", |
| 6 | 6 | "category": "yatra", |
| 7 | - "icon": "buddicons-pm", | |
| 7 | + "icon": "universal-access", | |
| 8 | 8 | "description": "Display activity listings with customizable options", |
| 9 | - "keywords": ["activity", "things to do", "yatra"], | |
| 9 | + "keywords": ["activity", "adventure", "yatra"], | |
| 10 | 10 | "textdomain": "yatra", |
| 11 | 11 | "attributes": { |
| 12 | 12 | "order": { |
| 13 | 13 | "type": "string", |
| @@ -25,8 +25,29 @@ | ||
| 25 | 25 | "type": "string", |
| 26 | 26 | "default": "Activity Listings" |
| 27 | 27 | }, |
| 28 | 28 | "show_pagination": { |
| 29 | + "type": "boolean", | |
| 30 | + "default": true | |
| 31 | + }, | |
| 32 | + "activityIds": { | |
| 33 | + "type": "array", | |
| 34 | + "default": [] | |
| 35 | + }, | |
| 36 | + "hide_empty": { | |
| 37 | + "type": "boolean", | |
| 38 | + "default": false, | |
| 39 | + "description": "When on, activities with zero published trips are skipped. Off by default to preserve the historical 'show everything' behavior." | |
| 40 | + }, | |
| 41 | + "show_trip_count": { | |
| 42 | + "type": "boolean", | |
| 43 | + "default": true | |
| 44 | + }, | |
| 45 | + "show_description": { | |
| 46 | + "type": "boolean", | |
| 47 | + "default": true | |
| 48 | + }, | |
| 49 | + "show_image": { | |
| 29 | 50 | "type": "boolean", |
| 30 | 51 | "default": true |
| 31 | 52 | } |
| 32 | 53 | }, |