# Helpers

## $app

{% hint style="info" %}
Only available in the UI context.
{% endhint %}

```typescript
$ui.register((ctx) => {

    $app.getVersion() // "2.8.0"
    $app.getVersionName() // "Gold"
    
    // Invalidate certain queries to cause the client to refetch them automatically
    // Find the query keys here: https://github.com/5rahim/seanime/blob/main/internal/events/endpoints.go
    $app.invalidateClientQuery([])

})
```

