Skip to content

unlockingPlans

function unlockingPlans(
catalog,
feature,
needed,
activePlans?
): string[];

Defined in: src/resolve.ts:382

Plans and add-ons (current versions, not hidden, not already active; add-ons only when their requires is met by activePlans) that would allow feature — for numeric features, a total of needed units. Cheapest first (by monthly-normalized display price), then catalog order.

Parameter Type Default value
catalog AnyCatalog undefined
feature string undefined
needed number undefined
activePlans? readonly string[] []

string[]