WHAT YOU'LL LEARN
  • What is exported from webiny/admin/cms/model?
  • How to import and use each exported item?

Overview
anchor

This page documents everything exported from webiny/admin/cms/model. Import any of the items below directly from this path in your Webiny extensions.

Hooks
anchor

useEffectiveRules
anchor

Function — imported from webiny/admin/cms/model

Composes useParentRules and useFieldRules into a single hook that returns the effective (intersected) rules.

useFieldAccessControlRules
anchor

Function — imported from webiny/admin/cms/model

Hook that evaluates access control rules for the current identity. Does not require bindParentName — only identity-based permissions.

Types
anchor

CmsBaseLayoutDescriptor
anchor

Type — imported from webiny/admin/cms/model

CmsLayoutDescriptor
anchor

Type — imported from webiny/admin/cms/model

CmsLayoutDescriptorRendererPlugin
anchor

Type — imported from webiny/admin/cms/model

CmsLayoutFieldTypePlugin
anchor

Type — imported from webiny/admin/cms/model