feat: add v2 hub and widget create endpoints
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled

This commit is contained in:
2026-05-16 08:34:20 +02:00
parent 0a4646bf44
commit 4ebc04e1f4
11 changed files with 536 additions and 154 deletions

View File

@@ -285,6 +285,7 @@ data ApiDashboardController
data ApiV2WidgetsController
= ApiV2IndexWidgetsAction
| ApiV2ShowWidgetAction { widgetId :: !(Id Widget) }
| ApiV2CreateWidgetAction
deriving (Eq, Show, Data)
data ApiV2InteractionEventsController
@@ -400,6 +401,12 @@ data ApiV2HubRegistryController
| ApiV2ShowHubRegistryAction { hubId :: !(Id Hub) }
deriving (Eq, Show, Data)
data ApiV2HubsController
= ApiV2IndexHubsAction
| ApiV2ShowHubAction { hubId :: !(Id Hub) }
| ApiV2CreateHubAction
deriving (Eq, Show, Data)
data ApiV2WidgetPatternsController
= ApiV2IndexWidgetPatternsAction
| ApiV2ShowWidgetPatternAction { widgetPatternId :: !(Id WidgetPattern) }