Skip to content
ContractSpec
Start here

Package manual · domains

·Content, growth and creator operations

module.creator-operations

Reusable creator operations module.

domainsmodulev0.2.4experimentalserverbunnode
@lssm-tech/module.creator-operations
bun add @lssm-tech/module.creator-operations
Package source ↗Manifest ↗

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

Package guide

registerCreatorOperations binds eleven provider-neutral operations for creator campaigns, immutable agreements, submissions, cumulative accrual, canonical wallets and settlement. Contracts live in lib.contracts-spec/creator-operations; domain behavior lives in lib.creator-operations-runtime.

Inject a trusted current authority, transactional store and settlement provider. The authenticated handler context supplies actor/tenant/workspace independently of input. Economic operations require scoped approval receipts before handler entry. No permitting authority or live payout rail is configured by default.

Existing Hirly operation identities are preserved; these additive identities enable an explicit adapter migration and do not claim parity with all 213 existing operations.

The optional training registrar exposes training open/update commands through the canonical registry. Open may initialize state, so it declares read/write effects. Authenticated scope is checked before service course/quiz authorization and persistence.

Relationships

THIS PACKAGEmodule.creator-operations6 import paths

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

4 declarations

Declared capabilities

Scoped creator operation registry

Reusable creator operations module.

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • lint:checknode ../../../../scripts/biome.cjs check .
  • testbun test
  • prebuildcontractspec-bun-build prebuild
  • typechecktsgo --noEmit
  • publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose