@luvio/environments 0.71.0 → 0.73.2

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 (31) hide show
  1. package/dist/es/es2018/DurableStore.d.ts +0 -1
  2. package/dist/es/es2018/environments.js +41 -375
  3. package/dist/umd/es2018/DurableStore.d.ts +0 -1
  4. package/dist/umd/es2018/environments.js +40 -374
  5. package/dist/umd/es5/DurableStore.d.ts +0 -1
  6. package/dist/umd/es5/environments.js +39 -384
  7. package/package.json +2 -2
  8. package/dist/es/es2018/makeDurable/cachepolicies/cache-and-network.d.ts +0 -3
  9. package/dist/es/es2018/makeDurable/cachepolicies/cache-then-network.d.ts +0 -3
  10. package/dist/es/es2018/makeDurable/cachepolicies/index.d.ts +0 -6
  11. package/dist/es/es2018/makeDurable/cachepolicies/no-cache.d.ts +0 -3
  12. package/dist/es/es2018/makeDurable/cachepolicies/only-if-cached.d.ts +0 -3
  13. package/dist/es/es2018/makeDurable/cachepolicies/stale-while-revalidate.d.ts +0 -3
  14. package/dist/es/es2018/makeDurable/cachepolicies/utils.d.ts +0 -9
  15. package/dist/es/es2018/makeDurable/cachepolicies/valid-at.d.ts +0 -3
  16. package/dist/umd/es2018/makeDurable/cachepolicies/cache-and-network.d.ts +0 -3
  17. package/dist/umd/es2018/makeDurable/cachepolicies/cache-then-network.d.ts +0 -3
  18. package/dist/umd/es2018/makeDurable/cachepolicies/index.d.ts +0 -6
  19. package/dist/umd/es2018/makeDurable/cachepolicies/no-cache.d.ts +0 -3
  20. package/dist/umd/es2018/makeDurable/cachepolicies/only-if-cached.d.ts +0 -3
  21. package/dist/umd/es2018/makeDurable/cachepolicies/stale-while-revalidate.d.ts +0 -3
  22. package/dist/umd/es2018/makeDurable/cachepolicies/utils.d.ts +0 -9
  23. package/dist/umd/es2018/makeDurable/cachepolicies/valid-at.d.ts +0 -3
  24. package/dist/umd/es5/makeDurable/cachepolicies/cache-and-network.d.ts +0 -3
  25. package/dist/umd/es5/makeDurable/cachepolicies/cache-then-network.d.ts +0 -3
  26. package/dist/umd/es5/makeDurable/cachepolicies/index.d.ts +0 -6
  27. package/dist/umd/es5/makeDurable/cachepolicies/no-cache.d.ts +0 -3
  28. package/dist/umd/es5/makeDurable/cachepolicies/only-if-cached.d.ts +0 -3
  29. package/dist/umd/es5/makeDurable/cachepolicies/stale-while-revalidate.d.ts +0 -3
  30. package/dist/umd/es5/makeDurable/cachepolicies/utils.d.ts +0 -9
  31. package/dist/umd/es5/makeDurable/cachepolicies/valid-at.d.ts +0 -3
@@ -1,9 +0,0 @@
1
- import { BuildCachedSnapshot, CachePolicyImplementationArgs, Snapshot, StoreLookup, TTLStrategy, UnAvailableSnapshot } from '@luvio/engine';
2
- export declare type DurableCachePolicyFunctions = {
3
- validateNotDisposed: () => void;
4
- reviveSnapshotWithCachePolicy: <D, V>(unavailableSnapshot: UnAvailableSnapshot<D, V>, storeLookup: StoreLookup<D, V>) => Promise<Snapshot<D, V>>;
5
- };
6
- export declare function appendTTLStrategy<C, D>(storeLookup: CachePolicyImplementationArgs<C, D>['storeLookup'], ttlStrategy: TTLStrategy): Parameters<BuildCachedSnapshot<C, D>>[1];
7
- export declare function buildNetworkSnapshot<C, D>(args: CachePolicyImplementationArgs<C, D>): Promise<Snapshot<D, unknown>>;
8
- export declare function buildTTLStrategy(staleDurationMilliseconds?: number): TTLStrategy;
9
- export declare function buildAvailableSnapshotFromCachedSnapshotResponse<C, D>(cachedSnapshot: ReturnType<BuildCachedSnapshot<C, D>>, availableSnapshotFunc: (snapshot: Snapshot<D> | undefined) => Snapshot<D> | Promise<Snapshot<D>>): Snapshot<D> | Promise<Snapshot<D>>;
@@ -1,3 +0,0 @@
1
- import { CachePolicyImplementation, CachePolicyImplementationArgs, Snapshot } from '@luvio/engine';
2
- import { DurableCachePolicyFunctions } from './utils';
3
- export declare function buildValidAtImplementation<C, D>(funcs: DurableCachePolicyFunctions, basePolicyImplementation: CachePolicyImplementation<C, D>, timestamp: number): (args: CachePolicyImplementationArgs<C, D>) => Snapshot<D> | Promise<Snapshot<D>>;