Skip to content

refactor: centralize resolved store contract - #6

Merged
okyrychenko-dev merged 1 commit into
mainfrom
refactor/colocate-type-contracts
Sep 5, 2026
Merged

okyrychenko-dev merged 1 commit into
mainfrom
refactor/colocate-type-contracts

Conversation

@okyrychenko-dev

Copy link
Copy Markdown
Owner

Summary

Centralizes the resolved-store contract and colocates feature-owned TypeScript types with their modules. Removes deprecated aliases so the public interface exposes only the canonical provider and resolved-store names.

Changes

  • Added named contracts for shallow-store, toolkit, provider, resolved-store, and selection bindings.
  • Removed deprecated createProvider, useContext, useOptionalContext, useResolvedStore, useResolvedStoreWithSelector, and onStoreCreate.
  • Removed the obsolete types/typecheck folder and simplified related tests.
  • Updated README examples, access matrix, migration guidance, and changelog.

@codecov

codecov Bot commented Sep 5, 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 abf5634 into main Sep 5, 2026
3 checks passed
@okyrychenko-dev
okyrychenko-dev deleted the refactor/colocate-type-contracts branch September 18, 2026 20:15
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