modulePackage manifestv0.2.4

module.editorial

Versioned editorial review and publication workflows.

@lssm-tech/module.editorial
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 0.2.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
serverbunnode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEmodule.editorialdomains

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

4 declarationsSELECT TO INSPECT

Editorial module

Bind ten standard editorial operations (plus optional listing, recovery discovery and reviewed preparation resume) into an existing ContractSpec registry with registerEditorialOperations. The module composes only library contracts and runtimes; publishers and storage are supplied by the host bundle.

Create → revise → submit → review → schedule → publish. Every accepted revision has immutable history. Edits invalidate review and scheduling. Publication claims the record with CAS before calling an injected CMS or social publisher; unknown outcomes are reconciled without re-dispatch. Published items require a separate withdrawal workflow before removal.

The authority port verifies current actor rights, review evidence, brand claims, asset rights and destination access. The host supplies HandlerCtx authentication and scoped approval receipts for publication. No default permitting authority or publication provider is supplied. The SQL store lives in growth-persistence/marketing.

/marketing/editorial/due lists bounded scheduled work due at the server clock. Discovery and individual records require read authorization; invalid scope/schedule output is rejected. It does not invoke publication or imply publication approval.

The optional /marketing/editorial/recovery REST/MCP operation is registered only when the injected store implements listRecovery. It discovers unsettled claims for the existing reconcile operation; minimum age defaults to 60 seconds.

The optional /marketing/editorial/resume-preparation command is registered only for publishers advertising preparation recovery. Fresh exact-input approval is mandatory; it does not change ordinary reconciliation into a write-capable action.

/marketing/editorial/list and editorial_list are available when the store implements listPage. Discovery is read-only and supports agent/workspace browsing without a known record ID.

The revise handler maps a runtime revision conflict to the canonical REVISION_CONFLICT response (409), including conflicts at the compare-and-swap write.

Submission revision conflicts now use canonical HTTP 409 responses, matching revision-save conflict behavior.

Review decision revision conflicts are mapped to canonical HTTP 409 without weakening reviewer/current-authority checks.

Scheduling revision conflicts return canonical HTTP 409 responses.

Existing editorial creation IDs now return canonical ALREADY_EXISTS / HTTP 409 without changing the stored record.

Archival revision conflicts use canonical HTTP 409. Provider withdrawal remains a separate workflow for published or uncertain content.

History REST/MCP registration is conditional on store.listHistory. Missing support remains unavailable.

Declared capabilities.

Editorial module

Reusable editorial workflow module.

Use it to

  • Compose editorial workflows

Requires

  • TypeScript

Choose another boundary when

  • The target does not need editorial workflows.

@lssm-tech/module.editorial

Imports and export paths.

1 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

1 import

Dependencies and related packages.

Runtime dependencies 4
Development dependencies 4
@types/bun
catalog:types
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

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

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.