Skip to content

fix(input): export ActionRegistry - #37

Open
cmaycumber wants to merge 1 commit into
elemarin:mainfrom
cmaycumber:fix/export-action-registry
Open

cmaycumber wants to merge 1 commit into
elemarin:mainfrom
cmaycumber:fix/export-action-registry

Conversation

@cmaycumber

Copy link
Copy Markdown

engine.actions is public and typed ActionRegistry, and games register their actions on it, but the class and its ActionDefinition / ActionRecord / ActionDescriptor types were not exported. Typing an action sink, or building a registry in a test, meant reaching into dist internals.

This re-exports them from renderoni/input, which renderoni already re-exports. No behaviour change.

Verification: typecheck, build, 228/228 tests. A public-exports test covers the new exports.

🤖 Generated with Claude Code

`engine.actions` is public and typed ActionRegistry, and games register their actions on it,
but the class and its ActionDefinition / ActionRecord / ActionDescriptor types were never
exported. Code that wants to type an action sink, or build a registry for a test, had to
reach into dist internals. Re-export them from `renderoni/input`, which `renderoni` already
re-exports.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant