module.creator-operations
Reusable creator operations module.
@lssm-tech/module.creator-operationsbun add @lssm-tech/module.creator-operationsManifest 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
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
4 declarations
@lssm-tech/lib.contracts-runtime-coreworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-spec-coreworkspace:^
Read the package manual ↗@lssm-tech/lib.creator-operations-runtimeworkspace:^
Read the package manual ↗@lssm-tech/lib.creator-operations-specworkspace:^
Read the package manual ↗
Declared capabilities
Reusable creator operations module.
Scripts
buildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typeslint:checknode ../../../../scripts/biome.cjs check .testbun testprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmitpublish:pkgbun publish --tolerate-republish --ignore-scripts --verbose