@tanstack/electric-db-collection 0.5.9 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/electric.cjs +819 -573
- package/dist/cjs/electric.cjs.map +1 -1
- package/dist/cjs/electric.d.cts +2 -0
- package/dist/esm/electric.d.ts +2 -0
- package/dist/esm/electric.js +820 -574
- package/dist/esm/electric.js.map +1 -1
- package/package.json +2 -2
- package/src/electric.ts +1155 -805
package/dist/cjs/electric.d.cts
CHANGED
|
@@ -54,6 +54,8 @@ type InferSchemaOutput<T> = T extends StandardSchemaV1 ? StandardSchemaV1.InferO
|
|
|
54
54
|
* - syncs all data for the collection in the background
|
|
55
55
|
* - uses incremental snapshots during the initial sync to provide a fast path to the data required for queries
|
|
56
56
|
* - collection will be marked as ready once the full sync is complete
|
|
57
|
+
* - a live query, Suspense, or `skipInitial` effect is ready once its own snapshot loads, before the full sync
|
|
58
|
+
* completes; changes to those rows arrive when the full sync completes
|
|
57
59
|
*/
|
|
58
60
|
export type ElectricSyncMode = SyncMode | `progressive`;
|
|
59
61
|
/**
|
package/dist/esm/electric.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ type InferSchemaOutput<T> = T extends StandardSchemaV1 ? StandardSchemaV1.InferO
|
|
|
54
54
|
* - syncs all data for the collection in the background
|
|
55
55
|
* - uses incremental snapshots during the initial sync to provide a fast path to the data required for queries
|
|
56
56
|
* - collection will be marked as ready once the full sync is complete
|
|
57
|
+
* - a live query, Suspense, or `skipInitial` effect is ready once its own snapshot loads, before the full sync
|
|
58
|
+
* completes; changes to those rows arrive when the full sync completes
|
|
57
59
|
*/
|
|
58
60
|
export type ElectricSyncMode = SyncMode | `progressive`;
|
|
59
61
|
/**
|