listWidgetTypes
List every registered widget type that has a usable form component, from the shared dashboardWidgetRegistry.
import { listWidgetTypes } from '@conduction/nextcloud-vue'
const types = listWidgetTypes() // → ['text', 'image', 'link', …]
Return value
| Type | Description |
|---|---|
string[] | The registered type keys whose entry has a non-null form. |
The CnAddWidgetModal type picker calls this. Renderer-only types (entries with a null/undefined form) are excluded so the user is never offered a type they cannot configure.
See dashboardWidgetRegistry for the full registry API.