SelectoComponents.Extensions (selecto_components v0.3.21)

Extension helpers for view registration in selecto_components.

Link to this section Summary

Functions

Merge extension-provided views into a base view list.

Link to this section Types

Link to this type

view_tuple()

@type view_tuple() :: {atom(), module(), String.t(), map()}

Link to this section Functions

Link to this function

merge_views(views, selecto_or_domain)

@spec merge_views([view_tuple()], term()) :: [view_tuple()]

Merge extension-provided views into a base view list.

Existing view ids in views take precedence.