BeechCMS / @beechcms/widget-sdk / WidgetSdkClient
Interface: WidgetSdkClient
Typed client contract the SDK's data hooks depend on: the widget subtree of the dashboard's hc client (rpc.api.widget). It is declared here, structurally, so the SDK imports nothing from the API; the host's <WidgetSdkProvider client={...}> only compiles while the server routes still answer these shapes.
Properties
aggregate
aggregate:
object
:seed
:seed:
WidgetRoute<object&WidgetWindowQuery,WidgetAggregateResponse>
distribution
distribution:
object
:seed
:seed:
WidgetRoute<object&WidgetWindowQuery,WidgetDistributionResponse>
growth
growth:
object
:seed
:seed:
WidgetRoute<object&WidgetWindowQuery,WidgetGrowthResponse>
list
list:
object
:seed
:seed:
WidgetRoute<{limit:string;offset:string;orderBy?:string;orderDir?:string;search?:string; },WidgetListResponse>
timeseries
timeseries:
object
:seed
:seed:
WidgetRoute<object&WidgetWindowQuery,WidgetTimeseriesResponse>