BeechCMS
BeechCMS / @beechcms/core / isViewAuthorized
Function: isViewAuthorized()
isViewAuthorized(seed, view): view is DashboardView
URL-guard helper: is view authorized for this seed?
Parameters
seed
Pick<Seed, "dashboard">
view
string
Returns
view is DashboardView