Skip to main content

compileTeam

@forge/monorepo


@forge/monorepo / backend/src / compileTeam

Function: compileTeam()

compileTeam(team): FlowDefinition

Defined in: backend/src/teams/index.ts:99

Turn a team into the flow that runs it.

Pure, so a team's shape can be asserted without executing anything — which matters more than usual here, because the interesting claims are about the graph ("a member cannot outspend the team", "delegation is a tool") rather than about behaviour at a step.

Parameters

team

TeamDefinition

Returns

FlowDefinition