Skip to content

feat(typescript-client): add move-in event support#4043

Open
kevin-dp wants to merge 1 commit intomainfrom
feat/move-in-event-support
Open

feat(typescript-client): add move-in event support#4043
kevin-dp wants to merge 1 commit intomainfrom
feat/move-in-event-support

Conversation

@kevin-dp
Copy link
Contributor

No description provided.

…Pattern to MovePattern

Extend EventMessage to accept both move-out and move-in events, add
active_conditions to ChangeMessage headers, and rename MoveOutPattern
to MovePattern (with deprecated alias for backwards compat).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 23, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@electric-sql/react@4043
npm i https://pkg.pr.new/@electric-sql/client@4043
npm i https://pkg.pr.new/@electric-sql/y-electric@4043

commit: 440cf1e

@codecov
Copy link

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.67%. Comparing base (9335ae6) to head (440cf1e).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4043      +/-   ##
==========================================
+ Coverage   85.78%   88.67%   +2.88%     
==========================================
  Files          51       25      -26     
  Lines        3399     2438     -961     
  Branches      611      612       +1     
==========================================
- Hits         2916     2162     -754     
+ Misses        481      274     -207     
  Partials        2        2              
Flag Coverage Δ
elixir ?
elixir-client ?
packages/experimental 87.73% <ø> (ø)
packages/react-hooks 86.48% <ø> (ø)
packages/start 82.83% <ø> (ø)
packages/typescript-client 93.81% <ø> (ø)
packages/y-electric 56.05% <ø> (ø)
typescript 88.67% <ø> (ø)
unit-tests 88.67% <ø> (+2.88%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

kevin-dp added a commit to TanStack/db that referenced this pull request Mar 23, 2026
Switch to the preview package from electric-sql/electric#4043 so that
move-in event types are available without unsafe casts in tests.

NOTE: replace the preview URL with the released version before merging.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
kevin-dp added a commit to TanStack/db that referenced this pull request Mar 23, 2026
Switch to the preview package from electric-sql/electric#4043 so that
move-in event types are available without unsafe casts in tests.

NOTE: replace the preview URL with the released version before merging.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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