ICapabilityToFeatureMap

Interface

capability to feature map entry that provides a "cross-walk" between a legacy site capability and site feature (using the new permissions system)

This enables us to convert/migrate capabilities to features when sites are fetched and updated

Properties

Property Type Notes
capability LegacyCapability
feature any
negate Optional boolean

whether to apply a ! when converting between the capability and feature


Interface defined in common/src/sites/_internal/capabilities/types.ts:24