JSPM

  • Created
  • Published
  • Downloads 101
  • Score
    100M100P100Q132935F
  • License MIT

Tenant-aware workflow composition helpers for ContractSpec.

Package Exports

  • @contractspec/lib.workflow-composer

Readme

@contractspec/lib.workflow-composer

Website: https://contractspec.io/

Compose base WorkflowSpecs with tenant-, role-, or device-specific extensions. The composer lets teams inject steps, hide portions of a workflow, and attach tenant-scoped metadata without duplicating base definitions.

Highlights

  • Type-safe extendWorkflow helper.
  • Registry for extension templates (tenant, role, device scopes).
  • Validation to ensure injected steps reference valid anchors.
  • Merge utilities to combine overlays coming from tenant + user.

Refer to docs/tech/personalization/workflow-composition.md for more.