Skip to content
ContractSpec
Start here

Package manual · domains

·Content, growth and creator operations

lib.creator-operations-spec

Provider-neutral creator-operations contract definitions: campaign, submission, wallet, training, quiz and accrual operation, schema, port and feature specs extracted unchanged from ContractSpec compatibility.

domainslibraryv0.0.0experimentalservernodebun
@lssm-tech/lib.creator-operations-spec
bun add @lssm-tech/lib.creator-operations-spec
Package source ↗Manifest ↗

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

Package guide

Canonical provider-neutral creator-operations contract definitions: campaign agreements, submissions, wallet and accrual records, training courses, progress and quizzes, their operation specs, input/output schemas, ports and the CreatorOperationsFeature.

The definitions were extracted unchanged from the ContractSpec compatibility distribution. Contract keys, versions, wire shapes and persisted meaning are unchanged. The legacy @lssm-tech/lib.contracts-spec/creator-operations subpaths are export * forwards to these single implementations, so every export keeps one object identity.

Usage

ts
import { CreatorOperationsFeature } from '@lssm-tech/lib.creator-operations-spec/operations';
import type { CreatorTrainingCourse } from '@lssm-tech/lib.creator-operations-spec/training-course';

Every former @lssm-tech/lib.contracts-spec/creator-operations/<leaf> subpath is available as @lssm-tech/lib.creator-operations-spec/<leaf>; the root re-exports the same barrel.

Boundaries

  • Dependencies: @lssm-tech/lib.contracts-spec-core, @lssm-tech/lib.schema and zod only.
  • No I/O, persistence, provider execution, ambient configuration or live authorization. Accrual, payout, submission and training execution live in @lssm-tech/lib.creator-operations-runtime, integrations and @lssm-tech/module.creator-operations.

Relationships

THIS PACKAGElib.creator-operations-spec46 import paths

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

3 declarations

Declared capabilities

Creator-operations contract definitions

Canonical creator-operations campaign, submission, wallet, training and quiz operation, schema, port and feature definitions; the legacy @lssm-tech/lib.contracts-spec/creator-operations subpaths forward to these same identities.

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • prebuildcontractspec-bun-build prebuild
  • cleanrimraf dist .turbo
  • lint:checknode ../../../../scripts/biome.cjs check .
  • typechecktsgo --noEmit -p tsconfig.check.json
  • testbun test ./src