tsdf 16.0.3 → 17.0.0-alpha.10

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.
Files changed (39) hide show
  1. package/LICENSE +140 -0
  2. package/README.md +5 -0
  3. package/dist/async-storage.d.ts +2 -0
  4. package/dist/async-storage.js +2 -0
  5. package/dist/asyncStorageAdapter-BMYAF6rt.d.ts +6 -0
  6. package/dist/asyncStorageAdapter-BZSj1ZO5.js +1868 -0
  7. package/dist/asyncStorageAdapters-DbyKyARM.js +3 -0
  8. package/dist/indexed-db-storage.d.ts +14 -0
  9. package/dist/indexed-db-storage.js +2 -0
  10. package/dist/indexedDbPersistentStorage-DlUjN1qY.js +902 -0
  11. package/dist/main.d.ts +1487 -373
  12. package/dist/main.js +16146 -2475
  13. package/dist/opfs-storage.d.ts +2 -0
  14. package/dist/opfs-storage.js +2 -0
  15. package/dist/opfsPersistentStorage-BO_uDxe4.js +838 -0
  16. package/dist/opfsPersistentStorage-CBnUebnf.d.ts +6 -0
  17. package/dist/types-2zQlbxtw.d.ts +1475 -0
  18. package/docs/README.md +98 -0
  19. package/docs/batch-fetching.md +125 -0
  20. package/docs/browser-tabs-sync.md +61 -0
  21. package/docs/cache-limits.md +105 -0
  22. package/docs/collection-store.md +173 -0
  23. package/docs/document-store.md +149 -0
  24. package/docs/fetch-scheduling.md +93 -0
  25. package/docs/hooks.md +416 -0
  26. package/docs/invalidation.md +135 -0
  27. package/docs/list-query-store.md +352 -0
  28. package/docs/mutations.md +266 -0
  29. package/docs/offline.md +207 -0
  30. package/docs/offset-pagination.md +111 -0
  31. package/docs/optimistic-list-updates.md +180 -0
  32. package/docs/partial-resources.md +168 -0
  33. package/docs/persistent-storage.md +290 -0
  34. package/docs/real-time-updates.md +158 -0
  35. package/docs/shared-types.md +181 -0
  36. package/docs/store-manager.md +147 -0
  37. package/package.json +81 -47
  38. package/dist/main.cjs +0 -2511
  39. package/dist/main.d.cts +0 -400
@@ -0,0 +1,3 @@
1
+ import { t as opfsPersistentStorage } from "./opfsPersistentStorage-BO_uDxe4.js";
2
+ import { n as indexedDbPersistentStorage } from "./indexedDbPersistentStorage-DlUjN1qY.js";
3
+ export { indexedDbPersistentStorage, opfsPersistentStorage };
@@ -0,0 +1,14 @@
1
+ import { t as AsyncStorageAdapter } from "./types-2zQlbxtw.js";
2
+ //#region src/persistentStorage/indexedDbAsyncStorageAdapter.d.ts
3
+ /** Options for creating the IndexedDB persistent storage adapter. */
4
+ type IndexedDbPersistentStorageOptions$1 = {
5
+ /** IndexedDB database name used by the adapter. */databaseName?: string;
6
+ };
7
+ //#endregion
8
+ //#region src/persistentStorage/indexedDbPersistentStorage.d.ts
9
+ declare const indexedDbPersistentStorage: AsyncStorageAdapter;
10
+ /** Options for creating the IndexedDB persistent storage adapter. */
11
+ type IndexedDbPersistentStorageOptions = IndexedDbPersistentStorageOptions$1;
12
+ declare function createIndexedDbPersistentStorage(options?: IndexedDbPersistentStorageOptions): AsyncStorageAdapter;
13
+ //#endregion
14
+ export { type IndexedDbPersistentStorageOptions, createIndexedDbPersistentStorage, indexedDbPersistentStorage };
@@ -0,0 +1,2 @@
1
+ import { n as indexedDbPersistentStorage, t as createIndexedDbPersistentStorage } from "./indexedDbPersistentStorage-DlUjN1qY.js";
2
+ export { createIndexedDbPersistentStorage, indexedDbPersistentStorage };