Skip to content

BeechCMS


BeechCMS / @beechcms/core / resolveAuthorizedViews

Function: resolveAuthorizedViews() ​

resolveAuthorizedViews(seed): DashboardView[]

Resolves the effective, deduplicated, canonically-ordered authorized views for a seed. Invariants:

  • 'table' is ALWAYS present (universal fallback — relational backing).
  • Unknown/legacy values are stripped.
  • Empty/undefined config → DEFAULT_AUTHORIZED_VIEWS (then table-guaranteed).

Parameters ​

seed ​

Pick<Seed, "dashboard">

Returns ​

DashboardView[]