Skip to main content

CAPABILITY_REQUIRES

@forge/monorepo


@forge/monorepo / backend/src / CAPABILITY_REQUIRES

Variable: CAPABILITY_REQUIRES

const CAPABILITY_REQUIRES: Readonly<Record<Capability, readonly string[]>>

Defined in: backend/src/capabilities/index.ts:63

What each capability cannot work without, by the name a host wires it under.

Names rather than types, because the check is about presence: the compiler already proves a supplied store is the right shape, and what it cannot prove is that one was supplied at all.