# ResolvedCapabilities Interface

The capabilities a resolved LicenseEntitlement grants, ready for gate B (the interpreter) and PR 2's ensureCapability to query through allowsFunction and allowsFeature.

# Properties

# features

• features: ReadonlySet‹FeatureId› | "all"

Defined in src/license/CapabilityRegistry.ts:23 (opens new window)

'all' short-circuits allowsFeature to true for every FeatureId.


# functions

• functions: ReadonlySet‹string› | "all"

Defined in src/license/CapabilityRegistry.ts:21 (opens new window)

'all' short-circuits allowsFunction to true for every function id, independently of features: a key can cover every function without covering every feature, or the other way round. A single unrestricted: boolean could not express that combination — it could only grant both axes together or neither (review of #1728, Kuba Sękowski).