@uportal/app-framework
Version:
Application Framework for uPortal
84 lines (83 loc) • 2.88 kB
JSON
{
"entry": {
"canAdd": false,
"layoutObject": {
"title": "All broken quantities",
"description": "action-items when all its items fail",
"url": "http://www.google.com",
"iconUrl": null,
"mdIcon": "bug_report",
"fname": "sample-widget__action-items_totally-broken",
"lifecycleState": "PUBLISHED",
"target": null,
"widgetURL": null,
"widgetType": "action-items",
"widgetTemplate": null,
"widgetConfig": {
"launchText": "See all",
"actionItems": [
{
"textSingular": "unconfigured feedUrl",
"textPlural": "unconfigured feedUrls",
"actionUrl": "http://www.google.com"
},
{
"textSingular": "missing JSON source",
"textPlural": "missing JSON sources",
"feedUrl": "does/not/exist/alas.json",
"actionUrl": "http://www.google.com"
},
{
"textSingular": "malformed response",
"textPlural": "malformed responses",
"feedUrl": "staticFeeds/example-json-callbacks/ill-formed.json",
"actionUrl": "http://www.google.com"
},
{
"textSingular": "nonsensical response",
"textPlural": "nonsensical responses",
"feedUrl":
"staticFeeds/example-json-callbacks/quantities/quantity_nonsense.json",
"actionUrl": "http://www.google.com"
},
{
"textSingular": "empty string",
"textPlural": "empty strings",
"feedUrl":
"staticFeeds/example-json-callbacks/quantities/quantity_empty-string.json",
"actionUrl": "http://www.google.com"
},
{
"textSingular": "unfulfilled schema",
"textPlural": "unfulfilled schemas",
"feedUrl": "list-of-links-via-url.json",
"actionUrl": "http://www.google.com"
},
{
"textSingular": "missing textPlural",
"feedUrl":
"staticFeeds/example-json-callbacks/quantities/quantity_0.json",
"actionUrl": "http://www.google.com"
}
]
},
"staticContent": "",
"altMaxUrl": true,
"renderOnWeb": false
},
"title": "All broken quantities",
"fname": "sample-widget__action-items_totally-broken",
"rating": 5.0,
"lifecycleState": "PUBLISHED",
"renderUrl": "http://www.google.com",
"maxUrl": "https://www.example.edu/approvals-dasboard",
"shortUrl": null,
"userRated": 45,
"mdIcon": "bug_report",
"description": "action-items when all its items fail",
"name": "All broken quantities",
"id": "222",
"type": "Portlet",
"target": "_blank"
}
}