Skip to content
PACKAGES

workItemDomainActionCapabilityGuardProjector()

Connects CapabilityAdmission facts to WorkItem domain-action admission as a product-owned guard (D357), without adding protocol/boundary vocabulary or treating AutoPanel display affordances as hard security enforcement.

import { workItemDomainActionCapabilityGuardProjector } from "@graphrefly/ts/solutions/work-item/actions";
function workItemDomainActionCapabilityGuardProjector(
graph: Graph,
opts: WorkItemDomainActionCapabilityGuardOptions,
): WorkItemDomainActionCapabilityGuardBundle
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsWorkItemDomainActionCapabilityGuardOptionsOptions that configure the helper.

A node bundle that emits the projected records.

import { workItemDomainActionCapabilityGuardProjector } from "@graphrefly/ts/solutions/work-item/actions";

packages/ts/src/solutions/work-item/actions-capability-guard.ts