Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
cd4c4de
Change update to accept TInput instead of TItem.
kevin-dp Sep 9, 2025
328561c
Pick unit tests for Sam's PR
kevin-dp Sep 9, 2025
5302f42
Correctly handle TExplicit that is never in type resolvers
kevin-dp Sep 9, 2025
11fcc63
Simplify type resolvers by introducing helper types
kevin-dp Sep 9, 2025
6b9ac1c
Rename ResolveInsertInput type to ResolveInput
kevin-dp Sep 9, 2025
28c6917
Pass TKey explicitly in the local-only typing test
kevin-dp Sep 9, 2025
9e9bff8
Explicitly pass input type to CollectionConfig type in collection opt…
kevin-dp Sep 10, 2025
89c0a16
Modify overloads for createCollection and introduce overloads for loc…
kevin-dp Sep 10, 2025
b356afc
Fix type tests for local only collections based on new overloads
kevin-dp Sep 10, 2025
d0c0886
Fix types of collection in mockSyncCollectionOptions
kevin-dp Sep 10, 2025
7c8dd30
Fix type overloads in local storage collection
kevin-dp Sep 10, 2025
f4eb5b4
Fix type of onInsert handler which should take the output type instea…
kevin-dp Sep 10, 2025
0dec216
Fix type errors in tests
kevin-dp Sep 10, 2025
b2f206a
Remove the TInput type that was passed to CollectionConfig as Collect…
kevin-dp Sep 10, 2025
bbff4dc
Remove the ResolveType and ResolveInput types.
kevin-dp Sep 10, 2025
0196622
No longer passing never as type param since that corresponds to its d…
kevin-dp Sep 10, 2025
dc3ab12
Add type overloads to electric-db-collection
kevin-dp Sep 10, 2025
909f564
Overload query collection config for when a schema or no schema is pr…
kevin-dp Sep 11, 2025
a0c494e
Changeset
kevin-dp Sep 11, 2025
bdeaa91
Update docstrings
kevin-dp Sep 11, 2025
effe1ce
Add overloads to rxdb collection
kevin-dp Sep 15, 2025
5779705
Remove explicit type parameter since it has a default
kevin-dp Sep 15, 2025
2ade434
Fix type of utils in query collection options function overloads
kevin-dp Sep 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/big-news-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@tanstack/electric-db-collection": patch
"@tanstack/query-db-collection": patch
"@tanstack/db": patch
---

Refactor of the types of collection config factories for better type inference.
Loading
Loading