Packages narrative
packages / test-convex

test-convex

Functions

NameDescription
runCliDispatches a
runDaemonLong-running foreground process: spins up a Convex backend via
seedCanonicalLive-backend transport wrapper around the canonical seed — the entry the HARNESS-02 CLI's
seedClerkOperatorLiveProvisions the e2e Clerk operator's identity model onto a RUNNING deployment by calling the deployed
seedCmsLive-backend transport wrapper around
seedShopLive-backend transport wrapper around
resolveConvexProjectDirResolves the Convex project directory (the one holding
resolveConvexStateDirResolves the project-local Convex state directory (
startConvexStarts a local Convex backend via the bundled
createUnitConvexBuilds the
unitModuleMapBuilds the

Interfaces

NameDescription
DaemonOptionsConfiguration for the persistent
SeedClerkOperatorOptionsInputs for
SeedCmsOptionsOptions for the over-the-wire
StartConvexOptionsOptions for
StartedConvexHandle returned by

Types

NameDescription
SeedCanonicalOptionsCustomization knobs for the canonical seed. Identical to the shop seed's options — the CMS phase has no knobs of its own (its documents key off the shop id the shop phase resolves), so the orchestrator forwards these to
SeedClerkOperatorViewThe narrow seam result the harness consumes (the wire erases the branded Convex ids).
SeedShopOptionsCustomization knobs for the shop seed. All fields are optional — defaults produce the canonical
UnitConvexHarnessIn-memory Convex test harness produced by
UnitModuleMapModule loader map handed to

Variables

NameDescription
DEFAULT_SHOP_LEGACY_IDThe canonical demo shop's preserved Mongo

Other

On this page