Skip to content

refactor: organize public type contracts - #8

Merged
okyrychenko-dev merged 1 commit into
mainfrom
refactor/types-structure
Sep 12, 2026
Merged

okyrychenko-dev merged 1 commit into
mainfrom
refactor/types-structure

Conversation

@okyrychenko-dev

Copy link
Copy Markdown
Owner

Summary

Centralize the package’s public TypeScript contracts and finish routing store selection through the canonical bindings interface. This reduces duplicated selector policy and prepares the unreleased API by removing deprecated aliases.

Changes

  • Move store, binding, provider, hook, and toolkit contracts into src/types, updating implementation and barrel imports accordingly.
  • Route global, provider, and resolved store hooks through createStoreSelectionBindings.
  • Remove deprecated provider, lifecycle, context, and resolved-store aliases.
  • Add compile-time consumer scenarios covering resolved-store call forms and middleware-enhanced APIs.
  • Remove superseded colocated type modules and duplicated adapter overloads.

@codecov

codecov Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@okyrychenko-dev
okyrychenko-dev merged commit 193d198 into main Sep 12, 2026
3 checks passed
@okyrychenko-dev
okyrychenko-dev deleted the refactor/types-structure branch September 12, 2026 17:57
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