The headline figures for the available updates panel, so that the page doesn't have to aggregate over the list of updates in Velocity.
Properties
| Property | Returns | Description |
|---|---|---|
| appCount | int | Number of updates which are apps, as opposed to libs or themes. |
| libCount | int | Number of updates which are libs or themes, ie everything which isn't an app. |
| missingCount | int | Number of dependencies required by an active app that are not themselves active. |
| oldestAppliedDate | Date | Of the apps with updates available, the date the least recently updated one was last updated. Ie "your oldest updated app was last updated 3 years ago". Falls back to the oldest date across libs and themes if none of the updates are apps. |
| oldestAvailableDate | Date | Of the updates available, the date the longest-waiting one was published. Ie "updates have not been applied since 4 months ago". |
| totalCount | int | Total number of apps, themes and libs with an update available. |
Methods
getAppCount()
Returns: int
Number of updates which are apps, as opposed to libs or themes.
getLibCount()
Returns: int
Number of updates which are libs or themes, ie everything which isn't an app.
getTotalCount()
Returns: int
Total number of apps, themes and libs with an update available.
getMissingCount()
Returns: int
Number of dependencies required by an active app that are not themselves active.
getOldestAppliedDate()
Returns: Date
Of the apps with updates available, the date the least recently updated one was last updated. Ie "your oldest updated app was last updated 3 years ago". Falls back to the oldest date across libs and themes if none of the updates are apps.
getOldestAvailableDate()
Returns: Date
Of the updates available, the date the longest-waiting one was published. Ie "updates have not been applied since 4 months ago".