Skip to content

Commit

Permalink
Export missed types for custom cache adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev committed Apr 28, 2023
1 parent c7b9a63 commit 528416b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dull-sloths-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@farfetched/core': patch
---

Export missed types for custom cache adapters
4 changes: 4 additions & 0 deletions packages/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ export { attachOperation } from './src/attach/attach';

// Cache public API
export { cache } from './src/cache/cache';
export {
type CacheAdapter,
type CacheAdapterOptions,
} from './src/cache/adapters/type';
export { externalCache } from './src/cache/adapters/external';
export { inMemoryCache } from './src/cache/adapters/in_memory';
export { localStorageCache } from './src/cache/adapters/local_storage';
Expand Down

0 comments on commit 528416b

Please sign in to comment.