Skip to content

Commit 916de39

Browse files
Add PowerSync DB Collection (#747)
* wip: PowerSync collections * Add support for transactions with multiple collection types * Optimize transaction waiting * Improve test stability * Improve cleanup behaviour * Add rollback test * update dependencies * Add live query test * Add docs for PowerSync collection * Add Changeset * Added schema conversion and validation * ensure observers are ready before proceeding with mutations * Add logging * Implement batching during initial sync * Update log messages. Avoid requirement for NPM install scripts. * Schemas Step 1: Infer types from PowerSync schema table. * Support input schema validations with Zod * update readme * Update doc comments. Code cleanup. * More doc cleanup * README cleanup * Cleanup tests * Update PowerSync dependencies * Properly constrain types * Allow custom input schema types * Support better schema type conversions * docuement deserialization errors * Fix typo in READMe * Add type to README example * update PowerSync packages * set author to POWERSYNC * rename serlization.ts → serialization.ts * use MIT license
1 parent e46b1de commit 916de39

19 files changed

+3095
-0
lines changed

.changeset/dark-items-dig.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tanstack/powersync-db-collection": minor
3+
---
4+
5+
Initial Release

0 commit comments

Comments
 (0)