feat: add v2 hub and widget create endpoints
This commit is contained in:
parent
0a4646bf44
commit
4ebc04e1f4
11 changed files with 536 additions and 154 deletions
|
|
@ -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) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue