This release is 91 versions behind 0.3.121 — the latest version of @paimaexample/runtime. Jump to latest
@paimaexample/runtime@0.3.14
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
5%
Published
5 months ago (0.3.14)
f
init
No documentation available
f
start
Main entry point to start the Paima Engine Node.
T
StartConfig
Main configuration object for the Paima Engine Node.
T
StartConfigApiRouter
Type for the API router function. It should return a valid Fastify instance.
T
StartConfigGameStateTransitions
Type for the game state transitions function.
For each prefix it can return a list of state transitions and events.
T
StartConfigMigrationRouter
Type for the migration router function. It should return a valid SQL to be executed at a given block height.