Skip to content
ContractSpec
Start here

Package manual · domains

·Content, growth and creator operations

module.growth-os

Reusable participant and admin UI for GrowthOS referral and affiliate programs.

domainsmodulev2.1.4experimentalservernode
@lssm-tech/module.growth-os
bun add @lssm-tech/module.growth-os
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Design-system UI for referral and affiliate participants and administrators. Components are controlled, provider-neutral, responsive, and available with English, French, and Spanish catalogs. They cover loading/error/empty states, participant links/conversions/earnings/payout history, and permission-gated program, reward, reversal, retry, batch, and reconciliation controls.

The module does not compute attribution, rewards, or balances. Hosts pass authoritative GrowthOS projections and invoke ContractSpec-backed callbacks. Raw acquisition tokens, provider details, and host error payloads are never rendered.

The optional marketing workspace registrar binds the library-owned workspace query. Tenant/workspace/actor identity comes from HandlerCtx, while the injected brand loader authorizes access and resolves the approved revision. Bootstrap never grants inference or publishing approval.

registerMarketingPlanningApproval mounts scoped quote, issuance and recovery contracts. Its injected authority owns durable pricing, explicit human review and receipt issuance. Request scope is checked against HandlerCtx before calling that authority.

registerMarketingMetricReports composes the library-owned reporting calculation with an authorized observation loader and canonical REST/MCP contracts. It rejects foreign workspace scope before reads and preserves missing-data results.

Relationships

THIS PACKAGEmodule.growth-os14 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

7 declarations

Declared capabilities

Module Growth Os

Reusable participant and admin UI for GrowthOS referral and affiliate programs.

Scripts

  • publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
  • publish:pkg:canarybun publish:pkg --tag canary
  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • devcontractspec-bun-build dev
  • cleanrimraf dist .turbo
  • lint:checknode ../../../../scripts/biome.cjs check .
  • lint:fixnode ../../../../scripts/biome.cjs check --write .
  • testbun test
  • prebuildcontractspec-bun-build prebuild
  • typechecktsgo --noEmit